Commit Graph

  • 514ced1243 crypto: Don't add the same session twice to the memory session store. Damir Jelić 2020-04-16 10:09:53 +0200
  • 5fa6b2fc06 Merge branch 'master' into state-store Devin R 2020-04-15 17:55:27 -0400
  • bedb788432 crypto: Test the keys info for a device. Damir Jelić 2020-04-15 18:55:15 +0200
  • 14f25bf66a crypto: Skip the coverage for debug implementations. Damir Jelić 2020-04-15 18:22:04 +0200
  • aeb93e19e2 crypto: Test our in-memory device store. Damir Jelić 2020-04-15 17:51:51 +0200
  • 616a67c1cb Merge branch 'bot-example' Damir Jelić 2020-04-15 16:10:18 +0200
  • 9b52b58fea command_bot: pass sync_token to sync_forever Devin R 2020-04-15 09:54:53 -0400
  • af73ebdf09 crypto: Add some tests to our in-memory stores. Damir Jelić 2020-04-15 15:32:58 +0200
  • 63368a9437 command_bot: remove timestamp Devin R 2020-04-15 08:44:29 -0400
  • c495a50c52 async_client: make pub API take &self instead of &mut, use read where possible Devin R 2020-04-15 08:29:34 -0400
  • 202ab9b050 travis: Disable the chache for now as it seems to time out. Damir Jelić 2020-04-15 14:20:34 +0200
  • 3f9243a326 command-bot: add comments, use timestamp to filter old messages Devin R 2020-04-15 07:52:29 -0400
  • 53a2b8eb7c crypto: Implement a better debug trait for sessions. Damir Jelić 2020-04-15 13:46:43 +0200
  • 49e962e9c4 event_emitter: use Arc<RwLock<Room for EventEmitter and joined_rooms HashMap Devin R 2020-04-15 06:58:25 -0400
  • 33a1b8b791 crypto: Add more test for the Olm wrappers. Damir Jelić 2020-04-15 12:44:00 +0200
  • 6d1cbcd9ca remove runtime and clean up example Devin R 2020-04-14 18:14:14 -0400
  • cf029b2e4f make EventEmitter shared refs, in AsyncClient::sync lock only in inner most scope Devin R 2020-04-14 18:10:10 -0400
  • 9c73947e21 design-doc: add more state store info Devin R 2020-04-14 16:23:55 -0400
  • a5ab7d97da use AsyncClient::sync_forever Devin R 2020-04-14 15:16:20 -0400
  • 87c9dbdad7 clone client Devin R 2020-04-14 14:49:29 -0400
  • 6f2b5194d1 remove unused imports/vars Devin R 2020-04-14 08:45:40 -0400
  • 018ffaf1a8 Merge branch 'master' of https://github.com/matrix-org/matrix-rust-sdk into bot-example Devin R 2020-04-14 08:41:31 -0400
  • 5f2269f12f party bot example responds to !party Devin R 2020-04-14 08:39:51 -0400
  • 6bdf8e522e Merge branch 'api-endpoints' Damir Jelić 2020-04-14 14:22:23 +0200
  • 25e60d398b crypto: Move the session mutex into the Session struct. Damir Jelić 2020-04-14 14:05:18 +0200
  • f857fbb25b remove unused sync2 json, pre-commit all files Devin R 2020-04-14 07:19:58 -0400
  • 2cfaf64feb cargo fmt/clippy Devin R 2020-04-14 06:42:42 -0400
  • e64d073402 rename RoomMessageBuilder, make examp build, expand on docs Devin R 2020-04-14 06:36:03 -0400
  • 1a7856e9fe fix room_send example, cargo fmt/clippy Devin R 2020-04-13 14:46:54 -0400
  • fb10e9bf87 add optional txn_id to room_send, add docs to room_messages Devin R 2020-04-13 14:08:51 -0400
  • a0973dec85 Merge branch 'master' of https://github.com/matrix-org/matrix-rust-sdk into state-store Devin R 2020-04-13 10:21:44 -0400
  • 0d8702b292 rename get_message_events to room_messages Devin R 2020-04-12 08:21:23 -0400
  • be34b72a0b state_store: WIP trait layout and default json impl Devin R 2020-04-11 13:15:36 -0400
  • 5180f99a0e cargo fmt/update fixed olm Devin R 2020-04-11 15:58:34 -0400
  • 5f6cbbb193
    fix matrix badge link Caleb Bassi 2020-04-11 12:01:29 -0700
  • 7aeeeea432 request_builder: test GetMessageBuilder Devin R 2020-04-11 08:46:45 -0400
  • 6358db94c7 more docs Devin R 2020-04-10 21:44:16 -0400
  • c69d54e2d4 async_client: impl kick, join, leave, invite, create for Devin R 2020-04-10 16:32:28 -0400
  • cb8f1c1a5b crypto: Zeroize the GroupSessionKey struct. Damir Jelić 2020-04-10 17:02:51 +0200
  • 8210c2377d crypto: Take the session key out of the RoomKey event. Damir Jelić 2020-04-10 17:02:30 +0200
  • 01656690bc crypto: Save the account after an inbound session was created. Damir Jelić 2020-04-10 16:18:55 +0200
  • 7577ddfc00 crypto: Remove one-time keys after a inbound session was created successfully. Damir Jelić 2020-04-10 16:18:29 +0200
  • c282d9fabc machine: Uncomment account saving after keys were published. Damir Jelić 2020-04-10 16:17:31 +0200
  • a4d41378d4 crypto: Move the inbound group session lock into the session struct. Damir Jelić 2020-04-10 16:08:47 +0200
  • b8d6a4c49a crypto: Move the account mutex into the account struct. Damir Jelić 2020-04-10 15:28:43 +0200
  • 7c20c79f32 crypto: Add test for the session creation. Damir Jelić 2020-04-10 14:44:50 +0200
  • af7309033c crypto: Rename the session creation method. Damir Jelić 2020-04-10 14:44:25 +0200
  • d04c7e0190 crypto: Add a GroupSessionKey type. Damir Jelić 2020-04-10 14:00:03 +0200
  • 9d52037b40 crypto: Add docs to our olm-rs wrappers. Damir Jelić 2020-04-10 13:47:38 +0200
  • c215dfa55d crypto: Don't manually implement Send, those are now in olm-rs. Damir Jelić 2020-04-10 11:59:51 +0200
  • bdd1fb2c19 async_client: Expand the docs for the message sending method. Damir Jelić 2020-04-10 11:53:07 +0200
  • 7540e025f1 async_client: Share group sessions before encrypting room messages. Damir Jelić 2020-04-10 11:50:18 +0200
  • a389905734 base_client: Expose the method to check if a group session needs to be shared. Damir Jelić 2020-04-10 11:47:01 +0200
  • b43407b165 crypto: Add a method to check if a group session needs to be shared. Damir Jelić 2020-04-10 11:46:31 +0200
  • 0a2b66de9a crytpo: Change the share_group_session method to always create a new session. Damir Jelić 2020-04-10 11:45:50 +0200
  • 1504b3a02a crypto: Change the encrypt method to not require to take mut self. Damir Jelić 2020-04-10 11:44:09 +0200
  • 1e3f93ca22 crypto: Remove an unused enumerate. Damir Jelić 2020-04-10 11:43:03 +0200
  • 86617b42e2 async_client: Remove the transaction id. Damir Jelić 2020-04-10 11:41:16 +0200
  • c5f7af9118 crypto: Recreate group sessions if they are expired. Damir Jelić 2020-04-10 09:58:13 +0200
  • 0215e89ff8 crypto: Use an UUID for the to-device requests for session sharing. Damir Jelić 2020-04-10 09:57:10 +0200
  • 58585b9828 Cargo.toml: Depend on the git hosted ruma crates. Damir Jelić 2020-04-09 17:04:34 +0200
  • 609df21271 async_client: Add a method to share room keys. Damir Jelić 2020-04-09 16:29:03 +0200
  • 61f3da3161 async_client: Add the content-type header to our requests. Damir Jelić 2020-04-09 16:28:27 +0200
  • ee290add45 async_client: Build the URL path a bit more cleanly. Damir Jelić 2020-04-09 16:27:43 +0200
  • 8583232873 base_client: Expose the methods necessary for message encryption. Damir Jelić 2020-04-09 16:27:09 +0200
  • 01664bc613 async_client: Allow the content and event type to be overridden when sending messages. Damir Jelić 2020-04-09 16:26:00 +0200
  • dc2983d9a2 crypto: Add initial support to encrypt messages. Damir Jelić 2020-04-09 16:24:40 +0200
  • a5f43db859 crypto: Add some more methods to the group session wrapper. Damir Jelić 2020-04-09 16:23:24 +0200
  • b4de95185d device: Change to the higher level ruma types for device ids. Damir Jelić 2020-04-09 16:22:25 +0200
  • 2c7115da84 async_client: Use a UUID for the transaction id. Damir Jelić 2020-04-09 16:19:32 +0200
  • f19e251de1 crypto: Add some initial code for megolm session sharing. Damir Jelić 2020-04-08 15:06:57 +0200
  • 816295cd48 crytpo: Add a wrapper for outbound megolm sessions. Damir Jelić 2020-04-08 15:05:57 +0200
  • 834d8d7d37 remove serde from dev-deps, add crypto info to design Devin R 2020-04-08 07:13:43 -0400
  • 7e6c90ecb9 design doc to help me define the layers? Devin R 2020-04-07 17:34:21 -0400
  • 2137d198fc remove internal assertions in favor of returning clients and rooms Devin R 2020-04-07 16:11:35 -0400
  • 4dbc0aaad6 clean up, cargo fmt/clippy, add example/TestRunner tests Devin R 2020-04-07 08:55:42 -0400
  • f635fbe0cf note about async client test runner Devin R 2020-04-06 21:01:48 -0400
  • 9ffe7cca10 more work needed for AsyncClient test runner Devin R 2020-04-06 20:59:44 -0400
  • 78f92130fa add individual events for tests, working TestRunner Devin R 2020-04-06 15:29:38 -0400
  • 854948fc6d generic add event Devin R 2020-04-06 09:11:38 -0400
  • 00ac6d08f9 bring over test builder Devin R 2020-04-06 07:12:02 -0400
  • c2b3210cc9 cargo fmt/clippy, move power levels into Room Devin R 2020-04-05 12:41:00 -0400
  • e987a9006b remove User and merge fields into RoomMember Devin R 2020-04-05 08:28:25 -0400
  • 25a3533792 don't unwrap UserId from state key Devin R 2020-04-05 08:23:59 -0400
  • eff322c0c5 crypto compiles, tests pass Devin R 2020-04-03 11:00:37 -0400
  • db62c1fa25 cargo fmt/clippy no more warnings Devin R 2020-04-03 09:14:46 -0400
  • 4ac9153be1 use RoomId and UserId over string, use setter method names in Room Devin R 2020-04-03 09:07:40 -0400
  • 514afbbc1b README: Fix the license name. Damir Jelić 2020-04-03 14:51:51 +0200
  • 8063124087 README: Add badges for the code coverage and license. Damir Jelić 2020-04-03 14:20:12 +0200
  • 74f1a21e42 rust-sdk: Updates for the new ruma crate versions. Damir Jelić 2020-04-03 14:09:56 +0200
  • 12dc5212e3 rust-sdk: Remove a bunch of unused imports and unused variables. Damir Jelić 2020-04-03 12:34:05 +0200
  • 2e1add049d travis: Run tarpaulin only once. Damir Jelić 2020-04-03 11:49:18 +0200
  • 66e5629b3f travis: Enable coverage reports. Damir Jelić 2020-04-03 11:25:54 +0200
  • 294ca108bb rust-sdk: Move some encryption specific imports under a cfg. Damir Jelić 2020-04-03 10:42:03 +0200
  • 7c6d0d14dd crypto: Fix the sqlite tests. Damir Jelić 2020-04-03 10:39:07 +0200
  • 670761376d async_client: Claim keys for missing sessions if we try to send in an encrypted room. Damir Jelić 2020-04-03 10:30:32 +0200
  • 2dd84517b9 crypto: Expose the key-claiming methods in the clients. Damir Jelić 2020-04-03 10:27:30 +0200
  • 3d0829b2a0 crypto: Add the new devices to the store. Damir Jelić 2020-04-03 10:21:14 +0200
  • 6fce9b335a crypto: Add a method to check for missing Olm sessions for users. Damir Jelić 2020-04-03 10:20:03 +0200
  • ff9bcdddb9 crypto: Use a SignedKey type when creating outbound Olm sessions. Damir Jelić 2020-04-03 10:16:20 +0200