Commit Graph

6937 Commits

Author SHA1 Message Date
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
Valere
97dc07f8c9 Fix default encrypted for restricted
+ hide restricted rule if no current space selected
2021-09-27 09:52:54 +02:00
Graeme Power
3aaffc8a8f Translated using Weblate (Irish)
Currently translated at 7.6% (201 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ga/
2021-09-26 14:25:54 +00:00
Ihor Hordiichuk
ef5208a0e4 Translated using Weblate (Ukrainian)
Currently translated at 83.5% (2185 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-26 14:25:53 +00:00
Linerly
83b0ada342 Translated using Weblate (Indonesian)
Currently translated at 79.8% (2089 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-09-26 14:25:51 +00:00
artevaeckt
0b2125afe3 Translated using Weblate (German)
Currently translated at 99.1% (2594 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-26 14:25:30 +00:00
zeritti
cec018915e Translated using Weblate (Czech)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-09-26 14:25:30 +00:00
Alex Baker
09a25cce4e Add Android Auto notification support
Signed-off-by: Alex Baker <alex@beeper.com>
2021-09-24 16:43:00 -05:00
Benoit Marty
cde6e8cc1b
Merge pull request #4057 from vector-im/feature/bca/quick_invite_card_improvement
Improve invite bottom sheet
2021-09-24 20:46:12 +02:00
Benoit Marty
eb104d8758 Clean up 2021-09-24 20:45:50 +02:00
Benoit Marty
045e4bbf76
Merge pull request #4052 from vector-im/feature/adm/email_notification_toggle
Add email notification toggle
2021-09-24 20:42:44 +02:00
Valere
1fed27961a Code review 2021-09-24 19:35:49 +02:00
Valere
8318f2d38f fix CI 2021-09-24 18:44:04 +02:00
Valere
0acf90d8cd Code review 2021-09-24 18:12:12 +02:00
Valere
91ba17f71b Code review 2021-09-24 18:12:12 +02:00
Valere
5bb3e22868 cleaning 2021-09-24 18:12:12 +02:00
Valere
d59aaa7611 Support entering mail in user invite screen 2021-09-24 18:12:12 +02:00
Adam Brown
4482cbdaa6 using dedicated pusher removal methods for the different types of pushers
- also adds a separate removePusher which supports removing any type of pusher
2021-09-24 17:00:48 +01:00
Adam Brown
7fd794bd7a reusing existing setTextOrHide by adding an additional parameter to hide other views 2021-09-24 15:44:10 +01:00
Benoit Marty
5a8e789435
Merge pull request #4061 from vector-im/feature/bca/spaces_invite_notification_dot
Fix notif badge for space invite
2021-09-24 16:20:11 +02:00
Benoit Marty
ee59fe660f Improve formatting 2021-09-24 15:53:10 +02:00
Benoit Marty
3287980109 Cleanup and add changelog 2021-09-24 15:38:08 +02:00
dependabot[bot]
5e7e66b18c
Bump barista from 4.1.0 to 4.2.0
Bumps [barista](https://github.com/AdevintaSpain/Barista) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/AdevintaSpain/Barista/releases)
- [Commits](https://github.com/AdevintaSpain/Barista/compare/4.1.0...4.2.0)

---
updated-dependencies:
- dependency-name: com.adevinta.android:barista
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 07:53:52 +00:00
Benoit Marty
1b262a4df8
Merge pull request #4071 from vector-im/tools/adm/connected_tests
Fixing no tests found when running vector:connectedAndroidTest
2021-09-24 09:53:04 +02:00
Benoit Marty
863ba609df
Merge pull request #4029 from vector-im/feature/fga/fix_voip_issues
Feature/fga/fix voip issues
2021-09-24 09:43:39 +02:00
Adam Brown
7bd8890276 extracting orchestrator dependency to the dependencies.gradle file 2021-09-23 20:24:16 +01:00
Adam Brown
4f340f6b90 adding extra sleeps in order to get the tests completing more consistently locally 2021-09-23 20:21:24 +01:00
Benoit Marty
9c559a7c2c
Merge pull request #4065 from vector-im/feature/fga/improve_room_detail_start
Feature/fga/improve room detail start
2021-09-23 19:35:28 +02:00
Adam Brown
d7bc32d7ca including tech orchestrator in the vector module script, fixes the no tests found error 2021-09-23 17:22:19 +01:00
ganfra
8ecaaa08cf Fix MessageActionsBottomSheet not being shown on local echos #4068 2021-09-23 17:14:04 +02:00
Benoit Marty
e4bc60d255
Merge pull request #4020 from vector-im/dependabot/gradle/androidx.media-media-1.4.2
Bump media from 1.4.1 to 1.4.2
2021-09-23 15:53:17 +02:00
Adam Brown
3a1cb1c07a monitoring the ThreePids so that the notifications screen updates when returning from adding an email
- makes use of both sync and async fetching so that the page can avoid jumping around on the initial load
2021-09-23 14:46:07 +01:00
dependabot[bot]
6e010ad693
Bump ffmpeg-kit-audio from 4.4.LTS to 4.5
Bumps [ffmpeg-kit-audio](https://github.com/tanersener/ffmpeg-kit) from 4.4.LTS to 4.5.
- [Release notes](https://github.com/tanersener/ffmpeg-kit/releases)
- [Commits](https://github.com/tanersener/ffmpeg-kit/compare/v4.4.LTS...v4.5)

---
updated-dependencies:
- dependency-name: com.arthenica:ffmpeg-kit-audio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-23 12:24:46 +00:00
Adam Brown
0302d19f47 formatting 2021-09-23 13:20:01 +01:00
Adam Brown
43eff8b85b reusing existing remove string 2021-09-23 13:05:18 +01:00
Adam Brown
1d4c909b50 adding translator note about the enable email placeholder 2021-09-23 13:02:36 +01:00
Benoit Marty
e27fa5db12 Format 2021-09-23 13:55:04 +02:00
Adam Brown
1865e3c450 hiding the notification url/format UI fields when they're null (which is the case for email pushers) 2021-09-23 12:54:52 +01:00
Benoit Marty
6708d22da5 Kotlin compiler is not clever enough 2021-09-23 13:54:03 +02:00
Benoit Marty
75fb026289 Rename some classes after new feature implemented 2021-09-23 13:54:03 +02:00
Benoit Marty
306e3cf055 Improve log to track push and sync request
Also change some log level from d to v
2021-09-23 13:54:03 +02:00
Benoit Marty
93506d18fa Display push counter on debug mode 2021-09-23 13:54:03 +02:00
Benoit Marty
c163d2e271 Try to fix debug menu visibility. Still broken :/ 2021-09-23 13:54:03 +02:00
Benoit Marty
1ce48c4deb Add a dedicated setting to show debug info on screen 2021-09-23 13:54:03 +02:00
Benoit Marty
1cd6ec4448 Do not log eventId 2021-09-23 13:54:03 +02:00
Benoit Marty
05aff3314d Add error state 2021-09-23 13:54:03 +02:00
Benoit Marty
f5151463e2 Add the number of rooms and toDevice events in the debug data 2021-09-23 13:54:03 +02:00
Benoit Marty
63a84dcb8a Add incremental sync status to the room list and the room detail (only in developer mode) 2021-09-23 13:54:03 +02:00
Adam Brown
d31ad7e187 extracting constants for the pusher kinds and email appId 2021-09-23 12:33:48 +01:00
Adam Brown
4c4f2fce74 catching remove pusher errors in the notification targets screen
- displays a dialog with a human readable version of the error
2021-09-23 12:27:56 +01:00
ganfra
d9e9568c2e Clean code and update CHANGES 2021-09-23 13:19:29 +02:00
ganfra
fc5c6b9b00 RoomDetail: lazy load EmojiDataSource data (+ async) 2021-09-23 13:13:16 +02:00
Adam Brown
efec63e979 documenting the getEmails function and lifting it out of the class as it's not directly tied to the class 2021-09-23 12:02:46 +01:00
Adam Brown
8316728e53 removing this. usages where there's no clashes 2021-09-23 11:45:09 +01:00
Valere
9b02704d5b Code review 2021-09-23 09:52:20 +02:00
dependabot[bot]
654010570e
Bump libphonenumber from 8.12.32 to 8.12.33
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.32 to 8.12.33.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.32...v8.12.33)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 23:05:09 +00:00
ganfra
ebd5095662 Room detail: use ViewStub for FailedMessagesWarningView 2021-09-22 18:00:56 +02:00
Valere
636389d584 Fix notif badge for space invite 2021-09-22 17:26:36 +02:00
Valere
195fb6f6fc Improve invite bottom sheet 2021-09-22 14:53:01 +02:00
ganfra
290586948f Room detail: create lazy loaded views holder 2021-09-22 11:36:37 +02:00
random
261797e7ac Translated using Weblate (Italian)
Currently translated at 99.8% (2612 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-09-22 09:25:29 +00:00
Priit Jõerüüt
e113880ae8 Translated using Weblate (Estonian)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-09-22 09:25:28 +00:00
ganfra
fb10e9f113 Room detail : lazy load EmojiPopup and AutocompleteMemberPresenter 2021-09-22 11:07:36 +02:00
ganfra
5bf1761f27 Room detail: use StubView for InviteView 2021-09-21 18:31:17 +02:00
Adam Brown
0617179c20 removing trailing comma for lint 2021-09-21 15:59:29 +01:00
Adam Brown
03eb36636d capturing the original switch state at the point of clicking the switch rather than when the listener is initially set 2021-09-21 15:26:51 +01:00
Adam Brown
710f2f92cb cleaning up the notification email group xml definition to include a self closing tag
- the category is dynamically populated so we shouldn't be adding anything static here anyways!
2021-09-21 13:46:23 +01:00
Adam Brown
2c25efc36a making the removePusher more generic as it can handle email and http pushers
- Updates the doc to reflect that to remove emails an appId of m.email is required
2021-09-21 13:46:18 +01:00
Adam Brown
78d70eab12 enforcing emails pushes to always be appended
- always appending allows the same email to be used for other accounts see https://github.com/matrix-org/matrix-react-sdk/pull/2727 https://github.com/matrix-org/matrix-react-sdk/pull/2727/files#diff-ec232520bf51337e5e6939b885d21f428ad6da3306c8e17a3ff660b2b341179dR165
2021-09-21 11:32:33 +01:00
Adam Brown
516bb6ed95 lifting the email branding to its own parameter so clients of the sdk can configure it 2021-09-21 11:26:11 +01:00
Adam Brown
0b293d08cc handling errors when enabling/disabling email notifications
- Extracts out a transactional switch helper to handle reverting the switch back to its original state if an error occurs
- Reuses existing toast message for unknown error
- Does not include the isAdded to the async callback as the couroutine is tied to the fragment lifecycle scope
2021-09-21 11:16:09 +01:00
Adam Brown
410cf5c062 adding UI toggle for email notifications in /settings/notifications
- will display a _no emails_ when the matrix account has no emails set and tapping will navigate to the emails and phone numbers screen where the user can add an email
- toggling the email notification with register and unregister push notification for the given email address
2021-09-21 10:47:03 +01:00
Adam Brown
1591375aa2 adding ability to remove push targets from the notification target screen 2021-09-20 16:35:53 +01:00
Florian Renaud
fa3abecf8f Fix review 2021-09-20 15:18:06 +02:00
Valere
8036f50a6e Show mxto bottom sheet when tapping invite notification 2021-09-20 12:07:45 +02:00
Linerly
a48813003e Translated using Weblate (Indonesian)
Currently translated at 70.6% (1848 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-09-18 14:26:01 +00:00
waclaw66
bc85ae4bc9 Translated using Weblate (Czech)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-09-18 14:25:27 +00:00
Benoit Marty
f418683da5
Merge pull request #4014 from vector-im/feature/fga/hide_jitsi_event
Jitsi: introduces ConferenceEvent
2021-09-17 18:07:33 +02:00
Benoit Marty
b5f7351564
Merge pull request #4008 from vector-im/feature/fga/small_timeline_optimisation
Feature/fga/small timeline optimisation
2021-09-17 18:06:58 +02:00
Florian Renaud
e37fb313c0 Permalink: Merge LinkHandlerActivity with PermalinkHandlerActivity
Also convert links to matrix.to before permalink parsing
2021-09-17 17:19:32 +02:00
Florian Renaud
21d0a28150 Permalink: move supported hosts to config file 2021-09-17 16:46:09 +02:00
dependabot[bot]
a3a49593e4
Bump media from 1.4.1 to 1.4.2
Bumps media from 1.4.1 to 1.4.2.

---
updated-dependencies:
- dependency-name: androidx.media:media
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:29:35 +00:00
Benoit Marty
744523b200
Merge pull request #4017 from vector-im/feature/aris/optimize_global_gradle_variables
Optimize dependencies handling
2021-09-17 15:28:49 +02:00
Valere
33273955cb Fix unused var 2021-09-17 14:54:05 +02:00
Valere
d2af7e3f91 Code review 2021-09-17 14:26:25 +02:00
ariskotsomitopoulos
1dcf6b9539 Enhance dependencies handling to support Dependabot 2021-09-17 14:58:44 +03:00
Valere
6d023188da code review 2021-09-17 10:26:32 +02:00
Valere
f79681b343 Clean unneeded beta pills 2021-09-17 09:22:10 +02:00
Valere
932a43ef58 Add subspace action 2021-09-17 09:22:10 +02:00
ganfra
82864b2b98 Fix other call not always refreshed when ended #4028 2021-09-16 18:53:41 +02:00
Quang Trung
8092e8958d Translated using Weblate (Vietnamese)
Currently translated at 54.3% (1420 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-16 15:25:53 +00:00
Ihor Hordiichuk
7bf414ec8c Translated using Weblate (Ukrainian)
Currently translated at 82.8% (2167 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-16 15:25:48 +00:00
Linerly
653acee9de Translated using Weblate (Indonesian)
Currently translated at 53.0% (1386 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-09-16 15:25:45 +00:00
ganfra
226b0e6c9d Fix call screen stuck with some hanging up scenarios #4026 2021-09-16 12:04:18 +02:00
ganfra
bd9a187597 Fix sticky end call notification #4019 2021-09-16 11:50:26 +02:00
Valere
100ac49cac
Merge pull request #4000 from vector-im/feature/bca/fix_space_parent
Fix parent relation handling
2021-09-16 11:45:29 +02:00
Valere
421c2ae0ba Fix missing string resource 2021-09-16 10:30:43 +02:00
Valere
94f88c80fc Fix parent relation handling 2021-09-16 09:33:06 +02:00
Valere
cfed0f839b Code review 2021-09-16 09:20:25 +02:00
Valere
9a9a3d8cc6 Cherry pick room on leave space 2021-09-16 09:20:25 +02:00
Valere
8fd784e275 Improve leave space (all + none) 2021-09-16 09:20:25 +02:00
ariskotsomitopoulos
87fefdc7bb Add more dependencies to common dependencies.gradle 2021-09-15 20:22:52 +03:00
Valere
70ebb3a3f2 Code review 2021-09-15 18:48:40 +02:00
Valere
2c1435f08c Change default power to invite in private space + setting 2021-09-15 18:47:38 +02:00
ariskotsomitopoulos
c89b2c0536 Optimize dependencies handling 2021-09-15 13:21:25 +03:00
ganfra
0460a48c0c Fix DTMF not working #4015 2021-09-15 11:25:08 +02:00
Benoit Marty
1b59c7b451
Merge pull request #3989 from vector-im/feature/bca/space_fix_3956
Fix /  Kick user dialog for spaces talks about rooms
2021-09-14 20:35:40 +02:00
Benoit Marty
3575157f1c
Merge pull request #3976 from vector-im/feature/bca/space_team_invite_mail
Add invite by email screen in create space flow
2021-09-14 20:18:35 +02:00
ganfra
27d4f60578 Jitsi: introduces ConferenceEvent to avoid using directly Jitsi sdk from fragments/activities 2021-09-14 18:50:51 +02:00
Benoit Marty
1c2997e40e SpUsage lint rule is more about a11y 2021-09-14 15:57:24 +02:00
Valere
c0b01dff70 code review 2021-09-14 15:25:40 +02:00
Le Dang Trung
c69f0db5b4 Translated using Weblate (Vietnamese)
Currently translated at 52.3% (1368 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-14 08:25:40 +00:00
Nikita Epifanov
59d5cfbb24 Translated using Weblate (Russian)
Currently translated at 99.3% (2597 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-09-14 08:25:30 +00:00
random
0dc88c71ab Translated using Weblate (Italian)
Currently translated at 99.8% (2612 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-09-14 08:25:26 +00:00
Benoit Marty
db55693201 version++ 2021-09-13 15:29:51 +02:00
Benoit Marty
60004f02c3
Merge pull request #4002 from vector-im/feature/bma/fix_check_result
Fix annoying issue detected by lint (CheckResult)
2021-09-13 11:27:28 +02:00
Le Dang Trung
9c94fd26e2 Translated using Weblate (Vietnamese)
Currently translated at 47.8% (1250 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-12 08:25:35 +00:00
Ihor Hordiichuk
66ec25d8eb Translated using Weblate (Ukrainian)
Currently translated at 81.5% (2132 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-12 08:25:28 +00:00
jannikac
b5c08a13ff Translated using Weblate (German)
Currently translated at 98.8% (2585 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-12 08:25:28 +00:00
libexus
370b9cabf7 Translated using Weblate (German)
Currently translated at 98.8% (2585 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-09-12 08:25:27 +00:00
dependabot[bot]
57abc04752
Bump libphonenumber from 8.12.31 to 8.12.32
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.31 to 8.12.32.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.31...v8.12.32)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 23:07:44 +00:00
Le Dang Trung
49821805d1 Translated using Weblate (Vietnamese)
Currently translated at 44.9% (1175 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-10 21:25:50 +00:00
Ihor Hordiichuk
13ac4851fc Translated using Weblate (Ukrainian)
Currently translated at 81.5% (2132 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-10 21:25:29 +00:00
Glandos
0e956f1f5a Translated using Weblate (French)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-09-10 21:25:28 +00:00
Benoit Marty
449eac0d99 Fix annoying issue detected by lint (CheckResult) and consider that's errors from now 2021-09-10 18:14:39 +02:00
Benoit Marty
938540d9e9
Merge pull request #3895 from vector-im/dependabot/gradle/kotlin_version-1.5.30
Bump kotlin_version from 1.5.21 to 1.5.30
2021-09-10 16:30:39 +02:00
ganfra
2144bb9d49 Timeline: remove reaction animation views for now 2021-09-09 18:30:45 +02:00
Valere
d758d5c270 Fix / Kick user dialog for spaces talks about rooms 2021-09-09 14:20:38 +02:00
Benoit Marty
5a5d4fda2d DSL value has shorter alias now 2021-09-09 09:55:24 +02:00
Benoit Marty
34edc79450 Fix warning "Opt-in requirement marker annotation on override requires the same marker on base declaration (will be an error in 1.6)" 2021-09-08 22:39:37 +02:00
Benoit Marty
9914fb2d0f Version++ 2021-09-08 19:15:08 +02:00
Benoit Marty
fcd72fd9e3
Merge pull request #3991 from vector-im/feature/fga/fix_memory_leak_room_detail
Fix memory leak on RoomDetailFragment
2021-09-08 17:28:26 +02:00
ganfra
3119de42fb Fix memory leak on RoomDetailFragment 2021-09-08 16:47:53 +02:00
Weblate
5e9be4860d Merge branch 'origin/develop' into Weblate. 2021-09-08 13:44:59 +00:00
Le Dang Trung
f1fe9d83fe Translated using Weblate (Vietnamese)
Currently translated at 34.9% (914 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-09-08 13:44:35 +00:00
Ihor Hordiichuk
081206db1c Translated using Weblate (Ukrainian)
Currently translated at 81.3% (2126 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-08 13:44:18 +00:00
Niels Bouma
efe03ec681 Translated using Weblate (Dutch)
Currently translated at 51.4% (1345 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2021-09-08 13:44:12 +00:00
Fjoerfoks
7baf407e13 Translated using Weblate (Frisian)
Currently translated at 33.8% (884 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-09-08 13:44:09 +00:00
waclaw66
0f5007f0ba Translated using Weblate (Czech)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-09-08 13:44:07 +00:00
Onuray Sahin
1df867f345 Fix rendering voice message if the waveform data is corrupted. 2021-09-08 13:20:56 +03:00
Valere
a41bec9476 Fix missing branch in when 2021-09-07 15:16:38 +02:00
Valere
99123bf0cc Add invite by email screen in create space flow 2021-09-07 14:10:57 +02:00
Ihor Hordiichuk
a139eb71e1 Translated using Weblate (Ukrainian)
Currently translated at 78.6% (2056 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-07 12:04:31 +00:00
strix aluco
ce5a45ea31 Translated using Weblate (Ukrainian)
Currently translated at 78.6% (2056 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-07 12:04:31 +00:00
Ihor Hordiichuk
a9f345b694 Translated using Weblate (Ukrainian)
Currently translated at 78.6% (2056 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-07 12:02:30 +00:00
strix aluco
18ddf649ba Translated using Weblate (Ukrainian)
Currently translated at 78.6% (2056 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-07 12:02:03 +00:00
Florian Renaud
e78aec5fcc Room details: Check power level before showing add people button 2021-09-07 11:42:40 +02:00
Florian Renaud
24e2f1a8e0 Room details: Check power level before showing topic hint 2021-09-07 11:42:40 +02:00
Benoit Marty
e1f7ab8669
Merge pull request #3965 from cketti/improve_sharing
Use ShareCompat.IntentBuilder for sharing images
2021-09-06 10:07:37 +02:00
cketti
0aff0c1f20 Use ShareCompat.IntentBuilder for sharing images
ShareCompat does the right things so image previews show up in the Share sheet of Android 11.
2021-09-04 00:50:30 +02:00
Benoit Marty
a76aedbbc7 Fix clicking on edited message 2021-09-03 17:02:14 +02:00
Benoit Marty
2b1c517f64 Fix test broken sometimes, and test new bottom sheet about room type 2021-09-03 17:02:14 +02:00
Benoit Marty
01dae575de Fix sanity test with new notification V2 screens 2021-09-03 17:02:14 +02:00
Benoit Marty
73881d0813 Upgrade dependency on Barista.
Should fix #3929

Barista has changed location since 4.0.0
2021-09-03 17:02:14 +02:00
Benoit Marty
fc22376050 Ignore warning in test.
There is probably a better way than using the GlobalScope, but I'm not sure how to do it now.
2021-09-03 17:02:14 +02:00
Benoit Marty
dbd11c2e8d Remove the useless merge tag
It was causing crash with `Missing required view with ID: im.vector.app.debug:id/waiting_view`, probably due to a recent change in AGP 7.X.X
2021-09-03 16:21:55 +02:00
Peter Vágner
fac9a19c01 Add back a string that has been removed
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2021-09-03 12:34:13 +02:00
Benoit Marty
377c4e00a3
Merge pull request #3954 from vector-im/dependabot/gradle/com.android.tools.build-gradle-7.0.2
Bump gradle from 4.2.2 to 7.0.2
2021-09-03 12:11:52 +02:00
Valere
9687a59371 Code review 2021-09-02 11:34:08 +02:00
Valere
acf7a226f0 Fix / summary showing roomIds instead of names 2021-09-02 11:34:08 +02:00
Valere
c01b36a648 Support summary pagination API in manage space 2021-09-02 11:34:08 +02:00
Valere
5297512f87 Support Space explore pagination 2021-09-02 11:34:08 +02:00
Benoit Marty
ec6bae6b1e Lint now check all the modules, but is does not check all the variants. Let's keep it like that for now
https://developer.android.com/studio/releases/gradle-plugin#running_lint_on_default_variant_only
2021-09-02 10:43:33 +02:00
Benoit Marty
80f23f1f3c Use Java 11 source code
https://developer.android.com/studio/releases/gradle-plugin#java-11
2021-09-02 09:50:34 +02:00
Benoit Marty
f37dadc1bb Fix lint issue
We are now API 21 min
2021-09-02 09:38:24 +02:00
Jeff Huang
341e2388a8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-09-01 16:26:08 +00:00
sr093906
4c40a8138e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-09-01 16:26:03 +00:00
Ihor Hordiichuk
ca7f7945f1 Translated using Weblate (Ukrainian)
Currently translated at 67.7% (1772 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-09-01 16:25:59 +00:00
LinAGKar
48cc481850 Translated using Weblate (Swedish)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-09-01 16:25:58 +00:00
Besnik Bleta
7c9b0e77a1 Translated using Weblate (Albanian)
Currently translated at 99.5% (2603 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-09-01 16:25:54 +00:00
lvre
504437a1e1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-09-01 16:25:49 +00:00
random
04f8c42f1b Translated using Weblate (Italian)
Currently translated at 99.8% (2612 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-09-01 16:25:44 +00:00
Szimszon
563c66fadd Translated using Weblate (Hungarian)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-09-01 16:25:40 +00:00
Fjoerfoks
866f56392e Translated using Weblate (Frisian)
Currently translated at 36.3% (950 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-09-01 16:25:35 +00:00
Danial Behzadi
9721af241e Translated using Weblate (Persian)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-09-01 16:25:35 +00:00
Priit Jõerüüt
000b2d9798 Translated using Weblate (Estonian)
Currently translated at 100.0% (2615 of 2615 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-09-01 16:25:31 +00:00