Jonas Platte
b813735dd2
Remove unused dev-dependency
2021-09-21 15:24:55 +02:00
Jonas Platte
871a245702
crypto: Avoid unnecessary event serialization
2021-09-21 15:20:02 +02:00
Jonas Platte
f783fb9830
Fix typo: Missmatched => Mismatched
2021-09-21 15:19:21 +02:00
Damir Jelić
fa5aea2ca1
Merge branch 'fix-anyhow-feature'
2021-09-21 14:54:40 +02:00
Jonas Platte
2128d0bfcc
CI: Use Nightly Clippy
2021-09-21 13:12:46 +02:00
Jonas Platte
42061c9bf5
CI: Run clippy on more (Cargo) targets
2021-09-21 13:12:34 +02:00
Jonas Platte
d0851c8a9e
Fix new (Nightly) Clippy warnings
2021-09-21 13:11:53 +02:00
Jonas Platte
0817bc490e
Add missing required-features for examples
2021-09-21 13:11:31 +02:00
Jonas Platte
3621b62418
Fix Client::register future not being Send under warp feature
...
Caused by https://github.com/tokio-rs/tracing/issues/1487 .
2021-09-21 13:07:40 +02:00
Jonas Platte
cbc0739041
Re-export anyhow and eyre features from matrix-sdk-appservice
2021-09-21 11:59:47 +02:00
Jonas Platte
f752bded4b
Add eyre feature to matrix-sdk
2021-09-21 11:59:47 +02:00
Jonas Platte
6cbb07bc2d
Fix broken anyhow feature
2021-09-21 11:59:15 +02:00
Damir Jelić
4d048934e6
Merge branch 'master-rename'
2021-09-20 11:18:17 +02:00
Damir Jelić
544a66fa34
chore: Rename the master branch
2021-09-20 10:09:40 +02:00
Jonas Platte
533c86d285
Run event / notification handler callbacks in order
2021-09-17 20:46:32 +02:00
Damir Jelić
15e9d03c2c
fix(sdk): Don't retry requests in the tests
...
Since now sync_once() sends out E2EE requests after the sync and our
tests only set up the `/sync` endpoint using mockito we're going to be
stuck in a retry loop trying to send out the mentioned requests.
It's fine to disable request retrying and let those requests fail.
2021-09-17 20:19:13 +02:00
Damir Jelić
ef3f827769
docs(sdk): Fix a typo
2021-09-17 20:18:42 +02:00
Damir Jelić
d34b83851f
feat(sdk): Add a getter for the Session
2021-09-17 20:18:17 +02:00
Damir Jelić
61eefbbadd
docs(sdk): Fix some doc links.
2021-09-17 11:10:18 +02:00
Damir Jelić
544d15c574
docs(sdk): Improve a bunch of Client docs
2021-09-17 11:10:18 +02:00
Damir Jelić
8ed06883f6
fix(sdk): Don't take ownership of the user id when logging in using SSO
2021-09-17 11:10:18 +02:00
Damir Jelić
39edd32072
feat(sdk): Add a method to sync as an async stream
2021-09-17 10:54:20 +02:00
Damir Jelić
051d935b28
docs(sdk): Add better docs and examples to the sync methods
2021-09-17 10:54:20 +02:00
Damir Jelić
37904007bb
feat(sdk): Send the outgoing E2EE requests out concurrently
2021-09-16 15:43:50 +02:00
Damir Jelić
3dc9f78051
fix(sdk): Move the crypto plumbing in the sync to the sync_once method
...
This would allow people to avoid the `sync()` method and let them drive
their own syncs.
Until now using `sync()` only would mean that the crypto requests would
never have been sent out.
2021-09-16 14:36:16 +02:00
Damir Jelić
729a29352b
chore(sdk): Move the crypto plumbing of the sync into a separate method
2021-09-16 14:14:37 +02:00
Damir Jelić
626f4b92b5
chore(sdk): Remove some unwraps
2021-09-16 14:06:44 +02:00
Damir Jelić
fa6230a08a
fix(sdk): Use a better variable name for the file when uploading
2021-09-15 22:08:45 +02:00
Damir Jelić
866ab33c45
chore: Remove some unneeded clippy silences
2021-09-15 20:48:15 +02:00
Damir Jelić
7764f01b59
fix(crypto): Only send cancellations if there were multiple request recipients
2021-09-15 20:28:16 +02:00
Damir Jelić
ff9bb94ab4
docs(sdk): Simplify the event sending examples
2021-09-15 20:27:36 +02:00
Damir Jelić
28412344d5
docs(sdk): Fix the link to the examples dir
2021-09-15 14:20:14 +02:00
Damir Jelić
bae6b33497
feat(sdk): Add the ability to send out custom message events
2021-09-15 14:20:14 +02:00
Damir Jelić
7a21bdd573
docs(sdk): Fix a small typo
2021-09-15 10:36:58 +02:00
Damir Jelić
43011261a8
fix(sdk): Remove the room_send method from the Client
...
This method is a bit dangerous if the room is encrypted, e.g. people can
send events before the room state has been fetched and thus accidentally
send out unencrypted events in an encrypted room.
2021-09-15 10:36:58 +02:00
Damir Jelić
d8b60dfe55
feat(sdk): Add support to send out custom state events
2021-09-14 23:36:09 +02:00
Damir Jelić
70ab0f446d
chore: Sort the deps in our Cargo.toml files
2021-09-14 16:38:33 +02:00
Damir Jelić
af74988a83
chore: Rename the crate folders to use dashes instead of underscores
2021-09-14 16:38:33 +02:00
Damir Jelić
31b7063e68
docs(sdk): Remove unwraps from the joined room doc examples
2021-09-14 16:38:33 +02:00
Damir Jelić
f42883eaad
docs(sdk): Remove some unwraps from the encryption doc examples
2021-09-14 16:38:33 +02:00
Damir Jelić
7de782d3a2
chore(sdk): Move the various config structs into its own module
2021-09-14 16:38:33 +02:00
Damir Jelić
cf26557cc2
chore(sdk): Move the sso related imports into the sso login method
2021-09-14 13:20:03 +02:00
Damir Jelić
29d11db73a
chore(sdk): Move the e2ee related client methods to the encryption module
2021-09-14 13:10:22 +02:00
Damir Jelić
e8c5b0766e
chore(sdk): Move all the crypto related module under an encryption module
2021-09-14 12:32:59 +02:00
Damir Jelić
041ef66c01
chore: Move the crates into a subfolder
2021-09-14 11:59:21 +02:00
Damir Jelić
b3bbcd1729
chore: Set a rust version in our crates
2021-09-14 10:25:04 +02:00
Damir Jelić
69ccc5a9f9
chore(sdk): Bump the version
CI / Run clippy (push) Has been skipped
CI / linux / WASM (push) Has been skipped
CI / linux / appservice / stable / warp (push) Has been skipped
CI / macOS / appservice / stable / warp (push) Has been skipped
CI / linux / features-markdown (push) Has been skipped
CI / linux / features-socks (push) Has been skipped
CI / linux / features-sso_login (push) Has been skipped
CI / linux / features-no-sled (push) Has been skipped
CI / linux / features-sled_cryptostore (push) Has been skipped
CI / linux / features-no-encryption-and-sled (push) Has been skipped
CI / linux / features-require_auth_for_profile_requests (push) Has been skipped
CI / linux / features-no-encryption (push) Has been skipped
CI / linux / features-rustls-tls (push) Has been skipped
CI / linux / beta (push) Has been skipped
CI / linux / stable (push) Has been skipped
CI / macOS / stable (push) Has been skipped
CI / Check style (push) Failing after 38s
matrix-sdk-0.4.1
matrix-sdk-base-0.4.1
matrix-sdk-common-0.4.1
matrix-sdk-crypto-0.4.1
2021-09-13 11:49:39 +02:00
Damir Jelić
f9f83eaa39
chore(base): Bump the version
2021-09-13 11:49:39 +02:00
Damir Jelić
f243a684d4
chore(crypto): Bump the version
2021-09-13 11:49:39 +02:00
Damir Jelić
a82de88963
chore(common): Bump the version
2021-09-13 11:49:39 +02:00