Commit Graph

10713 Commits

Author SHA1 Message Date
Maxime NATUREL dee5dfd187 Add synchronized annotations to protect from concurrent access to callbacks 2022-06-17 17:04:54 +02:00
Benoit Marty 706e8e7627 Ensure the test is less flaky... 2022-06-17 16:54:18 +02:00
Benoit Marty 705b55c57a Use handy kotlin.time.Duration.Companion and remove default value. 2022-06-17 16:53:33 +02:00
random 9bf147e5b6 Translated using Weblate (Italian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-06-17 13:32:14 +00:00
Danial Behzadi a278483f1c Translated using Weblate (Persian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-06-17 13:32:14 +00:00
Maxime NATUREL 162fd0a840 Call unmockAll after each test 2022-06-17 11:34:33 +02:00
Maxime NATUREL a1aa337edb Stop location tracking only when callbacks list is empty to avoid non wanting stop 2022-06-17 11:34:33 +02:00
Maxime NATUREL 1b88cc39a9 Use method reference when sorting providers 2022-06-17 11:34:32 +02:00
Maxime NATUREL 755d743b06 Encapsulate callbacks calls into try/catch block 2022-06-17 11:34:32 +02:00
Maxime NATUREL 260f73b0c2 Adding unit tests for LocationTracker 2022-06-17 11:34:32 +02:00
Maxime NATUREL 45d3fe7c07 Call no provider available callback only providers list is empty 2022-06-17 11:34:32 +02:00
Maxime NATUREL b686d30b1c Prioritise providers: Fused, GPS and then others 2022-06-17 11:34:32 +02:00
Maxime NATUREL a8c36e5e70 Using Debouncer to debounce location updates 2022-06-17 11:34:32 +02:00
Maxime NATUREL c61412520d Debouncing location updates 2022-06-17 11:34:32 +02:00
Maxime NATUREL 7860173fa2 Notify of the latest known location among all last known locations 2022-06-17 11:34:32 +02:00
Onuray Sahin 242cc28daa
Merge pull request #6320 from vector-im/feature/ons/poll_unit_tests
CreatePollViewModel unit tests [PSF-1122]
2022-06-17 12:14:01 +03:00
Eric Decanini 674e538131
Merge pull request #6154 from vector-im/bugfix/eric/fix-upgrade-room
Fixes /upgraderoom command not doing anything
2022-06-17 10:55:26 +02:00
dependabot[bot] a3774c1161
Bump android-embedded_fcm_distributor from 2.0.0 to 2.1.1
Bumps [android-embedded_fcm_distributor](https://github.com/UnifiedPush/android-embedded_fcm_distributor) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/UnifiedPush/android-embedded_fcm_distributor/releases)
- [Commits](https://github.com/UnifiedPush/android-embedded_fcm_distributor/compare/2.0.0...2.1.1)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-embedded_fcm_distributor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 23:08:07 +00:00
Onuray Sahin 712a38e26a Apply Maxime's fix to get latest state. 2022-06-16 18:27:00 +03:00
Benoit Marty 8238cd7f57
Merge pull request #6319 from vector-im/feature/bma/stateEventQuery
Enforce query on state event
2022-06-16 17:13:17 +02:00
Benoit Marty fe7515761a
Merge pull request #6300 from vector-im/feature/bma/flipper
Setup Flipper
2022-06-16 16:44:05 +02:00
Onuray Sahin 14a4a8edd7 Workaround for mavericks bug (https://github.com/airbnb/mavericks/issues/599). 2022-06-16 17:30:17 +03:00
Benoit Marty 16ca26569f
Merge pull request #6228 from vector-im/feature/bma/unifiedPush2
UnifiedPush
2022-06-16 16:09:31 +02:00
Adam Brown d37b273eee
Merge pull request #6271 from vector-im/feature/adm/full-matrix-id-homeserver-switching
[FTUE] Switch homeserver on full matrix id entry
2022-06-16 14:23:12 +01:00
Benoit Marty 7bd2184b26 Rename fun. 2022-06-16 13:42:48 +02:00
Onuray Sahin a1d35ae9e4 Move fake class into the right package. 2022-06-16 14:23:25 +03:00
Onuray Sahin f13dfb8291 Test poll view state when poll option is deleted. 2022-06-16 14:11:17 +03:00
Adam Brown 4f86ad0934
Merge pull request #6297 from vector-im/feature/adm/opt-in-screenshots-in-bug-report
Making bug report screenshots opt in instead of opt out
2022-06-16 12:08:25 +01:00
Onuray Sahin 841b63b819 Test poll view events when poll is edited. 2022-06-16 13:40:39 +03:00
Onuray Sahin b558d14a48 Create fake room services. 2022-06-16 13:40:00 +03:00
Onuray Sahin 94c0a020fb Rename test data class. 2022-06-16 13:39:32 +03:00
Adam Brown c6bae6812d adding unavailable homeserver error messaging in the registration page 2022-06-16 11:18:38 +01:00
Adam Brown d71d37c1ce adding tests around the result _on_ helper callbacks 2022-06-16 11:18:38 +01:00
Adam Brown b25fd4a540 adding tests around the login error parsing 2022-06-16 11:18:38 +01:00
Adam Brown f89b9305e8 handling the unavailable homeserver error case in the error formatting as this is now possible via full matrix id handling# 2022-06-16 11:18:38 +01:00
Adam Brown 3a97cfcc36 updating the selected homeserver when we detect a full matrix id within the username field in the login/register input fields 2022-06-16 11:18:37 +01:00
Benoit Marty e0fe91f54b Remove alias. 2022-06-16 12:17:54 +02:00
Benoit Marty 90f16c6736 Remove unused dep. 2022-06-16 12:16:07 +02:00
Adam Brown 17f8009ce0 only removing the edit server fragment when homeserver edits are complete 2022-06-16 11:08:08 +01:00
Adam Brown 825f14d919 ignoring text suggestions on username inputs, to avoid the spell checker introducing word breaks 2022-06-16 11:08:07 +01:00
Adam Brown d8814974c5 makes the bug report screenshot preview always visible 2022-06-16 10:58:28 +01:00
Benoit Marty d978d0a6b4 Delete obsolete comment. 2022-06-16 11:56:30 +02:00
Adam Brown b78fb532ff
Merge pull request #6091 from vector-im/feature/adm/ftue-register-test-cases
FTUE - Stage selection and Registration action testing
2022-06-16 10:54:10 +01:00
Eric Decanini 2f2dae89f7
Merge pull request #6290 from vector-im/bugfix/eric/fix-large-image-crash
Fixes large images crashing when opened in timeline
2022-06-16 11:04:00 +02:00
Adam Brown baae7375af
Merge pull request #6296 from vector-im/feature/adm/attach-ics
Allow sharing text mimetype content via android's share menu
2022-06-16 09:33:21 +01:00
Jeff Huang 373a3008a9 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-06-16 04:32:15 +00:00
Ihor Hordiichuk 5e5dc41088 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-06-16 04:32:15 +00:00
Jozef Gaal 450e917a1f Translated using Weblate (Slovak)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-06-16 04:32:15 +00:00
lvre c1a8183a54 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-06-16 04:32:15 +00:00
Linerly 2612c02ef1 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-06-16 04:32:15 +00:00
Thomas Bertels cbd0a12422 Translated using Weblate (French)
Currently translated at 99.9% (2238 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-06-16 04:32:14 +00:00
Danial Behzadi fb2c9fb002 Translated using Weblate (Persian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-06-16 04:32:14 +00:00
Priit Jõerüüt d545ed82ec Translated using Weblate (Estonian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-06-16 04:32:14 +00:00
waclaw66 c43eda932b Translated using Weblate (Czech)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-06-16 04:32:14 +00:00
Auri B. P 0736e41ea7 Translated using Weblate (Catalan)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-06-16 04:32:14 +00:00
Onuray Sahin ec3248d714 Lint fixes. 2022-06-15 21:34:04 +03:00
Benoit Marty a4dd279352 Ensure we do not use `QueryStringValue.NoCondition` or `QueryStringValue.IsNull` to query for State Event.
Also remove default value for those parameters.
2022-06-15 19:20:26 +02:00
Onuray Sahin 24d59eba87 Test poll view events when create poll is requested. 2022-06-15 17:51:13 +03:00
Benoit Marty e12103387d Setup Flipper
Move getLastSession() to the SessionManager
Create `DebugService`
Move `logDbUsageInfo()` to `DebugService`
2022-06-15 16:14:20 +02:00
Onuray Sahin 0ed9a1885c Test poll view state with a question and max number of options. 2022-06-15 15:55:02 +03:00
Jorge Martín c204f41bec Try to fix tests, address review comments. 2022-06-15 11:37:50 +02:00
Jorge Martín 64334c3437 Add some tests 2022-06-15 11:34:23 +02:00
Jorge Martín 2fbec133b6 Address review comments, fix quality check issues. 2022-06-15 11:34:23 +02:00
Jorge Martín b993bd9aef Fix crash when asking for Mic permissions, stopRecord is called with no codec 2022-06-15 11:34:23 +02:00
Jorge Martín fa2d9e90ed Fix copyright in C++ files 2022-06-15 11:34:23 +02:00
Jorge Martín 6fc278eb2b Replace ffmpeg-kit with libopus and libopusenc. 2022-06-15 11:34:23 +02:00
Benoit Marty 0147eb4b22 Fix test 2022-06-14 16:44:21 +02:00
Benoit Marty 2174b1105f Move companion at the bottom of the class. 2022-06-14 16:36:56 +02:00
Benoit Marty 279b9b5d6a Be lenient on the Json format for received data in a Push. 2022-06-14 16:33:04 +02:00
Adam Brown ded7b1e0d0 updating current version 2022-06-14 15:16:56 +01:00
Adam Brown 2eeba285e8 only hide the connect to server option when the new FTUE journey is enabled 2022-06-14 14:54:33 +01:00
chagai95 c2707d4538
Wrong import order 2022-06-14 14:08:22 +02:00
Weblate ba0c7abfc5 Merge branch 'origin/develop' into Weblate. 2022-06-14 09:56:35 +00:00
Adam Brown 11b0ed99b5
Merge pull request #6223 from vector-im/feature/adm/exit-onboarding-copy
Avoid manual line breaks in exit onboarding dialog copy
2022-06-14 10:54:19 +01:00
Ihor Hordiichuk 134e86ecdd Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-06-14 09:50:21 +00:00
ericdecanini c10d4a7382 Slight formatting improvement 2022-06-14 10:21:45 +02:00
Adam Brown 979dec75de making bugreport screenshots opt in instead of optout 2022-06-13 18:06:53 +01:00
Adam Brown 9725396582 allowing text content types to be shared via android share menu 2022-06-13 17:42:30 +01:00
Adam Brown 01c70e165d
Merge pull request #6293 from vector-im/feature/adm/ftue-tweaks
FTUE - Minor tweaks
2022-06-13 16:35:47 +01:00
Onuray Sahin 2fbbee2d65
Merge pull request #6264 from vector-im/feature/ons/fix_flickering_location_bottom_bar
Fix flickering bottom bar of live location item [PSF-1057]
2022-06-13 18:23:10 +03:00
Onuray Sahin 1f04e73fcb Test poll view state with a question and enough number of options. 2022-06-13 17:49:57 +03:00
Benoit Marty 56e6f512fc Rename setting key for clarity 2022-06-13 16:38:07 +02:00
Benoit Marty d1e2a903b4 Add test for the notification settings. 2022-06-13 16:36:32 +02:00
Benoit Marty 55bac9ba0f Give time to the tests to perform 2022-06-13 16:29:45 +02:00
Onuray Sahin 0bf37abca1 Test poll views state with enough number of options but without a question. 2022-06-13 15:58:13 +03:00
Onuray Sahin 5b35534c3d Test poll view state without enough options. 2022-06-13 15:54:33 +03:00
Onuray Sahin 19de21535b Test initial poll view state. 2022-06-13 15:53:25 +03:00
Onuray Sahin cffa3270dd Create dummy data for poll view states. 2022-06-13 15:49:54 +03:00
Yaron Shahrabani b4723414a2 Translated using Weblate (Hebrew)
Currently translated at 96.2% (2155 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-06-13 12:32:13 +00:00
Benoit Marty 4ea4990177 Merge remote-tracking branch 'origin/develop' into develop 2022-06-13 14:12:00 +02:00
Benoit Marty aac2df85bb Version++ 2022-06-13 14:10:48 +02:00
Benoit Marty d876690fc7 Merge branch 'hotfix/1.4.20' into develop 2022-06-13 14:08:49 +02:00
Benoit Marty c7d021ece6 Extract parser to its own file and add unit test. 2022-06-13 13:59:16 +02:00
Onuray Sahin eb49ceb803
Merge pull request #6280 from vector-im/feature/ons/live_location_sharing_report
Add report action for live location messages [PSF-1067]
2022-06-13 14:23:11 +03:00
Benoit Marty 4fa8e70276 Prepare hotfix 1.4.20 2022-06-13 12:37:39 +02:00
Adam Brown b3adad8543 hiding connect to server button in favour of handling as part of the FTUE v2 work 2022-06-13 11:33:51 +01:00
Valere 65bb1a7ddc Fix space orphan filtering 2022-06-13 12:33:14 +02:00
ericdecanini 978de65124 Fixes large images crashing when opened 2022-06-13 12:01:21 +02:00
Adam Brown fca06bd167 always showing the celebration confetti on account creation
- previously we would wait until after personalisation but we don't know if users will go through that flow
2022-06-13 08:55:43 +01:00
bmarty ad787d3914 Sync analytics plan 2022-06-13 00:03:16 +00:00
swag 90c78ac401 Translated using Weblate (Croatian)
Currently translated at 32.6% (731 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hr/
2022-06-10 16:32:13 +00:00
Benoit Marty 88d2853a31
Merge pull request #6281 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.50
Bump libphonenumber from 8.12.49 to 8.12.50
2022-06-10 18:13:25 +02:00
dependabot[bot] 5689006c81
Bump libphonenumber from 8.12.49 to 8.12.50
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.49 to 8.12.50.
- [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.49...v8.12.50)

---
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>
2022-06-10 13:38:47 +00:00
Michael Kaye 027619aa01
Merge pull request #6248 from vector-im/michaelk/sonar_on_vector
Improve Sonar coverage, including im.vector tests
2022-06-10 14:38:06 +01:00
Benoit Marty 990a6832bd
Merge pull request #6247 from vector-im/feature/ons/fix_static_map_copyright_size
Fix copyright attributions of map views [PSF-1058] - [PSF-1072]
2022-06-10 13:56:24 +02:00
Onuray Sahin d8947f5c0b Add report action for live location messages. 2022-06-10 14:01:43 +03:00
Michael Kaye d1a3e02faf Ignore all failing tests 2022-06-09 21:40:22 +01:00
Michael Kaye 38126c6b4f Refactor test to be more lenient in timing 2022-06-09 21:39:43 +01:00
Adam Brown 6681d4fe17 formatting 2022-06-09 17:39:15 +01:00
Benoit Marty b1e062a204 Fix small issue on the settings. 2022-06-09 17:19:52 +02:00
rebok dev f4f58703d3 Translated using Weblate (Polish)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-09 13:32:11 +00:00
Onuray Sahin f9f1b3e39a Code review fix. 2022-06-09 13:09:10 +03:00
Benoit Marty 2f2ee1b894 Format project (only modified files, there are other fomatting issues). 2022-06-09 10:38:38 +02:00
Benoit Marty c43122a6f8 Explain why the data are different when received from Firebase and from UnifiedPush.
Author: @p1gp1g
2022-06-09 10:18:06 +02:00
Benoit Marty 3560ac95d1 Create a Kotlin Config object in vector-config module, for easy configuration. 2022-06-09 10:18:06 +02:00
Benoit Marty 5846ad5768 Inject constructor of `BackgroundSyncStarter` and `FcmHelper` 2022-06-09 10:18:06 +02:00
Benoit Marty 3c72ee6e0c Unregister UP when signing out 2022-06-09 10:18:06 +02:00
Benoit Marty 905934b9d4 Rename method for clarity 2022-06-09 10:18:06 +02:00
Benoit Marty a139756dbc Fix an issue with empty endpoint. It can happen if the endpoint is manually removed from the distributor. 2022-06-09 10:18:06 +02:00
Benoit Marty 87087197e5 shorter code 2022-06-09 10:18:06 +02:00
Benoit Marty 639c570150 Create extension to get app names 2022-06-09 10:18:06 +02:00
Benoit Marty fc66e5f120 Ignore if no change is done - bugfix 2022-06-09 10:18:06 +02:00
Benoit Marty a5378d6e94 avoid runBlocking 2022-06-09 10:18:06 +02:00
Benoit Marty fb7df5bf46 Ignore if no change is done. 2022-06-09 10:18:06 +02:00
Benoit Marty 420144dceb Fix back issue on the dialog.
Should split UI a bit more.
2022-06-09 10:18:06 +02:00
Benoit Marty 110c17e57d No need to have a mutable list here. 2022-06-09 10:18:06 +02:00
Benoit Marty 18b49068c1 Change BuildConfig field to a VectorFeature. 2022-06-09 10:18:06 +02:00
Benoit Marty 80d42f0963 Remove unused methods / clarify API 2022-06-09 10:18:06 +02:00
Benoit Marty 35e0a0af33 Detekt 2022-06-09 10:18:06 +02:00
Benoit Marty 6cc2a36ee1 Add explicit Json names 2022-06-09 10:18:06 +02:00
Benoit Marty cdfb728a73 Clarify the data classes for the Json parsing 2022-06-09 10:18:06 +02:00
Benoit Marty 45768c5251 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty bbbeb4b283 Extract storage to its own class. 2022-06-09 10:18:06 +02:00
Benoit Marty bdb2d29666 Catch 404 2022-06-09 10:18:06 +02:00
Benoit Marty 3f6b5292d4 Add summary to the notification with the current value. 2022-06-09 10:18:06 +02:00
Benoit Marty 76bc6a5e0a Move the setting at the beginning of the section 2022-06-09 10:18:06 +02:00
Benoit Marty fb8408c3da Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty 4018113c88 Better usage of Timber. 2022-06-09 10:18:06 +02:00
Benoit Marty 77601f61fb typo 2022-06-09 10:18:06 +02:00
Benoit Marty ff6aa1147c VectorPreferences can be injected. 2022-06-09 10:18:06 +02:00
Benoit Marty ad8cb22863 We need an Activity to display the dialog 2022-06-09 10:18:06 +02:00
Benoit Marty ddf6a69a69 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty 399e95a247 `setOnDismissListener` should cover all the cases. 2022-06-09 10:18:06 +02:00
Benoit Marty cc80bf986c Use plurals 2022-06-09 10:18:06 +02:00
Benoit Marty 12d969b2c0 Prefer using `toString()` 2022-06-09 10:18:06 +02:00
Benoit Marty 74de9c82c0 Small rework 2022-06-09 10:18:06 +02:00
Benoit Marty 9216d8ba32 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty f1e57d2970 Use `.orEmpty()` instead of `?: ""` 2022-06-09 10:18:06 +02:00
Benoit Marty 5e10449746 Use the RawService to do network request. 2022-06-09 10:18:06 +02:00
Benoit Marty 674e3a72c4 Make `UnifiedPushHelper` a regular class and inject the context in the constructor to clean up the API 2022-06-09 10:18:06 +02:00
Benoit Marty 09a918bac4 Cleanup 2022-06-09 10:16:59 +02:00
Benoit Marty 42811751fb Move `ALLOW_EXTERNAL_UNIFIEDPUSH_DISTRIB` to `defaultConfig` and document it. 2022-06-09 10:16:59 +02:00
Benoit Marty ee7fccf072 Fix compilation issues after rebase 2022-06-09 10:16:59 +02:00
sim 7eca405693 Update UnifiedPush libs
Signed-off-by: sim <git@sgougeon.fr>
2022-06-09 10:16:59 +02:00
sim f774f46627 Check custom unifiedpush gateway 2022-06-09 10:16:59 +02:00
sim 1069f77bd5 Lint 2022-06-09 10:16:59 +02:00
sim f00257f461 Add UnifiedPush troubleshoot 2022-06-09 10:16:59 +02:00
sim 848adc415f Add UnifiedPush settings 2022-06-09 10:16:59 +02:00
sim 04b297b261 Add UnifiedPush support 2022-06-09 10:16:59 +02:00
Adam Brown befcfe8c5b renaming success type to something more concrete 2022-06-09 08:52:29 +01:00
Adam Brown 88167a0287 fixing import ordering 2022-06-09 08:52:29 +01:00
Adam Brown ef1356f4dd replacing comment extracted function (also convered by a test case) 2022-06-09 08:52:29 +01:00
Adam Brown ba18c6f3e2 extracting registration action business logic to the handler abstraction and adding tests
- renames the existing handler to a wizard delegate
2022-06-09 08:52:28 +01:00
Onuray Sahin 6c72139939 Fix flickering bottom bar of live location item. 2022-06-08 15:40:09 +03:00
Anonimas 37618a2353 Translated using Weblate (Lithuanian)
Currently translated at 18.7% (419 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2022-06-08 12:32:11 +00:00
Onuray Sahin 9b22880d57 Set translatable as false for the copyright text. 2022-06-08 15:18:25 +03:00
ericdecanini 2f9517f69d Merge remote-tracking branch 'origin/develop' into bugfix/eric/fix-upgrade-room 2022-06-08 13:17:58 +02:00
ericdecanini 87053f2c70 Reformats after merging 2022-06-08 13:01:26 +02:00
ericdecanini 6df88fba59 Merge remote-tracking branch 'origin/develop' into task/eric/when-arrow-alignment
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/GroupSyncHandler.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
#	vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
#	vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/InitSyncStepFormatter.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/style/TimelineMessageLayoutFactory.kt
#	vector/src/main/java/im/vector/app/features/sync/widget/SyncStateView.kt
2022-06-08 12:59:54 +02:00
Onuray Sahin d0ab6af0b7 Remove unused import. 2022-06-08 13:03:48 +03:00
Onuray Sahin 3f491018b4
Merge pull request #6244 from vector-im/feature/ons/organize_location_settings_flags
Re-organize location settings flags [PSF-1062]
2022-06-08 13:03:10 +03:00
Onuray Sahin adde210cfd Code review fixes. 2022-06-08 12:37:48 +03:00
Benoit Marty ac61aeea29 Fix compilation issue after rebase. 2022-06-08 10:00:48 +02:00
Benoit Marty dd22cdf7f2 Rename existing SyncService to SyncAndroidService to avoid confusion 2022-06-08 09:55:28 +02:00
Benoit Marty f62d598b79 Create a SyncService and move some methods from Session there.
Merge SyncStatusService to SyncService, and rename some classes
2022-06-08 09:53:33 +02:00
ericdecanini 31b245b8e3 Changes test name 2022-06-08 09:38:30 +02:00
Benoit Marty 733c2848a7
Merge pull request #6226 from vector-im/dependabot/gradle/androidx.core-core-ktx-1.8.0
Bump core-ktx from 1.7.0 to 1.8.0
2022-06-07 23:43:21 +02:00
Benoit Marty 7274924977
Merge pull request #6239 from vector-im/sync-analytics-plan
Sync analytics plan
2022-06-07 23:40:58 +02:00
Benoit Marty c290dd6c1d
Merge branch 'develop' into task/eric/when-arrow-alignment 2022-06-07 23:03:36 +02:00
Adam Brown 462d3071de
Merge pull request #6171 from vector-im/feature/adm/sdk-new-password-on-confirmation
[SDK] Allow passwords to be set at the point of reset confirmation
2022-06-07 16:43:28 +01:00
Onuray Sahin 68c6e524d2 Use dynamic height to calculate the position of the copyright attributes. 2022-06-07 18:22:09 +03:00
Michael Kaye 93bacc98fe Revert "Ignore tests."
This reverts commit 17d85840a7.
2022-06-07 16:02:53 +01:00
Michael Kaye 49d1c1baee Revert "Remove UI tests from connected android test run via @Ignore"
This reverts commit 5eac30d283.
2022-06-07 16:02:52 +01:00
Michael Kaye 17d85840a7 Ignore tests.
All failing with
```
im.vector.app.SecurityBootstrapTest > testBasicBootstrap[Nexus_5X_API_28(AVD) - 9] FAILED
        java.lang.IllegalStateException: Method addObserver must be called on the main thread
        at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)

im.vector.app.VerifySessionInteractiveTest > checkVerifyPopup[Nexus_5X_API_28(AVD) - 9] FAILED
        java.lang.IllegalStateException: Method addObserver must be called on the main thread
        at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)

im.vector.app.VerifySessionPassphraseTest > checkVerifyWithPassphrase[Nexus_5X_API_28(AVD) - 9] FAILED
        java.lang.IllegalStateException: Method addObserver must be called on the main thread
        at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(LifecycleRegistry.java:317)

```
2022-06-07 15:44:27 +01:00
Michael Kaye 5eac30d283 Remove UI tests from connected android test run via @Ignore 2022-06-07 15:42:58 +01:00
Benoit Marty 26dcc9bc52 Merge hotfix 1.4.19 into develop 2022-06-07 15:14:29 +02:00
Benoit Marty b2f67f971b Prepare v1.4.19 2022-06-07 15:11:46 +02:00
Onuray Sahin ec1eb495a7 Fix position of the copyright on maximized map. 2022-06-07 16:06:04 +03:00
ericdecanini 6513210904 Changes space subtitle in explore rooms from joined string to direct space parent 2022-06-07 15:02:15 +02:00
Valere d67f86a1e0 fix slow paged room list 2022-06-07 15:00:54 +02:00
Onuray Sahin b284b92464 Use custom TextView for map view copyright. 2022-06-07 15:11:23 +03:00
Onuray Sahin ea714bbdaa Fix lint errors - unused string resources. 2022-06-07 13:06:09 +03:00
Adam Brown 4ffce89ef2 adding fallback locale for when the configuration locale is missing 2022-06-07 10:37:18 +01:00
ClaireG 0602f58074
Merge pull request #6234 from vector-im/cgizard/ISSUE-6232
Text cropped: "Secure backup"
2022-06-07 11:19:10 +02:00
Michael Kaye 10125f4738
Merge pull request #6111 from vector-im/michaelk/sonarqube_fixes
Sonarqube including coverage on each PR.
2022-06-07 09:44:00 +01:00
lvre 0f7f4245e4 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-06-07 08:32:35 +00:00
Didek e51aaddb2c Translated using Weblate (Polish)
Currently translated at 99.9% (2237 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-07 08:32:35 +00:00
Klaudia Adamus 014afbf754 Translated using Weblate (Polish)
Currently translated at 99.9% (2237 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-07 08:32:34 +00:00
Johan Smits 24c68147c0 Translated using Weblate (Dutch)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-06-07 08:32:33 +00:00
Anonimas 4f1a40a750 Translated using Weblate (Lithuanian)
Currently translated at 18.6% (417 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2022-06-07 08:32:32 +00:00
Szimszon 9dc32bd957 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-06-07 08:32:14 +00:00
Glandos 5b3a476ce2 Translated using Weblate (French)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-06-07 08:32:13 +00:00
John Doe aae55992ac Translated using Weblate (Spanish)
Currently translated at 99.2% (2222 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-06-07 08:32:12 +00:00
Auri B. P 9d92b3346d Translated using Weblate (Catalan)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-06-07 08:32:11 +00:00
Onuray Sahin 4b862be9df Changelog added. 2022-06-07 01:05:10 +03:00
Onuray Sahin e506337522 Remove labs flag for rendering location events. 2022-06-06 19:32:48 +03:00
Onuray Sahin d75bd140d9 Remove location sharing flag from preferences. 2022-06-06 15:59:46 +03:00
Adam Brown edfabb0f26 adding missing loading state when confirming password reset
- adds reset test cases to the onboarding view model
2022-06-06 13:59:34 +01:00
Adam Brown fa5b7c66ca adding dedicated fail event in the legacy onboarding flow when the reset password new password is not set 2022-06-06 13:59:34 +01:00
Adam Brown 32389a9b33 removing impossible case 2022-06-06 13:59:33 +01:00
Adam Brown 93a247e0ce converting if/else and try/catch to when and runCatching 2022-06-06 13:58:55 +01:00
Adam Brown cc8f17b786 moving the reset password new password to the reset confirmation step
- the new password is moved to the in memory view model state
2022-06-06 13:57:59 +01:00
Adam Brown e3d46cfd15 introducing a reset state for holding onto the reset inputs 2022-06-06 13:57:58 +01:00
Adam Brown a5f404f247
Merge pull request #6042 from vector-im/feature/adm/ftue-analytics
FTUE - Sign up analytics
2022-06-06 13:52:01 +01:00
Adam Brown db3cb42cc3 renaming getter to imply the function does more than simply get a value 2022-06-06 11:41:36 +01:00
Adam Brown 06e67a313b correctly casing github/gitlab 2022-06-06 11:39:59 +01:00
Adam Brown 49930773e7 handling the legacy onboarding complete navigation by inferring the auth description from the sign mode
- the type is set to other as the legacy viewmodel doesn't support tracking the sso provider
2022-06-06 11:38:29 +01:00
Onuray Sahin bae830dd03
Merge pull request #6222 from vector-im/feature/ons/fix_voice_message_stackoverflow
Fix StackOverflowError while recording voice message [PSF-1065]
2022-06-06 12:58:15 +03:00
Adam Brown 6fcbd24ce1 reverting instance check, no longer needed as the event no longer contains any data
- it's part of the initialstate instead
2022-06-06 10:23:06 +01:00
Adam Brown 5d0d177a7a including null case in the authentication when 2022-06-06 10:22:22 +01:00
Onuray Sahin 0b9db0ee6b Code review fix. 2022-06-06 12:19:09 +03:00
bmarty 0104fe70ab Sync analytics plan 2022-06-06 00:03:15 +00:00
Jorge Martin Espinosa 166d2a3ba0
Merge pull request #6151 from vector-im/feature/jorgem/outbound_presharing_keys_mode
Allow .well-known configuration to override key sharing mode.
2022-06-03 15:33:59 +02:00
ericdecanini d586f64338 Removes emit method from DataSource 2022-06-03 14:53:26 +02:00
Claire G 6ed6b49d7f fix text cropped 2022-06-03 14:41:43 +02:00
ericdecanini a5fd11c204 Fixes detekt error 2022-06-03 12:50:05 +02:00
ericdecanini 7d8590d85f Disables when arrow alignment post merge with develop 2022-06-03 12:14:47 +02:00
ericdecanini 5cc7deea4e Merge remote-tracking branch 'origin/develop' into task/eric/when-arrow-alignment
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/registration/DefaultRegistrationWizard.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/keysbackup/DefaultKeysBackupService.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryDataSource.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/worker/MatrixWorkerFactory.kt
#	vector/src/main/java/im/vector/app/core/ui/views/ReadReceiptsView.kt
#	vector/src/main/java/im/vector/app/core/utils/TextUtils.kt
#	vector/src/main/java/im/vector/app/features/crypto/recover/BootstrapSharedViewModel.kt
#	vector/src/main/java/im/vector/app/features/crypto/verification/VerificationBottomSheetViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
#	vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/LiveLocationShareMessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/list/RoomListSectionBuilderSpace.kt
#	vector/src/main/java/im/vector/app/features/home/room/list/RoomSummaryItemFactory.kt
#	vector/src/main/java/im/vector/app/features/onboarding/OnboardingViewModel.kt
#	vector/src/main/java/im/vector/app/features/onboarding/ftueauth/FtueAuthVariant.kt
2022-06-03 12:06:23 +02:00
ericdecanini 9c1c87ba5d Fixes detekt error on java doc 2022-06-03 12:05:12 +02:00
ericdecanini f3d7127f17 Fixes lint error 2022-06-03 11:41:47 +02:00
Jeff Huang 8d15f4c83a Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-06-02 09:32:24 +00:00
Ihor Hordiichuk 42e5e96f78 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-06-02 09:32:23 +00:00
LinAGKar a3e9e46ff2 Translated using Weblate (Swedish)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-06-02 09:32:22 +00:00
Jozef Gaal c68e3d89c8 Translated using Weblate (Slovak)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-06-02 09:32:21 +00:00
lvre cda71d2752 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-06-02 09:32:19 +00:00
random 41db82a731 Translated using Weblate (Italian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-06-02 09:32:18 +00:00
Linerly b822055e2d Translated using Weblate (Indonesian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-06-02 09:32:17 +00:00
Tuomas Hietala ffb1066a30 Translated using Weblate (Finnish)
Currently translated at 82.8% (1854 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2022-06-02 09:32:15 +00:00
Danial Behzadi 100da85e4a Translated using Weblate (Persian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-06-02 09:32:14 +00:00
Priit Jõerüüt dc7d2d7482 Translated using Weblate (Estonian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-06-02 09:32:13 +00:00
waclaw66 f728d5ff74 Translated using Weblate (Czech)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-06-02 09:32:11 +00:00
Auri B. P 095b220d99 Translated using Weblate (Catalan)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-06-02 09:32:10 +00:00
Onuray Sahin 966b3ce54a Create a new list for sublist to fix stackoverflowerror. 2022-06-01 16:55:42 +03:00
Adam Brown 31db65e348 updating exit onboarding copy to avoid manual line breaks, matching iOS 2022-06-01 14:44:40 +01:00
Adam Brown d002ab6a6b removing unused imports 2022-06-01 09:11:05 +01:00
Adam Brown 8d3c70f522 removing unused imports 2022-06-01 09:11:05 +01:00
Adam Brown 70c35304ce aligning the with develop to use the initial state for reading the activity arguments 2022-06-01 09:11:05 +01:00
Adam Brown 28050488ba passing the authentication state from the onboarding and tracking sign up after the user has consented to tracking 2022-06-01 09:11:04 +01:00
Adam Brown ac89495348 chaining the current authentication type into the onboarding state 2022-06-01 09:09:56 +01:00
Adam Brown e89f9eae1a providing the full SSOProvider instead of selection instead of just the id 2022-06-01 09:09:56 +01:00