Charlotte Som
d83d8b959c
fix(sdk): Implement SyncEvent for SyncRedactionEvent
2021-09-16 04:21:07 +01: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
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
Damir Jelić
97e15feb0d
Merge branch 'fix-sdk-common-dep-feature'
2021-09-13 11:47:20 +02:00
Antoine Martin
51072a5dab
fix(common): wasm_bindgen dependency feature
...
instant doesn't need wasm_bindgen on non wasm targets
2021-09-13 11:01:05 +02:00
Damir Jelić
500bb6e940
fix(sdk): Test that invited member events get emitted
2021-09-13 11:00:24 +02:00
Jonas Platte
140630745f
Fix confusion between initial / stripped state events
...
InviteState contains stripped state events, and initial state events are
not used anywhere in the sync response.
2021-09-13 11:00:24 +02:00
Damir Jelić
1ea9c9a915
fix(base): Allow the presence of a room member to be dead for now
2021-09-13 10:18:45 +02:00
Damir Jelić
b8001b78b4
fix(crypto): Fix some clippy warnings
2021-09-13 10:18:23 +02:00
Damir Jelić
a6916dd9dd
chore(sdk): Bump the version
2021-09-10 21:41:37 +02:00
Damir Jelić
b96624890e
Merge branch 'event-handler-encryption-info'
2021-09-10 21:36:16 +02:00
Damir Jelić
7e9090399b
chore(qrcode): Bump the version
2021-09-10 20:45:17 +02:00
Damir Jelić
9c53c478d9
chore(base): Bump the version
2021-09-10 19:54:58 +02:00
Damir Jelić
e0447c8190
chore(crypto): Bump the version
2021-09-10 19:28:13 +02:00
Damir Jelić
4bcbcb146e
Merge branch 'feature/qrcode-feature'
2021-09-10 19:20:08 +02:00
Damir Jelić
ae0f4c4cc5
docs(sdk): Add some missing hints for the qrcode feature
2021-09-10 17:41:33 +02:00
Damir Jelić
40b465a093
chore(test): Bump the version
2021-09-10 17:23:43 +02:00
Damir Jelić
a4de38ce28
chore(common): Bump the version
2021-09-10 17:23:43 +02:00
Jonas Platte
d6d51ef4b1
Show Option<EncryptionInfo> event handler context in doc example
2021-09-10 17:12:17 +02:00
Damir Jelić
92b0ba21e4
docs(common): Use the readme for the crate level docs
2021-09-10 16:41:50 +02:00
Alexander Sieg
82a99b5267
address code review issues
2021-09-10 16:26:21 +02:00
Alexander Sieg
349e3cae06
Merge remote-tracking branch 'origin/master' into feature/qrcode-feature
2021-09-10 16:00:41 +02:00
Damir Jelić
48b3307934
chore: Bump our deps
2021-09-10 10:08:48 +02:00
Jonas Platte
24253128ae
Add support for Option<EncryptionInfo> as event handler context
2021-09-09 21:03:01 +02:00
Damir Jelić
018544b775
fix(crypto): Remove some dead code
2021-09-09 20:57:58 +02:00
Damir Jelić
44dcd1abdf
docs(crypto): Improve the docs and use the readme for the crate docs
2021-09-09 20:57:58 +02:00
Damir Jelić
9c62908162
docs(base): Use the readme for the crate docs
2021-09-09 20:57:58 +02:00
Damir Jelić
913cb39d28
docs(sdk): Add an example that attaches data to an event handler
2021-09-09 20:57:58 +02:00
Damir Jelić
804a941762
docs(rust): Run the register event handler doc example
2021-09-09 20:57:58 +02:00
Damir Jelić
a7b83d9cd1
docs(sdk): Improve the docs docs and use the readme for the crate docs
2021-09-09 20:57:58 +02:00