Devin R
|
c91263eb13
|
Merge branch 'master' into state-store
|
2020-04-27 16:45:57 -04:00 |
|
Damir Jelić
|
96144404ed
|
crypto: Return a result when searching for missing sessions.
|
2020-04-27 16:26:03 +02:00 |
|
Devin R
|
8db05ace1e
|
sync with state store after login to set path otherwise it makes 2x the folders
|
2020-04-27 08:10:43 -04:00 |
|
Devin R
|
6fcf0a86f9
|
Merge branch 'master' into state-store
|
2020-04-27 07:20:21 -04:00 |
|
Jonas Platte
|
6d67cd2ac7
|
Fix clippy lints
|
2020-04-27 12:12:51 +02:00 |
|
Devin R
|
0749e59af8
|
Merge branch 'master' into state-store
|
2020-04-24 20:02:36 -04:00 |
|
Devin R
|
23755b10ab
|
state_store: add user_id localpart to state store path from session
|
2020-04-24 19:57:51 -04:00 |
|
Devin R
|
316295bb77
|
state_store: add initial_use to let client know its safe to load state
|
2020-04-23 22:09:42 -04:00 |
|
Devin R
|
183fffe85e
|
Merge branch 'master' of state-store
|
2020-04-23 21:53:13 -04:00 |
|
Devin R
|
030aa79750
|
state_store: add method to manually sync state store, AsyncClient::sync now initially syncs with state store
|
2020-04-23 19:37:27 -04:00 |
|
Devin R
|
fd7d3db32b
|
state_store: move path into JsonStore, store must be "connected" before adding to AsyncClientConfig
|
2020-04-23 16:40:23 -04:00 |
|
Devin R
|
07053cfe26
|
room/ev_emitter: add tombstone to emitted events
|
2020-04-23 07:05:59 -04:00 |
|
Damir Jelić
|
cb235c47a1
|
machine: Remove a deadlock when decrypting Olm messages using an existing session.
|
2020-04-23 11:37:47 +02:00 |
|
Damir Jelić
|
1de791c207
|
rust-sdk: Update to the latest ruma releases.
|
2020-04-23 10:52:47 +02:00 |
|
Devin R
|
5491838228
|
state_store: fix docs, test client with default state store
|
2020-04-22 17:39:57 -04:00 |
|
Devin R
|
ad7a18d50a
|
state_store: remove associated Store type
|
2020-04-21 09:47:36 -04:00 |
|
Devin R
|
267453de4d
|
state_store: add Path to StateStore methods, remove associated Error type
|
2020-04-21 09:36:59 -04:00 |
|
Devin R
|
9fb4bd9d19
|
state_store: add associated store and error type, custom deserialization for ruma event types
|
2020-04-18 18:06:30 -04:00 |
|
Damir Jelić
|
6952acddc2
|
base_client: Remove a unused import.
|
2020-04-17 10:57:09 +02: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
|
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
|
49e962e9c4
|
event_emitter: use Arc<RwLock<Room for EventEmitter and joined_rooms HashMap
|
2020-04-15 06:58:25 -04: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ć
|
a389905734
|
base_client: Expose the method to check if a group session needs to be shared.
|
2020-04-10 11:47:01 +02:00 |
|
Damir Jelić
|
0a2b66de9a
|
crytpo: Change the share_group_session method to always create a new session.
|
2020-04-10 11:45:50 +02:00 |
|
Damir Jelić
|
8583232873
|
base_client: Expose the methods necessary for message encryption.
|
2020-04-09 16:27:09 +02:00 |
|
Devin R
|
4dbc0aaad6
|
clean up, cargo fmt/clippy, add example/TestRunner tests
|
2020-04-07 08:55:42 -04:00 |
|
Devin R
|
e987a9006b
|
remove User and merge fields into RoomMember
|
2020-04-05 08:34:02 -04:00 |
|
Devin R
|
25a3533792
|
don't unwrap UserId from state key
|
2020-04-05 08:23:59 -04:00 |
|
Devin R
|
eff322c0c5
|
crypto compiles, tests pass
|
2020-04-03 11:00:37 -04:00 |
|
Devin R
|
db62c1fa25
|
cargo fmt/clippy no more warnings
|
2020-04-03 09:14:46 -04:00 |
|
Devin R
|
4ac9153be1
|
use RoomId and UserId over string, use setter method names in Room
|
2020-04-03 09:07:40 -04:00 |
|
Damir Jelić
|
294ca108bb
|
rust-sdk: Move some encryption specific imports under a cfg.
|
2020-04-03 10:42:03 +02:00 |
|
Damir Jelić
|
2dd84517b9
|
crypto: Expose the key-claiming methods in the clients.
|
2020-04-03 10:27:30 +02:00 |
|
Devin R
|
a96286a5ff
|
remove calculate in docs, fix unused imports
|
2020-04-02 18:22:52 -04:00 |
|
Devin R
|
187734f449
|
add test and docs for EventEmitter, fix review issues
|
2020-04-02 15:59:13 -04:00 |
|
Devin R
|
55c25ce6ba
|
fix encryption feature Mutex::lock instead of RwLock::read
|
2020-04-02 07:21:24 -04:00 |
|
Devin R
|
c172507b5f
|
cargo fmt/clippy
|
2020-04-02 07:06:21 -04:00 |
|
Devin R
|
2ed152708c
|
use inner event type for EventEmitter methods
|
2020-04-01 16:36:20 -04:00 |
|
Devin R
|
5c418f3420
|
cargo fmt/clippy
|
2020-04-01 16:36:20 -04:00 |
|
Devin R
|
f2b50677b9
|
fix example, use tokio::Mutex for all types that could be passed
in async thread spawn envs
|
2020-04-01 16:36:17 -04:00 |
|
Devin R
|
5612825762
|
add EventEmitter trait, clean up imports so new warnings are easier to see
|
2020-04-01 16:35:50 -04:00 |
|
Damir Jelić
|
2020700673
|
crypto: Prepare the scaffolding for key queries and user tracking.
|
2020-04-01 15:37:00 +02:00 |
|
Devin R
|
c3f4a946cb
|
remove split on UserId, update tests to correct domain
|
2020-03-31 15:18:27 -04:00 |
|
Devin R
|
df58c60d2e
|
add tests in models files, run coverage
|
2020-03-31 09:01:48 -04:00 |
|
Devin R
|
62159cc6dc
|
fix review issues
|
2020-03-31 06:57:29 -04:00 |
|
Devin R
|
705464fb51
|
added a few todos, cargo fmt/clippy
|
2020-03-30 07:14:33 -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
|
4c7acd4b18
|
clean up presence updating and member state, add_presence_callback method for AsyncClient
|
2020-03-29 08:05:40 -04:00 |
|
Devin R
|
9ee8a2d011
|
merged add-events, fix a few type changes and merge fails
|
2020-03-28 08:58:02 -04:00 |
|