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
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
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +00:00
renovate[bot]
9756afc5d1
Update dependency androidx.compose:compose-bom to v2024.09.00 ( #3399 )
...
* Update dependency androidx.compose:compose-bom to v2024.09.00
* Adapt code for changes.
* Workaround crash when closing the RTE
* Fix broken bottom sheet colors and shape
* Fix tons of warnings and deprecations
* Fix lint issues
* Fix more M3 update changes
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 09:30:20 +02:00
bmarty
1768f24fd0
Sync Strings from Localazy
2024-09-23 00:23:49 +00:00
bmarty
bb0a281342
Sync Strings from Localazy
2024-09-16 18:40:24 +00:00
Jorge Martin Espinosa
663362ac7f
Add forced logout flow when the proxy is no longer available ( #3458 )
...
* Add `MatrixClient.isSlidingSyncProxySupported` function
* Update localazy strings
* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.
Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.
* Check if a forced migration to SSS is needed because the proxy is no longer available.
In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.
* Enable native/simplified sliding sync by default.
* Refactor the login to make sure we:
1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).
* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-16 09:13:02 +00:00
Benoit Marty
375ac25d8d
Migrate license to AGPL - XML files.
2024-09-06 17:43:35 +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
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
aae44875bd
Fix test.
2024-08-29 12:38:58 +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
a6e2a5d81f
Change PinUnlockState.signOutAction type to AsyncAction.
2024-08-29 11:49:57 +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
Benoit Marty
0db221e953
Ensure that pinKeyMaxWidth and pinKeyMaxHeight are never negative.
...
Fix crash `Exception: java.lang.IllegalStateException: lineHeight can't be negative`
Can be due to the rendering when the Activity is animated maybe?
2024-07-16 16:01:45 +02:00
Benoit Marty
459c99e45f
Fix typo.
2024-07-16 15:47:21 +02:00
Benoit Marty
eb8d7e2166
Some renaming.
2024-07-10 16:27:29 +02:00
Benoit Marty
85428fbcfb
No need to be a member of the class.
2024-07-10 16:26:09 +02:00
Benoit Marty
d1a4fd76de
Some renaming.
2024-07-10 16:25:20 +02:00
Benoit Marty
6d6de1ae3d
Rework. Keep io.element.android.appconfig.LockScreenConfig as simple as possible.
2024-07-10 16:25:20 +02:00
Benoit Marty
bb5ae89b2f
Introduce ElementThemeApp to avoid code duplication.
2024-07-09 11:10:10 +02:00
Benoit Marty
9856ece42a
Ensure PinUnlockActivity and IncomingCallActivity use the internal theme set by the user.
2024-07-08 18:17:44 +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
Benoit Marty
fdc81c4b95
Fix wrong dependencies.
...
Detected by Sonar: https://sonarcloud.io/project/issues?id=vector-im_element-x-android&open=AY1oUC_Jzk7jMkPkjDmI
2024-06-13 16:55:42 +02:00
bmarty
f3d286911c
Sync Strings from Localazy
2024-06-10 00:17:04 +00:00
bmarty
66636ea967
Sync Strings from Localazy
2024-06-03 00:24:07 +00: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
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
d0b2233a7b
Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
...
Iterate on preference design
2024-05-28 00:36:28 +02:00
Benoit Marty
3a39e2a3ec
Merge pull request #2921 from element-hq/sync-localazy
...
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
34f7819702
Let Preference composables use ListItem.
...
Let PreferenceCheckbox use ListItem and add missing previews.
Let PreferenceCategory use ListSectionHeader
Let PreferenceSlide use ListItem
Let PreferenceRow use ListItem
Let PreferenceText use ListItem
2024-05-27 12:19:10 +02:00
Benoit Marty
7911fda1fa
Rename class (code quality)
2024-05-23 14:42:06 +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
Benoit Marty
5c4326eec5
Correct date for Copyright
2024-05-21 11:10:43 +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
ganfra
b0c369ee1a
Fix modal contents overlapping screen lock pin #2692
2024-05-17 18:40:16 +02:00
bmarty
0910da0a14
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
bmarty
68fdaef8b8
Sync Strings from Localazy
2024-05-06 00:19:35 +00:00