Commit Graph

3286 Commits

Author SHA1 Message Date
ganfra
cf684bf43a Timeline : fix text item not refreshed when content change 2024-07-02 10:29:09 +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
520806de0a Remove unused import 2024-07-01 16:18:20 +02:00
Benoit Marty
4353caa6e0 Inject constructor 2024-07-01 16:12:27 +02:00
Benoit Marty
77fcc1aaa1 Provide language and theme to Element Call. #3079 2024-07-01 15:51:41 +02:00
Benoit Marty
8b9c838508 Remove default value for languageTag and theme. 2024-07-01 14:32:27 +02:00
Benoit Marty
77dc61ca7f Add parameter names. 2024-07-01 14:30:35 +02:00
ganfra
283821e688 Merge pull request #3115 from element-hq/feature/fga/fix_draft_not_cleared
Draft : also clear draft when composer is blank
2024-07-01 13:06:40 +02:00
ganfra
113e8ecffa Draft : also clear draft when composer is blank 2024-07-01 12:23:42 +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
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
Benoit Marty
4fa33721dd Remove not needed dependency on libs.anvil.compiler.api and fix compilation issue of EXA. 2024-06-27 14:06:02 +02: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
ganfra
32f2b7534b Draft : add unit tests for draft support 2024-06-26 12:14:43 +02:00
Benoit Marty
94d72e0961 Add 'Enterprise' label to rageshake 2024-06-26 11:59:47 +02:00
Benoit Marty
3139ab06c9 Fix quality issue 2024-06-26 11:59:47 +02:00
Benoit Marty
ab5a54afd0 Fix compilation issue. 2024-06-26 11:59:46 +02:00
Benoit Marty
f591b48bed Fix quality issue and add tests. 2024-06-26 11:59:44 +02:00
Benoit Marty
d43a8c8bea Add first EnterpriseService. 2024-06-26 11:59:41 +02:00
Benoit Marty
6c9066d695 Merge pull request #3083 from element-hq/feature/bma/filterAutoScroll
Improve room filtering behavior.
2024-06-26 09:46:44 +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
Jorge Martin Espinosa
6def355b6e Use IO dispatcher for cleanup in bug reporter (#3092) 2024-06-25 09:26:18 +00:00
Jorge Martin Espinosa
924d78f3c7 Replace the 'answer' PendingIntent in ringing call notifications (#3093)
* Replace the 'answer' PendingIntent in ringing call notifications

Co-authored-by: Benoit Marty <benoit@matrix.org>

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-06-25 10:36:29 +02:00
Benoit Marty
4598e69a42 Cleanup 2024-06-24 16:05:43 +02:00
Benoit Marty
f3a5d65808 Improve room filtering behavior. 2024-06-24 15:36:23 +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
a2eca372cc Fix format issue. 2024-06-24 12:03:38 +02:00
Benoit Marty
3270731f2b Improve the way we cut the bubble layout to give space for the sender Avatar.
Instead of drawing a circle with the same color of the background behind the avatar, properly clear the top start corner of the bubble using `CompositingStrategy.Offscreen` and `BlendMode.Clear`.
2024-06-24 11:21:43 +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
Benoit Marty
eca82943fb Rename field of RoomDetailsType.Dm for clarity 2024-06-24 10:53:24 +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
b1bcfcdcf8 Create TitleAndSubtitle to reduce code duplication and add badges to DM. 2024-06-21 16:13:07 +02:00
Benoit Marty
e8fe8f51c8 Use DmAvatars in header of DM details. 2024-06-21 15:55:01 +02:00
Benoit Marty
a2c8dc42cb Extract MainActionsSection from the when cases, since this is code duplication. 2024-06-21 15:45:22 +02:00
Benoit Marty
e730c2c213 Fix issue in avatar rendering and add a preview. 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
5f32643af4 Create extension RoomMember.getAvatarData to avoid code duplication. 2024-06-20 17:51:35 +02:00
Benoit Marty
62d05f2907 Use extension 2024-06-20 17:47:13 +02:00
ganfra
78da033541 Reply : move InReplyTo and related to matrix.ui module. 2024-06-20 17:38:56 +02:00
Benoit Marty
b122c2c0a0 Code simplification. 2024-06-20 16:21:56 +02:00
Benoit Marty
7cdcf872b3 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00