Commit Graph

1125 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
3d1823064d Add some shortcuts 2023-04-05 16:59:17 +02:00
Benoit Marty
6f6a1e27fe Fix multi Activity wen opening app from notification. 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
c1f80cda80 Create LoggedIn presenter 2023-04-05 16:58:33 +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
42dfaca929 Add BuildVersionSdkIntProvider 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
Benoit Marty
aa2bb224e5 Add a link to a video presenting Anvil. 2023-04-05 16:18:44 +02:00
Benoit Marty
08fb6c0a90 Add google-services.json files to the project. 2023-04-05 16:18:44 +02:00
Benoit Marty
bec72cbc22 Configure com.google.firebase:firebase-bom and add dependency on firebase-messaging-ktx 2023-04-05 16:18:44 +02:00
Benoit Marty
8ce6af7951 Setup Google services Gradle plugin. 2023-04-05 16:18:44 +02:00
Benoit Marty
d63950c264 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]
54a1729bd8 Update peter-evans/create-pull-request action to v5 2023-04-05 13:56:35 +00: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
5fdf16772f Merge pull request #299 from vector-im/feature/bma/translations
Translations - Localazy improvement
2023-04-05 14:10:52 +02:00
Benoit Marty
79d8a51ba7 Invoke ./tools/localazy/downloadStrings.sh --all 2023-04-05 12:25:17 +02:00
Benoit Marty
e316fcef04 Create baseAction for shared values. 2023-04-05 12:23:47 +02:00
Benoit Marty
830946e0de Ensure ellipsis char is used (fix lint issue). 2023-04-05 11:44:55 +02:00
Benoit Marty
2b1583c4ed Merge pull request #266 from vector-im/feature/bma/namingRules
Add string key naming rules.
2023-04-05 11:36:04 +02:00
Benoit Marty
b410fc6983 Add a section about placeholders. 2023-04-05 11:35:16 +02:00
Benoit Marty
43c070b01b Add key naming rules for dialogs. 2023-04-05 11:22:53 +02:00