Commit Graph

2726 Commits

Author SHA1 Message Date
Benoit Marty
4d6a67e4d6 Let role and permissions screens works for invited room members too. 2024-06-24 13:21:46 +02:00
Benoit Marty
2c220d3f92 Merge pull request #3069 from element-hq/feature/bma/avatarCluster_x2
Avatar cluster for DM
2024-06-24 10:53:50 +02:00
ElementBot
072daa080a Sync Strings (#3077)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty
c09e6d009b Fix KDoc issue 2024-06-21 16:53:44 +02:00
Benoit Marty
e8fe8f51c8 Use DmAvatars in header of DM details. 2024-06-21 15:55:01 +02:00
Benoit Marty
f62be45303 Create DmAvatars to render both users of a DM. 2024-06-21 15:45:22 +02:00
Jorge Martin Espinosa
ce91fe4ab2 Resolve display names in mentions in real time (#3051)
* Resolve display names in mentions in real time

* Use `LocalRoomMemberProfilesCache` to avoid having to implement `TextMessagePresenter`

* Also use local composition provider for `MentionSpanProvider`
2024-06-21 09:57:36 +00:00
Benoit Marty
213a5c2942 Merge pull request #3058 from element-hq/feature/bma/dmColor
Let Dms use other member color.
2024-06-21 09:44:38 +02:00
Benoit Marty
5ea495da1b Use repeat in the Preview. 2024-06-20 17:59:26 +02:00
Benoit Marty
5f32643af4 Create extension RoomMember.getAvatarData to avoid code duplication. 2024-06-20 17:51:35 +02:00
Benoit Marty
7cdcf872b3 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00
Benoit Marty
9f7f0b9acb Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty
84f42537b8 Use ImmutableList in Composable. 2024-06-20 15:56:33 +02:00
Jorge Martin Espinosa
edd61e96c2 Use full date format for day dividers in timeline (#3057)
* Use full date format for day dividers in timeline

* Use AM/PM for `DefaultLastMessageTimestampFormatter` when the locale needs it
2024-06-20 13:09:06 +00:00
Benoit Marty
0b9f5a5214 Add enum Suggestion instead of reusing TimelineRoom 2024-06-20 15:00:26 +02:00
Benoit Marty
99becc0ae6 Use heroes only for DMs. #1538 2024-06-20 14:35:12 +02:00
Benoit Marty
11e4ee34ed Use heroes to render room avatars 2024-06-20 13:10:25 +02:00
Benoit Marty
99c43a175d Add heroes to RoomSummaryDetails 2024-06-20 11:59:38 +02:00
Benoit Marty
ff63755165 Add enum EditProfileDetails instead of reusing RoomHeader 2024-06-20 11:43:15 +02:00
Benoit Marty
f886bf7105 Introduce CompositeAvatar to render heroes when main AvatarData does not have URL. 2024-06-20 11:28:52 +02:00
Benoit Marty
3aed09ef4d Map RoomHero to MatrixRoomInfo. 2024-06-19 18:18:59 +02:00
ganfra
e93a41a5b5 Merge branch 'develop' into feature/fga/sending_queue_iteration 2024-06-19 13:54:24 +02:00
ganfra
a92ce8d004 Sending queue : reintroduce failed status for unrecoverable error 2024-06-19 11:32:04 +02:00
Benoit Marty
999f763693 Merge pull request #3050 from element-hq/feature/bma/concurrencyRefreshTokenfix
Avoid restoring several MatrixClient
2024-06-19 09:14:06 +02:00
Benoit Marty
3c3e8164c7 Merge pull request #3048 from element-hq/feature/fga/update_rust_sdk_0.2.27
Rust : handle api changes for 0.2.27
2024-06-18 18:39:10 +02:00
Benoit Marty
b3fdd34c5d Add import for doc. 2024-06-18 18:13:23 +02:00
Benoit Marty
c798a052cc Avoid restoring several MatrixClient 2024-06-18 18:04:30 +02:00
ganfra
1b67068b0b Rust : handle api changes for 0.2.27 2024-06-18 17:01:38 +02:00
ganfra
05ab1500c7 Rust : handle api changes for 0.2.27 2024-06-18 16:30:33 +02:00
Benoit Marty
83f279ec81 Use receiver. 2024-06-18 15:54:45 +02:00
Benoit Marty
ce5b9e034a Allow scroll in the "Enter recovery key" screen. #3042 2024-06-18 15:42:07 +02:00
Benoit Marty
d70e3d5d41 Fix toString content 2024-06-18 14:45:13 +02:00
Benoit Marty
68736b5d58 Remove dead code. 2024-06-18 14:37:53 +02:00
Benoit Marty
e4bfc5ef8f Merge pull request #3035 from element-hq/feature/bma/fixFdroidNotification
Feature/bma/fix fdroid notification
2024-06-18 12:55:27 +02:00
Benoit Marty
e44de15f94 Iterate on sessionVerificationService.sessionVerifiedStatus and fix tests. 2024-06-18 11:02:19 +02:00
ganfra
93ccf07ad4 Merge pull request #3037 from element-hq/feature/fga/timeline_cancelable_focus
Feature/fga/timeline cancelable focus
2024-06-18 10:59:54 +02:00
ganfra
873eeadb65 ProgressDialog : rename isCancellable param to showCancelButton on the ProgressDialogContent method. 2024-06-18 10:36:19 +02:00
Benoit Marty
83bfa3d9fc Update test after merging develop. 2024-06-18 10:33:07 +02:00
Benoit Marty
1d5970adbc Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00
Benoit Marty
038b60a271 Merge pull request #3044 from element-hq/feature/bma/testDefaultClearCacheUseCase
Add test on DefaultClearCacheUseCase
2024-06-18 10:27:45 +02:00
Jorge Martin Espinosa
feef0f6976 Add full screen intent permissions banner (#3024)
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
    - Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
    - Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-18 07:41:10 +00:00
Benoit Marty
e675692fa4 Cleanup 2024-06-17 18:27:57 +02:00
Benoit Marty
622cc35616 Store the first provider even if no distributor is available, else error in troubleshoot test will not be accurate.
Also when registering for the first time, pick the fist available provider with at least one distributor.
2024-06-17 17:36:39 +02:00
Benoit Marty
90eeb6cdb1 Update PushProvider API, remove isAvailable(), but instead rely on getDistributors() to eventually return an empty list of Distributors. 2024-06-17 17:25:13 +02:00
Benoit Marty
059c0dfe59 Fix back navigation issue, when opening directly the notification troubleshoot screen. 2024-06-17 16:53:21 +02:00
Benoit Marty
2e8b63c006 Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty
4a885769be Add test on DefaultClearCacheUseCase 2024-06-17 16:01:56 +02:00
Benoit Marty
cb07ccdeb9 Add test on DefaultFtueService.reset(). 2024-06-17 15:04:20 +02:00
Benoit Marty
2533dff00c Add Unit test on UserPushStoreDataStore 2024-06-17 14:48:52 +02:00
Benoit Marty
22df215bac Add test on ignoreRegistrationError and setIgnoreRegistrationError 2024-06-17 14:48:52 +02:00