-
5f2269f12f
party bot example responds to !party
Devin R
2020-04-14 08:39:51 -04:00
-
6bdf8e522e
Merge branch 'api-endpoints'
Damir Jelić
2020-04-14 14:22:23 +02:00
-
-
25e60d398b
crypto: Move the session mutex into the Session struct.
Damir Jelić
2020-04-14 14:05:18 +02:00
-
-
-
f857fbb25b
remove unused sync2 json, pre-commit all files
Devin R
2020-04-14 07:19:58 -04:00
-
2cfaf64feb
cargo fmt/clippy
Devin R
2020-04-14 06:42:42 -04:00
-
e64d073402
rename RoomMessageBuilder, make examp build, expand on docs
Devin R
2020-04-14 06:36:03 -04:00
-
1a7856e9fe
fix room_send example, cargo fmt/clippy
Devin R
2020-04-13 14:46:54 -04:00
-
fb10e9bf87
add optional txn_id to room_send, add docs to room_messages
Devin R
2020-04-13 14:08:51 -04:00
-
a0973dec85
Merge branch 'master' of https://github.com/matrix-org/matrix-rust-sdk into state-store
Devin R
2020-04-13 10:21:44 -04:00
-
-
-
-
0d8702b292
rename get_message_events to room_messages
Devin R
2020-04-12 08:21:23 -04:00
-
be34b72a0b
state_store: WIP trait layout and default json impl
Devin R
2020-04-11 13:15:36 -04:00
-
5180f99a0e
cargo fmt/update fixed olm
Devin R
2020-04-11 15:58:34 -04:00
-
5f6cbbb193
fix matrix badge link
Caleb Bassi
2020-04-11 12:01:29 -07:00
-
7aeeeea432
request_builder: test GetMessageBuilder
Devin R
2020-04-11 08:46:45 -04:00
-
6358db94c7
more docs
Devin R
2020-04-10 21:44:16 -04:00
-
c69d54e2d4
async_client: impl kick, join, leave, invite, create for
Devin R
2020-04-10 16:32:28 -04:00
-
-
cb8f1c1a5b
crypto: Zeroize the GroupSessionKey struct.
Damir Jelić
2020-04-10 17:02:51 +02:00
-
8210c2377d
crypto: Take the session key out of the RoomKey event.
Damir Jelić
2020-04-10 17:02:30 +02:00
-
01656690bc
crypto: Save the account after an inbound session was created.
Damir Jelić
2020-04-10 16:18:55 +02:00
-
7577ddfc00
crypto: Remove one-time keys after a inbound session was created successfully.
Damir Jelić
2020-04-10 16:18:29 +02:00
-
c282d9fabc
machine: Uncomment account saving after keys were published.
Damir Jelić
2020-04-10 16:17:31 +02:00
-
a4d41378d4
crypto: Move the inbound group session lock into the session struct.
Damir Jelić
2020-04-10 16:08:47 +02:00
-
b8d6a4c49a
crypto: Move the account mutex into the account struct.
Damir Jelić
2020-04-10 15:28:43 +02:00
-
-
7c20c79f32
crypto: Add test for the session creation.
Damir Jelić
2020-04-10 14:44:50 +02:00
-
af7309033c
crypto: Rename the session creation method.
Damir Jelić
2020-04-10 14:44:25 +02:00
-
d04c7e0190
crypto: Add a GroupSessionKey type.
Damir Jelić
2020-04-10 14:00:03 +02:00
-
9d52037b40
crypto: Add docs to our olm-rs wrappers.
Damir Jelić
2020-04-10 13:47:38 +02:00
-
c215dfa55d
crypto: Don't manually implement Send, those are now in olm-rs.
Damir Jelić
2020-04-10 11:59:51 +02:00
-
bdd1fb2c19
async_client: Expand the docs for the message sending method.
Damir Jelić
2020-04-10 11:53:07 +02:00
-
7540e025f1
async_client: Share group sessions before encrypting room messages.
Damir Jelić
2020-04-10 11:50:18 +02:00
-
a389905734
base_client: Expose the method to check if a group session needs to be shared.
Damir Jelić
2020-04-10 11:47:01 +02:00
-
b43407b165
crypto: Add a method to check if a group session needs to be shared.
Damir Jelić
2020-04-10 11:46:31 +02:00
-
0a2b66de9a
crytpo: Change the share_group_session method to always create a new session.
Damir Jelić
2020-04-10 11:45:50 +02:00
-
1504b3a02a
crypto: Change the encrypt method to not require to take mut self.
Damir Jelić
2020-04-10 11:44:09 +02:00
-
1e3f93ca22
crypto: Remove an unused enumerate.
Damir Jelić
2020-04-10 11:43:03 +02:00
-
86617b42e2
async_client: Remove the transaction id.
Damir Jelić
2020-04-10 11:41:16 +02:00
-
c5f7af9118
crypto: Recreate group sessions if they are expired.
Damir Jelić
2020-04-10 09:58:13 +02:00
-
0215e89ff8
crypto: Use an UUID for the to-device requests for session sharing.
Damir Jelić
2020-04-10 09:57:10 +02:00
-
58585b9828
Cargo.toml: Depend on the git hosted ruma crates.
Damir Jelić
2020-04-09 17:04:34 +02:00
-
609df21271
async_client: Add a method to share room keys.
Damir Jelić
2020-04-09 16:29:03 +02:00
-
61f3da3161
async_client: Add the content-type header to our requests.
Damir Jelić
2020-04-09 16:28:27 +02:00
-
ee290add45
async_client: Build the URL path a bit more cleanly.
Damir Jelić
2020-04-09 16:27:43 +02:00
-
8583232873
base_client: Expose the methods necessary for message encryption.
Damir Jelić
2020-04-09 16:27:09 +02:00
-
01664bc613
async_client: Allow the content and event type to be overridden when sending messages.
Damir Jelić
2020-04-09 16:26:00 +02:00
-
dc2983d9a2
crypto: Add initial support to encrypt messages.
Damir Jelić
2020-04-09 16:24:40 +02:00
-
a5f43db859
crypto: Add some more methods to the group session wrapper.
Damir Jelić
2020-04-09 16:23:24 +02:00
-
b4de95185d
device: Change to the higher level ruma types for device ids.
Damir Jelić
2020-04-09 16:22:25 +02:00
-
2c7115da84
async_client: Use a UUID for the transaction id.
Damir Jelić
2020-04-09 16:19:32 +02:00
-
f19e251de1
crypto: Add some initial code for megolm session sharing.
Damir Jelić
2020-04-08 15:06:57 +02:00
-
816295cd48
crytpo: Add a wrapper for outbound megolm sessions.
Damir Jelić
2020-04-08 15:05:57 +02:00
-
834d8d7d37
remove serde from dev-deps, add crypto info to design
Devin R
2020-04-08 07:13:43 -04:00
-
7e6c90ecb9
design doc to help me define the layers?
Devin R
2020-04-07 17:34:21 -04:00
-
2137d198fc
remove internal assertions in favor of returning clients and rooms
Devin R
2020-04-07 16:11:35 -04:00
-
4dbc0aaad6
clean up, cargo fmt/clippy, add example/TestRunner tests
Devin R
2020-04-07 08:55:42 -04:00
-
f635fbe0cf
note about async client test runner
Devin R
2020-04-06 21:01:48 -04:00
-
9ffe7cca10
more work needed for AsyncClient test runner
Devin R
2020-04-06 20:59:44 -04:00
-
78f92130fa
add individual events for tests, working TestRunner
Devin R
2020-04-06 15:29:38 -04:00
-
854948fc6d
generic add event
Devin R
2020-04-06 09:11:38 -04:00
-
00ac6d08f9
bring over test builder
Devin R
2020-04-06 07:12:02 -04:00
-
c2b3210cc9
cargo fmt/clippy, move power levels into Room
Devin R
2020-04-05 12:41:00 -04:00
-
e987a9006b
remove User and merge fields into RoomMember
Devin R
2020-04-05 08:28:25 -04:00
-
25a3533792
don't unwrap UserId from state key
Devin R
2020-04-05 08:23:59 -04:00
-
eff322c0c5
crypto compiles, tests pass
Devin R
2020-04-03 11:00:37 -04:00
-
db62c1fa25
cargo fmt/clippy no more warnings
Devin R
2020-04-03 09:14:46 -04:00
-
4ac9153be1
use RoomId and UserId over string, use setter method names in Room
Devin R
2020-04-03 09:07:40 -04:00
-
514afbbc1b
README: Fix the license name.
Damir Jelić
2020-04-03 14:51:51 +02:00
-
8063124087
README: Add badges for the code coverage and license.
Damir Jelić
2020-04-03 14:20:12 +02:00
-
74f1a21e42
rust-sdk: Updates for the new ruma crate versions.
Damir Jelić
2020-04-03 14:09:56 +02:00
-
12dc5212e3
rust-sdk: Remove a bunch of unused imports and unused variables.
Damir Jelić
2020-04-03 12:34:05 +02:00
-
2e1add049d
travis: Run tarpaulin only once.
Damir Jelić
2020-04-03 11:49:18 +02:00
-
66e5629b3f
travis: Enable coverage reports.
Damir Jelić
2020-04-03 11:25:54 +02:00
-
294ca108bb
rust-sdk: Move some encryption specific imports under a cfg.
Damir Jelić
2020-04-03 10:42:03 +02:00
-
7c6d0d14dd
crypto: Fix the sqlite tests.
Damir Jelić
2020-04-03 10:39:07 +02:00
-
670761376d
async_client: Claim keys for missing sessions if we try to send in an encrypted room.
Damir Jelić
2020-04-03 10:30:32 +02:00
-
2dd84517b9
crypto: Expose the key-claiming methods in the clients.
Damir Jelić
2020-04-03 10:27:30 +02:00
-
3d0829b2a0
crypto: Add the new devices to the store.
Damir Jelić
2020-04-03 10:21:14 +02:00
-
6fce9b335a
crypto: Add a method to check for missing Olm sessions for users.
Damir Jelić
2020-04-03 10:20:03 +02:00
-
ff9bcdddb9
crypto: Use a SignedKey type when creating outbound Olm sessions.
Damir Jelić
2020-04-03 10:16:20 +02:00
-
aa7bedbefd
Merge branch 'ev-emitter'
Damir Jelić
2020-04-03 10:14:40 +02:00
-
-
a96286a5ff
remove calculate in docs, fix unused imports
Devin R
2020-04-02 18:22:52 -04:00
-
187734f449
add test and docs for EventEmitter, fix review issues
Devin R
2020-04-02 15:59:13 -04:00
-
8d487ac097
crypto: Allow the device store to be cloned.
Damir Jelić
2020-04-02 17:27:39 +02:00
-
785db205c3
crypto: Add initial key claiming handling.
Damir Jelić
2020-04-02 16:07:21 +02:00
-
913cc374d0
crypto: Calculate the deleted devices in a key query.
Damir Jelić
2020-04-02 14:52:15 +02:00
-
55c25ce6ba
fix encryption feature Mutex::lock instead of RwLock::read
Devin R
2020-04-02 07:21:24 -04:00
-
c172507b5f
cargo fmt/clippy
Devin R
2020-04-02 07:06:21 -04:00
-
56084a7809
crypto: Initial support for device tracking.
Damir Jelić
2020-04-02 11:14:23 +02:00
-
2ed152708c
use inner event type for EventEmitter methods
Devin R
2020-04-01 09:19:14 -04:00
-
83bf8bc67c
oops replace tracing::debug for crypto features
Devin R
2020-03-31 22:13:28 -04:00
-
5c418f3420
cargo fmt/clippy
Devin R
2020-03-31 22:00:46 -04:00
-
f2b50677b9
fix example, use tokio::Mutex for all types that could be passed in async thread spawn envs
Devin R
2020-03-31 21:08:25 -04:00
-
5612825762
add EventEmitter trait, clean up imports so new warnings are easier to see
Devin R
2020-03-31 19:34:11 -04:00
-
-
5e22eb9faf
room: Handle encryption events.
Damir Jelić
2020-04-01 16:06:28 +02:00
-
2020700673
crypto: Prepare the scaffolding for key queries and user tracking.
Damir Jelić
2020-04-01 15:37:00 +02:00
-
fdb2028dfc
Merge branch 'room-calculate-name'
Damir Jelić
2020-04-01 09:39:25 +02:00
-
-
a298b7f9fd
Add Room::calculate_name convenience method.
Denis Kasak
2020-03-31 21:28:48 +02:00
-
453c9f3be5
Merge branch 'room-name'
Damir Jelić
2020-03-31 22:07:30 +02:00
-
-
c3f4a946cb
remove split on UserId, update tests to correct domain
Devin R
2020-03-31 15:18:27 -04:00
-
-
559a5847bb
crypto: Implement group session loading for the sqlite store.
Damir Jelić
2020-03-31 16:19:08 +02:00
-
b5b4542cd5
Cargo.toml: Switch to a release of sqlx.
Damir Jelić
2020-03-31 16:17:37 +02:00