Commit Graph

7427 Commits

Author SHA1 Message Date
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 f622468f3b
Merge pull request #4516 from vector-im/feature/adm/ui-test-ci-tweaks
UI test CI tweaks
2021-11-19 09:32:18 +01: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 cc27c37c1e fixing ktlint errors 2021-11-18 18:50:51 +00:00
Adam Brown 08f9fad23e adding logs to try and find out where the github actions are failing 2021-11-18 18:43:59 +00:00
Adam Brown 1c6b2ceb4b adding retrying to the reaction long pressing and extra visibilty check for dialogs 2021-11-18 17:53:52 +00:00
Adam Brown 1b5868644a add wait for dialogs 2021-11-18 17:53:34 +00:00
Adam Brown 38f0640d2c tapping the timeline settings via the overflow small devices can't tap the title
- waiting for the message edits bottom sheet
- waiting for the reactions bottom sheet
2021-11-18 17:52:45 +00:00
Adam Brown 97d768e392 adding expected open/closed state to the bottom sheet waiting 2021-11-18 17:52:20 +00:00
Adam Brown 69745ea74e waiting until the room avatar item is ready as the title and list have a loading state 2021-11-18 17:51:57 +00:00
Adam Brown b57d414189 increase app timeout as sign out can block for a long time 2021-11-18 17:51:34 +00: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 a8f6efd5e8 Version++ 2021-11-17 16:07:07 +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
Benoit Marty 8d8565ca63 Quick fix on this file 2021-11-15 21:37:51 +01:00
Benoit Marty eb39b37374 Fix warning after rebase (it's for test, so OK to suppress warning) 2021-11-15 21:35:01 +01: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 fb8b720a3b Add comment to run on Android 12 2021-11-15 12:25:42 +01: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 a1630b5546 androidx.lifecycle:lifecycle-extensions is deprecated
See https://developer.android.com/jetpack/androidx/releases/lifecycle#declaring_dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty 756f846e74 android:exported has to be explicitly set when targeting Android 12 2021-11-15 12:24:48 +01:00
dependabot[bot] 56776aed21 Bump browser from 1.3.0 to 1.4.0
Bumps browser from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.browser:browser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
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
Benoit Marty ceb16cc301
Merge pull request #4469 from vector-im/sync-emojis
Sync Emojis
2021-11-15 11:03:10 +01: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
dependabot[bot] ad48223273
Bump libphonenumber from 8.12.36 to 8.12.37
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.36 to 8.12.37.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.36...v8.12.37)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11 23:08:34 +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
Adam Brown 42648298b6 formatting 2021-11-10 17:09:08 +00:00
Adam Brown 10a8a45391 waiting for the sent message to be rendered in the timeline 2021-11-10 17:07:10 +00:00
Adam Brown c8ae3f9a83 removing unused imports 2021-11-10 17:07:10 +00:00
Adam Brown 411be43287 waiting for the edited text to appear instead of sleeping 2021-11-10 17:07:10 +00:00
Adam Brown 2583a6d6bf taking screenshots on sanity test failure 2021-11-10 17:07:10 +00:00
Adam Brown fc865682b1 waiting for the message actions bottom sheet when interacting with the message options 2021-11-10 17:07:10 +00:00
Adam Brown 39b4116699 adding bottomsheet idling resource to wait for expand and hide events 2021-11-10 17:07:10 +00:00
Adam Brown e5edfe9c73 adding dedicated message menu robot and adding sanity check for developer mode flows 2021-11-10 17:07:10 +00:00
Adam Brown 2a66efb733 adding helper to fetch text from resources 2021-11-10 17:07:10 +00:00
Onuray Sahin 7546071df8 Design review fixes. 2021-11-10 13:47:15 +03:00
Adam Brown b90b396753 fixing compilation error in unit test 2021-11-10 09:44:16 +00: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 528c5a3671 adding warning when the signout flow is unexpected 2021-11-08 17:08:53 +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 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 3add33eb0d removing unused imports 2021-11-08 15:11:03 +00:00