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
Damir Jelić
30f8ccd2de
matrix-sdk: Move the bulk of the sdk into a separate base crate.
2020-05-07 14:58:38 +02:00
Devin R
06707bd95e
Merge branch 'master' into invite-leave-sync
2020-05-07 07:18:13 -04:00
Damir Jelić
6cbdbdcd2f
matrix-sdk: Rename the types subproject to matrix-sdk-common.
2020-05-07 08:51:59 +02:00
Devin R
8afac39611
async_client/event_emitter: use RoomState to differentiate joined, invited and left rooms when emitting
2020-05-06 19:45:27 -04:00
Damir Jelić
4c760fca02
matrix_sdk: Use the internal types crate.
2020-04-29 10:40:27 +02:00
Damir Jelić
c5d833a14b
Merge branch 'state-store'
2020-04-29 10:06:02 +02:00
Damir Jelić
5fef444d61
matrix-sdk: Split out the crypto part of the sdk into a separate crate.
2020-04-29 09:48:00 +02:00