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
renovate[bot]
0dac449fec
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
a064fb4fab
Sync Strings from Localazy
2024-09-23 00:23:49 +00:00
bmarty
e0c24c0f1c
Sync Strings from Localazy
2024-09-16 18:40:24 +00:00
Jorge Martin Espinosa
03786c1fd2
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
62a6e916a6
Migrate license to AGPL - XML files.
2024-09-06 17:43:35 +02: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
d6d7b100ec
Ensure starting PinUnlockActivity does not crash the application.
...
Fix regression from #3222 fc6436dada
2024-08-30 16:15:54 +02:00
Benoit Marty
f0952240a0
Fix test.
2024-08-29 12:38:58 +02:00
Benoit Marty
6657ebf42a
Provide dark theme parameter.
2024-08-29 12:23:39 +02:00
Benoit Marty
fae47143f1
Ensure success logout url is opened in all cases.
2024-08-29 12:16:38 +02:00
Benoit Marty
ef62d56c9a
Change PinUnlockState.signOutAction type to AsyncAction.
2024-08-29 11:49:57 +02:00
Benoit Marty
329c0670ed
Make LogoutUseCase.logout return the result of the SDK method.
2024-08-29 11:47:22 +02:00
bmarty
1b064a008f
Sync Strings from Localazy
2024-08-26 00:25:40 +00:00
bmarty
5765d9bf9f
Sync Strings from Localazy
2024-08-19 00:25:36 +00:00
bmarty
d288ace4bd
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ganfra
b974032e64
Merge branch 'develop' into feature/jme/add-simplified-sliding-sync-toggle
2024-07-24 17:35:57 +02:00
ElementBot
9522569860
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-07-22 08:59:47 +00:00
Jorge Martín
fc6436dada
Unify the internal pinunlock.SignOut and the new LogoutUseCase classes
2024-07-19 19:51:49 +02:00
Benoit Marty
3b46ab6523
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
88ed1b6262
Fix typo.
2024-07-16 15:47:21 +02:00
Benoit Marty
922f65cc96
Some renaming.
2024-07-10 16:27:29 +02:00
Benoit Marty
21fafe2fc9
No need to be a member of the class.
2024-07-10 16:26:09 +02:00
Benoit Marty
6d65c90e81
Some renaming.
2024-07-10 16:25:20 +02:00
Benoit Marty
1a94be4e9e
Rework. Keep io.element.android.appconfig.LockScreenConfig as simple as possible.
2024-07-10 16:25:20 +02:00
Benoit Marty
29b115dfdf
Introduce ElementThemeApp to avoid code duplication.
2024-07-09 11:10:10 +02:00
Benoit Marty
7c37cdee5f
Ensure PinUnlockActivity and IncomingCallActivity use the internal theme set by the user.
2024-07-08 18:17:44 +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
Benoit Marty
de0382eab4
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
57510316ec
Sync Strings from Localazy
2024-06-10 00:17:04 +00:00
bmarty
f501f27d27
Sync Strings from Localazy
2024-06-03 00:24:07 +00: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
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
8967b6c959
Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
...
Iterate on preference design
2024-05-28 00:36:28 +02:00
Benoit Marty
9065e9d2eb
Merge pull request #2921 from element-hq/sync-localazy
...
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
a57b9cb49f
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
c71656df0c
Rename class (code quality)
2024-05-23 14:42:06 +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
Benoit Marty
19100bed9f
Correct date for Copyright
2024-05-21 11:10:43 +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
ganfra
7146d2a8f8
Fix modal contents overlapping screen lock pin #2692
2024-05-17 18:40:16 +02:00
bmarty
602b3988e4
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
bmarty
d2eb0d9820
Sync Strings from Localazy
2024-05-06 00:19:35 +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
e37cbad059
Sync Strings from Localazy
2024-04-22 00:18:11 +00:00