Damir Jelić
d07063af2b
base: Add some error handling to the state store
2021-01-18 18:07:53 +01:00
Damir Jelić
8857335a7d
Merge branch 'crypto-improvements' into new-state-store
2020-12-22 16:18:46 +01:00
Damir Jelić
a370eb1e37
base: Re-introduce the event emitter.
2020-12-19 20:20:39 +01:00
Damir Jelić
f9af880176
base: Upcast the bare rooms based on the membership state
2020-12-19 16:37:35 +01:00
Damir Jelić
6f35a05311
matrix-sdk: Allow users to get a reference to the store.
2020-12-11 09:52:39 +01:00
Damir Jelić
7198b0daba
crypto: WIP key verification request handling.
2020-12-09 17:18:23 +01:00
Damir Jelić
b36d907fac
base: Add the power level event to the room member.
2020-12-06 18:11:32 +01:00
Damir Jelić
dc57873687
base: WIP more work on the new state store.
2020-10-25 21:03:03 +01:00
Damir Jelić
c1e679147d
base: First working version of the new state store.
2020-10-24 20:01:39 +02:00
Denis Kasak
4ec7aff301
Add documentation on enabling logging.
2020-10-12 20:45:47 +02:00
Dominique Martinet
a4eae1053c
matrix_sdk: expose RoomMember
2020-10-08 13:16:33 +02:00
Damir Jelić
2ffac286ed
matrix-sdk: Switch to using an enum for the sync loop callback return value.
2020-10-06 15:04:43 +02:00
Alejandro Domínguez
3070c98d26
Export "unstable-synapse-quirks" feature from ruma
2020-09-22 21:03:12 +02:00
Damir Jelić
ffd2843b0a
matrix-sdk: Expose the import/export keys methods.
2020-09-11 16:34:39 +02:00
Alejandro Domínguez
6fa365935f
Add "socks" feature from reqwest
2020-08-26 16:01:50 +02:00
Damir Jelić
54391040a4
matrix-sdk: Re-export reqwest.
2020-08-26 14:47:43 +02:00
Damir Jelić
6760f81498
matrix-sdk: Update Ruma.
2020-08-26 13:40:38 +02:00
Tilo Spannagel
5f10f4301c
Add feature flag for rustls
...
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-08-21 18:36:42 +02:00
Damir Jelić
90ea0229f2
crypto: Rename TrustState to LocalTrust since.
...
We might still trust the device event if our local trust isn't set, so
rename the enum to better reflect that meaning.
2020-08-19 11:20:08 +02:00
Damir Jelić
fd8377bce2
crypto: Add device wrappers so that the verification can be started with a device.
2020-08-17 15:36:45 +02:00
Damir Jelić
d4e31f07a1
matrix-sdk: Fix the docs for our feature flags.
2020-08-13 12:18:24 +02:00
Damir Jelić
9b8e11aab9
crypto: Fix the docs for our features.
2020-08-13 11:06:26 +02:00
Damir Jelić
9a325a4505
matrix-sdk: Move the HttpSend trait into the http_client file.
2020-08-11 17:25:33 +02:00
Devin Ragotzy
fba3298162
matrix_sdk: Create HttpSend trait to abstract sending requests
2020-08-11 08:06:43 -04:00
Devin Ragotzy
a3b4cab22e
matrix_sdk_crypto: Fix clippy warnings add wasm emscripten to .gitignore
2020-08-04 20:02:09 -04:00
Devin Ragotzy
cb8d5ce8fb
Rename CustomOrRawEvent -> CustomEvent and use raw json when failed
...
When deserialization fails we fallback to providing the user with a
serde_json::RawValue, basically the json string. Ruma should handle all
events that conform to a matrix event shape correctly by either
converting them to their type or returning a custom event.
2020-08-04 17:27:57 -04:00
Damir Jelić
28a7831ffd
matrix-sdk: Fix the import for the no-encryption case.
2020-08-04 11:41:20 +02:00
Damir Jelić
2bf8c99dfe
Merge branch 'master' into sas-verification
2020-08-04 11:23:24 +02:00
Devin Ragotzy
0ac2b84c02
Unify import style across workspace
2020-08-02 08:05:43 -04:00
Devin Ragotzy
ed1f12ce37
Run cargo fmt with merge-imports true
2020-08-02 07:46:02 -04:00
Damir Jelić
3f83941d57
Merge branch 'master' into sas-verification
2020-07-31 16:27:52 +02:00
Devin Ragotzy
79e661d1d9
sdk-base: Remove MessageWrapper and do not order messages in queue
2020-07-31 09:16:41 -04:00
Damir Jelić
21b0afe72c
matrix-sdk: Add a Sas wrapper.
2020-07-29 14:19:47 +02:00
Damir Jelić
27f918e52d
matris-sdk: Move the http request sending logic into a separate struct.
2020-07-29 10:56:18 +02:00
Devin R
e4f94cbfec
Remove FullOrRedacted use ruma::AnyPossiblyRedacted event enum
2020-07-18 08:52:51 -04:00
Devin R
2e8fc3e232
matrix-sdk-base: Integrate redacted events into message queue
...
Redact message events according to spec and ruma types. Remove content
using events redact() method and insert the redacting event into the
event being redacted.
2020-07-17 13:41:55 -04:00
Devin R
1016519bb6
matrix_sdk: Rename public room builder and client methods
...
Remove 'get' from get_public_rooms* methods.
Rename RoomSearchBuilder -> RoomListFilterBuilder.
Use u32 over UInt in builders and Into<String> for String.
Fix docs of public room methods and builders.
2020-06-24 07:46:40 -04:00
Devin R
4dbe785bd7
matrix_sdk: Add get_public_rooms* methods to Client
...
This also adds a RoomSearchBuilder for making get_public_rooms_filtered
requests and a test for each method.
2020-06-24 06:54:45 -04:00
Devin R
f8b5fceeb1
matrix-sdk: Export matrix-sdk-base Error type as BaseError
2020-06-14 20:00:41 -04:00
Devin R
5abac19b72
request_builder/async_client: add register endpoint and RegistrationBuilder for making the request
2020-06-02 17:13:01 -04:00
Devin R
db38bf1276
event_emitter: use enum to represent custom events and raw json
2020-06-01 17:02:12 -04:00
stoically
0d12a5571f
matrix-sdk: VERSION isn't used for the wasm target
2020-05-13 15:02:48 +02:00
Damir Jelić
5b1188a38b
matrix-sdk: Add more strict lints.
2020-05-13 12:47:24 +02:00
Devin R
21bf631f47
Merge branch 'master' into store-room
2020-05-12 18:08:51 -04:00
stoically
ef6104bc53
matrix-sdk: Support compiling to wasm32-unknown-unknown
2020-05-12 15:48:09 +02:00
Devin R
21712d0930
state_store: load/store each room type (invite, join, left), add type for returning 3 room maps
2020-05-11 15:54:11 -04:00
Damir Jelić
9d09d19101
matrix-sdk: Rename the AsyncClient to just Client.
2020-05-08 14:02:49 +02:00
Damir Jelić
8a7aefac3b
matrix-sdk: Split out the error types in our base and matrix-sdk crates.
2020-05-08 12:39:36 +02:00
Damir Jelić
db26ae9027
matrix-sdk: Rename the async client file.
2020-05-08 11:40:33 +02:00
Damir Jelić
14580bc383
matrix_sdk: Fix most of the tests now that we have the big split.
2020-05-07 16:22:18 +02:00