Commit graph

11577 commits

Author SHA1 Message Date
Benoit Marty
9ebc234e8e
Merge pull request #4428 from vector-im/feature/fre/fix_optional_npe
Fix potential NPE on Optional objects
2021-11-08 16:37:24 +01: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
431f060209 add changelog entry 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
4597cb3816 add changelog entry for breaking API change 2021-11-08 15:24:08 +00:00
Adam Brown
7646f7ce32 updating copyright header 2021-11-08 15:24:08 +00:00
Adam Brown
037d1fcf52 adding catch around the push event dispatching to match previous behaviour 2021-11-08 15:24:08 +00:00
Adam Brown
57037c9ac6 adding test cases around the mutating of the notification event queue 2021-11-08 15:24:08 +00:00
Adam Brown
6bc121ad4a extracting notifiable event fixtures to their own file 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
Adam Brown
9e9698520a updating synapse start script to also override the homeserver url and fixing wrong argument placement 2021-11-08 15:18:29 +00:00
Adam Brown
75f8023cb3 running the sanity test on the hardware accelerating osx runner, will drastically reduce the run time and be more reliable 2021-11-08 15:14:18 +00:00
Adam Brown
48ebb8e416 scheduling the sanity tests to run nightly instead of via push 2021-11-08 15:11:25 +00:00
Adam Brown
3add33eb0d removing unused imports 2021-11-08 15:11:03 +00:00
Adam Brown
579963733b moving verification dismissing to the robot 2021-11-08 15:03:34 +00:00
Adam Brown
2d1aed1839 separating the stopping of in-flight tasks form the cleaning up of the session state
- by stopping the session tasks before invalidating the current session we're able to avoid any extra token failures which retrigger the signout flow
2021-11-08 14:50:58 +00:00
Adam Brown
52731cf59d double checking the sync state in order to avoid redundant invalid token events 2021-11-08 14:50:58 +00:00
Adam Brown
f61d20a7f8 adding sign out + re-sign in flows to the robots
- the verification popup if flaky so we're attempting both exit flows if needed
2021-11-08 14:50:58 +00:00
Adam Brown
9b4cd3c3c4 resetting the session access token after releasing the current session, fixes missing session sign out error
- the sign out step was invaliding the in flight access token which causes the global error handler to trigger an extra sign out
2021-11-08 14:50:58 +00:00
Florian Renaud
8140d90826 Fix potential NPE on Optional objects 2021-11-08 15:48:33 +01: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
cea2206e97
Merge pull request #4420 from vector-im/feature/adm/sanity-check-robot
Sanity tests robot pattern and reliability refactor
2021-11-08 14:54:27 +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
Besnik Bleta
71fbcaa226 Translated using Weblate (Albanian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sq/
2021-11-06 17:26:30 +00:00
Linerly
c7c0eb6a05 Translated using Weblate (Indonesian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2021-11-06 17:26:29 +00:00
waclaw66
085c217fc0 Translated using Weblate (Czech)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2021-11-06 17:26:28 +00:00
Jeff Huang
cd06ac1c3f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2021-11-06 17:26:27 +00:00
random
2bd430b859 Translated using Weblate (Italian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2021-11-06 17:26:26 +00:00
Priit Jõerüüt
5d665c1d4b Translated using Weblate (Estonian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2021-11-06 17:26:25 +00:00
sr093906
e07c46a030 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hans/
2021-11-06 17:26:24 +00:00
Ihor Hordiichuk
2feb6e0541 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2021-11-06 17:26:23 +00:00
LinAGKar
4301bb7042 Translated using Weblate (Swedish)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sv/
2021-11-06 17:26:22 +00:00
lvre
fbd21de5c3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pt_BR/
2021-11-06 17:26:21 +00:00
Szimszon
b50e1a477f Translated using Weblate (Hungarian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/hu/
2021-11-06 17:26:20 +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