Commit Graph

19118 Commits

Author SHA1 Message Date
Benoit Marty c6e1154744 Set up gradle doctor plugin 2022-09-27 10:20:02 +02:00
ganfra 92be6d1b49 Merge branch 'main' into develop 2022-09-23 12:20:00 +02:00
ganfra 8d112a47d7 Merge branch 'hotfix/1.5.0_disable_applayout' into main 2022-09-23 12:20:00 +02:00
ganfra f8ed3520f5 Applayout: disable applayout by default 2022-09-23 11:45:34 +02:00
Benoit Marty 56189a2d5d
Merge pull request #7211 from vector-im/feature/bma/prevent_modification_of_translations
Prevent modification of translations
2022-09-23 10:46:38 +02:00
ganfra cb6d0a66cb Merge branch 'hotfix/1.5.0_v2' into main 2022-09-22 18:18:26 +02:00
ganfra 40e304a4ff Merge branch 'main' into develop 2022-09-22 18:18:26 +02:00
ganfra 8d94643ff7 RoomList: revert changes on LiveData and fix previous issues (not updated list) 2022-09-22 18:17:55 +02:00
Benoit Marty a5ab942097 Add TOC to CONTRIBUTING.md 2022-09-22 17:52:52 +02:00
Benoit Marty a07761dedb Fix issue with knit. 2022-09-22 17:48:38 +02:00
Benoit Marty c56f33a939 Add changelog 2022-09-22 17:36:08 +02:00
Benoit Marty 60bfd0dd42
Merge pull request #7159 from vector-im/feature/bma/fix_new_lint_warning
Fix lint warning
2022-09-22 17:35:10 +02:00
Benoit Marty 6e2ce10f65 Add a note for string reordering 2022-09-22 17:22:58 +02:00
Benoit Marty 97c3623f89 Add a note for plurals 2022-09-22 17:22:58 +02:00
Benoit Marty 729eba750b Add link to the file values/strings.xml, and fix typo in the path. 2022-09-22 17:22:58 +02:00
Benoit Marty a7856db218 Add a section about renaming id of String resource 2022-09-22 17:10:46 +02:00
Benoit Marty cefe2e9ef4 Add a rule to Danger to check that translation files are not modified by developers. 2022-09-22 17:03:45 +02:00
Benoit Marty f4c5cba020
Merge pull request #7126 from vector-im/feature/bma/arch_doc
Architecture doc
2022-09-22 16:41:17 +02:00
Adam Brown 65156a8ece
Merge pull request #7198 from vector-im/feature/adm/configurable-sync-timeout
Allow configurable sync timeout
2022-09-22 15:40:58 +01:00
Benoit Marty 828413c2c5 Fix some typo 2022-09-22 16:40:34 +02:00
Benoit Marty 086a6ee9a1 Update after Ganfra's review 2022-09-22 16:39:35 +02:00
Benoit Marty 3600e374f2 Avoid code duplication 2022-09-22 16:34:07 +02:00
Benoit Marty 0559911f39 Fix non passing tests 2022-09-22 16:34:07 +02:00
Benoit Marty 7f5c712e88 No need to use `@SuppressLint("NewApi")` when `@ChecksSdkIntAtLeast` is used - more cleanup 2022-09-22 16:34:07 +02:00
Benoit Marty 658a09ea6a No need to use `@SuppressLint("NewApi")` when `@ChecksSdkIntAtLeast` is used. 2022-09-22 16:32:14 +02:00
Benoit Marty 5886245bbf Reverse condition for code clarity with `ChecksSdkIntAtLeast` 2022-09-22 16:32:14 +02:00
Benoit Marty 0910b118ff Changelog 2022-09-22 16:32:14 +02:00
Benoit Marty 2bda97224c Cleanup 2022-09-22 16:32:14 +02:00
Benoit Marty 2266723789 Remove `DefaultSharedPreferences` since we now have @DefaultPreferences which provide a singleton. 2022-09-22 16:32:14 +02:00
Benoit Marty c735ea5e3d Remove duplication between `KeysBackupBanner.State` and `ServerBackupStatusViewModel.BannerState` and move the some logic to the ViewModel 2022-09-22 16:32:14 +02:00
Benoit Marty b4494ee8ea Remove `DefaultSharedPreferences` since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
2022-09-22 16:32:14 +02:00
Benoit Marty 5736c8f648 Remove `DefaultSharedPreferences` since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
2022-09-22 16:32:14 +02:00
Benoit Marty 0324927b04 Create VectorLocaleProvider, to just read the current Locale from the SharedPreference 2022-09-22 16:32:14 +02:00
Benoit Marty d8436874e2 Fix `StaticFieldLeak` issue (context).
Make VectorLocal an injectable class.
2022-09-22 16:32:14 +02:00
Benoit Marty 7e8a39e6de Suppress `LaunchActivityFromNotification`. This is fine here, this is the notification for the diagnostic, we do not want to start an Activity. 2022-09-22 16:32:14 +02:00
Benoit Marty 832a472b57 Add `@ChecksSdkIntAtLeast` annotation, to be able to remove `AndroidVersionTestOverrider` 2022-09-22 16:32:14 +02:00
Benoit Marty bb2eb56ee6 Add `@ChecksSdkIntAtLeast` annotation. 2022-09-22 16:32:14 +02:00
Benoit Marty 1ff4a5f212 Ignore `AlwaysShowAction` lint issue. Also make it an error, so that developer has to explicitly disable the warning. 2022-09-22 16:32:14 +02:00
Benoit Marty 151f6245db
Merge pull request #6929 from vector-im/feature/bma/android12
Target API 32 (Android 12)
2022-09-22 16:30:04 +02:00
Benoit Marty e98bfe5c9b
Merge pull request #7156 from vector-im/feature/mna/device-manager-verify-other-session
[Device management] Verify another session (PSG-722)
2022-09-22 11:46:28 +02:00
Benoit Marty 4e30bc86b8
Merge pull request #7139 from vector-im/feature/mna/device-manager-verify-current-session
[Device management] Verify current session (PSG-722)
2022-09-22 11:46:07 +02:00
ganfra fabfe36ede Update versions to 1.5.2 2022-09-22 10:31:31 +02:00
ganfra 21806efaa5 Merge branch 'release/1.5.0' into main 2022-09-22 10:28:04 +02:00
ganfra 2a9cf32829 Merge branch 'main' into develop 2022-09-22 10:28:04 +02:00
ganfra 14e7c913df Release 1.5.0: update CHANGES 2022-09-22 09:50:50 +02:00
ganfra d08b33ec07 Translations: fix some mispells 2022-09-22 09:45:06 +02:00
ganfra 619791d24f
Merge pull request #7201 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-09-21 21:40:06 +02:00
Danial Behzadi 1446e8f50b Translated using Weblate (Persian)
Currently translated at 99.8% (2415 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-09-21 19:16:35 +00:00
Auri B. P 401ce61930 Translated using Weblate (Catalan)
Currently translated at 98.7% (2389 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-09-21 19:16:32 +00:00
ganfra feb33ce32b Translation: cleanup remaining TODOs 2022-09-21 19:43:47 +02:00