Commit Graph

17447 Commits

Author SHA1 Message Date
Valere 28ca03cc67 Simple check to prevent frozen class modificaiton 2022-07-01 11:54:30 +02:00
Benoit Marty c6a89c738a
Merge pull request #6419 from vector-im/dependabot/gradle/androidx.activity-activity-1.5.0
Bump activity from 1.4.0 to 1.5.0
2022-07-01 11:47:49 +02:00
Benoit Marty 529898d9fa
Merge pull request #6420 from vector-im/dependabot/gradle/fragment-1.5.0
Bump fragment from 1.4.1 to 1.5.0
2022-07-01 11:47:18 +02:00
Benoit Marty 9a2beb5017
Merge pull request #6416 from vector-im/dependabot/gradle/flipper-0.152.0
Bump flipper from 0.151.1 to 0.152.0
2022-07-01 11:43:53 +02:00
Valere 08cb6de83d Fix migration 2022-07-01 11:08:35 +02:00
Florian Renaud c25edfada4 Remove unused imports 2022-07-01 10:09:26 +02:00
Florian Renaud 0dad4cb02a Set current ts for local events age 2022-07-01 09:57:45 +02:00
Florian Renaud 7415623c2f Update room description style 2022-07-01 09:48:12 +02:00
Florian Renaud c7db89613c Split code in MergedRoomCreationItem 2022-07-01 09:48:11 +02:00
Florian Renaud 71320e42d0 Show date separator in local room timeline 2022-07-01 09:48:11 +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 45c80de333 Add changelog 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
Florian Renaud 33a19c1ef5 Merge branch 'develop' into feature/fre/start_dm_on_first_msg
* develop: (91 commits)
  Remove unused import
  Update versions
  Update CHANGES
  Improve readability.
  Weblate: also clean trads
  Changelog
  Format file
  Add android:hasFragileUserData="true" to the manifest. See details in #2352
  Clean the TODO delete (UnusedResource not compatible with string template)
  showing a toast on password reset confirmation
  lifting duplicated event_base layout to the base class, with the option for children to override
  using vector model for consistency
  Replace 5 manual steps to 1 command line step
  Translated using Weblate (Italian)
  Translated using Weblate (Swedish)
  Translated using Weblate (Swedish)
  Translated using Weblate (Russian)
  extracting common breaker background selection to ftue extensions
  removing unused imports
  adding changelog entry
  ...
2022-07-01 09:35:40 +02:00
Benoit Marty e2a55fb6f6
Merge pull request #4364 from vector-im/yostyle/open_url_on_browser_task
Open URL on external browser task
2022-06-30 22:36:26 +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