Commit graph

487 commits

Author SHA1 Message Date
ElementBot
c5640ebff5 Sync Strings (#6626)
* Sync Strings from Localazy

* Use the previous plurals as plain strings

* Add extra case for 1 vs multiple users

* Update screenshots

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
2026-04-20 17:09:10 +00:00
Benoit Marty
88a59f39f2 Merge pull request #6587 from element-hq/feature/bma/flagsFromOnBoarding
Split developer settings into 2 screens to be able to access global settings when no logged in.
2026-04-15 16:16:23 +02:00
Benoit Marty
0dda16ced0 Fix tests compilation 2026-04-15 14:45:38 +02:00
Benoit Marty
f8d84ec71a Split developer settings into 2 screens to be able to access global settings when no logged in. 2026-04-15 12:11:25 +02:00
Benoit Marty
fafaad6b6c Take into account the value of FeatureFlags.SignInWithClassic 2026-04-15 12:00:29 +02:00
Benoit Marty
221a16e962 Merge pull request #6576 from element-hq/renovate/com.google.testparameterinjector-test-parameter-injector-1.x
Update dependency com.google.testparameterinjector:test-parameter-injector to v1.22
2026-04-15 09:45:56 +02:00
Benoit Marty
4985079b8c Use @TestParameter instead of doing the work manually. 2026-04-15 08:32:26 +02:00
Benoit Marty
c05823bcc1 Refresh Element Classic state each time ClassicFlowNode is resumed.
This ensure that Element X is always up to date regarding Element Classic state.
2026-04-14 16:51:00 +02:00
Benoit Marty
f0bee63d7f Move vals at the top of the class. 2026-04-14 12:21:44 +02:00
Benoit Marty
f670677427 Make elementClassicComponent a val. 2026-04-14 10:22:13 +02:00
Benoit Marty
ea4413696c Improve log and reduce severity. 2026-04-14 10:12:03 +02:00
Benoit Marty
21512bbe33 Fix navigation issue.
Ensure that the timeout has effect only in Idle state.
2026-04-13 15:36:48 +02:00
Benoit Marty
7a10ce9e54 Ignore secrets when the bundle does not contain the room keys version. 2026-04-13 11:16:06 +02:00
Benoit Marty
674e0925c0 Sign in with Classic 2026-04-13 11:16:05 +02:00
Benoit Marty
a50df0eae7 Fix typo 2026-04-13 11:16:05 +02:00
bmarty
919e9d6c2d Sync Strings from Localazy 2026-04-13 00:48:40 +00:00
ElementBot
c4acb75924 Sync Strings (#6537)
* Sync Strings from Localazy

* Sync strings.

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2026-04-07 16:02:12 +02:00
renovate[bot]
643d1e957d fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.19 (#6411)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v26.03.18

* Fix API breaks

* Add compatibility with rustls (#6367)

A new `rustls-platform-verifier-android` library has to be added to the project, it'll be called from Rust to get access to the certificates on Android.

Originally, this was supposed to be added as a local maven repo pointing to the rust crate that publishes the AAR, but that's just plain terrible (more details [here](https://github.com/rustls/rustls-platform-verifier#android).

Instead, what we can do is use a script that uses `cargo-download` to download the latest crate or a specified version, unzip it and add the `aar` file to the `:libraries:matrix:impl` module.

* Try fixing Sonar with local AAR files

* Remove `UserCertificatesProvider`: this is no longer needed after integrating rustls

* Added some docs for rustls and its `platform-verifier` library

* Upgrade SDK to `26.03.19`: this version contains a workaround that allows the app to use the same TLS verifier as before, fixing the Let's Encrypt issues we saw with some homeservers (like element.io)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-03-20 16:20:37 +01:00
Benoit Marty
0fbed400eb Sync string again. 2026-03-16 14:54:06 +01:00
bmarty
3a0e01b63d Sync Strings from Localazy 2026-03-16 00:42:32 +00:00
ElementBot
2ad55f4bc6 Sync Strings (#6302)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-09 10:38:07 +01:00
ElementBot
5bcaad1e81 Sync Strings from Localazy (#6269)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-02 14:54:50 +01:00
Benoit Marty
110d0efd86 Fix release build. 2026-02-23 18:13:55 +01:00
Benoit Marty
b9ffe541a0 Fix tests. 2026-02-23 17:32:53 +01:00
Benoit Marty
42b17d5704 Ensure that Element X can use the service from Element Classic.
Permission "im.vector.app.READ_DATA" is not necessary anymore.
2026-02-23 12:43:42 +01:00
Benoit Marty
c03788526c QRCode login: treat not found error as expired error. (#6161)
Reorder some when cases.
2026-02-09 16:34:23 +01:00
ElementBot
6a101e7b65 Sync Strings from Localazy (#6155)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-02-09 16:30:57 +01:00
Benoit Marty
c18ac905c8 QRCode login: treat not found error as expired error.
Reorder some when cases.
2026-02-09 15:14:18 +01:00
Benoit Marty
36d5500a65 Iterate on login error: add a cancel button that fully close the flow.
tom
2026-01-28 16:20:14 +01:00
ElementBot
b731d9a4a3 Sync Strings from Localazy (#6085)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-26 12:06:38 +01:00
Benoit Marty
f25dca57bd Merge pull request #6033 from element-hq/sync-localazy
Sync Strings
2026-01-19 20:56:53 +01:00
Benoit Marty
19a3ce35f6 Merge pull request #6016 from element-hq/feature/bma/fixFlakyTest
Attempt to fix flaky test.
2026-01-19 14:13:17 +01:00
bmarty
5a8ce6d68c Sync Strings from Localazy 2026-01-19 00:35:31 +00:00
Benoit Marty
caf5ab1085 Rename the state flow. Also let stateFlow be a real val. 2026-01-15 15:20:48 +01:00
Benoit Marty
14c1c4b282 Attempt to fix flaky test.
The test `on QR code data ready - calls the expected callback` sometimes fails on the CI with the following error:

androidx.concurrent.futures.CallbackToFutureAdapter$FutureGarbageCollectedException: The completer object was garbage collected - this future would otherwise never complete. The tag was: CameraX initInternal
2026-01-15 15:09:47 +01:00
Benoit Marty
017894201c Signin with Element Classic WIP 2026-01-15 11:58:28 +01:00
ElementBot
d01a511903 Sync Strings from Localazy (#5994)
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2026-01-14 11:43:57 +00:00
ElementBot
860390beb0 Sync Strings from Localazy (#5971)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
bmarty
f35d7086cb Sync Strings from Localazy 2025-12-29 00:19:01 +00:00
bmarty
a2ca2e7c1f Sync Strings from Localazy 2025-12-23 11:23:46 +01:00
Jorge Martin Espinosa
83eae74488 Fix unverified account after account creation (#5914)
* Fix unverified account after account creation:

When we create an account either using OIDC or by importing a login and password one, we need to wait until the verification state is known (either verified or unverified).

The problem is the verification service will return incorrect values until the E2EE tasks are initialized in the SDK, even if we add the state listeners after doing so.

So what we can do is initialize the E2EE setup, discard any invalid verification state received while it's not initialized, and take only those received after it's initialized.

* Actually restore the `Client` in `RustMatrixAuthenticationService.importCreatedSession` so we don't need to use `clear` and have the navigation restore the client later:

This standarizes the way the login/registration flow works, always restoring/reusing the existing client instance
2025-12-19 12:55:34 +01:00
Benoit Marty
086229f5dc Add test on RustCheckCodeSender 2025-12-16 20:03:33 +01:00
ElementBot
6880cf518c Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
Benoit Marty
6100d4944f Cleanup 2025-12-11 17:23:34 +01:00
Benoit Marty
d65cbd46a9 PermissionsEvents -> PermissionsEvent 2025-12-10 10:50:10 +01:00
bmarty
2b49c40592 Sync Strings from Localazy 2025-12-01 00:23:54 +00:00
Benoit Marty
f733588f6e Fix compilation issue in test 2025-11-21 16:22:33 +01:00
Benoit Marty
24b76f2001 Fix crash when clicking fast on back key on the Add account screen. 2025-11-21 15:51:11 +01:00
Benoit Marty
5728452e68 Remove unused slidingSyncProxy from DB. 2025-11-18 15:58:22 +01:00
Benoit Marty
1292da2a72 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00