Commit Graph

3705 Commits

Author SHA1 Message Date
Benoit Marty b2ea39ebbe Merge pull request #3670 from element-hq/feature/bma/fixCanInviteRefresh
Fix issue on canInvite refresh.
2024-10-15 09:00:09 +02:00
Benoit Marty bfc1b8830e Merge pull request #3668 from element-hq/feature/bma/noNeedForLaunch
No need to launch a coroutine here.
2024-10-15 08:59:32 +02:00
Benoit Marty 3b426705f7 Import fun 2024-10-14 21:13:52 +02:00
Benoit Marty a7328c705c Fix regression due to icon now supports RTL. 2024-10-14 21:13:50 +02:00
Benoit Marty 76e8e8ffae Remove useless return 2024-10-14 20:58:51 +02:00
Benoit Marty e5a8180acc Fix issue on canInvite refresh. 2024-10-14 12:16:01 +02:00
Benoit Marty 212e5761ec No need to launch a coroutine here. 2024-10-14 12:04:37 +02:00
bmarty 851a547b89 Sync Strings from Localazy 2024-10-14 00:27:28 +00:00
Benoit Marty 673de64c18 Merge pull request #3649 from element-hq/feature/bma/cryptoCopyAdjustment
Crypto copy adjustment
2024-10-10 19:41:17 +02:00
Benoit Marty 266210e264 Update the test, the wording of the button has changed. 2024-10-10 18:04:34 +02:00
Benoit Marty 10261d406a Quality... 2024-10-10 17:40:56 +02:00
Benoit Marty 99c085fa3e Quality... 2024-10-10 17:35:59 +02:00
Benoit Marty 9c7f2b992a Merge pull request #3648 from element-hq/feature/bma/identityChangeFeatureFlag
Add feature flag IdentityPinningViolationNotifications.
2024-10-10 17:20:29 +02:00
Benoit Marty fd819c2381 Add "Learn more" on identity verification first screen. 2024-10-10 17:09:35 +02:00
Benoit Marty 3116c4535e Tweak screens related to crypto. 2024-10-10 16:44:11 +02:00
Benoit Marty aa07ab1a07 Add feature flag IdentityPinningViolationNotifications.
Disabled in production build, enabled by default on other builds.
2024-10-10 16:28:15 +02:00
Jorge Martin Espinosa c6d3ad88d3 Add the CallWebView logs to our logging stack (#3637)
* Add the `CallWebView` logs to our logging stack

---

Co-Authored by @bmarty
2024-10-10 14:12:47 +00:00
Jorge Martin Espinosa 366db4791b Upgrade Kotlin to v2.0 (#3594)
* Bump Kotlin to v2.0

* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-10 08:32:00 +00:00
Benoit Marty 79a1ab72e9 Merge pull request #3633 from element-hq/feature/bma/qrCodeNotice
QrCode intro screen: add subtitle and fix button wording #3632
2024-10-09 12:25:21 +02:00
Benoit Marty bf1334152e Fix test 2024-10-09 11:44:58 +02:00
ganfra a3db4b2043 Merge pull request #3631 from element-hq/feature/fga/rework_room_summary
Rework room summary
2024-10-09 11:44:45 +02:00
Benoit Marty 7e6a12854f QrCode intro screen: add subtitle and fix button wording #3632 2024-10-09 10:20:56 +02:00
ganfra 348c84b8b9 misc : rework getRoomInfoFlow (by using getRoomSummaryFlow) 2024-10-08 21:36:38 +02:00
ganfra eeb6b6f4bf misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo. 2024-10-08 21:34:34 +02:00
Benoit Marty ef4aa8f91e Do not render pin violation in clear room. 2024-10-08 18:30:08 +02:00
Benoit Marty 0ffd787187 Merge pull request #3621 from element-hq/feature/bma/composerAlert
Warn the user when unverified user has changed their identity
2024-10-08 16:33:14 +02:00
Benoit Marty 873d807500 Cleanup 2024-10-08 15:02:04 +02:00
Benoit Marty f4b7443cfb Fix regression. 2024-10-08 14:56:50 +02:00
Benoit Marty 41749ed5b1 Create data classes TypingRoomMember and IdentityRoomMember to avoid the risk of useless recomposition.
Also remove TypingNotificationStateForMessagesProvider which was not used anymore.
2024-10-08 14:54:49 +02:00
Benoit Marty 8aa34d8cd4 Use produceState 2024-10-08 14:15:23 +02:00
Benoit Marty 4fefecd0d9 Fix Emoji test 2024-10-08 14:14:39 +02:00
Benoit Marty 746a7fbf37 tom 2024-10-08 13:55:46 +02:00
Benoit Marty fcee53b23e Rename val for clarity 2024-10-08 13:47:47 +02:00
Benoit Marty 189fbe9d11 Use produceState 2024-10-08 13:45:25 +02:00
Jorge Martin Espinosa 5a4e5d0575 Fix the logic of the room list banner state (#3615)
* Fix `deriveStateOf` preventing the banner state from updating

* Try improving implementation of the check

* No need for `syncState`
2024-10-08 10:13:39 +00:00
Benoit Marty 0fd275d32b Fix preview of identity change banner in a timeline. 2024-10-08 11:48:09 +02:00
Benoit Marty 33bfe1db8d Fix broken previews 2024-10-08 11:48:06 +02:00
Benoit Marty e49d689fe8 Improve code. 2024-10-08 11:23:11 +02:00
Benoit Marty 0099777360 Fix code quality. 2024-10-08 11:09:46 +02:00
Benoit Marty bc62f8cfce Fix compilation issues. 2024-10-08 10:27:07 +02:00
Benoit Marty 5baefd479f Identity change: handle click on "learn more" 2024-10-08 09:35:18 +02:00
Benoit Marty 3e5dd4bdfe Avoid using application context. 2024-10-08 09:06:40 +02:00
Benoit Marty 2d08c648e2 Rename SecureBackupConfig to LearnMoreConfig 2024-10-07 22:29:43 +02:00
Benoit Marty 9a85e92025 Do not inject presenter directly. 2024-10-07 22:25:05 +02:00
Benoit Marty d9fb0cf656 Pin user identity. 2024-10-07 22:19:13 +02:00
Benoit Marty c69e5f47e5 Render PinViolation above the composer. 2024-10-07 22:18:32 +02:00
Benoit Marty b60d7ba54a Use backgroundScope 2024-10-07 17:46:19 +02:00
Benoit Marty 792bc25ca2 Remove FakeLeaveRoomPresenter 2024-10-07 17:46:18 +02:00
Benoit Marty 6cfebc18fa Cleanup 2024-10-07 17:46:17 +02:00
Benoit Marty d744e075d5 Remove dependencies to other presenters in MessagesPresenter. 2024-10-07 17:46:17 +02:00