Commit Graph

6812 Commits

Author SHA1 Message Date
Valere
3da5641e2b Client side validation of alias max length 2021-10-04 10:57:54 +02:00
Adam Brown
e0a6e82661
Merge pull request #4124 from vector-im/feature/bca/spaces_fix_3048
Change call to action in filter room when space selected
2021-10-04 09:12:19 +01:00
Benoit Marty
0a6b71d27d ktlint 2021-10-04 09:58:14 +02:00
Benoit Marty
36b7617483 Add comment about copy/paste code 2021-10-04 09:55:01 +02:00
Benoit Marty
289b7e2d53 add missing import after rebase 2021-10-04 09:55:01 +02:00
Benoit Marty
9735bc6ee3 Add a fallback for user displayName when this one is null or empty, so that the application can customize the dispay name 2021-10-04 09:55:01 +02:00
Benoit Marty
a0cd7163c6
Merge pull request #4116 from vector-im/feature/bca/spaces_fix_3933
App doesn't take you to a Space after choosing to Join it
2021-10-04 09:49:42 +02:00
Benoit Marty
f6b6725467 Text is always set at runtime now. 2021-10-04 09:44:53 +02:00
Benoit Marty
b1b5ff8a09
Merge pull request #3772 from pvagner/voiceMessageA11Y
Improve accessibility of voice messages
2021-10-03 15:45:09 +02:00
Benoit Marty
f5375c7af2 Run ./gradlew ktlintFormat 2021-10-02 11:49:28 +02:00
ganfra
0e01c64f69 Mavericks: continue removing reference to old MvRx API 2021-10-01 18:27:36 +02:00
Benoit Marty
1dd2d410e0
Merge pull request #3657 from SpiritCroc/notification_repetition
Do not notify again for old events
2021-10-01 18:20:53 +02:00
ganfra
43c75bdae7 Mavericks 2: replace asyncSubscribe by onAsync 2021-10-01 18:11:41 +02:00
ganfra
96b5d1c96b Mavericks 2: initialize with debug instead of context 2021-10-01 18:11:14 +02:00
ganfra
2ef4cd276b Mavericks 2: replace selectSubscribe by onEach 2021-10-01 18:04:06 +02:00
Benoit Marty
587c634a49
Merge pull request #3957 from vector-im/feature/bma/ktlint_cleanup
Install ktlint plugin
2021-10-01 18:03:38 +02:00
Benoit Marty
242b17294d
Merge pull request #4083 from vector-im/feature/bca/spaces_fix_4045
Fix default encrypted for restricted
2021-10-01 17:59:47 +02:00
Benoit Marty
b4247550ec run ktlint after rebase 2021-10-01 17:20:30 +02:00
ganfra
606cddc826 Mavericks 2: replace MvRxViewModelFactory by MavericksViewModelFactory 2021-10-01 17:11:53 +02:00
ganfra
d63e1ecfea Mavericks 2: replacing rx by flow 2021-10-01 17:08:09 +02:00
ganfra
bbce37e694 Mavericks 2: start replacing rx by flow 2021-10-01 16:34:47 +02:00
Benoit Marty
63d71cf56f
Merge branch 'develop' into feature/bma/ktlint_cleanup 2021-10-01 15:54:21 +02:00
ganfra
9337e0e76d Mavericks 2: create sdk flow module 2021-10-01 15:19:48 +02:00
Benoit Marty
679f0a5940 Ensure initial sync progress dialog is hidden when the initial sync is over 2021-10-01 15:03:23 +02:00
Benoit Marty
8644363005
Merge pull request #4125 from vector-im/feature/fga/text_composer_extract
Feature/fga/text composer extract
2021-10-01 14:44:51 +02:00
Benoit Marty
11e7ae3c7e Fix compilation error 2021-10-01 14:24:53 +02:00
Benoit Marty
6983e1be55 Split long lines 2021-10-01 14:24:07 +02:00
Benoit Marty
d1e9f3131a Big annoying commit: execute command ./gradlew ktlintFormat - Fix "colon-spacing" 2021-10-01 13:31:15 +02:00
Benoit Marty
a1caccbcc8 Big annoying commit: execute command ./gradlew ktlintFormat - Fix "chain-wrapping" 2021-10-01 13:31:15 +02:00
Benoit Marty
2ca3c68611 Big annoying commit: execute command ./gradlew ktlintFormat - Fix "import-ordering" 2021-10-01 13:31:15 +02:00
ganfra
f6b81b36d0 Mavericks 2: switch from MvRxState to MavericksState 2021-10-01 10:08:06 +02:00
ganfra
45509a68bb TextComposer: fix ktlint 2021-10-01 09:43:57 +02:00
ganfra
2324bf5d05 Mavericks 2: include the libs and make it compile 2021-09-30 19:52:37 +02:00
Ekaterina Gerasimova
d6da4f7834 Fix typo in string
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-30 15:58:22 +01:00
Benoit Marty
3719382569
Merge pull request #3953 from vector-im/dependabot/gradle/androidx.work-work-runtime-ktx-2.6.0
Bump work-runtime-ktx from 2.5.0 to 2.6.0
2021-09-30 14:25:43 +02:00
Benoit Marty
3f7e810f14 Handle change from WorkManager 2.6.0.
https://developer.android.com/jetpack/androidx/releases/work#2.6.0
2021-09-30 12:06:57 +02:00
ganfra
3df004b035 Merge branch 'develop' into feature/fga/text_composer_extract 2021-09-30 12:02:27 +02:00
ganfra
535a2c931b Clean code and add changelog 2021-09-30 12:02:05 +02:00
Valere
4880df3555 Change call to action in filter room when space selected 2021-09-30 11:58:21 +02:00
ganfra
a171f1912a TextComposer: makes animation ok 2021-09-30 11:57:57 +02:00
Benoit Marty
5d51431c60
Merge pull request #4078 from abaker/android_auto
Add Android Auto notification support
2021-09-30 11:29:58 +02:00
Valere
2605433a3d Code review 2021-09-30 09:15:13 +02:00
ganfra
6b3a407b79 TextComposer: continue reworking. WIP 2021-09-29 19:21:11 +02:00
Benoit Marty
d5f9d8086a
Merge pull request #4049 from vector-im/dependabot/gradle/com.arthenica-ffmpeg-kit-audio-4.5
Bump ffmpeg-kit-audio from 4.4.LTS to 4.5
2021-09-29 17:10:31 +02:00
Benoit Marty
0033378f8b
Merge pull request #4050 from vector-im/dependabot/gradle/kotlin-1.5.31
Bump kotlin from 1.5.30 to 1.5.31
2021-09-29 17:09:39 +02:00
Benoit Marty
c0adde56df
Merge pull request #4027 from vector-im/feature/fre/permalink
Add client base url support for permalinks
2021-09-29 17:08:12 +02:00
Benoit Marty
a9525bf92c
Merge pull request #4118 from vector-im/feature/bca/spaces_fix_3935
Fix do not hide toolbar on scroll
2021-09-29 16:35:56 +02:00
Valere
3d38ec7aeb Fix do no hide toolbar on scroll 2021-09-29 15:09:59 +02:00
Benoit Marty
856fc8f976
Merge pull request #4092 from ryg-git/issue-3869
Focus on search bar when opening reaction view
2021-09-29 15:07:07 +02:00
Benoit Marty
357d7ee338
Merge pull request #4115 from vector-im/feature/adm/login-key-verification-flow
Skipping passphrase screen when no passphrase is available
2021-09-29 15:04:58 +02:00
Benoit Marty
31a7bfed02 version++ 2021-09-29 14:56:10 +02:00
Valere
cdc6b7e7d5 Remove listener use fragmentCallback 2021-09-29 14:40:18 +02:00
Adam Brown
b55e94b938 extracting the rx instant setup to a reuseable test rule 2021-09-29 13:23:40 +01:00
Adam Brown
daa3125e57 adding test cases around the SharedSecureStorageViewModel initial state and back flow
- introduces a temporary workaorund the unit tests Mavericks by including a no op LifecycleRegistry
- manually sets instant rx schedulers via the static helpers, the layers that set the schedulers are not currently injectable
2021-09-29 13:14:22 +01:00
Adam Brown
edce14f48f when the keyinfo doesn't contain a passphrase we shouldn't view the passphrase screen
fixed by handling the back case to skip the passphrase screen if we don't have one
2021-09-29 13:11:19 +01:00
Weblate
e3e18b4ce8 Merge branch 'origin/develop' into Weblate. 2021-09-29 10:05:06 +00:00
Jeff Huang
126478beba Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-09-29 10:01:44 +00:00
sr093906
ad42a966f1 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-09-29 10:01:40 +00:00
Besnik Bleta
cefe964512 Translated using Weblate (Albanian)
Currently translated at 99.5% (2646 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-09-29 10:01:35 +00:00
Nikita Epifanov
ab23a12761 Translated using Weblate (Russian)
Currently translated at 99.2% (2638 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-09-29 10:01:31 +00:00
lvre
4fb6404178 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-09-29 10:01:26 +00:00
random
64f07d6fea Translated using Weblate (Italian)
Currently translated at 99.8% (2655 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-09-29 10:01:21 +00:00
Szimszon
535c4861ff Translated using Weblate (Hungarian)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-09-29 10:01:17 +00:00
Danial Behzadi
96b9db2d38 Translated using Weblate (Persian)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-09-29 10:01:12 +00:00
Priit Jõerüüt
36edab888d Translated using Weblate (Estonian)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-09-29 10:01:07 +00:00
Tirifto
455f290a36 Translated using Weblate (Esperanto)
Currently translated at 98.3% (2614 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2021-09-29 10:01:02 +00:00
libexus
c869427e45 Translated using Weblate (German)
Currently translated at 98.6% (2622 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-29 10:00:55 +00:00
waclaw66
5b80f7b1a8 Translated using Weblate (Czech)
Currently translated at 100.0% (2658 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-09-29 10:00:52 +00:00
Zet
4077216c1e Translated using Weblate (Arabic)
Currently translated at 36.4% (968 of 2658 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-09-29 10:00:47 +00:00
Benoit Marty
254e849db2
Merge pull request #4105 from vector-im/feature/ons/fix_failed_message_crash
Fix crash to render failed message warning stub
2021-09-29 11:54:35 +02:00
Valere
d24f448c70 App doesn't take you to a Space after choosing to Join it 2021-09-29 10:50:29 +02:00
dependabot[bot]
ae3e6a0706
Bump seismic from 1.0.2 to 1.0.3
Bumps [seismic](https://github.com/square/seismic) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/square/seismic/releases)
- [Changelog](https://github.com/square/seismic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/seismic/compare/seismic-parent-1.0.2...seismic-parent-1.0.3)

---
updated-dependencies:
- dependency-name: com.squareup:seismic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 23:06:09 +00:00
Benoit Marty
701b0fbeef
Merge pull request #4100 from vector-im/feature/adm/vector-tinting
Missing vector tinting
2021-09-28 22:44:18 +02:00
Onuray Sahin
e4d39880fd Fix crash to render failed message warning stub. 2021-09-28 20:43:54 +03:00
ganfra
9815dfe449 Text composer: start extracting in a dedicated ViewModel/State/Action/Events 2021-09-28 18:54:48 +02:00
Adam Brown
458c423dab removing unused drawable 2021-09-28 15:41:16 +01:00
Alex Baker
2d707720f6 Fix settings crash when accelerometer unavailable
Signed-off-by: Alex Baker <alex@beeper.com>
2021-09-28 09:34:38 -05:00
Adam Brown
12ca487e93 using the existing theme utils logic for reading attributes 2021-09-28 14:57:59 +01:00
Benoit Marty
23615c0038
Merge pull request #4091 from vector-im/feature/adm/verify-exported-keys-output
Verify exported keys output
2021-09-28 15:14:34 +02:00
Adam Brown
0d737a9a5d removing unused import 2021-09-28 13:11:19 +01:00
Adam Brown
2fee68e0d0 tinting the radio buttons to the colorPrimary 2021-09-28 12:42:49 +01:00
Adam Brown
a66d88abb3 tinting the voice locked vector to the colorPrimary
- extracts a helper extension for tinting image resources
2021-09-28 12:35:46 +01:00
Adam Brown
3a79a7595d tinting the in progress recording icon to the colorPrimary
- creates extension helpers for tinting and reading theme attributes
-extracts the background from the recording vector icon and set as a separate tintable background drawable
2021-09-28 12:26:41 +01:00
Adam Brown
0eef248d7d tinting the jump to unread view to the colorPrimary
- the vector itself is set to an obvious red to highlight an incorrect usage (we should tint at the consumer to allow for reuse/preparing for design components/compose)
2021-09-28 11:33:46 +01:00
Benoit Marty
7d7ea3b9ad Avoid multiple PRs from Dependabot when a new version of com.vanniktech:emoji* is available
Not updating the vesion here, dependabot will do it.
2021-09-28 11:29:52 +02:00
Benoit Marty
6d91482da1
Merge pull request #4013 from vector-im/feature/bma/a11y_guidelines
Update pull request checklist
2021-09-28 10:01:13 +02:00
ryg-git
7d911fff17 Focus on search bar when opening reaction view 2021-09-27 22:41:34 +05:30
Adam Brown
399b2a13ee fixing exception message parameter ordering 2021-09-27 18:08:32 +01:00
Adam Brown
19d1d981c3 linting 2021-09-27 17:39:21 +01:00
Adam Brown
509c61c1a8 extracting the test fakes to their own package 2021-09-27 17:23:07 +01:00
Adam Brown
ac0c7067e0 updating the keys exporter to validate the generated file size in an attempt to warn the user of malformed outputs
- injects the io dispatcher to allow the testing
- adds unit tests around the different error flows
2021-09-27 17:23:07 +01:00
Adam Brown
789cc6b597 exlcuding the slf4j logger from the test dependencies
the videocache dependency includes slf4j which in turn causes mockk to reflectively attempt to call real Log functions, which crashes the units tests due to the stub android.jar
2021-09-27 17:23:03 +01:00
Adam Brown
e6eb86538f wrapping the Dispatcher.IO and making it injectable for testing 2021-09-27 16:57:05 +01:00
Benoit Marty
9f93850046
Keep LTS version 2021-09-27 16:22:00 +02:00
Benoit Marty
906da76727 Fix warning "This expression will be resolved to Int in future releases. Please add explicit conversion call" 2021-09-27 15:55:58 +02:00
Benoit Marty
5b5dcf988d Version++ 2021-09-27 13:09:58 +02:00
Benoit Marty
f39d2b141e Wait for emoji to load, it's async now
Testing before release 1.3.0
2021-09-27 12:56:05 +02:00
Benoit Marty
53c8862ca2 Change version to 1.3.0 2021-09-27 11:57:23 +02:00
Weblate
28e84d06c4 Merge branch 'origin/develop' into Weblate. 2021-09-27 08:05:09 +00:00
Andrejs
4b5a1d06c3 Translated using Weblate (Latvian)
Currently translated at 77.9% (2039 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-09-27 08:04:59 +00:00