Commit graph

2052 commits

Author SHA1 Message Date
Damir Jelić
92067c400c crypto: Test signature verification with an invalid key. 2020-02-25 17:49:43 +01:00
Damir Jelić
84e7a49bbf Makefile: Run the tests an coverage target with the encryption feature. 2020-02-25 17:36:45 +01:00
Damir Jelić
45890a27f3 crypto: Add support for device keys signing. 2020-02-25 17:36:11 +01:00
Damir Jelić
478f0d7784 crypto: Format the repo. 2020-02-25 14:36:09 +01:00
Damir Jelić
15d8de56e1 crypto: Add an initial version of the olm state machine. 2020-02-25 14:24:18 +01:00
Damir Jelić
d3903811c6 rust-sdk: Add initial crytpto code. 2020-02-24 17:19:00 +01:00
Damir Jelić
f8b76c6af3 test: Use the new library name. 2020-02-24 12:51:42 +01:00
Damir Jelić
d2141624d0 Cargo.toml: Rename the crate. 2020-02-21 17:01:34 +01:00
Damir Jelić
e957282cbb README: Reflect the new name and new license. 2020-02-21 16:57:18 +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ć
fbd65fde26 nio-olm: Remove our olm bindings since we're gonna use olm-rs. 2020-02-14 14:37:10 +01:00
Damir Jelić
19383fd28c async_client: Add a method to fetch the homeserver. 2020-01-11 22:24:32 +01:00
Damir Jelić
67221ecb54 Cargo.toml: Update our dependencies. 2020-01-11 13:13:30 +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ć
19b9927de6 nio: Don't make the VERSION public. 2019-11-26 19:19:22 +01:00
Damir Jelić
e9dfabf847 async_client: Add the event callbacks back. 2019-11-26 19:06:29 +01:00
Damir Jelić
07979c6d32 Fix the gitignore file. 2019-11-24 22:44:28 +01:00
Damir Jelić
3afe44e47a Add a Makefile. 2019-11-24 22:43:36 +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ć
3ab37ee8bd tests: Test the sync method of the async client. 2019-11-17 21:23:01 +01:00
Damir Jelić
f246ab2f56 AsyncClient: Remove some dead code. 2019-11-17 19:59:50 +01:00
Damir Jelić
638fa3e55d tests: Add initial AsyncClient test. 2019-11-17 19:59:08 +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ć
10b8d1a682 nio: Add scaffolding for member removals in the base client. 2019-11-14 20:18:31 +01:00
Damir Jelić
0760706e58 nio-olm: Small format fixes. 2019-11-14 20:12:45 +01:00
Damir Jelić
597e99595a nio: Update the dependencies. 2019-11-14 20:11:51 +01:00
Damir Jelić
0b98440f54 nio-rust: Add a pre-commit config. 2019-11-10 18:33: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ć
bec253efd8 nio: Pin the dependency versions. 2019-10-30 18:54:55 +01:00
Damir Jelić
ee96ae00e4 olm: Add initial higher level olm bindings. 2019-10-24 22:39:35 +02:00
Damir Jelić
e3d89f01f6 olm: Add inital bindgen generated olm-sys bindings. 2019-10-24 22:38:36 +02: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