Commit graph

58 commits

Author SHA1 Message Date
Devin R
c89ae2537e add account data, current room_id calc, unread, push ruleset, ignored users 2020-03-29 15:54:26 -04:00
Devin R
05b6f4679a cargo fmt/clippy 2020-03-29 08:07:25 -04:00
Devin R
4c7acd4b18 clean up presence updating and member state, add_presence_callback method for AsyncClient 2020-03-29 08:05:40 -04:00
Devin R
9ee8a2d011 merged add-events, fix a few type changes and merge fails 2020-03-28 08:58:02 -04:00
Devin R
b1027796c8 Merge branch 'add-events' into room-name 2020-03-28 08:36:30 -04:00
Devin R
bd50e615a7 use tokio::test, cargo fmt/clippy 2020-03-28 08:27:16 -04:00
Devin R
bb89db30cb remove unused import 2020-03-28 07:52:25 -04:00
Devin R
7062bdb484 fix slice match room_aliases 2020-03-28 07:47:50 -04:00
Devin R
063d86af71 cargo fmt/clippy 2020-03-28 07:47:50 -04:00
Devin R
bcdd81dc8c add test, AsyncClient room name methods 2020-03-28 07:47:50 -04:00
Devin R
090600e6aa restructure folders, add User, fill out RoomMember, handle prescence. 2020-03-28 06:58:30 -04:00
Devin R
c2022180ad fix slice match room_aliases 2020-03-27 20:17:06 -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
Damir Jelić
7595cab178 async_client: Allow setting the initial device display name. 2020-03-27 09:22:29 +01:00
Damir Jelić
485296bc34 async_client: Replace the events with decrypted ones. 2020-03-26 11:23:39 +01:00
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