Benoit Marty
28d4e276d2
Remove unused actions and fix comment
2024-06-05 14:59:49 +02:00
Benoit Marty
74bb287443
Extract NotificationBroadcastReceiverHandler to its own file
2024-06-05 14:59:49 +02:00
Benoit Marty
dbafc9d4c4
Do not provide the context, but use the StringProvider.
2024-06-05 14:59:48 +02:00
Benoit Marty
0d836ffe96
NotificationBroadcastReceiver now delegate treatment to NotificationBroadcastReceiverHandler to be able to unit test the logic
2024-06-05 14:59:48 +02:00
Benoit Marty
6f12820e0b
Let NotificationBroadcastReceiver inject NotificationDrawerManager instead of implementation
2024-06-05 14:59:47 +02:00
Benoit Marty
92bcf9c90e
When replying from notification, do not interfere with specialModeEventTimelineItem
2024-06-05 14:59:46 +02:00
Benoit Marty
c547296656
Handle quick reply from notification (still disabled)
2024-06-05 14:59:46 +02:00
bmarty
f501f27d27
Sync Strings from Localazy
2024-06-03 00:24:07 +00:00
Jorge Martin Espinosa
0d82f19cc0
Simplify summary notifications ( #2958 )
2024-05-31 12:31:09 +02:00
Jorge Martin Espinosa
e6fab7eee2
Fix grouped notifications only displaying the latest message ( #2956 )
...
`DefaultActiveNotificationsProvider.getNotificationsForSession(sessionId)` had a broken logic for checking a notification's group and retrieving notifications from the same session.
2024-05-31 10:16:59 +02:00
Benoit Marty
0e4b30e58d
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
d37f59c543
Fix small issue introduced in #2924 .
2024-05-29 14:25:57 +02:00
Jorge Martin Espinosa
3d52071c45
Bump Matrix Rust SDK to v0.2.21 and fix conflicts ( #2938 )
2024-05-29 13:12:44 +02:00
Jorge Martin Espinosa
801f0b955d
Notifications: simplify the flow by removing persistence ( #2924 )
...
* Notifications: simplify the flow by removing persistence.
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
2024-05-29 08:03:23 +00:00
Benoit Marty
25c20f1734
Set the value of currentDistributorName by reading again the value from the service.
2024-05-28 14:08:20 +02:00
Benoit Marty
9065e9d2eb
Merge pull request #2921 from element-hq/sync-localazy
...
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
bmarty
52be64fe73
Sync Strings from Localazy
2024-05-27 00:17:53 +00:00
Benoit Marty
c71656df0c
Rename class (code quality)
2024-05-23 14:42:06 +02:00
Benoit Marty
d275ed9150
Add logs on pusher registration
2024-05-23 09:58:29 +02:00
Benoit Marty
4fc3c6f889
Introduce lambdaError instead of using TODO, to handle error when a lambda is invoked and it should not.
2024-05-23 09:12:40 +02:00
Benoit Marty
310c309e1e
Change to lambda
2024-05-22 18:16:53 +02:00
Benoit Marty
c0fccae12e
Add test on VectorFirebaseMessagingService
2024-05-22 17:57:35 +02:00
Benoit Marty
3866e49822
Add test on DefaultPushHandler
2024-05-22 17:04:54 +02:00
Benoit Marty
839242d7bc
Create interface for NotifiableEventResolver
2024-05-22 15:44:50 +02:00
Benoit Marty
41403b7614
Cleanup
2024-05-22 15:29:27 +02:00
Benoit Marty
e0d95f6d98
isCalledExactly(1) -> isCalledOnce()
2024-05-22 15:26:53 +02:00
Benoit Marty
be9e57cf43
Add test on DefaultTestPush
2024-05-22 15:22:03 +02:00
Benoit Marty
f95af132cb
Add test on DefaultPusherSubscriber
2024-05-22 15:10:55 +02:00
Benoit Marty
1c52697e59
Fix wrong package name.
2024-05-22 14:44:35 +02:00
Benoit Marty
84c8a8577b
Add test on DefaultPushService
2024-05-22 14:29:35 +02:00
Benoit Marty
851887b115
Add test on PushGatewayNotifyRequest
2024-05-22 12:21:33 +02:00
Benoit Marty
fd8734859a
Extract testPush to its own class and rename PushersManager to DefaultPusherSubscriber
2024-05-22 11:55:10 +02:00
Benoit Marty
233052a3d5
Remove unused code notificationStyleChanged()
...
We may properly add it again later if necessary.
2024-05-22 11:31:56 +02:00
Benoit Marty
a6dd7b4c18
Add test for FirebasePushProvider
2024-05-22 11:27:20 +02:00
Benoit Marty
3ace9aa160
Add test for push distributor change.
2024-05-21 14:45:20 +02:00
Benoit Marty
6de5e7b3f5
Add missing methods.
2024-05-21 14:45:18 +02:00
Benoit Marty
12f7c9982b
Fix bug, was not looking at the current PushProvider.
2024-05-21 14:45:18 +02:00
Benoit Marty
5734050e88
Wait for UnifiedPush pusher to be registered before returning Result.
2024-05-21 14:45:17 +02:00
Benoit Marty
4bd01b6f4f
Improve API, to avoid ignoring errors
2024-05-21 14:45:16 +02:00
Benoit Marty
3d5fdfc22e
Push distributor: ensure the current UnifiedPush distributor is stored
2024-05-21 14:45:15 +02:00
Benoit Marty
ae9e489400
Unset Http pusher: use SDK API.
2024-05-21 14:45:14 +02:00
bmarty
0241014932
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
602b3988e4
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
bmarty
d2eb0d9820
Sync Strings from Localazy
2024-05-06 00:19:35 +00:00
bmarty
7383ac6678
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
Benoit Marty
de2fb77fdc
Fix test
2024-04-22 16:23:17 +02:00
Benoit Marty
188f92fecc
Format state Event: use disambiguated Display name #2722 .
...
- Rename some parameter and val from `senderDisplayName` (and consort) to `senderDisambiguatedDisplayName`.
- In `InReplyToDetails`, replace `senderDisplayName` and `senderAvatarUrl` by `senderProfile`.
2024-04-22 16:23:15 +02:00
ganfra
09a760a3f9
Room list invites : clean and format
2024-04-16 15:49:07 +02:00