Commit Graph

5385 Commits

Author SHA1 Message Date
ganfra 2d324a7f4b Reply : fix reply cropped in timeline 2024-06-21 15:42:26 +02:00
ganfra 6ac7ab84ce Draft : branch reply mode 2024-06-21 12:40:16 +02:00
ganfra 5597a1743a Reply : refactor so we can use ReplyToDetails in Composer and Timeline 2024-06-21 12:23:17 +02:00
Jorge Martin Espinosa 310a7fc229 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 981dad71a3 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 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