Commit Graph

264 Commits

Author SHA1 Message Date
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
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
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
ganfra
b09269333d RoomList invites : update and remove tests 2024-04-16 15:45:57 +02:00
ganfra
8f583d78ac Invites : open room instead of invite list when clicking an invite notification 2024-04-16 13:20:43 +02:00
Benoit Marty
e61ee81bb1 Remove unused NotificationPermissionManager 2024-04-04 14:51:23 +02:00
Benoit Marty
7945297a28 Create dedicated module for notification troubleshoot. 2024-04-02 18:12:36 +02:00
Benoit Marty
5a97d322c4 Code clarity: use withTimeout with combination of runCatching instead of withTimeoutOrNull 2024-04-02 18:12:36 +02:00
Benoit Marty
8971a6c0fb Rename UserPushStoreFactory.create to UserPushStoreFactory.getOrCreate for code clarity. 2024-04-02 18:12:36 +02:00
Benoit Marty
75f1d2fdc0 Run ./tools/localazy/downloadStrings.sh --all 2024-04-02 18:12:36 +02:00
Benoit Marty
a3253bbe5c Localize Troubleshoot notification feature. 2024-04-02 16:15:04 +02:00
Benoit Marty
df0d790493 Avoid tryEmit(), use emit() 2024-04-02 16:15:01 +02:00
Benoit Marty
e9308400bd Rename Fake class with Mockk prefix for clarity 2024-04-02 16:15:00 +02:00
Benoit Marty
8588ce7a72 Troubleshoot notifications screen 2024-04-02 16:15:00 +02:00
Benoit Marty
3edbb29eb8 Merge pull request #2639 from element-hq/feature/bma/hideCallMemberEvents
Hide call member events
2024-04-02 16:14:11 +02:00
Benoit Marty
db3f17fd7d Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module. 2024-04-02 14:15:54 +02:00
bmarty
1e334891ab Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
ganfra
af70f29b2c Merge pull request #2567 from element-hq/renovate/com.squareup.retrofit2-retrofit-2.x
Update dependency com.squareup.retrofit2:retrofit to v2.10.0
2024-03-25 10:44:19 +01:00
Benoit Marty
9605a783a2 Use new retrofit bom and change Maven coordinates of kotlinx-serialization 2024-03-25 09:56:30 +01:00
bmarty
4d68f193a1 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa
1e0891bb68 Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
Benoit Marty
1144d467e5 Use client.cachedAvatarUrl(), to be able to render the user avatar faster, and even if there is no network (#2488). 2024-03-18 15:02:54 +01:00
Jorge Martin Espinosa
a7093bae8b Add legacy call invite state events and notifications (#2552)
* Add state timeline events and notifications for legacy call invites

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 16:29:06 +01:00
bmarty
0c0c36c393 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
bmarty
a5aa446dce Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
bmarty
54ef435d9c Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty
c746a0acc5 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00