Benoit Marty
c46692eb20
Do not use System.currentTimeMillis()
1 year ago
Benoit Marty
881c8fd97b
Fix test
1 year ago
Benoit Marty
c7e68e5d81
Use coroutine dispatcher instead of WorkerThread
1 year ago
Benoit Marty
685b034977
Cleanup
1 year ago
Benoit Marty
183dd153ff
Fix test
1 year ago
Benoit Marty
1ac5f8e788
Disable debugging of notification
1 year ago
Benoit Marty
e02ba42ea0
Bigger image - WIP
1 year ago
Benoit Marty
fee97ff735
Notifications: add prefix to debug notification display.
1 year ago
Benoit Marty
bc9ec5a28a
Notifications: render current user name and avatar.
1 year ago
Benoit Marty
c91e8e5050
Notifications: render room and user icons.
1 year ago
Benoit Marty
31afed1448
Map some info for the notifications.
1 year ago
Benoit Marty
becbc6607d
Fix detected forbidden pattern.
1 year ago
Benoit Marty
111cca99bf
Add `EventType` to avoid using hard-coding strings.
1 year ago
Benoit Marty
ff1147e611
Sync localazy to fix lint error.
1 year ago
bmarty
175b7deccb
Sync Strings from Localazy
1 year ago
ganfra
405a6073c6
Fix lint issue
1 year ago
Benoit Marty
9d66af834d
Move RoomLastMessageFormatter and related class and resource to the new module `eventformatter`, in order to prepare rendering of state event in the timeline.
1 year ago
Benoit Marty
f1bd767112
Fix compilation warnings.
1 year ago
renovate[bot]
8c00b19ba9
Update kotlin
2 years ago
bmarty
8f1793ffa4
Sync Strings from Localazy
2 years ago
ganfra
154bd5e714
Update rust-sdk : make the app compiles again
2 years ago
Jorge Martin Espinosa
78a715ce8d
Fix `NotificationData?.orDefault` using an invalid UserId ( #362 )
2 years ago
Benoit Marty
913e6465cb
Remove extra plural items manually until the issue on Localazy is fixed.
2 years ago
bmarty
860777d20c
Sync Strings from Localazy
2 years ago
renovate[bot]
61a01b003b
Update kotlin
2 years ago
Jorge Martin Espinosa
fae3417181
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`.
2 years ago
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Benoit Marty
9971926760
Fix tests.
2 years ago
Benoit Marty
a4897e6b76
Small quality fixes
2 years ago
Benoit Marty
cbc1bdfe52
More cleanup
2 years ago
Benoit Marty
96812209a3
Improve rendering of notifications
2 years ago
Benoit Marty
aad55d6341
small cleanup
2 years ago
Benoit Marty
aba39ef568
Fix issue with pendingintent data. (Simplier to use String that Serializable)
2 years ago
Benoit Marty
3966a03e3b
Improve temporary message displayed in notifications
2 years ago
Benoit Marty
efb620938c
Create NotificationFactory
2 years ago
Benoit Marty
d280510dd9
Extract channel management to dedicated class
2 years ago
Benoit Marty
b925fa8c09
Create PendingIntentFactory
2 years ago
Benoit Marty
6927e26bd2
rename package
2 years ago
Benoit Marty
d77162d768
Create getDismissRoomPendingIntent()
2 years ago
Benoit Marty
7e5fd58234
Extract code which create notification actions into ActionFactory and disable quick reply and mark as read actions.
2 years ago
Benoit Marty
e8244a9f79
Cleanup
2 years ago
Benoit Marty
b0f14bfb15
Deeplink: handle notification click to open a room.
2 years ago
Benoit Marty
62639c44a7
Cleanup
2 years ago
Benoit Marty
dd71517abe
Cleanup store.
2 years ago
Benoit Marty
20370656cd
UnifiedPush WIP
2 years ago
Benoit Marty
287fca5438
UnifiedPush WIP
2 years ago
Benoit Marty
21a07fda07
Sort provider by index
2 years ago
Benoit Marty
7333995630
Split push module into several modules: Firebase, UnifiedPush, store
2 years ago
Benoit Marty
9ac46aed7c
PushData must have valid Event and Room ids.
2 years ago
Benoit Marty
58b017a451
Use handy `toIntOrNull`
2 years ago