Devin R
|
31fb702140
|
room: confirm spec accuracy
|
2020-04-16 22:07:12 -04:00 |
|
Devin R
|
ebe4f03c36
|
room: implement room_name according to spec, add RoomSummary to RoomName
|
2020-04-16 21:00:50 -04:00 |
|
Devin R
|
bd3b0e7b74
|
async_client: add login failure test, make sure we are getting correct error
|
2020-04-16 17:03:40 -04:00 |
|
Devin R
|
07b7cbfe4e
|
async_client: name associated error type in AsyncClient::send
|
2020-04-16 16:39:44 -04:00 |
|
Devin R
|
c0e1ff1734
|
async_client/error: dont swallow response error in AsyncClient::send
|
2020-04-16 15:29:35 -04:00 |
|
Damir Jelić
|
d91de818ac
|
crypto: Don't try to create the sqlite index every time we open the db.
|
2020-04-16 13:57:33 +02:00 |
|
Damir Jelić
|
9444f1506d
|
crypto: Test the loading of specific group sessions in the sqlite store.
|
2020-04-16 13:32:04 +02:00 |
|
Damir Jelić
|
5b212a2fcd
|
crypto: Keep the tempdir alive in the sqlite store tests.
|
2020-04-16 13:21:57 +02:00 |
|
Damir Jelić
|
8e3c5889bb
|
crypto: Make sure to load the all the sender sessions when saving a session.
|
2020-04-16 13:14:14 +02:00 |
|
Damir Jelić
|
91a2d85cf8
|
crypto: Improve the debug implementation for the sqlite store.
|
2020-04-16 12:38:58 +02:00 |
|
Damir Jelić
|
64238b70a0
|
crytpo: Add test for the memory crypto store.
|
2020-04-16 11:55:16 +02:00 |
|
Damir Jelić
|
78fdd3d592
|
crypto: Document the methods in our cryptostore trait.
|
2020-04-16 11:06:51 +02:00 |
|
Damir Jelić
|
471d27892c
|
crypto: Make the return values of add methods in the store consistent with a hashset.
|
2020-04-16 11:05:35 +02:00 |
|
Damir Jelić
|
3a5cc833d1
|
crypto: Simplify the session saving methods in the cyrptostore.
|
2020-04-16 10:14:23 +02:00 |
|
Damir Jelić
|
514ced1243
|
crypto: Don't add the same session twice to the memory session store.
|
2020-04-16 10:10:18 +02:00 |
|
Damir Jelić
|
bedb788432
|
crypto: Test the keys info for a device.
|
2020-04-15 18:55:15 +02:00 |
|
Damir Jelić
|
14f25bf66a
|
crypto: Skip the coverage for debug implementations.
|
2020-04-15 18:22:04 +02:00 |
|
Damir Jelić
|
aeb93e19e2
|
crypto: Test our in-memory device store.
|
2020-04-15 17:51:51 +02:00 |
|
Damir Jelić
|
616a67c1cb
|
Merge branch 'bot-example'
|
2020-04-15 16:10:18 +02:00 |
|
Damir Jelić
|
af73ebdf09
|
crypto: Add some tests to our in-memory stores.
|
2020-04-15 15:32:58 +02:00 |
|
Devin R
|
c495a50c52
|
async_client: make pub API take &self instead of &mut, use read where possible
|
2020-04-15 08:29:34 -04:00 |
|
Devin R
|
3f9243a326
|
command-bot: add comments, use timestamp to filter old messages
|
2020-04-15 07:52:29 -04:00 |
|
Damir Jelić
|
53a2b8eb7c
|
crypto: Implement a better debug trait for sessions.
|
2020-04-15 13:46:43 +02:00 |
|
Devin R
|
49e962e9c4
|
event_emitter: use Arc<RwLock<Room for EventEmitter and joined_rooms HashMap
|
2020-04-15 06:58:25 -04:00 |
|
Damir Jelić
|
33a1b8b791
|
crypto: Add more test for the Olm wrappers.
|
2020-04-15 12:44:00 +02:00 |
|
Devin R
|
cf029b2e4f
|
make EventEmitter shared refs, in AsyncClient::sync lock only in inner most scope
|
2020-04-14 18:10:10 -04:00 |
|
Damir Jelić
|
6bdf8e522e
|
Merge branch 'api-endpoints'
|
2020-04-14 14:22:23 +02:00 |
|
Damir Jelić
|
25e60d398b
|
crypto: Move the session mutex into the Session struct.
|
2020-04-14 14:05:18 +02:00 |
|
Devin R
|
2cfaf64feb
|
cargo fmt/clippy
|
2020-04-14 06:42:42 -04:00 |
|
Devin R
|
e64d073402
|
rename RoomMessageBuilder, make examp build, expand on docs
|
2020-04-14 06:36:03 -04:00 |
|
Devin R
|
1a7856e9fe
|
fix room_send example, cargo fmt/clippy
|
2020-04-13 14:46:54 -04:00 |
|
Devin R
|
fb10e9bf87
|
add optional txn_id to room_send, add docs to room_messages
|
2020-04-13 14:08:51 -04:00 |
|
Devin R
|
0d8702b292
|
rename get_message_events to room_messages
|
2020-04-12 08:21:23 -04:00 |
|
Devin R
|
5180f99a0e
|
cargo fmt/update fixed olm
|
2020-04-11 15:58:34 -04:00 |
|
Devin R
|
7aeeeea432
|
request_builder: test GetMessageBuilder
|
2020-04-11 08:46:45 -04:00 |
|
Devin R
|
6358db94c7
|
more docs
|
2020-04-10 21:44:16 -04:00 |
|
Devin R
|
c69d54e2d4
|
async_client: impl kick, join, leave, invite, create for
|
2020-04-10 16:32:28 -04:00 |
|
Damir Jelić
|
cb8f1c1a5b
|
crypto: Zeroize the GroupSessionKey struct.
|
2020-04-10 17:02:51 +02:00 |
|
Damir Jelić
|
8210c2377d
|
crypto: Take the session key out of the RoomKey event.
|
2020-04-10 17:02:30 +02:00 |
|
Damir Jelić
|
01656690bc
|
crypto: Save the account after an inbound session was created.
|
2020-04-10 16:18:55 +02:00 |
|
Damir Jelić
|
7577ddfc00
|
crypto: Remove one-time keys after a inbound session was created successfully.
|
2020-04-10 16:18:29 +02:00 |
|
Damir Jelić
|
c282d9fabc
|
machine: Uncomment account saving after keys were published.
|
2020-04-10 16:17:31 +02:00 |
|
Damir Jelić
|
a4d41378d4
|
crypto: Move the inbound group session lock into the session struct.
|
2020-04-10 16:08:47 +02:00 |
|
Damir Jelić
|
b8d6a4c49a
|
crypto: Move the account mutex into the account struct.
|
2020-04-10 15:28:43 +02:00 |
|
Damir Jelić
|
7c20c79f32
|
crypto: Add test for the session creation.
|
2020-04-10 14:44:50 +02:00 |
|
Damir Jelić
|
af7309033c
|
crypto: Rename the session creation method.
|
2020-04-10 14:44:25 +02:00 |
|
Damir Jelić
|
d04c7e0190
|
crypto: Add a GroupSessionKey type.
|
2020-04-10 14:00:03 +02:00 |
|
Damir Jelić
|
9d52037b40
|
crypto: Add docs to our olm-rs wrappers.
|
2020-04-10 13:47:38 +02:00 |
|
Damir Jelić
|
c215dfa55d
|
crypto: Don't manually implement Send, those are now in olm-rs.
|
2020-04-10 11:59:51 +02:00 |
|
Damir Jelić
|
bdd1fb2c19
|
async_client: Expand the docs for the message sending method.
|
2020-04-10 11:53:07 +02:00 |
|