Commit Graph

3552 Commits

Author SHA1 Message Date
Benoit Marty
505a67e4a2 Remove wrong comment 2024-09-16 15:59:31 +02: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
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
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
ganfra
a556557881 Timeline : remove the encrypted history banner for now. 2024-09-09 11:20:50 +02:00
ganfra
82a31d3ede Self verification : makes sure cancellation works properly 2024-09-09 10:30:35 +02:00
Benoit Marty
8ff40ac6fb Merge pull request #3422 from element-hq/feature/bma/agpl
Change license to AGPL
2024-09-06 20:40:28 +02:00
Benoit Marty
62a6e916a6 Migrate license to AGPL - XML files. 2024-09-06 17:43:35 +02:00
Benoit Marty
2b016227e9 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
db83e0092d Merge pull request #3419 from element-hq/feature/bma/fixElementCall
Ensure Call is not hang up when user is asked to grant system permissions
2024-09-06 17:15:09 +02:00
ganfra
87a485baf6 Merge pull request #3415 from element-hq/feature/fga/pinned_messages_banner_indicators
Pinned messages banner : adjust indicator to match design.
2024-09-06 16:57:08 +02:00
ganfra
e5c81db224 Merge pull request #3392 from element-hq/feature/fga/pinned_messages_list
[Feature] Pinned messages list
2024-09-06 16:32:44 +02:00
ganfra
1ab7841443 Pinned messages banner : reformat. 2024-09-06 16:32:29 +02:00
Benoit Marty
ab3b49c7e9 Merge pull request #3409 from element-hq/feature/bma/recoveryKeyFormatting
Recovery key formatting and wording iteration
2024-09-06 16:30:39 +02:00
Benoit Marty
97aa82e5fb Ensure Call is not hang up when user is asked to grant system permissions. 2024-09-06 16:17:21 +02:00
Benoit Marty
8ce1687bf5 var -> val for lambda 2024-09-06 14:46:28 +02:00
Benoit Marty
e4a2bfa9f0 Use the local val instead. 2024-09-06 13:54:15 +02:00
Benoit Marty
8705229930 Fix test compilation issue. 2024-09-06 13:52:43 +02:00
Benoit Marty
9693a248f7 Add missing test for AppMigration06 2024-09-06 11:51:59 +02:00
Benoit Marty
c51d098679 Add missing test for AppMigration05 2024-09-06 11:41:13 +02:00
ganfra
790f694dcc Pinned messages banner : adjust indicator to match design. 2024-09-06 11:20:25 +02:00
Benoit Marty
b00061263a Do not perform any migration on fresh application installation. 2024-09-06 10:52:39 +02:00
Benoit Marty
76e34ae798 Add an application migration to delete the old log files. 2024-09-06 09:31:14 +02:00
ganfra
a37a6d249f Pinned messages list : improve and fix code after PR review. 2024-09-05 17:40:50 +02:00
Benoit Marty
95c39c5c7f Fix wording issue. We know have a footer to explain that a passphrase will work. 2024-09-05 17:34:04 +02:00
Benoit Marty
1b39155bef RecoveryKey: add previews to check the visual transformation. 2024-09-05 17:31:41 +02:00
Jorge Martin Espinosa
d463b6ba4a Fix Element Call closing automatically on API 34 (#3402)
* Fix Element Call closing automatically on API 34

It seems like registering a user leave hint listener way too early was causing the activity to try to enter PiP erroneously and that led to the activity closing instead.
2024-09-05 14:28:05 +00:00
Benoit Marty
8cc8f1fce1 Merge pull request #3295 from frebib/feat/big-emoji
Big emoji-only messages
2024-09-04 18:36:26 +02:00
Benoit Marty
02e40a9fe0 Remove unnecessary parenthesis 2024-09-04 18:35:26 +02:00
Benoit Marty
f820adfb9a Merge pull request #3395 from element-hq/feature/bma/noDeviceVerifiedAfterRegistration
Skip device verification screen when creating a new account using OIDC
2024-09-04 18:28:30 +02:00
ganfra
ec4aab0c12 Pinned messages list : add more test for better coverage. 2024-09-04 17:43:34 +02:00
Benoit Marty
ec4f2dcfbf Properly skip the FTUE verification screen if verification is not needed. 2024-09-04 16:41:34 +02:00
ganfra
a634350a1b Pinned messages : fix test after merging develop 2024-09-04 15:04:20 +02:00
ganfra
ff3646ead0 Pinned messages: clean code 2024-09-04 14:27:18 +02:00
ganfra
9936dbc464 Merge branch 'develop' into feature/fga/pinned_messages_list 2024-09-04 14:11:53 +02:00