Commit Graph

2764 Commits

Author SHA1 Message Date
ganfra
b5b89b7e98 Timeline : re-enable edition of local echo 2024-07-02 11:42:36 +02:00
ganfra
50c3e65998 Merge pull request #3119 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.29
2024-07-01 18:15:03 +02:00
ganfra
2a7154b53e Rust sdk : handle api changes (draft and edit) 2024-07-01 17:50:29 +02:00
Benoit Marty
6c0719e067 Merge pull request #3025 from element-hq/feature/bma/elementEnterprise
Element enterprise (EE) foundations
2024-07-01 17:08:40 +02:00
Benoit Marty
2663c3f26b Remove default value for languageTag and theme. 2024-07-01 14:30:18 +02:00
Benoit Marty
1419703059 Merge pull request #3110 from element-hq/fix/jme/session-verification-state-with-no-network
Fix incorrect 'device verified' screen when app was opened with no network connection
2024-07-01 11:09:24 +02:00
bmarty
99ae2b9640 Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
Benoit Marty
58cdd37a57 Merge pull request #3053 from element-hq/feature/bma/callSettings
Alert for incoming call even if notifications are disabled - WAITING FOR FINAL PRODUCT DECISION
2024-06-28 14:21:23 +02:00
Jorge Martín
16545ce60e Fix session verification incorrectly displaying as 'not verified' when the user opened the app with no network connection.
It turns out `encryptionService.verificationState()` runs a network request that will cause a deadlock when it fails.

Also fixed another deadlock that caused the screen to remain blank sometimes after logging in, because DataStore got stuck when checking the `skipVerification` state for some reason I don't fully understand.
2024-06-28 11:35:08 +02:00
ganfra
2ef29c7538 Auth : fix restore session when there is no network. 2024-06-27 18:05:47 +02:00
Jorge Martin Espinosa
a95d610464 Fix @room mentions crashing in debug builds (#3107)
* Fix `@room` mentions crashing in debug builds

* Iterate on previous solution, add `MentionSpan.Type.EVERYONE`
2024-06-27 15:31:19 +00:00
Jorge Martin Espinosa
cdbb46fa22 Bump Rust SDK version and adapt our code (#3068)
* Use the new SDK version
* Adapt the authentication service to the new Rust SDK APIs
* Remove `Timeline.enterSpecialMode(...)` as it's no longer necessary
2024-06-27 09:44:14 +00:00
ganfra
a77e5edef4 Merge branch 'develop' into feature/fga/draft_support 2024-06-26 15:22:00 +02:00
ganfra
cb6074fb2a Draft : code cleanup 2024-06-26 12:15:00 +02:00
Benoit Marty
d43b0e8401 Remove the method supportNotificationChannels() from SystemUtils, it has been copied in NotificationChannels.kt 2024-06-26 11:59:48 +02:00
Benoit Marty
ff78512b78 Add isEnterpriseBuild to BuildMeta 2024-06-26 11:59:45 +02:00
ganfra
ece740322c Draft : makes sure all existing tests passes 2024-06-25 15:17:18 +02:00
ganfra
dfae2e50c9 Draft : refactor a bit ComposerMode and formatting management so we don't mess up with draft restoration. 2024-06-25 11:35:22 +02:00
Benoit Marty
8a233061cb Merge pull request #3082 from element-hq/feature/bma/fixClearCacheImage
Fix image rendering after clear cache
2024-06-24 16:20:11 +02:00
Benoit Marty
e31bbc2b7e Add unit test on DefaultImageLoaderHolder 2024-06-24 14:42:04 +02:00
Benoit Marty
8b1ca62f78 Convert LoggedInImageLoaderFactory to an interface and add DefaultLoggedInImageLoaderFactory 2024-06-24 14:22:46 +02:00
Benoit Marty
4faa563e81 Move test classes to the correct package. 2024-06-24 14:04:14 +02:00
Benoit Marty
775cb89993 Fix image not rendering after clearing cache. 2024-06-24 13:58:15 +02:00
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
ganfra
9f45005c05 Reply : fix reply cropped in timeline 2024-06-21 15:42:26 +02:00
ganfra
1b1b556aa4 Draft : branch reply mode 2024-06-21 12:40:16 +02:00
ganfra
71667dc235 Reply : refactor so we can use ReplyToDetails in Composer and Timeline 2024-06-21 12:23:17 +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
ganfra
78da033541 Reply : move InReplyTo and related to matrix.ui module. 2024-06-20 17:38:56 +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
ganfra
5724c62c67 Timeline : introduce loadReplyDetails api 2024-06-20 13:07:49 +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
ganfra
f821fa5862 Draft : introduce DraftService and start using it. 2024-06-20 11:28:07 +02:00
Benoit Marty
3aed09ef4d Map RoomHero to MatrixRoomInfo. 2024-06-19 18:18:59 +02:00