Commit Graph

1581 Commits (a32f9187e6b9f9e6ef1ded088272731bfcd682af)

Author SHA1 Message Date
Devin R bcdd81dc8c add test, AsyncClient room name methods 2020-03-28 07:47:50 -04:00
Devin R 011e77cf4b calculate room name internal `Room` method 2020-03-28 07:47:50 -04:00
Damir Jelić b128a76c9c README: Add a badge pointing to the Matrix room. 2020-03-28 12:44:33 +01:00
Damir Jelić 2e195610b3 Cargo.toml: Bump our deps. 2020-03-28 12:30:48 +01:00
Devin R e8b5534a71 start handle_power_levels 2020-03-28 07:07:50 -04:00
Devin R 090600e6aa restructure folders, add User, fill out RoomMember, handle prescence. 2020-03-28 06:58:30 -04:00
Damir Jelić e76e56af0d travis: Test the sqlite crypto store. 2020-03-28 11:50:59 +01:00
Damir Jelić cc7e6c6ed3 Cargo.toml: Depend on olm_rs/ruma-events from github. 2020-03-28 11:50:20 +01:00
Devin R c2022180ad fix slice match room_aliases 2020-03-27 20:17:06 -04:00
Devin R 3df15b72eb use sync.json 2020-03-27 17:26:10 -04:00
Devin R 82f8af4c08 cargo fmt/clippy 2020-03-27 17:23:49 -04:00
Devin R a29ae2a62e add test, AsyncClient room name methods 2020-03-27 17:22:11 -04:00
Devin R 20618e7a20 calculate room name internal `Room` method 2020-03-27 16:14:16 -04:00
Damir Jelić 85f344c32e crypto: Add the ability to store group sessions to the sqlite store. 2020-03-27 17:01:21 +01:00
Damir Jelić 23065a5aa3 crypto: Use an upsert for the account saving. 2020-03-27 16:01:00 +01:00
Damir Jelić c3654bd03f crypto: More cleanup in the sqlite store. 2020-03-27 14:35:51 +01:00
Damir Jelić e4dcca550c crypto: Move the sessions cache into the cryptostore. 2020-03-27 12:09:54 +01:00
Damir Jelić fca8062da0 crytpo: Implement session storing/loading for the sql store. 2020-03-27 09:24:15 +01:00
Damir Jelić 7595cab178 async_client: Allow setting the initial device display name. 2020-03-27 09:22:29 +01:00
Damir Jelić ddaf630063 crypto: Retire the memory store. 2020-03-26 12:24:53 +01:00
Damir Jelić 485296bc34 async_client: Replace the events with decrypted ones. 2020-03-26 11:23:39 +01:00
Damir Jelić abe13d7a2d crypto: Make the session stores thread safe. 2020-03-26 11:22:40 +01:00
Damir Jelić 50167e7988 Cargo.toml: Set the correct license. 2020-03-26 10:04:08 +01:00
Damir Jelić bb3b59ac37 crypto: Add initial support to decrypt megolm encrypted events. 2020-03-25 15:03:10 +01:00
Damir Jelić ae4d90057a crypto: Wrap inbound group sessions. 2020-03-25 11:32:40 +01:00
Damir Jelić d4f0799e6c crypto: Create inbound sessions from room key events. 2020-03-24 17:25:01 +01:00
Damir Jelić 765108a10c machine: Better room key parsing. 2020-03-24 16:21:06 +01:00
Damir Jelić c72a5defee rust-sdk: Changes for the new ruma-api version. 2020-03-24 16:18:56 +01:00
Damir Jelić 4759dea9bd crypto: Decrypt to-device events. 2020-03-23 16:14:10 +01:00
Damir Jelić 9c467d40e0 Cargo.toml: Switch to olm-rs on gitlab. 2020-03-21 16:50:54 +01:00
Damir Jelić 4215f98e91 crypto: Add initial code for olm message decryption. 2020-03-21 16:41:48 +01:00
Damir Jelić 70dda32949 async_client: Don't assume that there are any state events. 2020-03-19 14:17:56 +01:00
Damir Jelić 39dd9280cb rust-sdk: Document our feature flags. 2020-03-19 13:55:58 +01:00
Damir Jelić 426fe1df0f crypto: Propagate a sqlite store error correctly. 2020-03-19 13:55:35 +01:00
Damir Jelić 1b8b3da733 rust-sdk: Add initial tracing/logging setup. 2020-03-19 13:55:04 +01:00
Damir Jelić 6efd216f35 cryptpo: Add test that the account is updated correctly in the store. 2020-03-19 09:39:22 +01:00
Damir Jelić 06722635e7 crypto: Add missing license headers. 2020-03-19 09:37:15 +01:00
Damir Jelić 5adab040e6 crypto: Restore the account if we're using the sqlite store. 2020-03-18 16:05:59 +01:00
Damir Jelić 4aba058695 crypto: Hook up the crypto store to the Olm machine. 2020-03-18 15:50:32 +01:00
Damir Jelić d7ab847b98 store: Loading an account can fail because there is no account. 2020-03-18 14:29:01 +01:00
Damir Jelić 114911f800 base_client: Only import the std Result type if encryption is enabled. 2020-03-18 14:17:22 +01:00
Damir Jelić 7b70cb7e41 rust-sdk: Rework our error handling. 2020-03-18 14:15:56 +01:00
Damir Jelić f517ac6f37 store: Add a store specific error type. 2020-03-18 12:38:47 +01:00
Damir Jelić 5db9eadd89 Cargo.toml: Clean up our dependencies. 2020-03-18 10:56:26 +01:00
Damir Jelić 6fb29451ce crypto: Add a memory only crypto store. 2020-03-18 10:42:46 +01:00
Damir Jelić 3b1f863419 crypto: Check the shared state of the account when checking for equality. 2020-03-18 10:42:11 +01:00
Damir Jelić 7a11a57b41 crypto: Add initial crypto store. 2020-03-18 09:41:49 +01:00
Damir Jelić 00138f7ae5 crypto: Expose the pickling methods for the account. 2020-03-18 09:38:41 +01:00
Damir Jelić 708a8b1b06 Cargo.toml: Use tokio's delay_for instead of async-std's sleep. 2020-03-16 13:31:03 +01:00
Damir Jelić bd53e18aa9 Cargo.toml: Use the tokio async test macro. 2020-03-16 13:24:54 +01:00