Commit Graph

2780 Commits

Author SHA1 Message Date
Benoit Marty 3ce4af97cc Use repeat in the Preview. 2024-06-20 17:59:26 +02:00
Benoit Marty cea7dce432 Create extension RoomMember.getAvatarData to avoid code duplication. 2024-06-20 17:51:35 +02:00
ganfra 08816bd2df Reply : move InReplyTo and related to matrix.ui module. 2024-06-20 17:38:56 +02:00
Benoit Marty 7d0323d708 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00
Benoit Marty 33c76dfd2d Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty a2ff1dc933 Use ImmutableList in Composable. 2024-06-20 15:56:33 +02:00
Jorge Martin Espinosa 4f69ab70cc 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 a9f23c06b0 Add enum Suggestion instead of reusing TimelineRoom 2024-06-20 15:00:26 +02:00
Benoit Marty ac6e56fead Use heroes only for DMs. #1538 2024-06-20 14:35:12 +02:00
Benoit Marty ad02e05bf4 Use heroes to render room avatars 2024-06-20 13:10:25 +02:00
ganfra f24e87faf1 Timeline : introduce loadReplyDetails api 2024-06-20 13:07:49 +02:00
Benoit Marty a199a8605f Add heroes to RoomSummaryDetails 2024-06-20 11:59:38 +02:00
Benoit Marty a0f21d0b63 Add enum EditProfileDetails instead of reusing RoomHeader 2024-06-20 11:43:15 +02:00
Benoit Marty 61c21b6a96 Introduce CompositeAvatar to render heroes when main AvatarData does not have URL. 2024-06-20 11:28:52 +02:00
ganfra 9aa82b42fd Draft : introduce DraftService and start using it. 2024-06-20 11:28:07 +02:00
Benoit Marty 14062c687e Map RoomHero to MatrixRoomInfo. 2024-06-19 18:18:59 +02:00
Benoit Marty faa40dbb19 Move notification_accent_color from resource file to NotificationConfig 2024-06-19 16:48:00 +02:00
Benoit Marty 2c181e376b Remove unused import. 2024-06-19 15:59:41 +02:00
ganfra dc331640f9 Draft : expose new apis from sdk 2024-06-19 15:38:01 +02:00
ganfra b874d3e38c Merge branch 'develop' into feature/fga/sending_queue_iteration 2024-06-19 13:54:24 +02:00
Benoit Marty 416cbb679b Update test and add test for incoming call when notifications are disabled. 2024-06-19 11:44:08 +02:00
ganfra 0e94771f03 Sending queue : reintroduce failed status for unrecoverable error 2024-06-19 11:32:04 +02:00
Benoit Marty 8f916eaece Always notify for incoming calls, even if notifications are disabled. 2024-06-19 11:15:49 +02:00
Benoit Marty bebd344e72 Notification channels: Use NotificationChannelCompat.Builder. 2024-06-19 10:56:29 +02:00
Benoit Marty ed5eb48159 Notification channels: No need to include the version in the constant name. 2024-06-19 10:40:10 +02:00
Benoit Marty e66a725f30 Notification channels: Remove unused LISTEN_FOR_EVENTS_NOTIFICATION_CHANNEL_ID 2024-06-19 10:39:03 +02:00
Benoit Marty 02c376b9bf Notification channels: small iteration on old channel deletion. 2024-06-19 10:37:33 +02:00
Benoit Marty eceb44767c Merge pull request #3050 from element-hq/feature/bma/concurrencyRefreshTokenfix
Avoid restoring several MatrixClient
2024-06-19 09:14:06 +02:00
Benoit Marty 0149a7e03f 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 4332357e76 Add import for doc. 2024-06-18 18:13:23 +02:00
Benoit Marty a8cd659b1f Avoid restoring several MatrixClient 2024-06-18 18:04:30 +02:00
ganfra 420872fed9 Rust : handle api changes for 0.2.27 2024-06-18 17:01:38 +02:00
ganfra 664e584401 Rust : handle api changes for 0.2.27 2024-06-18 16:30:33 +02:00
Benoit Marty cd9f3ad3fb Use receiver. 2024-06-18 15:54:45 +02:00
Benoit Marty 47856c22ce Allow scroll in the "Enter recovery key" screen. #3042 2024-06-18 15:42:07 +02:00
Benoit Marty ef316032f8 Fix toString content 2024-06-18 14:45:13 +02:00
Benoit Marty 2cb2ecb243 Remove dead code. 2024-06-18 14:37:53 +02:00
Benoit Marty 7b5e7c4c00 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 bc30aee359 Iterate on sessionVerificationService.sessionVerifiedStatus and fix tests. 2024-06-18 11:02:19 +02:00
ganfra 2b5ea96110 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 97ec100e76 ProgressDialog : rename isCancellable param to showCancelButton on the ProgressDialogContent method. 2024-06-18 10:36:19 +02:00
Benoit Marty f09b77f72f Update test after merging develop. 2024-06-18 10:33:07 +02:00
Benoit Marty 69dbb08034 Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00
Benoit Marty 849f64f4aa 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 b741c32e91 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 85eae468b7 Cleanup 2024-06-17 18:27:57 +02:00
Benoit Marty b4b407a69e 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 f72fc36de8 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 1f8b525548 Fix back navigation issue, when opening directly the notification troubleshoot screen. 2024-06-17 16:53:21 +02:00
Benoit Marty 5180ce388c Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00