Commit graph

32 commits

Author SHA1 Message Date
Benoit Marty
21a07fda07 Sort provider by index 2023-04-12 09:48:56 +02:00
Benoit Marty
7333995630 Split push module into several modules: Firebase, UnifiedPush, store 2023-04-12 09:48:56 +02:00
Benoit Marty
9ac46aed7c PushData must have valid Event and Room ids. 2023-04-12 09:42:05 +02:00
Benoit Marty
58b017a451 Use handy toIntOrNull 2023-04-12 09:41:22 +02:00
Benoit Marty
3c2542847c Add test for Push parsers. 2023-04-12 09:40:04 +02:00
Jorge Martin Espinosa
5033e9582c Fix lint issues that prevented CI from passing (#310) 2023-04-10 09:00:02 +02:00
Benoit Marty
8fcbaf4c74 Ignore lint warning. I think it's OK. 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
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
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
6e4b1cd958 Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode 2023-04-05 16:59:17 +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
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
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
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