Commit Graph

160 Commits (5e22eb9faf389749da414d88c88831e03d7adbf8)

Author SHA1 Message Date
Damir Jelić 5e22eb9faf room: Handle encryption events. 2020-04-01 16:06:28 +02:00
Damir Jelić 2020700673 crypto: Prepare the scaffolding for key queries and user tracking. 2020-04-01 15:37:00 +02:00
Damir Jelić fdb2028dfc Merge branch 'room-calculate-name' 2020-04-01 09:39:25 +02:00
Denis Kasak a298b7f9fd
Add Room::calculate_name convenience method.
Signed-off-by: Denis Kasak <dkasak@termina.org.uk>
2020-03-31 23:19:50 +02:00
Damir Jelić 453c9f3be5 Merge branch 'room-name' 2020-03-31 22:07:30 +02:00
Devin R c3f4a946cb remove split on UserId, update tests to correct domain 2020-03-31 15:18:27 -04:00
Damir Jelić 559a5847bb crypto: Implement group session loading for the sqlite store. 2020-03-31 16:22:45 +02:00
Damir Jelić b5b4542cd5 Cargo.toml: Switch to a release of sqlx. 2020-03-31 16:17:37 +02:00
Devin R df58c60d2e add tests in models files, run coverage 2020-03-31 09:01:48 -04:00
Damir Jelić 0d183daa3d crypto: Replace the decrypted to-device events in the sync response. 2020-03-31 13:38:44 +02:00
Devin R 0d79c3574e remove base_client method 2020-03-31 07:07:14 -04:00
Devin R 62159cc6dc fix review issues 2020-03-31 06:57:29 -04:00
Devin R 4391fb695e looked over for review 2020-03-30 14:18:08 -04:00
Damir Jelić ceeb685e1a crypto: Add the MemoryStore back. 2020-03-30 17:07:36 +02:00
Devin R 705464fb51 added a few todos, cargo fmt/clippy 2020-03-30 07:14:33 -04:00
Devin R 14a8d04a03 account data loop 2020-03-29 16:24:31 -04:00
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 0147e8c0ac update_member, update_power methods for room_member 2020-03-28 15:05:37 -04:00
Devin R d4c9bb3cec cargo fmt 2020-03-28 09:08:34 -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 b760b32bae fix rebase swap 2020-03-28 08:12:52 -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 6b5a357e33 use sync.json 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 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