Commit Graph

60 Commits

Author SHA1 Message Date
Benoit Marty
70df081840 Move RoomLastMessageFormatter and related class and resource to the new module eventformatter, in order to prepare rendering of state event in the timeline. 2023-05-25 14:15:35 +02:00
Benoit Marty
a2f2cd28f9 Fix compilation warnings. 2023-05-23 12:00:36 +02:00
Benoit Marty
977c87c141 Merge pull request #370 from vector-im/sync-localazy
Sync Strings
2023-05-02 17:45:50 +02:00
bmarty
066ee4f43a Sync Strings from Localazy 2023-05-01 00:09:50 +00:00
ganfra
11db3195e0 Update rust-sdk : make the app compiles again 2023-04-28 18:26:32 +02:00
Jorge Martin Espinosa
e2db1cf7a9 Fix NotificationData?.orDefault using an invalid UserId (#362) 2023-04-27 12:46:32 +02:00
Benoit Marty
0ecd95a3f9 Remove extra plural items manually until the issue on Localazy is fixed. 2023-04-24 17:04:20 +02:00
bmarty
cd5e4458a6 Sync Strings from Localazy 2023-04-24 00:09:54 +00:00
Jorge Martin Espinosa
e704870e3f Validate several ids in constructors (#336)
* Validate ids in constructors.

* Remove redundant `.value` usage in string interpolation.

* Make a distinction between `SessionId` and `UserId` in `TestData`.
2023-04-18 16:17:13 +00:00
Benoit Marty
ae7137bd1d Fix tests. 2023-04-17 09:51:52 +02:00
Benoit Marty
e8d1490a92 Small quality fixes 2023-04-17 09:42:59 +02:00
Benoit Marty
ebbd1372a9 More cleanup 2023-04-14 18:34:49 +02:00
Benoit Marty
e92fe45e3c Improve rendering of notifications 2023-04-14 18:31:35 +02:00
Benoit Marty
d7cd24b3d0 small cleanup 2023-04-14 18:19:59 +02:00
Benoit Marty
8a91d31c24 Fix issue with pendingintent data. (Simplier to use String that Serializable) 2023-04-14 18:10:55 +02:00
Benoit Marty
5f3d33ca72 Improve temporary message displayed in notifications 2023-04-14 17:52:39 +02:00
Benoit Marty
ffed09175d Create NotificationFactory 2023-04-14 17:49:47 +02:00
Benoit Marty
f4e2775d2a Extract channel management to dedicated class 2023-04-14 17:37:49 +02:00
Benoit Marty
4c10c8fdf9 Create PendingIntentFactory 2023-04-14 17:26:01 +02:00
Benoit Marty
0677b10de3 rename package 2023-04-14 17:17:52 +02:00
Benoit Marty
a9881341f1 Create getDismissRoomPendingIntent() 2023-04-14 17:14:29 +02:00
Benoit Marty
cb8d206ed4 Extract code which create notification actions into ActionFactory and disable quick reply and mark as read actions. 2023-04-14 17:09:42 +02:00
Benoit Marty
65717364ca Cleanup 2023-04-14 10:32:20 +02:00
Benoit Marty
0874c076d6 Deeplink: handle notification click to open a room. 2023-04-13 15:35:01 +02:00
Benoit Marty
245c46c8b8 Cleanup 2023-04-12 10:06:11 +02:00
Benoit Marty
f4a283567e Cleanup store. 2023-04-12 09:50:04 +02:00
Benoit Marty
80268156b5 UnifiedPush WIP 2023-04-12 09:50:04 +02:00
Benoit Marty
95bafe4059 UnifiedPush WIP 2023-04-12 09:49:23 +02:00
Benoit Marty
05a8ca0eec Sort provider by index 2023-04-12 09:48:56 +02:00
Benoit Marty
219b97eea7 Split push module into several modules: Firebase, UnifiedPush, store 2023-04-12 09:48:56 +02:00
Benoit Marty
1134f50090 PushData must have valid Event and Room ids. 2023-04-12 09:42:05 +02:00
Benoit Marty
5bb504861c Use handy toIntOrNull 2023-04-12 09:41:22 +02:00
Benoit Marty
0550a32821 Add test for Push parsers. 2023-04-12 09:40:04 +02:00
Jorge Martin Espinosa
b900725919 Fix lint issues that prevented CI from passing (#310) 2023-04-10 09:00:02 +02:00
Benoit Marty
fad849ce21 Ignore lint warning. I think it's OK. 2023-04-05 16:59:17 +02:00
Benoit Marty
78b8d5cf6e Fix lint warnings. 2023-04-05 16:59:17 +02:00
Benoit Marty
48044a3cc5 Add strings to localazy and import them 2023-04-05 16:59:17 +02:00
Benoit Marty
68769a21e2 Cleanup up string for push and notification (before integrating to Localazy) 2023-04-05 16:59:17 +02:00
Benoit Marty
9036237030 Finish and test NotificationIdProvider 2023-04-05 16:59:17 +02:00
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
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
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
eaff43de3a Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode 2023-04-05 16:59:17 +02:00