Commit graph

7078 commits

Author SHA1 Message Date
Benoit Marty
74af485137 Small cleanup.
Remove unused methods.
2022-01-03 16:33:41 +01:00
Tobias Preuss
74363ff823 Let ShareCompat.IntentBuilder create the chooser intent for sharing content.
+ Although the system's intent chooser normally takes care of cases when
  no app is found we still keep the safeguard here to be prepared for
  exotic devices behaving different.

Signed-off-by: Tobias Preuss <tobias.preuss@googlemail.com>
2021-12-31 22:37:42 +01:00
Tobias Preuss
70b07471cf Use ShareCompat.IntentBuilder in "shareText()" utility function.
Signed-off-by: Tobias Preuss <tobias.preuss@googlemail.com>
2021-12-31 22:37:39 +01:00
Tobias Preuss
5fd3317197 Use property access syntax.
Signed-off-by: Tobias Preuss <tobias.preuss@googlemail.com>
2021-12-31 22:37:32 +01:00
Benoit Marty
ce0a582b3e
Merge pull request #4823 from vector-im/feature/ons/attachment_picker
Attachment Picker UI Improvements
2021-12-31 11:43:49 +01:00
Benoit Marty
5eebc995ff Animate the attachment open/close button 2021-12-30 16:52:58 +01:00
Benoit Marty
464ac3bce2 Fix blink effect when opening the attachment popup, and improve clickability of the buttons 2021-12-30 16:36:36 +01:00
Onuray Sahin
cc8da82d02 New attachment picker implemented. 2021-12-30 16:28:50 +03:00
Benoit Marty
2ddc7f04b3
Merge pull request #4747 from vector-im/feature/bca/clean_state_in_tl
cleaning rendering of state event in timeline
2021-12-30 12:41:22 +01:00
Benoit Marty
753d704c69
Merge pull request #4757 from vector-im/feature/fre/minor_code_enhancements
Some code enhancements
2021-12-30 11:33:57 +01:00
Benoit Marty
f124eba665
Merge pull request #4810 from vector-im/feature/adm/voip-mute-notification
Fixing duplicated/empty notifications when joining/muting/leaving a VOIP call
2021-12-30 11:31:06 +01:00
Benoit Marty
abcdfc6f73
Merge pull request #4758 from vector-im/feature/adm/emoji-inconsistencies
Wrong emojis in composer
2021-12-30 10:34:22 +01:00
Benoit Marty
bb0725b2e2
Merge pull request #4656 from vector-im/feature/adm/dynamic-login-flow
Feature based FTUE flows
2021-12-30 10:29:52 +01:00
Adam Brown
41ae67d214 only converting encrypted events to NotifiableMessageEvent if the decrypted type is also a message
- fixes the app displaying encrypted non message events as notification messages
2021-12-24 11:12:59 +00:00
Adam Brown
f1dff33dc2 removing android version bypass for using text futures
- the emoji span changes affect all android versions
2021-12-20 10:09:17 +00:00
Florian Renaud
7e2eb2a21e Remove useless val in RoomListViewModel constructor 2021-12-17 17:31:24 +01:00
Florian Renaud
c13feb983e Remove useless nullability in method param 2021-12-17 17:31:24 +01:00
Florian Renaud
61b74bb083 Add missing setting key constant 2021-12-17 17:31:00 +01:00
ganfra
461beda634
Merge pull request #4742 from vector-im/feature/aris/fix_immutable_model_crash
Fix crash ImmutableModelException
2021-12-17 15:30:19 +01:00
Adam Brown
680c22d4c8 using app compat edit text for official emoji support 2021-12-17 13:41:19 +00:00
ganfra
e155eefb7b
Merge pull request #4748 from vector-im/feature/adm/late-emoji-initialisation
Unable to render messages
2021-12-17 12:35:37 +01:00
ganfra
ac65942c28
Merge pull request #4744 from vector-im/feature/adm/emoji-notice-fix
Emojis in emotes causing crashes on Android 12+
2021-12-17 11:47:16 +01:00
Adam Brown
ddbf8582dd removing trailing space 2021-12-17 10:46:03 +00:00
Adam Brown
6918372a87 extracting the emoji processing to an interface so that we can override the behaviour in the unit test 2021-12-17 10:38:49 +00:00
Adam Brown
b73bae452a
adding comment to explain SpannableStringBuilder usage 2021-12-17 09:37:50 +00:00
Adam Brown
37db28ae7c using the safe emoji processor to avoid the timeline failing when processing the content and the emoji library hasn't initialised yet 2021-12-17 09:25:16 +00:00
Valere
240ce6873b cleaning rendering of state event in timeline 2021-12-17 09:20:17 +01:00
ClaireGizard
ca58a04f57
Small UI fix in room member profile hearder (#4700)
Small ui fix on room member profile name

Co-authored-by: Claire Gizard <cgizard>
2021-12-16 21:10:03 +01:00
Adam Brown
ae6be3fdc4 adding missing binding options emote content
- fixes android 12+ crash when certain emojis are used within the emote content
2021-12-16 18:34:00 +00:00
ariskotsomitopoulos
2275bdd4fa Fix crash ImmutableModelException 2021-12-16 20:14:21 +02:00
Benoit Marty
3b35be510f
Merge pull request #4729 from vector-im/feature/adm/avoid-leaking-window-when-showing-loading
Avoid leaking Activity Window when showing loading dialog
2021-12-16 11:07:23 +01:00
Benoit Marty
818a8898b3 Call banner: center text vertically 2021-12-15 22:19:23 +01:00
Adam Brown
4c238e81cf dismisses any potential loading dialogs when the linked fragment is destroyed
- fixes leaking the activity window when the fragment is destroyed
2021-12-15 18:16:10 +00:00
Adam Brown
8b96d8cd8d only acquire a wake lock if a lock is not already held 2021-12-15 17:32:39 +00:00
Benoit Marty
73dba2b692 Fix another crash 2021-12-14 14:37:01 +01:00
Benoit Marty
1961309458 Fix a crash on reactions bottom sheet 2021-12-14 13:26:03 +01:00
Benoit Marty
0411291515
Merge pull request #4708 from vector-im/feature/bma/analytics_before_release
Disable automatic opt-in screen display
2021-12-14 12:07:12 +01:00
Benoit Marty
08def813cc Disable automatic opt-in screen display.
We want to wait for translations to be available in the project before showing this screen to every users.
2021-12-14 11:34:06 +01:00
Adam Brown
74594d8fc3 porting the LoginActivty2 to a dynamic FTUE activity
- supports switching between a copied legacy flow (DefaultFTUE) and the WIP variant
- this will allow us to make iterative changes to the default ftue flow without affecting the legacy flow/forks
2021-12-14 09:06:15 +00:00
Weblate
1e40b5cd34 Merge branch 'origin/develop' into Weblate. 2021-12-14 08:58:12 +00:00
Adam Brown
fd0e1e44c4 renaming login version to variants to better describe the different flows 2021-12-14 08:50:57 +00:00
Adam Brown
dae2e9988f moving the sso redirect parameter to the sso redirect activity for sharing 2021-12-14 08:50:57 +00:00
Adam Brown
01d4a48b8b adding ability to lazily create viewmodels
- helpful when multiple view models are injected but not all are needed
2021-12-14 08:50:57 +00:00
Adam Brown
a3ad8c5e2e removing non accessible softlogout2 activity
- there's no manifest entry
- the implementation looks like it delegates back to login 1, will look to add back as part of the FTUE changes
2021-12-14 08:50:56 +00:00
Benoit Marty
f4cfb5d6d3
Merge pull request #4559 from vector-im/feature/bma/posthog
Analytics
2021-12-14 09:31:55 +01:00
Benoit Marty
aad19e4bce code qual 2021-12-14 09:06:36 +01:00
Denys Nykula
cb4690a3e6 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2693 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-14 02:26:03 +00:00
Jozef Gaal
d3d5d79b7d Translated using Weblate (Slovak)
Currently translated at 52.6% (1417 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2021-12-14 02:25:58 +00:00
DUCKCHI
0a090fab65 Translated using Weblate (Korean)
Currently translated at 49.0% (1322 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2021-12-14 02:25:57 +00:00
Benoit Marty
ea9a524048 Fix compilation issue after merge develop 2021-12-13 23:23:18 +01:00