Benoit Marty
269551366c
Let FakeKnockRoom and FakeLogoutUseCase use simulateLongTask
2024-10-16 10:03:19 +02: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
a100676f4b
Remove dependencies to other presenters from PreferencesRootPresenter.
...
Also do some renaming since DirectLogoutPresenter interface can be removed.
2024-10-07 17:45:17 +02:00
bmarty
e25ba65170
Sync Strings from Localazy
2024-10-07 00: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
Jorge Martin Espinosa
67e262fdc8
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
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
Jorge Martin Espinosa
2c8b0d0b95
Make sure to save the tokens the Client might return when its session is restored ( #3378 )
...
* Use `ClientSessionDelegate` to ensure tokens are always updated.
Refreshed tokens on client restoration might not have been stored to disk if the token refresh happened before `RustMatrixClient` was built and the `ClientDelegate` was set in it.
Using `ClientSessionDelegate` should ensure the tokens refreshed callback is called at any point in time.
* Improve how assigning the Client works, fix docs
* Fix review comments
2024-09-04 10:54:31 +02:00
Benoit Marty
61f9b20554
Ensure starting PinUnlockActivity does not crash the application.
...
Fix regression from #3222 d4f8052696
2024-08-30 16:15:54 +02:00
Benoit Marty
460e095e78
Provide dark theme parameter.
2024-08-29 12:23:39 +02:00
Benoit Marty
cfbd0c4c02
Ensure success logout url is opened in all cases.
2024-08-29 12:16:38 +02:00
Benoit Marty
1026a296e3
Make LogoutUseCase.logout return the result of the SDK method.
2024-08-29 11:47:22 +02:00
bmarty
cd267249ec
Sync Strings from Localazy
2024-08-26 00:25:40 +00:00
bmarty
3e67448006
Sync Strings from Localazy
2024-08-19 00:25:36 +00:00
bmarty
76804d9e48
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ganfra
60fdee32bf
Merge branch 'develop' into feature/jme/add-simplified-sliding-sync-toggle
2024-07-24 17:35:57 +02:00
ElementBot
1f01bd73c4
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
Jorge Martín
d4f8052696
Unify the internal pinunlock.SignOut and the new LogoutUseCase classes
2024-07-19 19:51:49 +02:00
Jorge Martín
ff6ea43237
Don't reset the SSS toggle when logged out.
...
Instead, force a logout when toggling the option so user needs to log in again and create a new session using SSS.
2024-07-19 16:32:25 +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
11711e8f67
Remove empty manifest files.
2024-06-13 18:20:19 +02:00
Benoit Marty
07dfd907c6
Delete useless file.
2024-06-13 18:20:19 +02:00
bmarty
f3d286911c
Sync Strings from Localazy
2024-06-10 00:17:04 +00:00
Jorge Martin Espinosa
c8bd04ceb1
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
f5a0e83cb2
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
ca5bc71057
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
e97e21e785
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
37d9a9f5a9
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
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
9db215c2a9
Cleanup dependencies about junit.
2024-05-21 18:14:32 +02:00
ganfra
ac123bdcd8
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
73905fa695
Pin : clean up after PR review #2692
2024-05-20 16:34:26 +02:00
bmarty
83a8a631f2
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
0910da0a14
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
Benoit Marty
0476bd95c8
Open user profile and room with event from permalink
2024-05-02 12:25:21 +02:00
bmarty
4f82baa2b0
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
bmarty
5809864182
Sync Strings from Localazy
2024-04-01 00:17:18 +00:00
bmarty
c021809479
Sync Strings from Localazy
2024-03-12 13:54:03 +00:00
ElementBot
dac54e7154
Sync Strings ( #2523 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
Benoit Marty
6d31c7d1d3
Import string again with new post processing.
2024-02-26 21:36:28 +01:00
bmarty
5c8be8f61f
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Benoit Marty
b9933acf98
Sync Localazy strings - including post treatment.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
f465a907b7
Preview must be internal.
2024-02-22 16:18:34 +01:00
Benoit Marty
df951851da
Fix copyright date on new files.
2024-02-22 15:59:44 +01:00
Benoit Marty
0f97f76089
Create extension to cleanup LogoutViewTest
2024-02-22 14:32:18 +01:00
Benoit Marty
8c2ff7bcc2
Add test on DefaultDirectLogoutView
2024-02-22 14:28:17 +01:00
Benoit Marty
016081e07e
Add more states in DirectLogoutStateProvider
2024-02-22 14:03:59 +01:00