Commit graph

1131 commits

Author SHA1 Message Date
Benoit Marty
6cf070bfa7 Comment unused code. 2023-04-05 16:59:17 +02:00
Benoit Marty
552b2dc029 Add test for NoopPermissionsPresenter and remove the unused factory. 2023-04-05 16:59:17 +02:00
Benoit Marty
415830be1a Fix lint warnings. 2023-04-05 16:59:17 +02:00
Benoit Marty
8541fdf64d Add strings to localazy and import them 2023-04-05 16:59:17 +02:00
Benoit Marty
a5719cec79 Cleanup up string for push and notification (before integrating to Localazy) 2023-04-05 16:59:17 +02:00
Benoit Marty
d650a28904 Finish and test NotificationIdProvider 2023-04-05 16:59:17 +02:00
Benoit Marty
42889973af Make NotificationDrawerManager.updateEvent private. 2023-04-05 16:59:17 +02:00
Benoit Marty
1faedca69d 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
6b3aef23fa Clean up 2023-04-05 16:59:17 +02:00
Benoit Marty
00c23618ab 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
25604b2651 Improve logs. 2023-04-05 16:59:17 +02:00
Benoit Marty
7e7e798acf Making progress on notification for multi account. 2023-04-05 16:59:17 +02:00
Benoit Marty
6aeb94fa15 Add some shortcuts 2023-04-05 16:59:17 +02:00
Benoit Marty
8d5ecfd358 Fix multi Activity wen opening app from notification. 2023-04-05 16:59:17 +02:00
Benoit Marty
dfb9106fb1 Bad copy/paste 2023-04-05 16:59:17 +02:00
Benoit Marty
ff7dc6ac45 Cleanup 2023-04-05 16:59:17 +02:00
Benoit Marty
35c7bffc45 Observe session database to be able to detect new user and removed user. 2023-04-05 16:59:17 +02:00
Benoit Marty
7ff72d480c Protect call to getNotificationItem 2023-04-05 16:59:17 +02:00
Benoit Marty
9fe42691ea Close MatrixClient after usage 2023-04-05 16:59:17 +02:00
Benoit Marty
6ecbe1f856 Cleanup + Add per user store. 2023-04-05 16:59:17 +02:00
Benoit Marty
b27f6c6594 Add Result + Dispatcher on SDK call. 2023-04-05 16:59:17 +02:00
Benoit Marty
6e4b1cd958 Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode 2023-04-05 16:59:17 +02:00
Benoit Marty
b982d24bab Create LoggedIn presenter 2023-04-05 16:58:33 +02:00
Benoit Marty
c10df50622 Add missing Fake classes 2023-04-05 16:32:28 +02:00
Benoit Marty
e6ac547501 Show basic notification when push is recieve 2023-04-05 16:32:28 +02:00
Benoit Marty
d41f4fc954 Retrieve notification - WIP 2023-04-05 16:32:28 +02:00
Benoit Marty
2247639a89 Register pusher - WIP 2023-04-05 16:31:43 +02:00
Benoit Marty
70de1bd6a0 Add a db query to get all the Sessions. 2023-04-05 16:31:09 +02:00
Benoit Marty
2135d75712 Use correct type (it's a type alias) 2023-04-05 16:31:09 +02:00
Benoit Marty
3e58370356 Implement Push client secret store and test it. 2023-04-05 16:31:09 +02:00
Benoit Marty
7cd78216b0 Temporary import strings. 2023-04-05 16:31:09 +02:00
Benoit Marty
08fa22069b Use presenter factory 2023-04-05 16:31:09 +02:00
Benoit Marty
9c6bc8d872 Create noop version for the minimal sample and test. 2023-04-05 16:27:17 +02:00
Benoit Marty
000ed480ee Be able to test PermissionsPresenterTest. Create interface to abstract Accompanist implementation 2023-04-05 16:25:27 +02:00
Benoit Marty
d8b37d6ead Add permission modules 2023-04-05 16:25:27 +02:00
Benoit Marty
23e11836b4 Fix compilation after rebase. 2023-04-05 16:18:44 +02:00
Benoit Marty
1c6ad8ba8a Add BuildVersionSdkIntProvider 2023-04-05 16:18:44 +02:00
Benoit Marty
25a11cd970 Remove manifest from api module 2023-04-05 16:18:44 +02:00
Benoit Marty
9792d04040 Fix compilation after rebase 2023-04-05 16:18:44 +02:00
Benoit Marty
70d41311ca Add todos 2023-04-05 16:18:44 +02:00
Benoit Marty
1aa699f522 Push: be able to test Push
Create `:libraries:network`
2023-04-05 16:18:44 +02:00
Benoit Marty
275fa03de3 Import some stuff about Push and notification from Element Android - WIP 2023-04-05 16:18:44 +02:00
Benoit Marty
cc58c0c8c9 Add a link to a video presenting Anvil. 2023-04-05 16:18:44 +02:00
Benoit Marty
c2fb2c48c6 Add google-services.json files to the project. 2023-04-05 16:18:44 +02:00
Benoit Marty
7fad3caea4 Configure com.google.firebase:firebase-bom and add dependency on firebase-messaging-ktx 2023-04-05 16:18:44 +02:00
Benoit Marty
a073afe8c9 Setup Google services Gradle plugin. 2023-04-05 16:18:44 +02:00
Benoit Marty
fb7d7ce9dc Merge pull request #301 from vector-im/renovate/peter-evans-create-pull-request-5.x
Update peter-evans/create-pull-request action to v5
2023-04-05 16:09:00 +02:00
renovate[bot]
3c2d616367 Update peter-evans/create-pull-request action to v5 2023-04-05 13:56:35 +00:00
Jorge Martin Espinosa
3aea24380a [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
41fccb4056 Merge pull request #299 from vector-im/feature/bma/translations
Translations - Localazy improvement
2023-04-05 14:10:52 +02:00