Commit Graph

  • a98f23e2a7 base: Add a deserialized SyncResponse type. Damir Jelić 2020-11-21 22:48:27 +01:00
  • 53daf40c7c matrix-sdk: Use the latest ruma and olm-rs. Damir Jelić 2020-11-21 16:33:12 +01:00
  • dedb1eb745 Merge branch 'update-ruma' Damir Jelić 2020-11-20 21:21:24 +01:00
  • c40edcf2fc matrix-sdk: Try to lower our compile times, at least in the crypto part for now. Damir Jelić 2020-10-19 18:23:48 +02:00
  • 6509e72a74 Revert "base: Don't handle the wildcard case for member events anymore." Damir Jelić 2020-10-19 16:58:26 +02:00
  • 38fec7f2b3 Upgrade ruma Jonas Platte 2020-10-18 02:01:39 +02:00
  • 9edf8657d0 base: WIP lazy loading support. Damir Jelić 2020-11-20 17:20:07 +01:00
  • 95243003c4 Update ruma Alejandro Domínguez 2020-11-20 19:46:23 +01:00
  • 3da1d3cf8f store: Use streams so we don't load all members at once. Damir Jelić 2020-11-16 18:11:12 +01:00
  • 8ed8929788 base: Fix the storing of invited and joined user ids. Damir Jelić 2020-11-12 12:59:43 +01:00
  • 133b230964 base: Change the way we're saving our room summary updates. Damir Jelić 2020-11-12 11:21:37 +01:00
  • 3a1eeb6a16 Merge branch 'crypto-improvements' into new-state-store Damir Jelić 2020-11-11 14:43:49 +01:00
  • 3f57ba57d0 base: WIP start to split out the steps collect changes, save changes, apply changes. Damir Jelić 2020-10-25 21:05:18 +01:00
  • 11fcf5c42f rust-sdk: Document the cross signing bootstrap method. Damir Jelić 2020-11-05 14:33:45 +01:00
  • b27f1b0e34 crypto: Fix some clippy warnings. Damir Jelić 2020-10-30 14:38:29 +01:00
  • b67cd4ddd2 crypto: Create a trusted public cross signing identity when we create a private one. Damir Jelić 2020-10-30 13:21:14 +01:00
  • 44cc1cef71 crypto: Let devices hold on to the private identity. Damir Jelić 2020-10-30 11:41:48 +01:00
  • 34bec59389 crypto: Hold on to the private identity in the store. Damir Jelić 2020-10-30 11:34:55 +01:00
  • cb95f576a5 crypto: Clear out the signatures when signing a device. Damir Jelić 2020-10-29 15:37:29 +01:00
  • 5c530cf9ee crypto: Upload signatures after verification is done. Damir Jelić 2020-10-27 16:39:23 +01:00
  • 30a78bb1d6 crypto: Add the private identity to the Sas object. Damir Jelić 2020-10-27 14:21:22 +01:00
  • 2077ea0ddf crypto: Split out the device_key signing method. Damir Jelić 2020-10-27 13:48:51 +01:00
  • e757d605f5 crypto: Allow users to be signed as well. Damir Jelić 2020-10-27 13:20:28 +01:00
  • 61a5293af5 cyrpto: Document the signing module. Damir Jelić 2020-10-26 15:27:42 +01:00
  • 6e83a4bbca crypto: Split out the signing module into two files. Damir Jelić 2020-10-26 14:49:24 +01:00
  • 5c14910126 crypto: WIP cross signing bootstrap. Damir Jelić 2020-10-24 10:32:17 +02:00
  • dc57873687 base: WIP more work on the new state store. Damir Jelić 2020-10-25 21:03:03 +01:00
  • 962f725d63 Merge branch 'crypto-improvements' into new-state-store Damir Jelić 2020-10-24 20:16:59 +02:00
  • c1e679147d base: First working version of the new state store. Damir Jelić 2020-10-24 20:01:39 +02:00
  • 4cc803fe27 crypto: WIP cross signing bootstrap. Damir Jelić 2020-10-24 10:32:17 +02:00
  • 8ed1e37cef crypto: Save the account if we create a new one. Damir Jelić 2020-10-23 11:17:37 +02:00
  • 5fd004bae5 crypto: Connect the private identity to the verification machine. Damir Jelić 2020-10-22 18:04:29 +02:00
  • 9ce7feea1a base: Wip. Damir Jelić 2020-10-23 09:39:08 +02:00
  • 7de002b128 crypto: Fix some lint issues. Damir Jelić 2020-10-22 16:40:05 +02:00
  • f60dc7ed78 crypto: Allow cross signing identities to be stored/restored. Damir Jelić 2020-10-22 14:52:19 +02:00
  • bdf32eecc7 base: More work on the new state store. Damir Jelić 2020-10-22 09:46:12 +02:00
  • 78d7f6c10b crypto: Fix a clippy issue. Damir Jelić 2020-10-21 17:05:36 +02:00
  • fa25ca4475 crypto: Make the pickle key encryption future proof. Damir Jelić 2020-10-21 16:50:59 +02:00
  • c9db63509f crypto: Add error handling to the signing module. Damir Jelić 2020-10-21 16:24:10 +02:00
  • ac0df5dea9 crypto: Properly handle errors in the pickle key decryption. Damir Jelić 2020-10-21 15:28:43 +02:00
  • d175c47a05 crypto: Use a random pickle key in the sqlite store. Damir Jelić 2020-10-21 15:13:21 +02:00
  • 959e8450af crypto: Use a transaction to create sqlite tables. Damir Jelić 2020-10-21 14:01:27 +02:00
  • dd0642cd59 crypto: Add a pickle key struct. Damir Jelić 2020-10-21 13:21:22 +02:00
  • 6a7da5a8b6 crypto: Correctly generate a random nonce for pickling of the signing objects. Damir Jelić 2020-10-21 12:55:45 +02:00
  • 5323e6e270 store: More work, add the ability to store member events. Damir Jelić 2020-10-21 09:38:13 +02:00
  • 045ab25fb7 base: Add initial state store based on sled. Damir Jelić 2020-10-20 09:04:24 +02:00
  • cd3d90df3f base: Remove a bunch of stuff and add sled. Damir Jelić 2020-10-19 19:11:12 +02:00
  • 92bedb4571 Upgrade ruma Jonas Platte 2020-10-18 02:01:39 +02:00
  • 7cab7cadc9 crypto: Rework the cryptostore. Damir Jelić 2020-10-20 17:19:37 +02:00
  • 728d80ed06 crypto: Connect the cross signing to the main state machine. Damir Jelić 2020-10-19 16:03:01 +02:00
  • 0c1d33d43f Merge branch 'master' into crypto-improvements Damir Jelić 2020-10-18 10:21:52 +02:00
  • 8f99180c99 Merge branch 'up-ruma' into master Damir Jelić 2020-10-18 10:17:43 +02:00
  • 0682292b91 Upgrade ruma Jonas Platte 2020-10-18 02:01:39 +02:00
  • 404cc410cc crypto: Fix the docs and return value of the import_keys method. Damir Jelić 2020-10-17 14:39:19 +02:00
  • 17cc4fcb81 matrix-sdk: Fix an import for the non-crypto case. Damir Jelić 2020-10-16 19:45:38 +02:00
  • 93f49265a6 crypto: Use a git version of sqlx. Damir Jelić 2020-10-16 19:39:50 +02:00
  • b1c8c64205 matrix-sdk: Add support to delete devices. Damir Jelić 2020-10-16 17:27:00 +02:00
  • 425a07d670 crypto: Don't load all the devices in the sqlite store. Damir Jelić 2020-10-16 16:53:10 +02:00
  • 4262f1d3b0 crypto: Don't cache inbound group sessions in the sqlite store. Damir Jelić 2020-10-16 15:54:50 +02:00
  • b5560d3cb6 crypto: More transactions in the sqlite store. Damir Jelić 2020-10-16 15:23:34 +02:00
  • fc54c63a4c crypto: Upgrade sqlx to the beta release. Damir Jelić 2020-10-16 15:05:53 +02:00
  • e7a24d5e68 crypto: Move the session managers under a common module. Damir Jelić 2020-10-16 11:09:55 +02:00
  • b5c9473424 crypto: Test the session unwedging logic. Damir Jelić 2020-10-15 15:03:22 +02:00
  • 59d7b53242 crypto: Add an user for a key request if the device was marked as wedged. Damir Jelić 2020-10-15 15:02:02 +02:00
  • 59a7199202 crypto: Initial test for the session manager. Damir Jelić 2020-10-15 13:58:35 +02:00
  • d1313b8614 crypto: Fix another clippy warning. Damir Jelić 2020-10-14 16:15:26 +02:00
  • 4e8ce4cb5d crypto: Fix clippy warnings and don't use the PickleMode for signing pickling. Damir Jelić 2020-10-14 16:01:52 +02:00
  • c85fe6bc21 crypto: Initial support for private cross signing identities. Damir Jelić 2020-10-14 15:35:06 +02:00
  • 3338ecf62a Merge branch 'master' into crypto-improvements Damir Jelić 2020-10-13 13:02:02 +02:00
  • 1c6a67d864 matrix-sdk: Bump our deps. Damir Jelić 2020-10-13 13:01:18 +02:00
  • e737200fbe matrix-sdk: Remove an useless import. Damir Jelić 2020-10-13 11:20:43 +02:00
  • 41b3b0651f matrix-sdk: Don't use strings for the content type in the upload methods. Damir Jelić 2020-10-13 11:00:52 +02:00
  • 1cabc0cac9 crypto: Correctly store the uploaded key count when saving the account. Damir Jelić 2020-10-13 09:47:49 +02:00
  • e0ee03fa6f Update room_messages docstring to reflect actual state of the API. Denis Kasak 2020-10-12 21:18:51 +02:00
  • 4ec7aff301 Add documentation on enabling logging. Denis Kasak 2020-10-12 12:27:37 +02:00
  • f5ff91935f Add missing apostrophe. Denis Kasak 2020-10-11 23:41:22 +02:00
  • 7519bec9a3 Tweak descriptions given by Describe impls. Denis Kasak 2020-08-19 15:34:45 +02:00
  • bf7070b8f2 Merge branch 'client-get-session' into master Damir Jelić 2020-10-12 15:45:55 +02:00
  • 39fc33d37a Merge branch 'ser-deser-session' into master Damir Jelić 2020-10-12 15:36:32 +02:00
  • d81a6e6872 cargo fmt Denis Kasak 2020-10-12 15:17:46 +02:00
  • 2afc0c7661 Implement BaseClient::get_session to retrieve the login session. Denis Kasak 2020-10-12 15:11:43 +02:00
  • f349811020 Add Serialize/Deserialize impls for matrix_sdk::Session. Denis Kasak 2020-10-12 14:54:17 +02:00
  • 0ab12fe969 examples: Add some whitespace to the autojoin example. Damir Jelić 2020-10-12 12:50:03 +02:00
  • c4ac0d0570 matrix-sdk: example: retry autojoin strct 2020-10-10 15:57:23 +02:00
  • d039a39d84 common: Expose the lock guards publicly. Damir Jelić 2020-10-10 12:08:58 +02:00
  • 1c008f549c common: Expose the lock guards publicly. Damir Jelić 2020-10-10 12:08:58 +02:00
  • bd0ac703a0 crypto: Initial logic for session unwedging. Damir Jelić 2020-10-09 15:39:35 +02:00
  • 6d2e9cfc02 crypto: Share the users_for_key_claim map between modules. Damir Jelić 2020-10-09 11:36:31 +02:00
  • 661f182382 Merge branch 'master' into crypto-improvements Damir Jelić 2020-10-08 18:28:04 +02:00
  • 9ea4835e3e Revert "matrix_sdk examples: set #![type_length_limit = "1075569"]" Dominique Martinet 2020-10-08 17:48:57 +02:00
  • 2602c36ad0 matrix_sdk_base: save room states after successfully parsed account events Dominique Martinet 2020-10-08 09:06:27 +02:00
  • d858940342 matrix_sdk_base: handle response.account_data events Dominique Martinet 2020-10-07 19:03:42 +02:00
  • 883183324f matrix_sdk_base: room: add direct_target field Dominique Martinet 2020-10-07 19:02:13 +02:00
  • 7d023ebdb9 matrix_sdk examples: set #![type_length_limit = "1075569"] Dominique Martinet 2020-10-08 15:25:32 +02:00
  • 473e49252e crytpo: Get the session from the list of sessions in a safe manner. Damir Jelić 2020-10-08 15:56:17 +02:00
  • d96c9f85a1 crypto: Add doces for the get_missing_sessions method. Damir Jelić 2020-10-08 14:50:35 +02:00
  • 279ce0bba0 crypto: Split out the Olm session handling logic into a separate module. Damir Jelić 2020-10-08 14:41:34 +02:00
  • da5ef42719 crypto: Log when we invalidate a group session. Damir Jelić 2020-10-08 14:03:01 +02:00
  • a4eae1053c matrix_sdk: expose RoomMember Dominique Martinet 2020-10-07 14:23:37 +02:00
  • f7039d9a8d matrix_sdk_base: expose RoomMember Dominique Martinet 2020-10-07 14:23:15 +02:00