Commit Graph

143 Commits

Author SHA1 Message Date
Benoit Marty 405543a953 Add missing tests. 2024-10-29 15:20:02 +01:00
Benoit Marty 1e0c212459 Crypto: iterate on wording, UI and UX.
Change wording of setup recovery key banner and change target to root.
Iterate on wording of encryption screen.
Change button to Switch.
Iterate on wording to delete key storage.
Iterate on wording and icon on the root setting.
Remove confirmation dialog when disabling backup.
Add subtitle to change recovery key action.
Enable key storage directly, remove quite empty screen to setup the backup.
Disable recovery action if key backup is disabled.
2024-10-29 14:54:59 +01:00
bmarty 1856363964 Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
bmarty b179518962 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
Benoit Marty fb52657b12 Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +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 3116c4535e Tweak screens related to crypto. 2024-10-10 16:44:11 +02:00
Benoit Marty 2d08c648e2 Rename SecureBackupConfig to LearnMoreConfig 2024-10-07 22:29:43 +02:00
bmarty e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Jorge Martin Espinosa 79c17f714f Use Anvil KSP instead of the Square KAPT one (#3564)
* Use Anvil KSP instead of the Square KAPT one

* Fix several configuration cache, lint and test issues

* Allow incremental kotlin compilation in the CI

* Workaround Robolectric + Compose issue that caused `AppNotIdleException`

* Update the `enterprise` commit hash

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
Jorge Martin Espinosa f344a1282c Don't display security banner for unknown RecoveryState (#3579)
* Don't display security banner for unknown `RecoveryState`

* Don't display 'set up recovery' if its status is unknown.

Add more screenshot tests.

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 09:28:33 +00:00
Jorge Martin Espinosa eeec7cc785 Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
bmarty 86373ad1f7 Sync Strings from Localazy 2024-09-30 00:26:52 +00:00
bmarty 1768f24fd0 Sync Strings from Localazy 2024-09-23 00:23:49 +00:00
bmarty d700bcf71f Sync Strings from Localazy 2024-09-17 11:44:31 +00:00
bmarty 4583ffeaf9 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
bmarty bb0a281342 Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
bmarty 1035f9ae60 Sync Strings from Localazy 2024-09-16 00:25:04 +00:00
Benoit Marty f61df38e55 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty 4c274302c7 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 b37daba638 RecoveryKey: add previews to check the visual transformation. 2024-09-05 17:31:41 +02:00
Benoit Marty 1cc87cfed1 Fix typo (also fixed on Localazy). 2024-09-02 13:21:14 +02:00
Benoit Marty b043ec8796 Remove subtitle. 2024-09-02 12:11:53 +02:00
bmarty 5ad2764402 Sync Strings from Localazy 2024-09-02 00:15:17 +00:00
Benoit Marty ad8e8305eb Add banner entry point to set up recovery 2024-08-29 18:34:55 +02:00
Benoit Marty e4174b39e8 Change test name. 2024-08-29 11:13:57 +02:00
Benoit Marty 66a2f9fb48 Sync English strings. 2024-08-29 09:51:28 +02:00
Benoit Marty dfaa350167 Better handling on null reset handler.
This is not an error, but in this case, the reset identity is successful.
2024-08-29 09:41:13 +02:00
Benoit Marty 8e7d8175d7 Remove Lost your recovery key? button and the temporary screen it opened. 2024-08-29 09:40:00 +02:00
bmarty cd267249ec Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
Jorge Martin Espinosa 0686745fd4 Fix reset identity with password stuck in loading state. (#3317)
Make sure `resetIdentityFlowManager.whenResetIsDone` is registered *after* the previous reset attempt is cancelled, otherwise the current one will be cancelled instead.
2024-08-20 19:04:20 +00:00
bmarty 3e67448006 Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
Jorge Martín 8a1e333aa7 Fix most review comments 2024-08-14 16:53:50 +02:00
Jorge Martín d5eb71ab0b Add an extra test 2024-08-13 08:55:07 +02:00
Jorge Martín 5e3e1271b4 Fix Konsist failures 2024-08-13 08:55:07 +02:00
Jorge Martín 5239e5ce81 Fix lint issues 2024-08-13 08:55:06 +02:00
Jorge Martín 7fd0ad09dc Improve APIs, add tests 2024-08-13 08:55:06 +02:00
Jorge Martín 175bada0df Improve existing APIs 2024-08-13 08:55:06 +02:00
Jorge Martín abb9959789 Use extracted OIDC flow to display the reset identity screen 2024-08-13 08:55:05 +02:00
Jorge Martín 4ab0b1074d Initial implementation of the reset identity feature 2024-08-13 08:55:05 +02:00
ElementBot 8bd48fdc60 Sync Strings (#3297)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
bmarty 76804d9e48 Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
ElementBot 1f01bd73c4 Sync Strings (#3232)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
Benoit Marty a7de751f0e Ensure that all the callback instances are invoked. 2024-07-05 12:13:21 +02:00
jmartinesp dabaa2d265 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa b0cebf5ca0 Improve screenshot testing with ComposablePreviewScanner (#3125)
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
bmarty 32c5da898b Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
Benoit Marty cc57652e55 Fix UI test and add missing test. 2024-06-18 16:22:07 +02:00
Benoit Marty cd9f3ad3fb Use receiver. 2024-06-18 15:54:45 +02:00
Benoit Marty 47856c22ce Allow scroll in the "Enter recovery key" screen. #3042 2024-06-18 15:42:07 +02:00