Commit Graph

10546 Commits

Author SHA1 Message Date
Jorge Martin Espinosa 65bc4acbab
Fix flaky tests for voice recording feature (#6330) 2022-06-20 09:23:02 +00:00
Maxime NATUREL 9047d9d62c Fixing coding style issues 2022-06-20 11:17:30 +02:00
Maxime NATUREL 6c0b7f7b43 Renaming a variable to be more precise 2022-06-20 11:17:30 +02:00
Maxime NATUREL fc98057042 Forward error to UI in map screen 2022-06-20 11:17:30 +02:00
Maxime NATUREL 31bb9eaac8 Forward error to UI in timeline screen 2022-06-20 11:17:30 +02:00
Maxime NATUREL 9eba3034db Catching crash when offline during stop of a live location share 2022-06-20 11:17:30 +02:00
Maxime NATUREL e55c378683 Catching crash when offline during start of a live location share 2022-06-20 11:17:30 +02:00
Maxime NATUREL 7b159c5b71 Send live location API 2022-06-20 09:28:35 +02:00
Maxime NATUREL 9b61c1aead Send static location API 2022-06-20 09:28:35 +02:00
Maxime NATUREL 632064ffde Stop live location share API 2022-06-20 09:28:33 +02:00
Maxime NATUREL 29f48249e2 Start live location share API 2022-06-20 09:26:51 +02:00
dependabot[bot] 3db8e0b045
Bump flipper-network-plugin from 0.149.0 to 0.150.0
Bumps [flipper-network-plugin](https://github.com/facebook/flipper) from 0.149.0 to 0.150.0.
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.149.0...v0.150.0)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper-network-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 23:18:10 +00:00
Benoit Marty 3dcec85dea
Merge pull request #6340 from vector-im/feature/bma/test_flipper
Add link to the Matrix room.
2022-06-17 18:02:19 +02:00
Maxime NATUREL cd74f09d70
Merge pull request #5923 from vector-im/fix/mna/issue-5913-location-tracker
[Location tracker] - Fix some location tracking issues (PSF-1000)
2022-06-17 17:53:48 +02:00
Benoit Marty ba0898831b Fix compilation issue 2022-06-17 17:22:31 +02:00
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
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
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
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