Commit Graph

442 Commits

Author SHA1 Message Date
Benoit Marty
2afdf49501 Make NotificationDrawerManager.updateEvent private. 2023-04-05 16:59:17 +02:00
Benoit Marty
7e7aca4a53 Add some tests (mainly imported from EA). Also change type from String to SessionId, RoomId, etc. 2023-04-05 16:59:17 +02:00
Benoit Marty
31ff2e7e0b Clean up 2023-04-05 16:59:17 +02:00
Benoit Marty
c0ef4804a1 Persist notification data. Note that it will break the key storage for the session database. 2023-04-05 16:59:17 +02:00
Benoit Marty
2696348d46 Improve logs. 2023-04-05 16:59:17 +02:00
Benoit Marty
0c0f7dff40 Making progress on notification for multi account. 2023-04-05 16:59:17 +02:00
Benoit Marty
a2dc4db684 Bad copy/paste 2023-04-05 16:59:17 +02:00
Benoit Marty
41e0249fbf Cleanup 2023-04-05 16:59:17 +02:00
Benoit Marty
c52ad084e9 Observe session database to be able to detect new user and removed user. 2023-04-05 16:59:17 +02:00
Benoit Marty
62db96476d Protect call to getNotificationItem 2023-04-05 16:59:17 +02:00
Benoit Marty
dae0cae8bb Close MatrixClient after usage 2023-04-05 16:59:17 +02:00
Benoit Marty
b9276aa60b Cleanup + Add per user store. 2023-04-05 16:59:17 +02:00
Benoit Marty
961d0ecdbc Add Result + Dispatcher on SDK call. 2023-04-05 16:59:17 +02:00
Benoit Marty
eaff43de3a Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode 2023-04-05 16:59:17 +02:00
Benoit Marty
281eb617b5 Add missing Fake classes 2023-04-05 16:32:28 +02:00
Benoit Marty
afbd4672e6 Show basic notification when push is recieve 2023-04-05 16:32:28 +02:00
Benoit Marty
1f09f5f0eb Retrieve notification - WIP 2023-04-05 16:32:28 +02:00
Benoit Marty
be8ce499d0 Register pusher - WIP 2023-04-05 16:31:43 +02:00
Benoit Marty
b2ce80da69 Add a db query to get all the Sessions. 2023-04-05 16:31:09 +02:00
Benoit Marty
80fdd5f127 Use correct type (it's a type alias) 2023-04-05 16:31:09 +02:00
Benoit Marty
da4b49ce17 Implement Push client secret store and test it. 2023-04-05 16:31:09 +02:00
Benoit Marty
8a100500f0 Temporary import strings. 2023-04-05 16:31:09 +02:00
Benoit Marty
581ec6a1af Use presenter factory 2023-04-05 16:31:09 +02:00
Benoit Marty
b911229f53 Create noop version for the minimal sample and test. 2023-04-05 16:27:17 +02:00
Benoit Marty
dfc759685d Be able to test PermissionsPresenterTest. Create interface to abstract Accompanist implementation 2023-04-05 16:25:27 +02:00
Benoit Marty
500d4801a7 Add permission modules 2023-04-05 16:25:27 +02:00
Benoit Marty
c133caf442 Fix compilation after rebase. 2023-04-05 16:18:44 +02:00
Benoit Marty
d7fd3e3b22 Remove manifest from api module 2023-04-05 16:18:44 +02:00
Benoit Marty
cb0cc70102 Fix compilation after rebase 2023-04-05 16:18:44 +02:00
Benoit Marty
7ad385965e Add todos 2023-04-05 16:18:44 +02:00
Benoit Marty
bc7fb0a2bb Push: be able to test Push
Create `:libraries:network`
2023-04-05 16:18:44 +02:00
Benoit Marty
64f4740029 Import some stuff about Push and notification from Element Android - WIP 2023-04-05 16:18:44 +02:00
Jorge Martin Espinosa
9064481b4c [Room Details] Leave room (#296)
* Add leave room functionality to the Room Details screen

* Add snackbar message throught `SnackbarDistpacher`
2023-04-05 15:36:41 +02:00
Benoit Marty
79d8a51ba7 Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 12:25:17 +02:00
Benoit Marty
830946e0de Ensure ellipsis char is used (fix lint issue). 2023-04-05 11:44:55 +02:00
Benoit Marty
45cea6cc3b Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 11:11:47 +02:00
Jorge Martin Espinosa
d7a6779343 [Room member list] Display room member list (#276)
* Implement room member list

* Move timeline initialization back to `TimelinePresenter`.

* Fix crash when the `innerRoom` inside a `RustMatrixRoom` is destroyed but `syncUpdateFlow` is still running.

* Address review comments
2023-04-04 16:07:57 +00:00
Jorge Martin Espinosa
4154a96b54 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit 4e085efcf4.
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa
4e085efcf4 Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
ganfra
cfefe89b3e Makes MatrixClient Closeable outside of logout function. 2023-03-30 20:52:32 +02:00
Benoit Marty
f0837972ce Small API change in SDK 0.1.5: RustRoomMember 2023-03-29 10:41:10 +02:00
Benoit Marty
57051e6368 Small API change in SDK 0.1.5: SlidingSyncState 2023-03-29 10:39:36 +02:00
Benoit Marty
5c0b3b8129 Small API change in SDK 0.1.5 2023-03-29 10:39:36 +02:00
Jorge Martin Espinosa
0fb061fb2e [Room Details] Implement room details screen (#256)
* Implement Room Details screen

* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Jorge Martin Espinosa
c75ebfb1e7 Improve ButtonWithProgress component, replace login and change server buttons (#235)
* Improve `ButtonWithProgress` component.

* Replace `CircularProgresIndicator` with `ButtonWithProgress` in login and server selection screens.
2023-03-28 22:56:59 +02:00
Benoit Marty
c774f7529e [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty
d449ede86d [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
Benoit Marty
84b1c30572 Remove useless file 2023-03-27 14:33:22 +02:00
Benoit Marty
0307deb3f8 [Strings] Remove previous strings. 2023-03-27 14:32:28 +02:00
Jorge Martin Espinosa
4a1a338e07 Move StateMachine to its own module. (#257) 2023-03-23 16:49:15 +00:00