Commit Graph

3583 Commits

Author SHA1 Message Date
Benoit Marty
54cf41d935 Merge pull request #3450 from element-hq/feature/bma/improveCoverageMetrics
Improve code coverage metrics
2024-09-19 10:02:55 +02:00
Jorge Martín
9622c9cf27 Fix and add test 2024-09-19 08:15:12 +02:00
ganfra
461264fea4 Room list : debounce subscribe to visible rooms. 2024-09-18 21:07:39 +02:00
ganfra
888d584610 Merge pull request #3487 from element-hq/feature/fga/timeline_improvements
Timeline related improvements
2024-09-18 20:50:00 +02:00
Benoit Marty
a1515a62a0 Cleanup 2024-09-18 18:08:11 +02:00
Benoit Marty
888d3420d7 Use aSessionData() from the test module.
And fix typo.
2024-09-18 17:16:06 +02:00
ganfra
33ba3be82e Timeline : makes sure we don't emit empty list when navigating back to timeline. 2024-09-18 16:27:25 +02:00
ganfra
212b948399 Merge pull request #3485 from element-hq/feature/fga/iterate_send_failure_verification
Iterate send failure verification
2024-09-18 15:04:34 +02:00
ganfra
9445111b42 Pinned messages : remove debounce now it's properly handled by sdk. 2024-09-18 14:01:05 +02:00
ganfra
3f0ecc6674 Resolve send failure verification : clearer message when unsigned device is from you 2024-09-18 11:30:50 +02:00
Benoit Marty
9b9ce9e93a Add tests on AccountDeactivationView 2024-09-17 21:17:04 +02:00
Benoit Marty
c1d5d36f68 Fix screen title 2024-09-17 17:42:52 +02:00
Benoit Marty
c878e9beb5 Make text parts in bold. 2024-09-17 17:39:23 +02:00
Benoit Marty
effb1c57fe Fix icon tint issue. 2024-09-17 17:30:38 +02:00
Benoit Marty
ea355d29ed Account deactivation. 2024-09-17 16:51:11 +02:00
ganfra
dee63656e5 Resolve send failure verification : fix crash when dismissing. 2024-09-17 16:17:08 +02:00
bmarty
30052d6a93 Sync Strings from Localazy 2024-09-17 11:44:31 +00:00
bmarty
97cf19cb71 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
bmarty
e0c24c0f1c Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
Benoit Marty
8c424c63e6 Merge pull request #3467 from element-hq/feature/bma/accountCreation
Temporary account creation using Element Web.
2024-09-16 16:52:26 +02:00
ganfra
7fcccea43f Merge pull request #3438 from element-hq/feature/fga/pinned_messages_actions
Update pinned message actions
2024-09-16 16:11:13 +02:00
ganfra
60365e46a5 Merge pull request #3461 from element-hq/feature/fga/send_failure_identity_changes
Require acknowledgement to send to a verified user if their identity changed or if a device is unverified.
2024-09-16 16:00:18 +02:00
Benoit Marty
505a67e4a2 Remove wrong comment 2024-09-16 15:59:31 +02:00
ganfra
1162b86c01 Merge branch 'develop' into feature/fga/pinned_messages_actions 2024-09-16 15:24:22 +02:00
ganfra
6c29b5c694 Send failure verified user : add some comments and logs. 2024-09-16 15:22:40 +02:00
Jorge Martin Espinosa
b91d13b466 Fix not being able to decline an invite from the room list (#3466)
* Add `InvitedRoom` to wrap Rust SDK Rooms in 'invited' membership state.

At the moment, this is a wrapper that allows us to call `Room.leave()` without having to initialise the room's timeline (which is impossible).

* Add `MatrixRoom.getInvitedRoom(roomId)` to get one of these rooms.

Also, `RustRoomFactory` now has a `createInvitedRoom` method for this.

* Adapt `AcceptDeclineInvitePresenter` to use the new APIs.
2024-09-16 13:02:20 +00:00
Benoit Marty
e209c30c06 Fix quality and failing test. 2024-09-16 14:26:12 +02:00
Benoit Marty
554797099f Fix compilation error 2024-09-16 12:39:40 +02:00
Benoit Marty
34a577d63d Temporary account creation flow is only supported on matrix.org 2024-09-16 12:24:47 +02:00
Benoit Marty
3f06664d88 Open external url (like terms and condition) in a Custom Chrome Tab, and disable to "Leave page" dialog. 2024-09-16 12:24:47 +02:00
Benoit Marty
bed7776674 Account Creation using a WebView 2024-09-16 12:24:47 +02:00
Benoit Marty
6efa31257d Enable account creation and iterate on the Button design 2024-09-16 12:12:35 +02:00
Benoit Marty
c87353516c Merge pull request #3464 from element-hq/sync-localazy
Sync Strings
2024-09-16 11:50:11 +02:00
Jorge Martin Espinosa
03786c1fd2 Add forced logout flow when the proxy is no longer available (#3458)
* Add `MatrixClient.isSlidingSyncProxySupported` function

* Update localazy strings

* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.

Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.

* Check if a forced migration to SSS is needed because the proxy is no longer available.

In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.

* Enable native/simplified sliding sync by default.

* Refactor the login to make sure we:

1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).

* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-16 09:13:02 +00:00
bmarty
e840974dc5 Sync Strings from Localazy 2024-09-16 00:25:04 +00:00
ganfra
ca59e1f51e Send failure verified user : fix tests. 2024-09-13 18:04:16 +02:00
ganfra
84c8ddacf7 Send failure verified user : handle click on failed send icon. 2024-09-13 16:40:07 +02:00
ganfra
b38f016677 Send failure verified user : resolve ui and logic 2024-09-13 16:40:07 +02:00
ganfra
d215978241 Send failure verified user : display in ActionListView 2024-09-13 16:40:06 +02:00
Benoit Marty
9cbc1805dd Merge pull request #3442 from element-hq/feature/bma/deviceId
DeviceId and cleanup.
2024-09-11 11:01:31 +02:00
Benoit Marty
626fa4e495 Introduce value class "DeviceId" 2024-09-11 09:52:25 +02:00
ganfra
8f23a732b0 Pinned messages : remove redact action from the pinned message list action menu. 2024-09-10 13:49:40 +02:00
ganfra
1efe40ebb2 Pinned messages : allow to unpin redacted message 2024-09-10 13:49:12 +02:00
ganfra
e059cdd916 Merge branch 'develop' into feature/fga/pinned_messages_list_remove_reaction 2024-09-10 11:25:40 +02:00
ganfra
9f90761578 Pinned messages : allow action to continue when leaving the pinned messages list. 2024-09-10 09:07:16 +02:00
ganfra
3294b74e39 Pinned messages : fix timeline provider subscription 2024-09-10 09:07:00 +02:00
ganfra
aaefa8e740 Pinned messages list : hide reactions. 2024-09-09 19:29:25 +02:00
Jorge Martin Espinosa
8154aa3319 Add banner for optional migration to simplified sliding sync (#3429)
* Add banner for optional migration to native sliding sync

- Add `MatrixClient.isNativeSlidingSyncSupported()` and `MatrixClient.isUsingNativeSlidingSync` to check whether the home server supports native sliding sync and we're already using it.
- Add `NativeSlidingSyncMigrationBanner` composable to the `RoomList` screen when the home server supports native sliding sync but the current session is not using it.
- Add an extra logout successful action to the logout flow, create `EnableNativeSlidingSyncUseCase` so it can be used there.

* Update screenshots

* Make sure the sliding sync migration banner has lower priority than the encryption setup ones

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-09 18:13:19 +02:00
ganfra
7ed5ee9186 Merge branch 'develop' into feature/fga/timeline_utd 2024-09-09 15:40:26 +02:00
Benoit Marty
39c296efc6 Remove Wait list screen #3293 2024-09-09 14:06:53 +02:00