Commit graph

92 commits

Author SHA1 Message Date
Damir Jelić
bb3b59ac37 crypto: Add initial support to decrypt megolm encrypted events. 2020-03-25 15:03:10 +01:00
Damir Jelić
c72a5defee rust-sdk: Changes for the new ruma-api version. 2020-03-24 16:18:56 +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ć
1b8b3da733 rust-sdk: Add initial tracing/logging setup. 2020-03-19 13:55:04 +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ć
7b70cb7e41 rust-sdk: Rework our error handling. 2020-03-18 14:15:56 +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ć
8867b198f7 base_client: Forward the sync response to our olm machine. 2020-03-12 15:41:11 +01:00
Damir Jelić
e271b17766 async_client: Upload encryption keys in the sync_forever method. 2020-03-11 11:43:58 +01:00
Damir Jelić
33ee5cce61 async_client: Fix the user agent. 2020-03-11 11:43:31 +01:00
Damir Jelić
bc4416e7cd async_client: Add a method to upload encryption keys. 2020-03-11 11:42:59 +01:00
Damir Jelić
c41d3873b6 rust-sdk: Cleanup the docs and fix the examples up. 2020-03-02 11:31:03 +01:00
Damir Jelić
0288376cfe async_client: Add a timeout to the sync forever even if the sync was successful. 2020-02-28 10:33:17 +01:00
Damir Jelić
f8b76c6af3 test: Use the new library name. 2020-02-24 12:51:42 +01:00
Damir Jelić
dee13421f0 rust-sdk: Switch the license to Apache 2.0. 2020-02-21 16:54:05 +01:00
Damir Jelić
98da341a46 Cargo.toml: Bump the dependency versions. 2020-02-21 16:33:41 +01:00
Damir Jelić
63e0191f57 client: Fix clippy warnings. 2020-02-21 14:29:46 +01:00
Damir Jelić
49a24b6305 client: Add missing docs. 2020-02-21 14:29:25 +01:00
Damir Jelić
0a74c943ba async_client: Propagate an error properly. 2020-02-21 12:13:38 +01:00
Damir Jelić
19383fd28c async_client: Add a method to fetch the homeserver. 2020-01-11 22:24:32 +01:00
Damir Jelić
5688b2e70a async_client: Remove the response callbacks. 2019-12-04 22:35:19 +01:00
Damir Jelić
e21806f3cc async_client: Add the sync_forever method. 2019-12-04 22:33:26 +01:00
Damir Jelić
41a183b4c0 nio: Upgrade ruma-client-api. 2019-12-04 19:31:33 +01:00
Damir Jelić
38ddad1874 async_client: Properly handle the EventResult for our timeline. 2019-11-26 20:47:02 +01:00
Damir Jelić
afcb68cc0e async_client: Make our sync method threadsafe across yield points. 2019-11-26 20:34:11 +01:00
Damir Jelić
e9dfabf847 async_client: Add the event callbacks back. 2019-11-26 19:06:29 +01:00
Damir Jelić
4daea54a33 base_client: Consume sync responses and store the sync token. 2019-11-24 22:40:52 +01:00
Damir Jelić
f246ab2f56 AsyncClient: Remove some dead code. 2019-11-17 19:59:50 +01:00
Damir Jelić
d281efb309 AsyncClient: The use_sys_proxy setting is deprecated upstream. 2019-11-17 19:56:53 +01:00
Damir Jelić
88bfe1bec6 AsyncClient: Add the client version to the user-agent. 2019-11-17 19:55:59 +01:00
Damir Jelić
68102cc196 AsyncClient: Expose the logged_in method. 2019-11-17 19:55:27 +01:00
Damir Jelić
8d58938b41 nio-rust: Format the repo. 2019-11-10 18:33:06 +01:00
Damir Jelić
9e474a5cc2 nio: Add support for message sending in the AsyncClient. 2019-11-10 11:44:44 +01:00
Damir Jelić
2aca52c9f0 nio: Allow the AsyncClient to be clonable. 2019-11-10 11:44:03 +01:00
Damir Jelić
066d76cc8e nio: Make the callback futures Sync/Send. 2019-10-31 09:17:13 +01:00
Damir Jelić
71d8500453 nio: Reintroduce futures as callbacks. 2019-10-30 23:26:26 +01:00
Damir Jelić
b61dc18060 nio: Allow callbacks to borrow the room, sadly back to non async callbacks. 2019-10-30 19:30:55 +01:00
Damir Jelić
69a18e9d3a async_client: Don't double pin futures. 2019-10-24 22:35:36 +02:00
Damir Jelić
8c681c362a async_client: Change the place where we parse the user agent. 2019-10-24 22:34:58 +02:00
Damir Jelić
b8eb0489c7 base_client: Handle state events as well. 2019-10-23 23:36:57 +02:00
Damir Jelić
f6d371b36f async_client: Remove the non-async callbacks. 2019-10-23 22:51:34 +02:00
Damir Jelić
cf17173037 nio: Add initial base client state machine. 2019-10-23 22:47:00 +02:00