Commit Graph

  • 4fda5e5ff0 Backup support Damir Jelić 2023-10-22 13:07:30 +02:00
  • 8096dc3275 Add a higher level method to sign backup versions Damir Jelić 2023-10-26 12:14:47 +02:00
  • ddad613db5 Add a helper to more easily upload info about a new backup decryption key Damir Jelić 2023-10-22 13:11:17 +02:00
  • ec8dc91b25 Implement PartialEq for the backup decryption key Damir Jelić 2023-10-22 13:10:34 +02:00
  • cb55d94d00 Add some higher level methods to decrypt backed up room keys Damir Jelić 2023-10-03 13:19:04 +02:00
  • b263c14e0f Add a method to create an ExportedRoomKey from a BackedUpRoomKey Damir Jelić 2023-10-03 13:19:31 +02:00
  • 4596372869 Add a getter for the backup auth data to the BackupDecryptionKey Damir Jelić 2023-10-03 13:18:16 +02:00
  • 6a916b4e52 Use the better Signatures type Damir Jelić 2023-10-03 13:17:49 +02:00
  • 5ba540a883 Enable backups in the crypto crate by default Damir Jelić 2023-09-29 12:59:55 +02:00
  • 8d39a1d9b9 Add a backup specific method to import room keys Damir Jelić 2023-10-03 13:16:38 +02:00
  • 49c6e2cb92 Bump Ruma Damir Jelić 2023-10-25 12:08:59 +02:00
  • 38e10dbd38 Add an example for the secret storage support Damir Jelić 2023-09-26 12:57:05 +02:00
  • ee06e1d5ba Add a test for the secret storage support in the main crate Damir Jelić 2023-09-26 12:56:34 +02:00
  • 16dda959e5 Add secret storage support to the main SDK crate Damir Jelić 2023-09-26 12:56:10 +02:00
  • 7e1eaddf5d Bump tracing in cargo manifest Kévin Commaille 2023-10-31 12:18:44 +01:00
  • 61eb9cea8c sdk: Improve documentation of send, send_raw Jonas Platte 2023-10-31 10:20:00 +01:00
  • a00c0c1c02 ffi: Fix outdated / misplaced comment Jonas Platte 2023-10-31 09:57:38 +01:00
  • 3fc1b3adb9 sdk: Update argument order for send_state_event_raw Jonas Platte 2023-10-30 18:00:57 +01:00
  • 1609a73e99 sdk: Update argument order for send_raw Jonas Platte 2023-10-30 17:45:11 +01:00
  • 8f108d4064 sdk: Fix tracing span field "encrypted" in send_raw Jonas Platte 2023-10-30 17:44:51 +01:00
  • 463a02a4ef sdk: Make transaction_id truly optional for send and send_raw Jonas Platte 2023-10-30 17:31:02 +01:00
  • 8a1506206b sdk: Clean up logging in send_raw Jonas Platte 2023-10-30 16:47:18 +01:00
  • 4b702da8e8 Make IntoFuture implementations a little easier to read and write Jonas Platte 2023-10-30 16:37:09 +01:00
  • 18b714116e sdk: Stop re-exporting named futures in regular modules Jonas Platte 2023-10-30 16:23:01 +01:00
  • 380735ab46 crypto: put the KeyQueryManager in the IdentityManager Benjamin Bouvier 2023-10-30 18:12:47 +01:00
  • 4158d00fac crypto: rename KeyQueryManager::tracked_user_loading_lock to loaded_tracked_users Benjamin Bouvier 2023-10-30 17:22:16 +01:00
  • 56aff649c5 crypto: introduce a KeyQueryManager Benjamin Bouvier 2023-10-30 16:07:47 +01:00
  • f945a50d22 Update crates/matrix-sdk-ui/src/timeline/mod.rs Benjamin Bouvier 2023-10-30 16:18:07 +01:00
  • 901518d745 Merge compare_receipts and pub_or_priv_receipt into a more generic method Kévin Commaille 2023-10-28 10:14:21 +02:00
  • 1fe4bff05c Improve docs Kévin Commaille 2023-10-28 09:59:22 +02:00
  • 3690bdd6a1 ui: Add regression test for clearing read receipts Kévin Commaille 2023-10-24 08:45:59 +02:00
  • 70eb400d11 ui: Add method to know the position in the timeline of a user read receipt Kévin Commaille 2023-10-12 10:09:04 +02:00
  • 1c602a8919 ui: Clear all read receipts maps Kévin Commaille 2023-10-12 09:42:48 +02:00
  • e4ec8f03eb crypto: remove useless fallibility of StoreTransaction::new Benjamin Bouvier 2023-10-30 15:33:40 +01:00
  • 597cff5d9d crypto: make it impossible to have two Accounts alive at the same time Benjamin Bouvier 2023-10-30 15:31:09 +01:00
  • 7dde4ec1e8 widget: Add reading of message-like events Daniel Abramov 2023-10-27 21:42:11 +02:00
  • 0f420a61dc widget: Add tests for non-allowed matrix requests Daniel Abramov 2023-10-27 20:15:47 +02:00
  • 9d5e7c59f3 Fix tracing timer API so it works with updated tracing Benjamin Bouvier 2023-10-30 12:33:57 +01:00
  • 1f534821f6 Bump tracing Benjamin Bouvier 2023-10-30 12:33:41 +01:00
  • 245c102169 examples: Add required clap feature for example-timeline Jonas Platte 2023-10-30 11:51:29 +01:00
  • 1da785e6cb fix(crypto): upload device keys *before* sending the keys signature during XSigning bootstrapping Benjamin Bouvier 2023-10-27 12:34:53 +02:00
  • f917b32407 crypto: remove useless async in a few functions Benjamin Bouvier 2023-10-27 11:50:24 +02:00
  • 631ab26d8b Rename some variables in crypto related to cross-signing bootstrapping Benjamin Bouvier 2023-10-27 11:47:33 +02:00
  • 0f442b4c83 crypto: don't use a transaction when it can be avoided Benjamin Bouvier 2023-10-27 11:24:41 +02:00
  • 0c333ed335 Refactor olm message decryption logic (#2751) Richard van der Hoff 2023-10-27 12:57:18 +01:00
  • 28c4f2dc14 base: Inline MemoryStore inherent methods into StateStore impl block Jonas Platte 2023-10-25 12:35:21 +02:00
  • 686fc99ebd sdk: Replace dashmap usage by std types Jonas Platte 2023-10-25 12:30:27 +02:00
  • 113bdbd835 base: Replace dashmap usage by std types Jonas Platte 2023-10-25 12:27:49 +02:00
  • 1d90dd554c Test some verification getters in the heavyweight verification integration test Benjamin Bouvier 2023-10-26 17:27:27 +02:00
  • 05a1021724 Use assert_let! instead of assert_matches! with bindings Jonas Platte 2023-10-25 10:56:52 +02:00
  • 23571d0257 ui: Replace qualified path with use Jonas Platte 2023-10-24 17:14:04 +02:00
  • c533297efd test: move the mocked endpoints into their own functions Benjamin Bouvier 2023-10-26 15:54:24 +02:00
  • 870faa48d1 tests: add mutual verification test Benjamin Bouvier 2023-10-24 14:56:30 +02:00
  • a515bc8f03 ffi: Remove tokio::Runtime::block_on usage in async fn Jonas Platte 2023-10-25 15:57:26 +02:00
  • bc81cc317f ui: Log event type when an event fails to deserialize Jonas Platte 2023-10-25 14:58:45 +02:00
  • 570ef38de3 Remove unused anyhow import Stefan Ceriu 2023-10-24 17:40:00 +03:00
  • 468337f026 Update bindings/matrix-sdk-ffi/src/session_verification.rs Benjamin Bouvier 2023-10-24 16:36:06 +02:00
  • 040d095a04 Change the is_verified flag source to device.is_cross_signed_by_owner as theoretically the previous implementation was wrong Stefan Ceriu 2023-10-24 16:40:08 +03:00
  • fa90269e7e Fixes vector-im/element-x-ios/issues/1868 - Incorrect is_verified flag after successfully running verification flow - the inner user_identity isn't automatically updated when the flow finishes, needs to be fetched again from encryption Stefan Ceriu 2023-10-24 16:21:45 +03:00
  • 93edf7a064 tests: add test for cross-signing bootstrapping and unchecked self-verification Benjamin Bouvier 2023-10-23 17:13:10 +02:00
  • 79065edabf ui: Test next_event_limit for different pagination strategies Jonas Platte 2023-10-24 13:49:26 +02:00
  • cd1e3928ad ui: Exclude another Debug impl from coverage reporting Jonas Platte 2023-10-24 13:35:26 +02:00
  • 61335af40d widget: Add a test for receiving live events Jonas Platte 2023-10-24 11:21:01 +02:00
  • a0128a94ef base: Log when the same sync response is received twice Jonas Platte 2023-10-24 11:08:20 +02:00
  • 95ced18edd Implement Default for the CrossSigningKeyExport Damir Jelić 2023-09-26 12:55:03 +02:00
  • cd310d52d4 Add a convenience method to check if we have all cross-signing keys Damir Jelić 2023-09-26 12:52:42 +02:00
  • dc92ce8b40 Add a convenience method to get your own device out of the store Damir Jelić 2023-09-26 12:52:20 +02:00
  • b0aa0ec5de widget: Add unit test to cover possible "deadlock" Daniel Abramov 2023-10-23 18:49:56 +02:00
  • d81d2bf01a widget: Let machine's process() return Action Daniel Abramov 2023-10-22 19:12:55 +02:00
  • 7d2d1a53bf Exclude Store from tracing Richard van der Hoff 2023-10-23 18:31:18 +01:00
  • 0107bcfd0d cross-signing bootstrapping: test that failure in bootstrapping doesn't block login Benjamin Bouvier 2023-10-23 15:26:53 +02:00
  • e1feefcbb0 chore: make clippy happy Benjamin Bouvier 2023-10-20 12:50:07 +02:00
  • 456472af6c tests: for cross-signing bootstrapping Benjamin Bouvier 2023-10-19 18:53:30 +02:00
  • 536d1ab527 feat: allow cross-signing bootstrapping in OIDC too Benjamin Bouvier 2023-10-19 17:55:05 +02:00
  • 0754c75436 client builder: add a method to set encryption settings Benjamin Bouvier 2023-10-19 17:46:09 +02:00
  • 1c0c9b8ab3 encryption: prefix a few test case names with test_ Benjamin Bouvier 2023-10-19 17:25:27 +02:00
  • 11f4b54394 encryption: add documentation for the new methods Benjamin Bouvier 2023-10-19 17:20:48 +02:00
  • 80bbd77f3b feat: allow automatically enabling cross-signing on login Damir Jelić 2023-10-19 17:05:16 +02:00
  • 6f992d1ad8 ui: Add a test for updating member profiles Jonas Platte 2023-10-23 17:58:56 +02:00
  • 1ce67cc9e6 test: Use DEFAULT_TEST_ROOM_ID in more places Jonas Platte 2023-10-23 16:27:30 +02:00
  • 254efed150 test: Rename DEFAULT_SYNC_ROOM_ID to DEFAULT_TEST_ROOM_ID Jonas Platte 2023-10-23 11:35:52 +02:00
  • f43eb94a8c Better documentation for share_room_key (#2741) Valere 2023-10-23 18:37:56 +02:00
  • 9ccc36ccc8 Add more tests for the secret storage support in the crypto crate Damir Jelić 2023-10-23 12:28:46 +02:00
  • 17dead5641 read receipts: avoid allocating an indexmap consumed as an iterator thereafter Benjamin Bouvier 2023-10-23 16:42:05 +02:00
  • 3ea9b8ed53 Apply suggestions from code review Benjamin Bouvier 2023-10-23 16:28:47 +02:00
  • a07062a990 Use std::cmp::Ordering Kévin Commaille 2023-10-23 16:23:20 +02:00
  • 7b2a502e7d ui: Add tests for initial user read receipt Kévin Commaille 2023-10-18 09:59:56 +02:00
  • 177f15b2e5 ui: Allow to get latest user read receipt for any room data provider Kévin Commaille 2023-10-18 09:59:31 +02:00
  • 3bd10a05c1 Add a test for receipt comparison Kévin Commaille 2023-10-11 14:52:38 +02:00
  • ff83f5abcb ui: Handle read receipts in the main thread Kévin Commaille 2023-10-11 13:02:34 +02:00
  • ddb4bf13b1 ui: Add user_receipt method on RoomDataProvider Kévin Commaille 2023-10-11 12:56:08 +02:00
  • 0006f85103 Make reldbg inherit dbg and contain debug symbols Stefan Ceriu 2023-10-23 15:45:55 +03:00
  • 4933a50496 Add active calls to RoomInfo Timo 2023-10-23 15:05:12 +02:00
  • a052f26748 Bump synapse image version in integration testing Benjamin Bouvier 2023-10-23 14:38:48 +02:00
  • b9b4e4e1e0 test: bump the sliding-sync image versions Benjamin Bouvier 2023-10-23 13:33:50 +02:00
  • 55257f2b8d test: remove uninteresting smoke test for sliding sync in integration suite Benjamin Bouvier 2023-10-23 11:48:46 +02:00
  • 6368c699c2 test: Merge the two integration test suites into a single one Benjamin Bouvier 2023-10-23 11:48:19 +02:00
  • 7440ce0a0c Use the GlobalAccountDataEventType instead of a string for the event type Damir Jelić 2023-09-27 10:20:43 +02:00
  • fda24d312b Re-export the MacError type of the secret storage module Damir Jelić 2023-09-26 12:54:29 +02:00
  • 21a4e7d1b2 Clean up to-device message logging (#2747) Richard van der Hoff 2023-10-20 18:54:27 +01:00