Commit graph

264 commits

Author SHA1 Message Date
Benoit Marty
d066f03eab Add logs on pusher registration 2024-05-23 09:58:29 +02:00
Benoit Marty
f04253287f 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
90a14ce056 Change to lambda 2024-05-22 18:16:53 +02:00
Benoit Marty
b2a3b9653e Add test on DefaultPushHandler 2024-05-22 17:04:54 +02:00
Benoit Marty
5b074dc0ba Create interface for NotifiableEventResolver 2024-05-22 15:44:50 +02:00
Benoit Marty
980a80bcf5 Cleanup 2024-05-22 15:29:27 +02:00
Benoit Marty
fe771a37c2 isCalledExactly(1) -> isCalledOnce() 2024-05-22 15:26:53 +02:00
Benoit Marty
3bde744d76 Add test on DefaultTestPush 2024-05-22 15:22:03 +02:00
Benoit Marty
97530e752f Add test on DefaultPusherSubscriber 2024-05-22 15:10:55 +02:00
Benoit Marty
707a530752 Fix wrong package name. 2024-05-22 14:44:35 +02:00
Benoit Marty
505f6d4dae Add test on DefaultPushService 2024-05-22 14:29:35 +02:00
Benoit Marty
dc6e62a324 Add test on PushGatewayNotifyRequest 2024-05-22 12:21:33 +02:00
Benoit Marty
20880b01da Extract testPush to its own class and rename PushersManager to DefaultPusherSubscriber 2024-05-22 11:55:10 +02:00
Benoit Marty
b70c5915f7 Remove unused code notificationStyleChanged()
We may properly add it again later if necessary.
2024-05-22 11:31:56 +02:00
Benoit Marty
ff61eaa6a7 Fix bug, was not looking at the current PushProvider. 2024-05-21 14:45:18 +02:00
Benoit Marty
d459c0806b Wait for UnifiedPush pusher to be registered before returning Result. 2024-05-21 14:45:17 +02:00
Benoit Marty
a65c290dd3 Improve API, to avoid ignoring errors 2024-05-21 14:45:16 +02:00
Benoit Marty
d2fbff09b8 Push distributor: ensure the current UnifiedPush distributor is stored 2024-05-21 14:45:15 +02:00
Benoit Marty
56ca04affa Unset Http pusher: use SDK API. 2024-05-21 14:45:14 +02:00
bmarty
83a8a631f2 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
bmarty
0910da0a14 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00
bmarty
68fdaef8b8 Sync Strings from Localazy 2024-05-06 00:19:35 +00:00
bmarty
4f82baa2b0 Sync Strings from Localazy 2024-04-29 00:18:59 +00:00
Benoit Marty
f9c8c8aa21 Fix test 2024-04-22 16:23:17 +02:00
Benoit Marty
03abfcaadb 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
e171472fc4 Room list invites : clean and format 2024-04-16 15:49:07 +02:00
ganfra
e72983f1b8 RoomList invites : update and remove tests 2024-04-16 15:45:57 +02:00
ganfra
997c4606c6 Invites : open room instead of invite list when clicking an invite notification 2024-04-16 13:20:43 +02:00
Benoit Marty
9d30adfed8 Remove unused NotificationPermissionManager 2024-04-04 14:51:23 +02:00
Benoit Marty
cb435c523b Create dedicated module for notification troubleshoot. 2024-04-02 18:12:36 +02:00
Benoit Marty
4f320fd4f8 Code clarity: use withTimeout with combination of runCatching instead of withTimeoutOrNull 2024-04-02 18:12:36 +02:00
Benoit Marty
52c039d676 Rename UserPushStoreFactory.create to UserPushStoreFactory.getOrCreate for code clarity. 2024-04-02 18:12:36 +02:00
Benoit Marty
e18e5f1cc5 Run ./tools/localazy/downloadStrings.sh --all 2024-04-02 18:12:36 +02:00
Benoit Marty
09b2cbaaf5 Localize Troubleshoot notification feature. 2024-04-02 16:15:04 +02:00
Benoit Marty
74048cca8f Avoid tryEmit(), use emit() 2024-04-02 16:15:01 +02:00
Benoit Marty
a83952814f Rename Fake class with Mockk prefix for clarity 2024-04-02 16:15:00 +02:00
Benoit Marty
2bfe125a77 Troubleshoot notifications screen 2024-04-02 16:15:00 +02:00
Benoit Marty
609f636d1c
Merge pull request #2639 from element-hq/feature/bma/hideCallMemberEvents
Hide call member events
2024-04-02 16:14:11 +02:00
Benoit Marty
1e5a61a49c 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
5809864182 Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
ganfra
d3f219065b
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
a5d0b47d3a Use new retrofit bom and change Maven coordinates of kotlinx-serialization 2024-03-25 09:56:30 +01:00
bmarty
3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa
6aa84d600e
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
68fd649424 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
67d79059f8
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
c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
bmarty
4f81fe2090 Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
bmarty
5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty
b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00