Commit Graph

5213 Commits

Author SHA1 Message Date
Valere 8dc57fe2f0
Merge pull request #5853 from vector-im/feature/aris/crypto_share_room_keys_past_messages
Share Megolm session keys when inviting a new user
2022-07-01 17:33:43 +02:00
Eric Decanini bdb49f5946
Merge pull request #5398 from vector-im/bugfix/eric/softlogout-ux-broken
Fixes broken SoftLogout UX for homeservers that support both Password and SSO
2022-07-01 15:52:48 +01:00
Valere d281f9dde5 use XXX not TODO 2022-07-01 16:07:03 +02:00
Maxime NATUREL d5b375e82b
Merge pull request #6414 from vector-im/feature/mna/reply-to-lls
[Location sharing] - Reply action on a live message (PSG-343)
2022-07-01 16:03:02 +02:00
Valere 6fd99dc302 resist ConnectivityManager$TooManyRequestsException 2022-07-01 15:56:03 +02:00
Valere 90a4e71b06 update flacky test 2022-07-01 14:30:21 +02:00
Maxime NATUREL f5e33ca980 Fix unit tests 2022-07-01 14:27:10 +02:00
Valere 08cb6de83d Fix migration 2022-07-01 11:08:35 +02:00
Valere fb5f0cbd00 Fix test compilation 2022-07-01 09:43:17 +02:00
Valere e7322e8524 outdated configuration 2022-07-01 09:43:17 +02:00
Valere 5a67c39c7f reuse code for test 2022-07-01 09:43:17 +02:00
Valere a885ff5e47 Fix test 2022-07-01 09:43:17 +02:00
Valere b0907de582 Fix migration 2022-07-01 09:43:17 +02:00
Valere ddd82441bd kdoc 2022-07-01 09:43:17 +02:00
Valere 8e829c6aad Add lab flag and more tests 2022-07-01 09:43:17 +02:00
Valere d9fb58fbcb Fix tests 2022-07-01 09:42:31 +02:00
Valere f64adeba7f fix bad sender key export 2022-07-01 09:42:31 +02:00
Valere 34145f0374 post rebase fix 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos df241dbdb8 Fix broken unit test 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 010cf540b6 Fix broken unit test 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 55fdff4242 Resolve merge conflicts 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos d3a516b05d Enhance key sharing to respect matrix configuration 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos a9a7400fef Add MXCryptoConfig flag for key history sharing
Add shared_history flag to sessionBackupData
2022-07-01 09:42:31 +02:00
Valere fb352ffa38 quick format 2022-07-01 09:42:31 +02:00
Valere d8d808d0b4 removed deprecated annotation, CI don't like 2022-07-01 09:42:31 +02:00
Valere 8c26592d46 cleaning 2022-07-01 09:42:31 +02:00
Valere 9b8e45ebfe share keys for history take2 2022-07-01 09:42:31 +02:00
Valere 93aac8faea post rebase fix 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 2e88998b05 Add integration tests for shared keys rotation on room history visibility change 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 3a5b737639 Fix existing E2eeSanityTests to support changes for key history sharing 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 28dd507a74 Add crypto shared history sanity test 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 96f0d52753 Update copyright 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 243463adbc Add logs 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 395d48f946 Refactor code structure and improve naming 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 497f7cf044 Rotate our session when there is a room history visibility change since the last outboundSession 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos d6358dcb16 Prevent injecting a forged encrypted message and using session_id/sender_key of another room. 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 28a3ae264c Remove sharedHistory from OlmInboundGroupSessionWrapper2 while there are migration issues, and use only the equivalent DB entity value 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos dd3928f075 Remove sendSharedHistoryKeys while we will only share latest messages 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos b3bfd05ecb - Share only the first chunk of inbound sessions instead of the whole key history
- Download keys if the user is unknown (first invite)
2022-07-01 09:42:31 +02:00
ariskotsomitopoulos e861edd544 Implement history key sharing functionality with respect to room visibility settings 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 6e57aeb9e5 Add roomId in InboundSessionEntity for better performance
Add shared history flag to InboundSessionEntity
2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 98b55457b5 Add sendSharedHistoryKeys in crypto service 2022-07-01 09:42:31 +02:00
ariskotsomitopoulos 34713d5023 Add sharing existing inbound sessions functionality on new room invites 2022-07-01 09:42:31 +02:00
Benoit Marty c77ecc6a21
Merge pull request #6288 from deepbluev7/nico/stable-aliases
Use stable endpoint for alias management
2022-06-30 22:30:14 +02:00
Benoit Marty 58580f1e6a
Merge pull request #6413 from vector-im/feature/bma/room_member_loading
Show a loader if all the Room Member are not yet loaded.
2022-06-30 17:13:50 +02:00
Benoit Marty fbbd6b1a90 Remove unused import 2022-06-30 17:13:13 +02:00
ganfra 6d1dd089f0 Update versions 2022-06-30 16:58:51 +02:00
Adam Brown 054c0435a8
Merge pull request #6130 from vector-im/dependabot/gradle/io.realm-realm-gradle-plugin-10.11.0
Bump realm-gradle-plugin from 10.9.0 to 10.11.0
2022-06-30 15:00:21 +01:00
Benoit Marty 90e851a4bc
Merge pull request #6392 from vector-im/feature/bma/safe_clearWith
Ensure clearWith lambda is deleting all the list item
2022-06-30 15:46:53 +02:00
Benoit Marty e53dd1e1a1 Improve readability. 2022-06-30 14:50:20 +02:00