This website requires JavaScript.
940332d414
crypto: Disable the failing tests now that the crypto is non-functional.
Damir Jelić
2020-05-04 14:21:48 +0200
fed3c80466
crypto: Fix the tests now that events don't implement PartialEq.
Damir Jelić
2020-05-04 14:15:55 +0200
86dc1ce3ca
crypto: Disable the creation of encrypted event content for now.
Damir Jelić
2020-05-04 14:12:42 +0200
704d8bc0ed
crypto: The algorithm specific contents don't take an algorithm anymore.
Damir Jelić
2020-05-04 14:11:06 +0200
60cc939fdd
matrix-sdk: Update our deps and re-implement PartialEq for the ClientState.
Damir Jelić
2020-05-04 14:06:34 +0200
addb455d16
crypto: Add all the missing docs and deny missing docs from now on.
Damir Jelić
2020-04-30 17:10:12 +0200
5dc0842f49
crypto: Implmement device deletion for the sqlite store.
Damir Jelić
2020-04-30 14:33:41 +0200
e109e01a28
crypto: More lint fixes.
Damir Jelić
2020-04-30 14:29:58 +0200
3bcce962e3
matirx_sdk: Fix a bunch of clippy warnings.
Damir Jelić
2020-04-30 14:07:49 +0200
fc0d4a7d35
crypto: Rework our errors making them more specific.
Damir Jelić
2020-04-30 13:16:10 +0200
2c4b6919ef
message: only push message when timestamp is larger than last msg in queue
Devin R
2020-04-30 06:57:25 -0400
9788233771
room/message: make docs more clear, deserialize to MessageEvent over RoomEvent
Devin R
2020-04-30 06:28:36 -0400
5de32c025f
crypto: Allow session to be saved in a batched way.
Damir Jelić
2020-04-30 12:08:38 +0200
d4b2fd0e1a
Merge branch 'master' into messages
Devin R
2020-04-30 06:02:31 -0400
e33fd098bc
crypto: Make the save device method of the store accept a slice of devices.
Damir Jelić
2020-04-30 11:51:20 +0200
157dc86b61
matrix_sdk: Style fix for a docstring.
Damir Jelić
2020-04-30 10:14:18 +0200
9386b500a8
message: keep MessageQueue sorted by origin_server_ts
Devin R
2020-04-29 19:28:58 -0400
178c6c06f8
Merge branch 'state-reviews' into messages
Devin R
2020-04-29 15:49:36 -0400
376381b1a7
state_store: remove device_id and user_id from ClientState
Devin R
2020-04-29 15:42:20 -0400
955f6248cf
async_client: fix clippy warning
Devin R
2020-04-29 08:10:53 -0400
5b17e57c4e
room/messages: add message de/ser to Room
Devin R
2020-04-29 07:58:31 -0400
ef560fd545
state_store: load_client takes a sessions obj, docs, copyright, move state store into base client
Devin R
2020-04-29 07:00:14 -0400
83f3fc6796
travis: Update our Travis setup for the new workspace setup.
Damir Jelić
2020-04-29 10:56:17 +0200
4c760fca02
matrix_sdk: Use the internal types crate.
Damir Jelić
2020-04-29 10:40:27 +0200
c5d833a14b
Merge branch 'state-store'
Damir Jelić
2020-04-29 10:06:02 +0200
5fef444d61
matrix-sdk: Split out the crypto part of the sdk into a separate crate.
Damir Jelić
2020-04-29 09:48:00 +0200
cf9ecbd0e8
crypto: Use an atomic int for the key count.
Damir Jelić
2020-04-28 15:47:49 +0200
350578739c
crypto: Make the user_id/device_id/identity_keys public methods.
Damir Jelić
2020-04-28 15:05:20 +0200
d220c6cb29
crypto: Test the megolm encyrption.
Damir Jelić
2020-04-28 14:48:49 +0200
404f3a128d
crypto: Test group session sharing.
Damir Jelić
2020-04-28 10:47:08 +0200
631ad261ae
state_store: append user name to path when `store_room_state` is called
Devin R
2020-04-27 16:55:40 -0400
c91263eb13
Merge branch 'master' into state-store
Devin R
2020-04-27 16:45:57 -0400
4df6099125
crypto: Test the Olm encryption.
Damir Jelić
2020-04-27 18:27:33 +0200
b6c9358d14
crypto: Test the creation of an Olm session.
Damir Jelić
2020-04-27 16:31:28 +0200
96144404ed
crypto: Return a result when searching for missing sessions.
Damir Jelić
2020-04-27 16:26:03 +0200
8db05ace1e
sync with state store after login to set path otherwise it makes 2x the folders
Devin R
2020-04-27 08:10:43 -0400
199fb59a76
state_store: use tokio Mutex in state store tests
Devin R
2020-04-27 07:23:59 -0400
6fcf0a86f9
Merge branch 'master' into state-store
Devin R
2020-04-27 07:20:21 -0400
6d67cd2ac7
Fix clippy lints
Jonas Platte
2020-04-27 12:12:51 +0200
5cfac42101
Upgrade js_int to 0.1.5
Jonas Platte
2020-04-27 12:12:45 +0200
4858ca5f74
Remove unnecessary clone
Jonas Platte
2020-04-27 11:52:49 +0200
55de913e08
state_store: use as many async fs functions as possible
Devin R
2020-04-26 17:27:06 -0400
bb2d531525
state_store: clean up and add examples to docs
Devin R
2020-04-26 17:13:55 -0400
8f57f73b66
command_bot: use JsonStore in example
Devin R
2020-04-25 06:26:35 -0400
0749e59af8
Merge branch 'master' into state-store
Devin R
2020-04-24 20:02:36 -0400
23755b10ab
state_store: add user_id localpart to state store path from session
Devin R
2020-04-24 19:57:51 -0400
4f3eaa6537
Merge branch 'tomb'
Damir Jelić
2020-04-24 12:59:44 +0200
316295bb77
state_store: add initial_use to let client know its safe to load state
Devin R
2020-04-23 21:57:54 -0400
183fffe85e
Merge branch 'master' of state-store
Devin R
2020-04-23 21:53:13 -0400
030aa79750
state_store: add method to manually sync state store, `AsyncClient::sync` now initially syncs with state store
Devin R
2020-04-23 19:37:27 -0400
fd7d3db32b
state_store: move path into JsonStore, store must be "connected" before adding to AsyncClientConfig
Devin R
2020-04-23 16:40:23 -0400
8a8f590788
room: tests for calculate_room
Devin R
2020-04-23 09:55:59 -0400
6d12ed2046
async_client: Don't request a write lock for crypto based requests.
Damir Jelić
2020-04-23 14:56:59 +0200
07053cfe26
room/ev_emitter: add tombstone to emitted events
Devin R
2020-04-23 07:05:59 -0400
ef4d69b0ac
room: fix broken calculate_name, used UInt::max needed min, heroes is always empty
Devin R
2020-04-23 06:53:34 -0400
305633635d
room: add tombstone event handling
Devin R
2020-04-23 06:45:00 -0400
986985464a
rust-sdk: Remove some unused imports.
Damir Jelić
2020-04-23 12:43:59 +0200
a16d3b3d29
crypto: Don't instrument the debug implementation.
Damir Jelić
2020-04-23 11:58:21 +0200
cb235c47a1
machine: Remove a deadlock when decrypting Olm messages using an existing session.
Damir Jelić
2020-04-23 11:37:47 +0200
1de791c207
rust-sdk: Update to the latest ruma releases.
Damir Jelić
2020-04-23 10:52:47 +0200
5491838228
state_store: fix docs, test client with default state store
Devin R
2020-04-22 17:39:57 -0400
4369d0b854
crypto: Return a EncryptedEventContent when encrypting using Olm instead of a specific one.
Damir Jelić
2020-04-22 15:38:42 +0200
b56b720c0c
crypto: Return a EncryptedEventContent when encrypting instead of a specific one.
Damir Jelić
2020-04-22 15:22:43 +0200
27ae8bccb9
crypto: Check the recipient and recipient keys for decrypted events.
Damir Jelić
2020-04-22 15:15:08 +0200
0eab02a941
crypto: Remove a stale comment.
Damir Jelić
2020-04-22 13:43:45 +0200
4576e93663
crypto: Add some more debug logs.
Damir Jelić
2020-04-22 12:54:49 +0200
cb6e43b340
crypto: Allow devices to be deleted from the crypto store.
Damir Jelić
2020-04-22 12:12:47 +0200
ad7a18d50a
state_store: remove associated Store type
Devin R
2020-04-21 09:47:36 -0400
267453de4d
state_store: add Path to StateStore methods, remove associated Error type
Devin R
2020-04-21 09:36:59 -0400
1f173b4919
Merge branch 'master' into state-store
Devin R
2020-04-21 08:29:25 -0400
877b880ded
crypto: Expose the devices publicly.
Damir Jelić
2020-04-21 11:03:28 +0200
2f7ec887ba
crypto: Clean up the imports.
Damir Jelić
2020-04-21 10:41:08 +0200
6b33bedcbe
Cargo.toml: Use the released version of olm-rs.
Damir Jelić
2020-04-21 09:54:41 +0200
7b84f16bd3
crypto: Test key querying.
Damir Jelić
2020-04-21 09:45:46 +0200
c057d6c6ad
crypto: Add a method to remove devices from our DeviceStore.
Damir Jelić
2020-04-21 09:45:20 +0200
00f4dadbbb
crypto: Clean up the key querying logic.
Damir Jelić
2020-04-21 09:44:44 +0200
7c54ad5c5f
crypto: Allow a device to be marked as deleted.
Damir Jelić
2020-04-21 09:40:50 +0200
63c0aa8771
crypto: Allow a device to be updated.
Damir Jelić
2020-04-21 09:31:33 +0200
b572381a8e
crypto: Save the device to the sqlite db.
Damir Jelić
2020-04-21 09:28:26 +0200
8f89e8335c
state_store: add load_all_rooms, fix clippy warnings
Devin R
2020-04-19 15:25:25 -0400
9fb4bd9d19
state_store: add associated store and error type, custom deserialization for ruma event types
Devin R
2020-04-18 18:06:30 -0400
d000996205
Merge branch 'master' of https://github.com/matrix-org/matrix-rust-sdk into state-store
Devin R
2020-04-18 15:22:02 -0400
001a0de00f
crypto: Test getting all user devices in the sqlite store as well.
Damir Jelić
2020-04-17 15:30:53 +0200
a632f2e5a2
crypto: Implement the device store for the sql store.
Damir Jelić
2020-04-17 14:14:31 +0200
6952acddc2
base_client: Remove a unused import.
Damir Jelić
2020-04-17 10:57:09 +0200
31fb702140
room: confirm spec accuracy
Devin R
2020-04-16 22:07:12 -0400
ebe4f03c36
room: implement room_name according to spec, add RoomSummary to RoomName
Devin R
2020-04-16 21:00:50 -0400
bd3b0e7b74
async_client: add login failure test, make sure we are getting correct error
Devin R
2020-04-16 17:03:40 -0400
07b7cbfe4e
async_client: name associated error type in AsyncClient::send
Devin R
2020-04-16 16:39:44 -0400
c0e1ff1734
async_client/error: dont swallow response error in `AsyncClient::send`
Devin R
2020-04-16 15:20:36 -0400
7889da2b30
state_store: very rough draft of json store
Devin R
2020-04-16 10:02:59 -0400
d91de818ac
crypto: Don't try to create the sqlite index every time we open the db.
Damir Jelić
2020-04-16 13:57:33 +0200
9444f1506d
crypto: Test the loading of specific group sessions in the sqlite store.
Damir Jelić
2020-04-16 13:32:04 +0200
5b212a2fcd
crypto: Keep the tempdir alive in the sqlite store tests.
Damir Jelić
2020-04-16 13:21:57 +0200
8e3c5889bb
crypto: Make sure to load the all the sender sessions when saving a session.
Damir Jelić
2020-04-16 13:14:14 +0200
91a2d85cf8
crypto: Improve the debug implementation for the sqlite store.
Damir Jelić
2020-04-16 12:38:58 +0200
64238b70a0
crytpo: Add test for the memory crypto store.
Damir Jelić
2020-04-16 11:55:16 +0200
78fdd3d592
crypto: Document the methods in our cryptostore trait.
Damir Jelić
2020-04-16 11:06:51 +0200
471d27892c
crypto: Make the return values of add methods in the store consistent with a hashset.
Damir Jelić
2020-04-16 11:05:35 +0200
3a5cc833d1
crypto: Simplify the session saving methods in the cyrptostore.
Damir Jelić
2020-04-16 10:14:23 +0200