233 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
5fcc80a383 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
2efdb3ae45 Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
bmarty
3f359d7f0a Sync Strings from Localazy 2024-09-30 00:26:52 +00:00
bmarty
a064fb4fab Sync Strings from Localazy 2024-09-23 00:23:49 +00: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
bmarty
e840974dc5 Sync Strings from Localazy 2024-09-16 00:25:04 +00: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
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
Benoit Marty
6c306ead08 Fix typo (also fixed on Localazy). 2024-09-02 13:21:14 +02:00
Benoit Marty
5995212777 Remove subtitle. 2024-09-02 12:11:53 +02:00
bmarty
39ef8b38bb Sync Strings from Localazy 2024-09-02 00:15:17 +00:00
Benoit Marty
f0c2229621 Add banner entry point to set up recovery 2024-08-29 18:34:55 +02:00
Benoit Marty
b888aa30ae Change test name. 2024-08-29 11:13:57 +02:00
Benoit Marty
1302d2d60d Sync English strings. 2024-08-29 09:51:28 +02:00
Benoit Marty
b4e9799fec 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
8408c7db2d Remove Lost your recovery key? button and the temporary screen it opened. 2024-08-29 09:40:00 +02:00
bmarty
1b064a008f Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
Jorge Martin Espinosa
fd4de40851 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
5765d9bf9f Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
Jorge Martín
9c09f96c0b Fix most review comments 2024-08-14 16:53:50 +02:00
Jorge Martín
08ed272991 Add an extra test 2024-08-13 08:55:07 +02:00
Jorge Martín
b3e811bc7e Fix Konsist failures 2024-08-13 08:55:07 +02:00
Jorge Martín
0ddadd8c5a Fix lint issues 2024-08-13 08:55:06 +02:00
Jorge Martín
903d24ea2f Improve APIs, add tests 2024-08-13 08:55:06 +02:00
Jorge Martín
252b3e11a0 Improve existing APIs 2024-08-13 08:55:06 +02:00
Jorge Martín
2283e0e361 Use extracted OIDC flow to display the reset identity screen 2024-08-13 08:55:05 +02:00
Jorge Martín
e16057a366 Initial implementation of the reset identity feature 2024-08-13 08:55:05 +02:00
ElementBot
01617e1c9d Sync Strings (#3297)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
bmarty
d288ace4bd Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
ElementBot
9522569860 Sync Strings (#3232)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
Benoit Marty
27e4b5d82f Ensure that all the callback instances are invoked. 2024-07-05 12:13:21 +02:00
jmartinesp
58f2cbf489 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
950e502ca6 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
99ae2b9640 Sync Strings from Localazy 2024-07-01 00:22:10 +00:00
Benoit Marty
971f092294 Fix UI test and add missing test. 2024-06-18 16:22:07 +02:00
Benoit Marty
83f279ec81 Use receiver. 2024-06-18 15:54:45 +02:00
Benoit Marty
ce5b9e034a Allow scroll in the "Enter recovery key" screen. #3042 2024-06-18 15:42:07 +02:00
bmarty
7b27ba116d Sync Strings from Localazy 2024-06-17 00:23:40 +00:00
Benoit Marty
e2aa84804d Merge pull request #3000 from element-hq/sync-localazy
Sync Strings
2024-06-11 15:16:55 +02:00
Jorge Martin Espinosa
6f8de0b2c6 Element Call ringing notifications (#2978)
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-10 11:51:19 +02:00
bmarty
57510316ec Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
Benoit Marty
6a10f38f68 Remove duplicated dependency 2024-06-05 18:13:23 +02:00
Jorge Martin Espinosa
35702c04e9 Sign in with QR code (#2793)
* Add QR code login.
* Add FF to disable it in release mode.
* Force portrait orientation on the login flow.
* Create `NumberedList` UI components.
* Improve camera permission dialog.
* Make nodes in qrcode feature use `QrCodeLoginScope` instead of `AppScope`
* Bump SDK version.
* Fix maestro tests

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-31 14:38:27 +02:00
Benoit Marty
0e4b30e58d Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty
919849acc2 Move content @Composable to the end of the parameter list.
A @Composable `content` parameter should be moved to be the trailing lambda in a composable function.
2024-05-29 12:38:14 +02:00
Benoit Marty
87689d787e Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00