Jacob
1ffa28b079
Translated using Weblate (Polish)
...
Currently translated at 95.6% (2573 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 11:14:18 +00:00
Benoit Marty
e520a374e4
Format code
2021-11-22 10:45:45 +01:00
m1chj
4add0d06d9
Translated using Weblate (Polish)
...
Currently translated at 95.1% (2560 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 09:16:36 +00:00
Jacob
e5436dc395
Translated using Weblate (Polish)
...
Currently translated at 95.1% (2560 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 09:16:35 +00:00
m1chj
bdb39d2dca
Translated using Weblate (Polish)
...
Currently translated at 95.1% (2559 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 09:09:42 +00:00
Jacob
a796f04c1c
Translated using Weblate (Polish)
...
Currently translated at 95.1% (2559 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 09:09:41 +00:00
Jeff Huang
c6df159323
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2690 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-11-20 19:26:11 +00:00
sr093906
ba1acf02f6
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (2690 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-11-20 19:26:09 +00:00
Ihor Hordiichuk
71e25f4276
Translated using Weblate (Ukrainian)
...
Currently translated at 91.7% (2469 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-20 19:26:08 +00:00
lvre
2afa850e96
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (2690 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-11-20 19:26:06 +00:00
m1chj
a7f9790f95
Translated using Weblate (Polish)
...
Currently translated at 93.4% (2514 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-20 19:26:04 +00:00
random
d3accdd524
Translated using Weblate (Italian)
...
Currently translated at 99.8% (2687 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-11-20 19:26:01 +00:00
Linerly
294876942f
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (2690 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-11-20 19:26:00 +00:00
Fjoerfoks
3ff0870692
Translated using Weblate (Frisian)
...
Currently translated at 44.2% (1191 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-20 19:25:58 +00:00
Priit Jõerüüt
0972ce780b
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (2690 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-11-20 19:25:53 +00:00
libexus
1f77d1487b
Translated using Weblate (German)
...
Currently translated at 98.4% (2647 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-11-20 19:25:51 +00:00
waclaw66
4ddd52137e
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2690 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-20 19:25:50 +00:00
Benoit Marty
72360104fb
Merge pull request #4526 from vector-im/feature/bma/setarguments
...
Some cleanup on Fragment argument
2021-11-19 21:05:31 +01:00
Benoit Marty
e709896fb0
ktlint
2021-11-19 18:27:30 +01:00
Adam Brown
c0f8984d16
updating workaround factory doc
2021-11-19 16:45:38 +00:00
Benoit Marty
35ee555252
Moar cleanup
2021-11-19 17:35:02 +01:00
Benoit Marty
4af2780ad9
Password hidden by default
2021-11-19 17:31:04 +01:00
Benoit Marty
23f726a2f0
Cleanup API
2021-11-19 17:17:23 +01:00
ganfra
67975e0c83
Matrix: introduce MatrixWorkerFactory to remove internal usage of Matrix.getInstance
2021-11-19 17:15:39 +01:00
Benoit Marty
0f42f379c6
Cleanup: use setArguments() and avoid direct usage of Mavericks.KEY_ARG
...
`fun <T : Fragment> T.withArgs` should not be used anymore
2021-11-19 17:12:38 +01:00
Benoit Marty
292c09b176
Cleanup: Use extension, use setArguments() and avoid direct usage of Mavericks.KEY_ARG
2021-11-19 17:03:18 +01:00
Benoit Marty
d0f5a10c76
Use extension
2021-11-19 16:45:32 +01:00
Benoit Marty
909e93b6d6
Fix crash ( #4520 )
2021-11-19 16:42:56 +01:00
Benoit Marty
430e171f85
Remove useless module, it's a miss of the migration to hilt
2021-11-19 16:09:27 +01:00
Benoit Marty
eb32fd95e4
Merge pull request #4521 from vector-im/feature/bma/di_cleanup
...
Fix "@JvmStatic used for @Provides function in an object class" Lint warning
2021-11-19 16:08:32 +01:00
Adam Brown
cca50ed669
using project terminoloy for rendering ui states on views
2021-11-19 15:03:37 +00:00
Adam Brown
9ce228c5bc
fixing import ordering
2021-11-19 15:03:01 +00:00
Adam Brown
f140dbc0a0
update text composer classes to message composer (as they include voice not just text)
2021-11-19 15:03:01 +00:00
Adam Brown
8837640b5a
renaming text composer files to message composer
2021-11-19 15:03:01 +00:00
Adam Brown
b5055453d1
moving voice recording logic to the TextComposerViewModel (name to be updated) from the RoomDetailViewModel
2021-11-19 15:03:01 +00:00
Benoit Marty
35f9bef94a
Merge pull request #4515 from vector-im/feature/adm/voice-state
...
Voice recording UI state in ViewModel
2021-11-19 15:59:17 +01:00
Benoit Marty
0240aa15a6
Merge pull request #4506 from vector-im/feature/adm/non-dismissing-notifications
...
Non dismissing notifications
2021-11-19 15:45:49 +01:00
Benoit Marty
d80a25feac
Fix "@JvmStatic used for @Provides function in an object class" Lint warning.
...
See https://github.com/google/dagger/releases/tag/dagger-2.25.2 point 2.ii. : @Module object classes no longer need @JvmStatic on the provides methods.
Ensure this warning does not appear again.
2021-11-19 15:29:11 +01:00
Adam Brown
331bcbfc8a
separating the drag state from the main UI state in order to clarify which actions should be handled in each layer
2021-11-19 11:31:10 +00:00
ryg-git
289339f2db
Issue 4343 ( #4490 )
...
Remove image in text composer if message to be replied is updated to message that does not have image or show image in text composer if message to be replied is updated to message that has image.
2021-11-19 10:39:19 +01:00
Adam Brown
7693f3bc6c
lifting the persistence out of the notification state
2021-11-19 09:33:28 +00:00
Adam Brown
55fd362b3d
removing unused default constructor param and making queue a data class since it's only manipulating its own internal data
2021-11-19 09:14:18 +00:00
Benoit Marty
7d35891b01
Merge pull request #4504 from vector-im/feature/bma/upgrade_jitsi
...
Jitsi android-sdk-3.1.0 -> android-sdk-3.10.0
2021-11-19 09:27:46 +01:00
Adam Brown
7d262ebc32
removing no longer needed message delete on animation end, we delete the file straight away
2021-11-18 17:28:08 +00:00
Adam Brown
1afc1b51e5
separating the cancelled and ended events to make the consumption simpler
2021-11-18 17:25:30 +00:00
Adam Brown
4dbb150ac2
clarifying why we do nothing when the state is locked on voice recording ended
2021-11-18 17:21:03 +00:00
Adam Brown
16ca7d5040
adding sending of voice message on send pressed
2021-11-18 17:18:13 +00:00
Adam Brown
c5746a59ae
updating voice view interface method names for consistency
2021-11-18 17:11:10 +00:00
Adam Brown
734e7df910
renaming display function as its updating state, rather than directly displaying
2021-11-18 17:00:47 +00:00
Adam Brown
bf374371b8
removing no longer needed cancelled status check
2021-11-18 15:14:46 +00:00
Adam Brown
dfc67b832c
updating the state rather than calling display directly
2021-11-18 15:06:43 +00:00
Benoit Marty
5e99972d95
Remove dead code
2021-11-18 16:01:01 +01:00
Adam Brown
be685bc56a
aligning the locked recording view to the send message button without the margin, fixes the layout jumping when the mic button switches to a send
2021-11-18 14:59:06 +00:00
Benoit Marty
e233915c0f
Jitsi android-sdk-3.1.0 -> android-sdk-3.10.0
2021-11-18 15:58:40 +01:00
Adam Brown
9ae03b76cd
allows locking and cancelling to occur after choosing either option
...
- fixes other quirks caused by porting to the inverted display logic
2021-11-18 14:15:55 +00:00
Adam Brown
e895dbd923
replacing chained ifs with when
2021-11-18 14:15:55 +00:00
Adam Brown
2ad121e96e
moving the recording ui state to the textcomposer view model and state
2021-11-18 14:15:55 +00:00
Adam Brown
40d762c37d
lifting current recording state out of the view
2021-11-18 14:15:55 +00:00
Adam Brown
f2690552a2
lifting voice display logic out of the view and to the layer above
2021-11-18 14:15:55 +00:00
Adam Brown
f0ef9e9706
inverting and splitting the voice message view into logic and views
...
- creates a display entry point which will be called externally
2021-11-18 14:15:55 +00:00
Adam Brown
fef604bfb9
fixing line lengths
2021-11-18 13:45:01 +00:00
Adam Brown
f61474cb83
lifting the seenIds cache to the event queue rather than chaining it through, allows us to simplify the state model
2021-11-18 13:39:07 +00:00
Adam Brown
fb5e3cdfcd
extracting the queued notification events persistence to its own file
2021-11-18 13:17:41 +00:00
Adam Brown
940fe634c4
fixing notifications not dismissing when the in memory state becomes out of sync
...
- lazily loads the initial notification state as we rely on a current session to exist
- extracts all the notification state manipulation to a separate state class
2021-11-18 13:11:43 +00:00
m1chj
ebf6231ab1
Translated using Weblate (Polish)
...
Currently translated at 91.9% (2474 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 07:38:54 +00:00
mohzart
ec3071c971
Translated using Weblate (Polish)
...
Currently translated at 91.9% (2474 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 07:38:53 +00:00
m1chj
591f8d9877
Translated using Weblate (Polish)
...
Currently translated at 91.9% (2473 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 07:36:16 +00:00
mohzart
1a029fe84b
Translated using Weblate (Polish)
...
Currently translated at 91.9% (2473 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 07:36:16 +00:00
eman luff
0bddba1930
Translated using Weblate (Polish)
...
Currently translated at 91.8% (2471 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 06:28:35 +00:00
mohzart
a62ed45cba
Translated using Weblate (Polish)
...
Currently translated at 91.8% (2471 of 2690 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-18 06:28:34 +00:00
Valere
78bdef4e2d
Code review
2021-11-17 16:39:24 +01:00
Valere
1a204c6b5a
Use borderless shield for verification (web parity)
2021-11-17 16:39:24 +01:00
Valere
dc708438a6
Update shields to match web
2021-11-17 16:39:24 +01:00
Benoit Marty
36ffb3b073
Fix lint issue
2021-11-17 14:18:12 +01:00
Benoit Marty
31837390bc
Merge pull request #4484 from RiotTranslateBot/weblate-element-android-element-app
...
Translations update from Weblate
2021-11-17 11:48:00 +01:00
Benoit Marty
0fd29d763c
Markdown and sploiler in roomlist + spoiler in notifications ( #4483 )
...
Render markdown in room list and make notifications spoiler aware, per MSC3124
Reorder when case to put the most common on top
Co-authored-by: Onuray Sahin <onurays@element.io>
Co-authored-by: Wasabi\preston <1337paf92@gmail.com>
2021-11-17 10:21:48 +00:00
Weblate
e279ffa1d8
Merge branch 'origin/develop' into Weblate.
2021-11-17 09:59:36 +00:00
Ihor Hordiichuk
b4751bc75c
Translated using Weblate (Ukrainian)
...
Currently translated at 91.7% (2454 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-17 09:59:23 +00:00
m1chj
fb2a2ec252
Translated using Weblate (Polish)
...
Currently translated at 92.2% (2469 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-17 09:59:22 +00:00
Line
1b8c747b00
Translated using Weblate (Latvian)
...
Currently translated at 90.5% (2421 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-11-17 09:59:22 +00:00
Linerly
b84aebb7d8
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-11-17 09:58:50 +00:00
Fjoerfoks
c0bd299b04
Translated using Weblate (Frisian)
...
Currently translated at 42.4% (1135 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-17 09:58:50 +00:00
waclaw66
f533fed55d
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-17 09:58:50 +00:00
m1chj
f8042893c8
Translated using Weblate (Polish)
...
Currently translated at 92.2% (2469 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-17 07:26:33 +00:00
eman luff
c070cfc2af
Translated using Weblate (Polish)
...
Currently translated at 92.2% (2469 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-17 07:26:33 +00:00
Benoit Marty
be3aafeef2
Merge pull request #4433 from vector-im/feature/bma/android12
...
Android12
2021-11-16 13:27:33 +01:00
Benoit Marty
dddcbfbe7d
Fix "PendingIntents attached to actions with remote inputs must be mutable"
...
Room notifications are now working on Android 12 emulator
2021-11-16 12:27:54 +01:00
m1chj
b158b8f899
Translated using Weblate (Polish)
...
Currently translated at 92.2% (2467 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 10:39:50 +00:00
eman luff
5258cbd0c2
Translated using Weblate (Polish)
...
Currently translated at 92.2% (2467 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 10:39:50 +00:00
m1chj
3887692a8e
Translated using Weblate (Polish)
...
Currently translated at 92.1% (2466 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 10:08:41 +00:00
eman luff
f53dd33472
Translated using Weblate (Polish)
...
Currently translated at 92.1% (2466 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 10:08:41 +00:00
m1chj
597da4f9e3
Translated using Weblate (Polish)
...
Currently translated at 92.0% (2463 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:18:30 +00:00
eman luff
3a1b50f6a2
Translated using Weblate (Polish)
...
Currently translated at 92.0% (2463 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:18:30 +00:00
mohzart
db299a2c33
Translated using Weblate (Polish)
...
Currently translated at 92.0% (2463 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:17:37 +00:00
Adam Tomaja
2077eda611
Translated using Weblate (Polish)
...
Currently translated at 92.0% (2463 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:17:37 +00:00
m1chj
f59ac641bb
Translated using Weblate (Polish)
...
Currently translated at 92.0% (2463 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:17:37 +00:00
Keij0
027807b9be
Translated using Weblate (Polish)
...
Currently translated at 92.0% (2463 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-16 09:17:31 +00:00
Noômen Ben Hassin
60c50e23a1
Added translation using Weblate (English (Old))
2021-11-15 18:30:17 +00:00
Benoit Marty
6f13fb1634
Create file for Toast style (more generic)
...
And improve fragment_create_poll.xml preview rendering
2021-11-15 14:23:32 +01:00
Benoit Marty
223b33fa65
Create CallToAction button style
2021-11-15 14:16:22 +01:00
Benoit Marty
2aab94acb4
Create dedicated file for TextInputLayout styles
...
And follow naming convention
2021-11-15 14:11:15 +01:00
Benoit Marty
35e2a1083b
Merge pull request #4360 from vector-im/feature/ons/poll
...
Poll Feature - Create
2021-11-15 14:05:40 +01:00
Benoit Marty
df60b0c2b7
Merge pull request #4430 from vector-im/feature/adm/feature-notification-images
...
Notification images
2021-11-15 12:46:51 +01:00
Onuray Sahin
299d81fd18
Lint fix.
2021-11-15 14:41:22 +03:00
Benoit Marty
5a19533b4a
Use correct value, but I do not see any effect on emulator with API 12
2021-11-15 12:25:42 +01:00
Benoit Marty
60d75ff8e2
Fix crash on Android 12.
...
I guess we accept only images coming from the keyboard.
2021-11-15 12:25:42 +01:00
Benoit Marty
96de0f86fe
Fix lint issue "NullSafeMutableLiveData"
...
LiveData value assignment nullability mismatch
2021-11-15 12:25:42 +01:00
Benoit Marty
1082771f7c
Fix lint issue "Incorrect constant"
2021-11-15 12:24:48 +01:00
Benoit Marty
03019fdfd9
Fix lint issue "Outside Range"
...
Ensure that column index is not -1
2021-11-15 12:24:48 +01:00
Benoit Marty
453e6daa93
Make the Cursor extensions public
...
And make the code more efficient, since we call getColumnIndexOrNull only once and not on each cursor iteration
2021-11-15 12:24:48 +01:00
Benoit Marty
f88a477f04
Fix crash on Android 12: PendingIntent.FLAG_IMMUTABLE has to be set
2021-11-15 12:24:48 +01:00
Benoit Marty
f25c17881d
Fix crash on Android 12
...
java.lang.SecurityException: To use the sampling rate of 0 microseconds, app needs to declare the normal permission HIGH_SAMPLING_RATE_SENSORS.
2021-11-15 12:24:48 +01:00
Benoit Marty
e9f53f6b35
InputConnectionCompat.createWrapper is deprecated
...
Permission should be granted, according to https://developer.android.com/reference/android/view/OnReceiveContentListener#uri-permissions
2021-11-15 12:24:48 +01:00
Benoit Marty
0a9845af30
@OnLifecycleEvent is deprecated, use DefaultLifecycleObserver instead
2021-11-15 12:24:48 +01:00
Benoit Marty
f7b2059fe1
Target API 31 - Handle deprecated API
2021-11-15 12:24:48 +01:00
Benoit Marty
31809a595c
Temporary fix for Android 12. android:exported has to be explicitly set when targeting Android 12
...
Do it for services coming from dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty
aa3f36b7b7
Target API 31 - Android 12 - #4262
2021-11-15 12:24:48 +01:00
Onuray Sahin
fff47b8243
Lint fix.
2021-11-15 13:26:31 +03:00
bmarty
a33bcbb81a
Sync Emojis
2021-11-15 00:01:55 +00:00
Michael Mihai
66bbb02bae
Translated using Weblate (Romanian)
...
Currently translated at 15.3% (410 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-11-12 22:25:56 +00:00
Fjoerfoks
41ac1d3b7b
Translated using Weblate (Frisian)
...
Currently translated at 42.3% (1134 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-12 22:25:51 +00:00
waclaw66
47a8f1afbb
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-12 22:25:46 +00:00
Onuray Sahin
a6c88b74a4
Hide poll icon from attachment type selector for now.
2021-11-11 13:42:04 +03:00
Onuray Sahin
b6717f4e46
Code review fixes.
2021-11-11 13:38:39 +03:00
Onuray Sahin
89db5a6ecd
Lint fixes.
2021-11-11 11:52:01 +03:00
Onuray Sahin
7546071df8
Design review fixes.
2021-11-10 13:47:15 +03:00
Adam Brown
892129994e
Merge pull request #4424 from dkter/fix-broken-room-icons
...
Fix incorrect cropping of conversation icons
2021-11-10 09:43:09 +00:00
Benoit Marty
dc486557cf
Merge pull request #4427 from vector-im/feature/bma/shortcut_disabled
...
Add an explicit reason when shortcut are disabled.
2021-11-09 20:38:21 +01:00
Michael Mihai
0ec022f817
Translated using Weblate (Romanian)
...
Currently translated at 12.8% (343 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-11-09 12:25:51 +00:00
Fjoerfoks
9cbed204bc
Translated using Weblate (Frisian)
...
Currently translated at 36.6% (980 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-09 12:25:51 +00:00
Glandos
d58a846707
Translated using Weblate (French)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-11-09 12:25:45 +00:00
Adam Brown
145ceacf78
fixing auto merge issues
2021-11-08 15:24:08 +00:00
Adam Brown
9e6bd2ee9c
checking if the event is an image message to avoid attepting to render non image based attachments
2021-11-08 15:24:08 +00:00
Adam Brown
22f73c80f0
removing debug log
2021-11-08 15:24:08 +00:00
Adam Brown
a37ff83fdc
catching any potential errors whilst download/exporting the notification image, will allow us to continue to show the notifications
2021-11-08 15:24:08 +00:00
Adam Brown
8cc68e16d2
supporting images in the room notifications 15:40:32
...
- downloads and exports any images whilst resolving the notification event
2021-11-08 15:24:08 +00:00
Adam Brown
c0ef25756d
cleaning up method ordering and visibility
2021-11-08 15:24:08 +00:00
Adam Brown
77e0b22982
extracting notifiable event creation to its own function
2021-11-08 15:24:08 +00:00
Adam Brown
588958c807
moving the notifable queue adding to the queue itself and making onNotifiableEventReceived not synchronised for use within the synchronized batching
...
- makes the refresh function private as all interactions now come through via update
2021-11-08 15:24:08 +00:00
Adam Brown
9009606e86
flattening some of the onNotifiableEventReceived branches to simplify the chain
2021-11-08 15:24:08 +00:00
Adam Brown
ef348c24a0
extracting the notification event logic to its own class and provide a single update point of entry for mutating the events
...
- this avoids multiple synchronisation locks by batching updates and ensures a single notification render pass
2021-11-08 15:24:08 +00:00
Adam Brown
5190ef4280
replacing separated push listener callbacks with a single onEvents callback
...
- simplifies the handling of notifications, will allow us to reduce redundant synchronisations and suspend the entire notification update (will be needed for supporting images)
2021-11-08 15:24:07 +00:00
Onuray Sahin
a10253c003
Design review fixes.
2021-11-08 17:26:01 +03:00
Benoit Marty
2b58c0e5ab
ktlint
2021-11-08 15:06:23 +01:00
Benoit Marty
04c7a300b9
Add an explicit reason when shortcut are disabled.
...
Also prefer using ShortcutManagerCompat to disable shortcuts
2021-11-08 12:47:32 +01:00
Benoit Marty
b6e5d2cadf
Merge pull request #4339 from vector-im/feature/adm/invite-by-email
...
Missing ability to invite users by email
2021-11-08 11:05:27 +01:00
Tvirin
d481f3b286
Added translation using Weblate (Macedonian)
2021-11-07 22:27:51 +00:00
waclaw66
053fd7b6bf
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-07 19:25:44 +00:00
Jeff Huang
f2d12aa3d7
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-11-06 17:26:19 +00:00
sr093906
86b777b922
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-11-06 17:26:18 +00:00
Ihor Hordiichuk
dca4b87ced
Translated using Weblate (Ukrainian)
...
Currently translated at 91.5% (2449 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-06 17:26:18 +00:00
LinAGKar
71e55692ae
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-11-06 17:26:18 +00:00
Besnik Bleta
1c836df20d
Translated using Weblate (Albanian)
...
Currently translated at 99.5% (2662 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-11-06 17:26:17 +00:00
lvre
5c59c5f82c
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-11-06 17:26:17 +00:00
eman luff
231172aa19
Translated using Weblate (Polish)
...
Currently translated at 89.8% (2403 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-06 17:26:16 +00:00
Adam Tomaja
0e10793e59
Translated using Weblate (Polish)
...
Currently translated at 89.8% (2403 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-06 17:26:16 +00:00
random
0cbe899007
Translated using Weblate (Italian)
...
Currently translated at 99.8% (2672 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-11-06 17:25:49 +00:00
Linerly
64e281ecc4
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-11-06 17:25:49 +00:00
Szimszon
019ba178f5
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-11-06 17:25:48 +00:00
Danial Behzadi
b6b5e528f5
Translated using Weblate (Persian)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-11-06 17:25:47 +00:00
Priit Jõerüüt
2306ac60cb
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-11-06 17:25:47 +00:00
Ultimator14
2c5fe79596
Translated using Weblate (German)
...
Currently translated at 98.3% (2632 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-11-06 17:25:46 +00:00
waclaw66
f17f4e123f
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2675 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-06 17:25:46 +00:00
Zet
b7d040be9f
Translated using Weblate (Arabic)
...
Currently translated at 39.8% (1066 of 2675 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-11-06 17:25:45 +00:00
David Teresi
4b57761d02
Remove broken room shortcut recreation
2021-11-06 13:05:23 -04:00
Benoit Marty
e8fb408579
Limit the number of pushed shortcuts
2021-11-05 15:38:52 +01:00
Benoit Marty
f3655d4664
Merge pull request #4363 from vector-im/feature/fga/rx_flow_migration
...
Feature/fga/rx flow migration
2021-11-04 18:44:48 +01:00
Benoit Marty
78e0109301
Fix crash when filtering the room member list
...
A Holder as to be uniquely linked to the layout id declared in @EpoxyModelClass, see https://github.com/airbnb/epoxy/issues/854
Fixes https://github.com/matrix-org/element-android-rageshakes/issues/27784
2021-11-04 16:39:20 +01:00
Benoit Marty
21e1766e3e
Better code
2021-11-04 16:19:26 +01:00
Benoit Marty
41ab117182
Fix a problem with filtering 3pid invite.
...
We were using the whole 3pid invite if they were not all filtered.
Also double filtering on RoomThirdPartyInviteContent type is not necessary
2021-11-04 16:19:26 +01:00
Benoit Marty
345dac4a3b
rename fun
2021-11-04 15:43:03 +01:00
Adam Brown
85f8f217b5
updating invite copy
2021-11-04 11:55:09 +00:00
Adam Tomaja
e167db2bb7
Feature/4292 fix capitalisation on initial sync screen ( #4410 )
...
#4292 - Fix Capitalisation On Initial Sync Screen
Co-authored-by: Adam Tomaja <cydercode@gmail.com>
2021-11-04 11:39:50 +00:00
Benoit Marty
6f58cbd6c5
Merge pull request #4314 from vector-im/feature/adm/fdroid-notification-reliability
...
F-Droid variant permanent notification to fix missing notifications
2021-11-04 12:28:20 +01:00
Benoit Marty
97089e4394
Fix lint issue
2021-11-04 12:20:39 +01:00
Weblate
e4135e4524
Merge branch 'origin/develop' into Weblate.
2021-11-04 10:21:40 +00:00
Jim
488c081d0c
Translated using Weblate (Vietnamese)
...
Currently translated at 56.2% (1504 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-11-04 10:21:35 +00:00
Jim
6c74fec0fa
Translated using Weblate (Vietnamese)
...
Currently translated at 56.1% (1500 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-11-04 10:20:07 +00:00
Linerly
fdcad764d2
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-11-04 10:19:59 +00:00
waclaw66
5d013b0433
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-04 10:19:59 +00:00
Adam Brown
432d4801c9
removing unused import
2021-11-04 10:12:24 +00:00
Adam Brown
48678382ba
adding new copy for the foreground listening notification
2021-11-04 09:45:59 +00:00
Adam Brown
a6eadfe894
removing unused starter field
2021-11-04 09:45:59 +00:00
Adam Brown
ace9f89569
always trigger guard service start when a session is activated
...
- fixes missing guard after login
2021-11-04 09:45:59 +00:00
Adam Brown
56d5a38e80
reverting parts of the rapid periodic sync, unfortunately it suffers from the same issue as the one shot workers -
...
the system can ignore them if the application process is in the background
2021-11-04 09:45:59 +00:00
Adam Brown
71b27bfd5d
making the guard service a noop, lifeline scheduling will be brought back if we confirm the service by itself is not enough
...
- reuses the sync foreground notification for the guard foreground service
2021-11-04 09:45:59 +00:00
Andrew Aylett
d261dd705d
Periodic sync to re-kick-off rapid sync
2021-11-04 09:45:59 +00:00
Onuray Sahin
cbe07c4aee
Code review fixes.
2021-11-04 11:35:35 +03:00
Ihor Hordiichuk
e6b359c7f7
Translated using Weblate (Ukrainian)
...
Currently translated at 91.6% (2449 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-03 19:25:44 +00:00
Adam Brown
06d4ee9df8
adding missing tints to the dev tools toolbar
2021-11-03 16:12:39 +00:00
Benoit Marty
b8ca520552
Make the poll option visible so that it can be tested from the PR
2021-11-02 16:34:44 +01:00
waclaw66
2eba5f1f4d
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-02 14:25:43 +00:00
ganfra
e43bfaebc6
Flow migration: more update after PR reviews
2021-11-02 11:50:56 +01:00
Benoit Marty
d1294f9a71
Merge pull request #4380 from vector-im/feature/adm/key-request
...
Key request screen crash on launch
2021-11-02 10:53:09 +01:00
Benoit Marty
23a8ac6231
Merge pull request #4381 from vector-im/feature/adm/looping-call-ringtones
...
Force call ringtones to loop
2021-11-02 09:59:56 +01:00
Benoit Marty
26f8f5d1fb
Merge pull request #4379 from vector-im/feature/adm/sso-ordering
...
Sorting social providers by priority
2021-11-02 09:53:32 +01:00
Adam Brown
66737c6ec9
looping the call ringtones instead of relying on the ringtone to contain looping metadata
2021-11-01 14:41:25 +00:00
Adam Brown
e75c5a6b9a
adding missing view model provision
2021-11-01 12:35:09 +00:00
Adam Brown
1c9f1808ba
sorting the social providers by their defined priority
2021-11-01 12:13:50 +00:00
Jonas
0aa0858921
Translated using Weblate (Danish)
...
Currently translated at 18.1% (486 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/da/
2021-10-31 19:25:42 +00:00
Zet
44068304e0
Translated using Weblate (Arabic)
...
Currently translated at 39.1% (1046 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-10-30 16:25:42 +00:00
Florian Renaud
1341094545
Fix permalink handling
...
whole link base url was compared to supported hosts instead of the host part only
2021-10-29 17:13:37 +02:00
Onuray Sahin
19216aec63
Limit maximum number of poll options.
2021-10-29 17:18:37 +03:00
Onuray Sahin
40aa0175d0
Code review fixes.
2021-10-29 16:54:54 +03:00
Adam Brown
e12d8c30d8
fixing timeline crash when rotating with the emoji window open
...
- guarding the emoji popup dismiss callback with a started lifecycle state
- the emoji popup dismiss callback also triggers onViewDetachedFromWindow which does not always finish before onDestroyView
2021-10-28 19:23:36 +01:00
ganfra
bb4a820c31
Flow migration: update after PR reviews
2021-10-28 19:19:59 +02:00
ganfra
edf068ee57
Flow migration: use throttleFirst instead of sample on UI
2021-10-28 17:36:29 +02:00
Onuray Sahin
a5a3a817e1
Merge branch 'develop' into feature/ons/poll
...
* develop: (129 commits)
Improve Rx sequence regarding listener
adding changelog entry
using correct license for matrix-sdk test
extending the room name resolved to create a dedicated room name data class which contains a normalized version of the room name
Remove shortcut as soon as a PIN code is set
ensuring the store migration class is always equal to other store migration instances - is needed as realm will throw if multiple migration instances are created and they don't match
removing extra query definition by chaining the query creation with modifiers
removing noisy log which duplicates a type clause and fixing when casing formatting to have a case per line
documenting the different query cases
making the isNormalized function an extension and internal to the sdk
Cache immutable value
Do not show shortcuts if a PIN code is set
Remove (disable) shortcut if a room is left
Ensure ShortcutsHandler get all the joined rooms #4168
Add `sortOrder: RoomSortOrder` parameter, with no API break
Clean code
adding normalised room display name field and making use of it when filtering rooms by name - fixes non latin-1 character set room names from being ignored when searching with inexact casing
adding normalisation to the query string cases
making value processing an injectable class, it will need to have its own dependencies to support normalisation
porting QueryStringValue to sealed interface with a sub category for the content based values - allows for handling those cases separately for normalisation
...
# Conflicts:
# vector/src/main/java/im/vector/app/core/di/ScreenComponent.kt
2021-10-28 18:05:10 +03:00
Adam Brown
14538a71d0
updating consent copy to use latest variation
2021-10-28 15:56:08 +01:00
ganfra
83644846f6
Merge branch 'develop' into feature/fga/rx_flow_migration
2021-10-28 15:27:25 +02:00
Benoit Marty
c22d3fbedc
Merge pull request #4355 from vector-im/feature/adm/timeline-disk-usage
...
Reducing timeline disk usage
2021-10-28 15:16:27 +02:00
Onuray Sahin
db820efc3a
Fix UI issues.
2021-10-28 15:43:51 +03:00
Adam Brown
23f8d05522
removing redundant exists() checks, mkdirs already does this
2021-10-28 13:35:39 +01:00
Onuray Sahin
ac299d8c06
Remove poll command.
2021-10-28 14:48:20 +03:00
Benoit Marty
868548d0ab
Merge pull request #4352 from vector-im/feature/adm/room-filtering
...
Fixing case sensitive non latin room name filtering
2021-10-28 12:27:13 +02:00
Onuray Sahin
dd58dd800c
Create poll event content.
2021-10-28 10:50:29 +03:00
Benoit Marty
34e8cf84dc
Improve Rx sequence regarding listener
2021-10-28 09:41:27 +02:00
Nikita Epifanov
c6eba1178d
Translated using Weblate (Russian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-10-28 07:25:43 +00:00
p_0g_8mm3_
fbffddec77
Translated using Weblate (German)
...
Currently translated at 98.8% (2642 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-10-28 07:25:42 +00:00
libexus
adeafdace3
Translated using Weblate (German)
...
Currently translated at 98.8% (2642 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-10-28 07:25:42 +00:00
ganfra
da47bfde2b
Flow migration: remove Shortcuts process from main thread
2021-10-27 19:26:51 +02:00
Adam Brown
8525925732
lazily creating the voice directory references, avoid eagerly reading the file on the main thread
2021-10-27 18:23:39 +01:00
Benoit Marty
6691edb59d
Remove shortcut as soon as a PIN code is set
2021-10-27 16:17:53 +02:00
ganfra
b93e67ed11
Flow migration: clean up
2021-10-27 16:12:01 +02:00
ganfra
635ca8e276
Merge branch 'develop' into feature/fga/rx_flow_migration
2021-10-27 16:05:43 +02:00
Benoit Marty
3a48e33c81
Cache immutable value
2021-10-27 15:26:31 +02:00
Benoit Marty
6f577d8232
Do not show shortcuts if a PIN code is set
2021-10-27 15:24:24 +02:00
Benoit Marty
3a81c10062
Remove (disable) shortcut if a room is left
2021-10-27 15:13:07 +02:00
Benoit Marty
f166348a68
Ensure ShortcutsHandler get all the joined rooms #4168
2021-10-27 15:00:14 +02:00
Benoit Marty
9b75da5d4d
Clean code
2021-10-27 15:00:14 +02:00
Adam Brown
4ae04fc297
adding normalised room display name field and making use of it when filtering rooms by name
...
- fixes non latin-1 character set room names from being ignored when searching with inexact casing
2021-10-27 13:09:53 +01:00
ganfra
34cb99e8ae
Flow migration: remove Rx completely (rxbinding)
2021-10-27 12:13:49 +02:00
Onuray Sahin
6cee266a95
Create poll UI implementation.
2021-10-27 13:10:01 +03:00
Danial Behzadi
ede8933059
Translated using Weblate (Persian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-10-26 23:25:49 +00:00
Ihor Hordiichuk
5c4ac897c1
Translated using Weblate (Ukrainian)
...
Currently translated at 91.6% (2448 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-10-26 23:25:49 +00:00
random
188e0dbec7
Translated using Weblate (Italian)
...
Currently translated at 99.8% (2669 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-10-26 23:25:45 +00:00
libexus
93ed2dcbbf
Translated using Weblate (German)
...
Currently translated at 97.8% (2615 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-10-26 23:25:44 +00:00
DUCKCHI
66198805ca
Translated using Weblate (Korean)
...
Currently translated at 49.6% (1326 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2021-10-26 23:25:43 +00:00
Adam Brown
6d9877d79c
filtering out redacted simple message events, we handle them by updating the notifications
2021-10-26 20:03:10 +01:00
Adam Brown
a5fe6f7212
removing redacted events from the room notification message list
2021-10-26 20:03:10 +01:00
Adam Brown
b146501f29
avoiding multiple list iterations via mapNotNull
2021-10-26 20:03:10 +01:00
Benoit Marty
be67836a3e
Tiny formatting
2021-10-26 20:03:10 +01:00
Benoit Marty
2bd2cbf84e
Compact code
2021-10-26 20:03:10 +01:00
Benoit Marty
c56101d227
Do not use the room member avatar as a room avatar
2021-10-26 20:03:10 +01:00
Adam Brown
743a71c78d
renaming event lists to give more context and remove the list suffix/inconsistencies
2021-10-26 20:03:10 +01:00
Adam Brown
d1f6db4236
using dedicated ProcessedEvent data class instead of type alias for passing around the process notificatiable events
...
- also includes @JvmName on all conflicting extensions for consistency
2021-10-26 20:03:10 +01:00
Adam Brown
6fb7faa360
removing unused imports
2021-10-26 20:03:10 +01:00
Adam Brown
a6e47d8b85
replacing notification utils usage with the displayer and removing unused method
2021-10-26 20:03:10 +01:00
Adam Brown
c16e3e09e6
adding missing parameter from rebase and removing no longer needed singleton annotation
2021-10-26 20:03:10 +01:00
Adam Brown
4748a385ea
inlining single use extension functions
2021-10-26 20:03:10 +01:00
Adam Brown
9fa09def96
fixing line lengths
2021-10-26 20:03:10 +01:00
Adam Brown
4bbb637ace
adding documentation around the two notifiable event lists which act as our notification source of truth
2021-10-26 20:03:10 +01:00
Adam Brown
c67b9ee81e
ensuring that we remove read messages when they come through by respecting the processed type when creating the notifications
2021-10-26 20:03:10 +01:00
Adam Brown
0bdc65b47f
diffing the notification events against the currently rendered events allow us to dismiss notifications from removed events
2021-10-26 20:03:10 +01:00
Adam Brown
b27fb264fc
using a process state of keep/removed rather than mapping to an ignored event id
...
- this state will be used to diff the currently rendered events against the new ones
2021-10-26 20:03:10 +01:00
Adam Brown
b7b4c01bde
splitting the event processing from the rendering
...
- this allows us to only synchronise of the event list modifications rather than the entire notification creation/rendering which should in turn reduce some of our ANRs https://github.com/vector-im/element-android/issues/4214
2021-10-26 20:03:10 +01:00
Adam Brown
587466e009
relying on the notification refreshing to cancel/update the notifications
2021-10-26 20:03:10 +01:00
Adam Brown
03fe45da60
ensuring that we removing the summary group before removing individual notifications
...
- adds some comments to explain the positioning
2021-10-26 20:03:10 +01:00
Adam Brown
a94a1a0523
formatting
2021-10-26 20:03:10 +01:00
Adam Brown
8fb6bef503
removing this usages for project convention
2021-10-26 20:03:10 +01:00
Adam Brown
0d316e69de
handling creating the summary when notification events are filtered to empty due to only containing removals
2021-10-26 20:03:10 +01:00
Adam Brown
3d567d0dcd
removing no longer needed hasBeenDisplayed state, the eventList is our source of truth
...
- when events have finished being displayed they should be removed from the eventList via notification delete actions
2021-10-26 20:03:10 +01:00
Adam Brown
c85afa96d3
lifting settings change to cancel all notifications out of the renderer
...
- the renderer's responsibility it handling events
2021-10-26 20:03:10 +01:00
Adam Brown
3023cb4d39
chaining the event process, notification creation and display logic into a NotificationRender
...
- extract the displaying into its own class to avoid leaking the entire notificationutils
- cancel/display notification actions are completely driven by the event or abscense of event from the eventList
- attempts to avoid redundant render passes by checking if the eventList has changed since the last render
2021-10-26 20:03:10 +01:00
Adam Brown
0f4ec65b7a
creating the notifications separate to where they're displayed
...
- also handles when the event diff means the notifications should be removed
2021-10-26 20:03:10 +01:00
Adam Brown
7b0c483134
creating dedicated class for the processing the serialized events
...
- updates the logic to track when events are removed as a way for the notifications to remove themselves, null events mean they've been removed
2021-10-26 20:03:10 +01:00
Adam Brown
4459aab558
making the event body non null and immutable to allow less cases to be handled -
...
also puts in the basis for a separate notification refreshing implementation
2021-10-26 20:03:10 +01:00
Adam Brown
beff5ab821
including the room name in the invitation event if the room sumary is available
2021-10-26 20:03:10 +01:00
Adam Brown
56e2b79774
formatting
2021-10-26 20:03:10 +01:00
Adam Brown
86b500445f
updating the push gateway property to reflect that it mean the event can be replaced
...
- makes the property immutable as only the creation of the event knows if it can be replace eg it came from a push or the /sync event stream
2021-10-26 20:03:10 +01:00
Adam Brown
b44a382893
separating the mutable vars from the immutable ones, they'll be removed or made immutable by the notification redesign
2021-10-26 20:03:10 +01:00
Adam Brown
db5d4ead38
making the noisy property immutable
2021-10-26 20:03:10 +01:00
Adam Brown
c99dd4a615
making the isRedacted event property immutable
...
- also makes the notifiable events sealed interfaces so that we can copy the data classes with new redacted values when it changes
2021-10-26 20:03:10 +01:00
Adam Brown
89d643a4be
removing unused property (written to but never read)
2021-10-26 20:03:10 +01:00
Adam Brown
81da185d8b
making non overriden properties immutable by passing the values intro the constructor
2021-10-26 20:03:10 +01:00
Adam Brown
51f7dee952
removing non common properties form the base event
2021-10-26 20:03:10 +01:00
Adam Brown
0c809b5ed1
now that we ignore duplicated invite joined events at the source we can avoid eager notification cancels and rely on the main notification refresh flow
2021-10-26 20:03:10 +01:00
Benoit Marty
a19999a717
Merge pull request #4345 from vector-im/feature/adm/unable-to-join-by-name
...
Unable to join room by name
2021-10-26 19:35:44 +02:00
Benoit Marty
1d8a4a923a
Merge pull request #4344 from vector-im/feature/bma/device_id_param
...
Add optional deviceId to the login API
2021-10-26 19:24:09 +02:00
Adam Brown
272baa52ec
adding remaining activity missing hilt injection annotations
2021-10-26 17:56:22 +01:00
Adam Brown
881157a725
applying the room navigation interceptor to only the room activity navigation, not the bottomsheets
...
- the bottomsheets require the activity to stay around as they host the sheet instance, fixes missing join sheets
2021-10-26 17:15:19 +01:00
Adam Brown
49c969601d
adding missing bottomsheet handling for displaying the join room sheet when linking from the public rooms
...
- the activity is still finished causing the popup to not actually display
2021-10-26 17:14:24 +01:00
Benoit Marty
6c485d5f6e
Merge hotfix 1.3.6
2021-10-26 17:23:33 +02:00
Adam Brown
792444d1ac
adding missing hilt annotation for injectable activity
2021-10-26 16:23:32 +01:00
ganfra
8cf5b727e1
Flow: restore read receipts
2021-10-26 15:57:18 +02:00
ganfra
9479342a64
Flow: remove more rx
2021-10-26 15:16:10 +02:00
Benoit Marty
0236396c59
Add optional deviceId to the login API
2021-10-26 15:10:04 +02:00
ganfra
c936954119
Flow migration: start replacing Rx by Flow
2021-10-26 14:24:23 +02:00
Adam Brown
10df75bd57
allowing the re-emission of identical search terms, fixes the finish setup/give consent steps from not properly updating the UI
...
- also captures the fragmet resumed event in order to handle returning from the settings page and applying a identity server
2021-10-26 12:25:17 +01:00
Adam Brown
c90dbf2f38
allowing null users in the email search, fixes missing indentity server helpers when inviting by email
2021-10-26 11:55:52 +01:00
Onuray Sahin
cb1d5e888d
Create poll fragment with a title.
2021-10-25 20:14:10 +03:00
Onuray Sahin
4af42902a0
Create poll screen components implemented.
2021-10-25 16:41:37 +03:00
Onuray Sahin
3e03db200c
Add poll icon to attachment type selector.
2021-10-25 14:47:57 +03:00
Benoit Marty
3354cd1760
Merge pull request #4312 from vector-im/feature/fga/hilt_app_migration
...
Migrate App DI framework to Hilt
2021-10-25 12:41:02 +02:00
Benoit Marty
8b6e0187d6
Merge pull request #4320 from vector-im/feature/adm/malformed-group-link
...
Fixing grouped notification causing malformed url
2021-10-25 12:20:04 +02:00
Adam Brown
325e78106e
fixing strange ide extract
2021-10-25 10:51:40 +01:00
Adam Brown
06b3cc3f4b
filters the unique notification uris from the link handling
...
- fixes malformed url errors appearing for uri we only create to force uniqueness in the notifications
2021-10-22 18:29:53 +01:00
ganfra
a82a5c9b32
Fix unread marker not showing #4313
2021-10-22 15:19:39 +02:00
ganfra
e6e8c7f7d1
Hilt: clean code and add changelog
2021-10-22 12:41:06 +02:00
ganfra
e9b58844b3
Merge branch 'develop' into feature/fga/hilt_app_migration
2021-10-22 11:30:49 +02:00
ganfra
b6501ce7b2
Hilt: continue cleaning up
2021-10-22 11:30:09 +02:00
Weblate
f75de0b2b7
Merge branch 'origin/develop' into Weblate.
2021-10-22 08:00:00 +00:00
Jeff Huang
dcda43fc93
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-10-22 07:59:54 +00:00
sr093906
de320e671e
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-10-22 07:59:54 +00:00
LinAGKar
5a3d1fb7ec
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-22 07:59:54 +00:00
lvre
2ddedf49d4
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-10-22 07:59:54 +00:00
Linerly
df5c05fc1f
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-22 07:59:53 +00:00
Szimszon
2b0933139a
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-10-22 07:59:53 +00:00
Glandos
3993a45825
Translated using Weblate (French)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-10-22 07:59:53 +00:00
Priit Jõerüüt
b83566c1c0
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-10-22 07:59:53 +00:00
waclaw66
bc137af0e2
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-10-22 07:59:52 +00:00
ganfra
d724504662
Hilt: finish migration of latest view models
2021-10-21 20:17:49 +02:00
ariskotsomitopoulos
9d5f84b86a
Linter fixes
2021-10-21 20:02:21 +03:00
ariskotsomitopoulos
d6d46d1c21
Avoid using setRawInputType
2021-10-21 19:41:35 +03:00
Benoit Marty
a7d5c6a437
Merge pull request #4281 from vector-im/feature/aris/broken_edittext_4276
...
Fix Broken EditText when using FromEditTextItem
2021-10-21 17:28:41 +02:00
ariskotsomitopoulos
beab9ab8f1
Refactored for clarity
2021-10-21 17:43:01 +03:00
ariskotsomitopoulos
dc230f1c30
Refactor to handle more cases
2021-10-21 14:31:50 +03:00
ganfra
d33daaf799
Fix voice message record button wrong visibility #4283
2021-10-21 11:35:08 +02:00
ganfra
ac1e4e9e9c
Hilt: remove usage of ScreenComponent
2021-10-21 10:10:59 +02:00
ariskotsomitopoulos
3ea7b37df3
Improve imeOptions
2021-10-21 01:54:45 +03:00
ariskotsomitopoulos
b3f6b5e142
Fix Broken EditText when using FromEditTextItem
2021-10-21 01:46:05 +03:00
ganfra
188b4887ba
Hilt: continue migrating activities
2021-10-20 18:06:57 +02:00
Benoit Marty
367795ee24
Fix crash reported by the PlayStore, for release 1.3.4
...
I did not find a way to reproduce, but this change should add some safety
2021-10-20 09:29:15 +02:00
Benoit Marty
628ccdc328
Add English - GB to the list of languages
2021-10-20 09:16:56 +02:00
Weblate
cf5fca082d
Merge branch 'origin/develop' into Weblate.
2021-10-20 06:28:17 +00:00
Kiel
c7fa40fd46
Translated using Weblate (English (United Kingdom))
...
Currently translated at 0.7% (21 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/en_GB/
2021-10-20 06:28:08 +00:00
DUCKCHI
d764bb659f
Translated using Weblate (Korean)
...
Currently translated at 48.3% (1292 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2021-10-20 06:28:06 +00:00
ganfra
92cd79c550
Hilt: migrate activities
2021-10-19 18:53:17 +02:00
ganfra
bb68e735f7
Hilt: continue migration VM
2021-10-19 17:31:56 +02:00
Jeff Huang
497d053c5d
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-10-19 15:25:39 +00:00
LinAGKar
803d145892
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-19 15:25:39 +00:00
Viacheslav Raskulin
bda95fcc5e
Translated using Weblate (Russian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-10-19 15:25:39 +00:00
random
5cb55cb0d3
Translated using Weblate (Italian)
...
Currently translated at 99.8% (2669 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-10-19 15:25:38 +00:00
Linerly
61c64a872d
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-19 15:25:38 +00:00
Benoit Marty
4626199761
Slash commands: popDraft() only in case of success, and display a loading dialog during processing
2021-10-19 13:56:38 +02:00
Benoit Marty
364654b685
Fix crash on slash commands Exceptions
2021-10-19 12:33:47 +02:00
Benoit Marty
fe2ba28441
Implement /part command, with or without parameter
2021-10-19 11:55:09 +02:00
Benoit Marty
f5eaf2f05f
Align wording with Element Web
2021-10-19 11:35:49 +02:00
ganfra
1d73077184
Hilt: continue migration VM
2021-10-18 18:54:30 +02:00
Benoit Marty
2a47acc68a
Merge pull request #4236 from vector-im/feature/adm/fixing-home-menu-options
...
Fixing developer sync options always displaying
2021-10-18 18:19:20 +02:00
sr093906
be874d9927
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-10-18 01:25:44 +00:00
LinAGKar
68591f3ddd
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-18 01:25:43 +00:00
joshua
b83a96e1c1
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-10-18 01:25:43 +00:00
Besnik Bleta
41167cdc23
Translated using Weblate (Albanian)
...
Currently translated at 99.3% (2655 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-10-18 01:25:41 +00:00
Nikita Epifanov
9b1b35084c
Translated using Weblate (Russian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-10-18 01:25:41 +00:00
lvre
e425532953
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-10-18 01:25:40 +00:00
Linerly
1787a8a358
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-10-18 01:25:40 +00:00
Szimszon
ab5b907b7d
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-10-18 01:25:40 +00:00
Danial Behzadi
0c80f6b8a5
Translated using Weblate (Persian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-10-18 01:25:39 +00:00
Priit Jõerüüt
ee301bc355
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (2672 of 2672 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-10-18 01:25:39 +00:00