Commit Graph

170 Commits

Author SHA1 Message Date
Benoit Marty
4a84350261 Remove empty manifest files. 2024-06-13 18:20:19 +02:00
Benoit Marty
90ec8a94c5 Delete useless file. 2024-06-13 18:20:19 +02:00
bmarty
57510316ec Sync Strings from Localazy 2024-06-10 00:17:04 +00: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
Benoit Marty
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty
92bc614af3 Cleanup dependencies about junit. 2024-05-21 18:14:32 +02:00
ganfra
509e080fc2 Merge pull request #2874 from element-hq/feature/fga/fix_2692
Fix modal contents overlapping screen lock pin #2692
2024-05-21 15:53:51 +02:00
ganfra
a1081b39bd Pin : clean up after PR review #2692 2024-05-20 16:34:26 +02:00
bmarty
0241014932 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
bmarty
602b3988e4 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00
Benoit Marty
66cfaf97c9 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
bmarty
7383ac6678 Sync Strings from Localazy 2024-04-29 00:18:59 +00:00
bmarty
1e334891ab Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
bmarty
0c0c36c393 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
ElementBot
af6ed820a8 Sync Strings (#2523)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
Benoit Marty
66aa342d73 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty
54ef435d9c Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty
c746a0acc5 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
9119a7b7fb Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
08b01ffb79 Preview must be internal. 2024-02-22 16:18:34 +01:00
Benoit Marty
bbed475f93 Fix copyright date on new files. 2024-02-22 15:59:44 +01:00
Benoit Marty
48e8900a2c Create extension to cleanup LogoutViewTest 2024-02-22 14:32:18 +01:00
Benoit Marty
6521ffe0aa Add test on DefaultDirectLogoutView 2024-02-22 14:28:17 +01:00
Benoit Marty
cf38553701 Add more states in DirectLogoutStateProvider 2024-02-22 14:03:59 +01:00
Benoit Marty
cbf1ea1354 Add DirectLogoutStateProvider, and add preview for DefaultDirectLogoutView 2024-02-22 12:53:38 +01:00
Benoit Marty
06caf35ff4 Make isLastSession "live" 2024-02-21 18:30:57 +01:00
Benoit Marty
fb368f058b Remove feature flag SecureStorage 2024-02-21 18:30:57 +01:00
Benoit Marty
55a105572a Rename isLastSession to isLastDevice, to match SDK naming. 2024-02-21 18:25:45 +01:00
Jorge Martin Espinosa
973c57d401 Update Compound to v0.0.5 and update icons (#2380)
Update Compound to `v0.0.5`:

- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-12 16:41:58 +00:00
Benoit Marty
f1f14e9fed Rename parameter, since it is also invoked in the confirmation dialog, not only for the error dialog. 2024-02-07 16:33:48 +01:00
bmarty
7911a26003 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
Benoit Marty
30cea9c70a Always use the latest... fix. 2024-01-23 18:13:33 +01:00
Benoit Marty
cff076b508 Fix detekt issue:
Lambda parameters in a @Composable that are referenced directly inside of restarting effects can cause issues or unpredictable behavior.

If restarting the effect is ok, you can add the reference to this parameter as a key in that effect, so when the parameter changes, a new effect is created.
However, if the effect is not to be restarted, you will need to use `rememberUpdatedState` on the parameter and use its result in the effect.

See https://mrmans0n.github.io/compose-rules/rules/#be-mindful-of-the-arguments-you-use-inside-of-a-restarting-effect for more information. [LambdaParameterInRestartableEffect]
2024-01-23 18:13:33 +01:00
ElementBot
3a37460814 Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
a926b3d390 Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage 2024-01-11 16:02:58 +01:00
Benoit Marty
378692f743 Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot]
7e9cda3aa9 Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Benoit Marty
7baaac09ba Add missing test for LogoutView 2024-01-09 17:53:24 +01:00
Benoit Marty
0628ceabc1 Iterate on EnsureCalledOnce devX 2024-01-08 10:07:48 +01:00
Benoit Marty
ba2c297118 Add run method to EnsureCalledOnce and EnsureCalledOnceWithParam to ensure that assertSuccess is always called. 2024-01-08 10:01:26 +01:00
Benoit Marty
6798352fb7 Use string resource instead of hard-coded strings. 2024-01-08 09:50:08 +01:00
Benoit Marty
a0eceeae8b Fix test in release. 2024-01-05 18:20:26 +01:00
Benoit Marty
69e8384163 Add first tests on compose click interaction. 2024-01-05 18:00:44 +01:00
Benoit Marty
d4c41e38cc Fix flaky test using deterministic awaitFirstItem instead of awaitLastSequentialItem 2024-01-05 09:31:54 +01:00
Benoit Marty
bd91dd64e2 Rename Async to AsyncData 2024-01-04 16:30:56 +01:00
Benoit Marty
da23628c8a Introduce AsyncAction with a Confirmation state and use it for logout action. 2024-01-04 15:56:16 +01:00