Commit Graph

16413 Commits

Author SHA1 Message Date
Valere e1292c03a1 code review 2022-05-25 18:40:33 +02:00
Valere adb5b4c1b9 Fix closing deactivated accounts in tests 2022-05-25 18:40:33 +02:00
Valere 3332d827f0 rename testHelpers and make constructor private 2022-05-25 18:40:33 +02:00
Valere 29ff4d1e84 use withTestHelpers in sanity tests 2022-05-25 18:40:33 +02:00
Valere e18402f834 Improve test stability 2022-05-25 18:40:33 +02:00
Adam Brown 096db6c35d giving arugment a proper name 2022-05-25 17:34:00 +01:00
Adam Brown 0675b7c16c
Merge pull request #5995 from vector-im/feature/adm/ftue-sign-in
FTUE - Sign in
2022-05-25 17:30:03 +01:00
Valere 8b2d6c8dc2
Merge pull request #6148 from vector-im/feature/bca/fix_decrypt_redacted_event
Fix decrypting redacted event
2022-05-25 17:26:54 +02:00
Valere d7c8abbe98 quick format 2022-05-25 16:52:56 +02:00
Valere abb335c43d Improve redaction test 2022-05-25 16:52:56 +02:00
Valere 136d2e330a added change log 2022-05-25 16:52:56 +02:00
Valere 755da616ed Fix decrypting redacted event 2022-05-25 16:52:56 +02:00
Johannes Marbach 9e084ec372 Inject permission utils 2022-05-25 16:22:16 +02:00
Valere 52eb48d808
Merge pull request #6077 from vector-im/feature/aris/crypto_replay_attack
Feature/aris/crypto replay attack
2022-05-25 16:20:26 +02:00
Johannes Marbach 6ec6d41aa9 Make permission utils instantiable and throw when permission request is null 2022-05-25 15:53:58 +02:00
Michael Kaye f5b4e897fa
Merge pull request #6099 from vector-im/michaelk/retry_keys_backup_test
Track number of retries of tests,retry KeysBackupTest, Ignore E2eeSanityTests
2022-05-25 14:16:47 +01:00
Benoit Marty 8f06415744 Fix compilation issue after rebase 2022-05-25 15:08:13 +02:00
Maxime NATUREL c8fb034c57
Merge pull request #6128 from vector-im/feature/mna/PSF-999-auto-refresh-db
[Location sharing] - Update DB entity when a live is timed out (PSF-999)
2022-05-25 14:59:54 +02:00
Adam Brown 86c9e60129 formatting 2022-05-25 13:34:08 +01:00
Adam Brown f6190b125c removing extra line 2022-05-25 13:34:08 +01:00
Adam Brown 73c93958c2 adding changelog entry 2022-05-25 13:34:08 +01:00
Adam Brown 75d038b058 adding test case around invalid deeplinks within the onboarding flow 2022-05-25 13:34:08 +01:00
Adam Brown 797e0ee706 creating a build meta abstraction for allowing testing classes with build version checks 2022-05-25 13:34:08 +01:00
Adam Brown ea7df9b673 lifting unavailable homeserver rendering to the activity/ftuevariant
- the viewmodel is now responsible for inferring connectivity errors and providing a retry action
2022-05-25 13:34:08 +01:00
Adam Brown 100aa24021 adding helper for inferring if the device has connectivity, this helps with breaking down UnknownHost exceptioncauses and shouldn't be used for checking offline status 2022-05-25 13:34:07 +01:00
Adam Brown 59afb5cf4c downscoping the possible action types when selecting homeservers 2022-05-25 13:34:07 +01:00
Adam Brown b8418f97dc extracting server selection branches to their own functions 2022-05-25 13:34:07 +01:00
Adam Brown 690fda180c providing dedicated reset action for resetting invalid deeplink homeserver
- also fixes the usecase screen becoming stuck with an invalid homeserver deeplink
2022-05-25 13:34:07 +01:00
Maxime NATUREL eda0aa97d0 Fixing code quality issues 2022-05-25 14:11:18 +02:00
Maxime NATUREL aa65d82341 Adding unit tests for ViewModel 2022-05-25 14:05:14 +02:00
Maxime NATUREL 33151eef73 Move the default implementation of location sharing service into internal package 2022-05-25 14:05:14 +02:00
Maxime NATUREL 8d2debf47e Adding missing ending dots in comments 2022-05-25 14:05:14 +02:00
Maxime NATUREL 1b8440d7c8 Removing unused imports 2022-05-25 14:05:14 +02:00
Maxime NATUREL 65d7ec8696 Adding unit tests for use case to get the list of current running lives 2022-05-25 14:05:14 +02:00
Maxime NATUREL 095cc12e10 Fixing unit tests of the mapper 2022-05-25 14:05:14 +02:00
Maxime NATUREL d9480bb136 Adding todo to add unit tests on aggregation process 2022-05-25 14:05:14 +02:00
Maxime NATUREL 5efe26c7dd Fix code quality issues 2022-05-25 14:05:14 +02:00
Maxime NATUREL 8145049315 Fix potential access to null value 2022-05-25 14:05:14 +02:00
Maxime NATUREL c07bc0890f WIP - unit tests 2022-05-25 14:05:14 +02:00
Maxime NATUREL 7ef91ce717 Adding unit tests for view state mapper 2022-05-25 14:05:14 +02:00
Maxime NATUREL 401027e919 Adding end of live timestamp into view state 2022-05-25 14:05:14 +02:00
Maxime NATUREL bd473375a1 Fix no text visible if using direct pin drawable 2022-05-25 14:05:14 +02:00
Maxime NATUREL 79212321a2 Deactivate all previous active beacons when receiving one from user 2022-05-25 14:05:12 +02:00
Maxime NATUREL 40d8d5c605 Updating user pins on location update 2022-05-25 14:04:22 +02:00
Maxime NATUREL bec3f793f3 Improve query of current running live location shares 2022-05-25 14:04:22 +02:00
Maxime NATUREL ca9591e423 Fix set of userId in aggregation process 2022-05-25 14:04:22 +02:00
Maxime NATUREL 3b06f18ccb Remove unused imports 2022-05-25 14:04:22 +02:00
Maxime NATUREL 81b90df909 Observe the current live location shares in a room 2022-05-25 14:04:22 +02:00
Maxime NATUREL 7a7af40d61 Creation of LocationSharingService to get current users sharing their live locations 2022-05-25 14:04:20 +02:00
Maxime NATUREL 5410b61ae3 Show user pins with correct zoom when map is first opened 2022-05-25 14:03:37 +02:00