Commit Graph

2192 Commits

Author SHA1 Message Date
Damir Jelić
1faaba39c7 docs(sdk): Explain how cross signing helps a bit better 2021-11-08 15:32:51 +01:00
Damir Jelić
e58eb70924 chore: Switch to the 2021 edition 2021-11-08 15:32:51 +01:00
Damir Jelić
4bfc1041cc docs(sdk): Improve an entry in the e2ee failure table 2021-11-08 15:32:51 +01:00
Damir Jelić
b6f7e85964 feat(sdk): Add a method to enable encryption for a room 2021-11-08 15:32:51 +01:00
Damir Jelić
b9b02ff167 docs(sdk): Add another entry to the failure table 2021-11-08 15:32:51 +01:00
Damir Jelić
1aba90cd0b docs(sdk): Consistent headings 2021-11-08 15:32:51 +01:00
Damir Jelić
3f689e9c74 docs(sdk): Introduce a failure table for the encryption module 2021-11-08 15:32:51 +01:00
Damir Jelić
d744948a27 docs(sdk): Fix a typo 2021-11-08 15:32:51 +01:00
Damir Jelić
ccc3a005cb docs(sdk): A couple small clarifications 2021-11-08 15:32:51 +01:00
Damir Jelić
605c3b056f docs(sdk): Use a table to describe our features 2021-11-08 15:32:51 +01:00
Damir Jelić
387d25c438 docs(sdk): Explain a bit more how devices are backed by device keys 2021-11-08 15:32:51 +01:00
Damir Jelić
050f62baa7 docs(sdk): Clarify the manual verification a bit more 2021-11-08 15:32:51 +01:00
Damir Jelić
afe4f628c3 docs(sdk): Improve the UserIdentity docs 2021-11-08 15:32:51 +01:00
Damir Jelić
3964eea2e2 docs(sdk): Add some more E2EE related docs 2021-11-08 15:32:51 +01:00
Damir Jelić
687ebabca9 Merge branch 'reciprocate_qr_scanning' 2021-11-05 19:35:57 +01:00
Julian Sparber
635ee5f130 matrix-sdk: Send reciprocate to other side when scanning a Qr Code
We need to tell the other side that we scanned there Qr Code.
2021-11-05 19:05:43 +01:00
Jonas Platte
b27795c0d1 Upgrade ruma 2021-11-05 16:05:25 +01:00
Jonas Platte
f21faa9e2e Remove unused imports in doctests 2021-11-05 15:39:02 +01:00
Jonas Platte
77de8383fe Fix clippy warning 2021-11-05 15:25:16 +01:00
Jonas Platte
cdfd5f9f0c Remove unnecessary use of Ruma event content enums 2021-11-05 15:16:17 +01:00
Kévin Commaille
5eb7029568 matrix-sdk: Allow to reconfigure client with login response discovery info
Fixes #219
2021-11-02 16:45:03 +01:00
Kévin Commaille
52910d50b4 matrix-sdk: Remove unecessary mut for client
Client does not need to be mutable to set the homeserver
2021-11-02 11:59:44 +01:00
Julian Sparber
8dcfd1176f matrix-sdk-crypto: Drop MutexGuard in VerificationRequest::scan_qr_code()
We can't move MutexGuards across threads and therefore we need to drop
it before awaitng on a future since a task may be moved between threads.
2021-10-29 16:33:25 +02:00
Damir Jelić
a85f29d904 feat(sdk): Expose the method and types to scan QR codes 2021-10-28 11:54:28 +02:00
Damir Jelić
292425fd80 fix(crypto): Make sure we don't treat our own device as a new one every time 2021-10-28 11:24:02 +02:00
Damir Jelić
19266f643c improvement(crypto): Improve the logs for the keys/query handling 2021-10-28 11:24:02 +02:00
Damir Jelić
3853d0c9d7 improvement(crypto): Log the mismatched user/key if checking fails 2021-10-27 16:23:34 +02:00
Damir Jelić
3c59e186d9 improvement(crypto): Improve the logging when we decrypt room events 2021-10-27 15:00:04 +02:00
Damir Jelić
e448a76484 improvement(crypto): Improve the to-device decryption logs 2021-10-27 14:57:07 +02:00
Damir Jelić
0ee8d2733a fix(crypto): Improve the log lines for the room key encryption flow 2021-10-27 14:44:27 +02:00
Damir Jelić
38ae79ba3c Merge branch 'room-is-space' 2021-10-27 11:08:33 +02:00
Amanda Graven
d06371d458 Add convenience function to check if a room is a space 2021-10-27 10:39:19 +02:00
Damir Jelić
8b200c8200 Merge branch 'appservice-user-store' 2021-10-26 12:00:27 +02:00
Damir Jelić
2a285de1b0 Merge branch 'appservice-event-handler' 2021-10-26 11:30:30 +02:00
Amanda Graven
093588d5a3 Event handlers for room and user queries
Add a member to AppService which can store closures that will be invoked
when the homeserver invokes query endpoints.
2021-10-26 10:50:23 +02:00
Amanda Graven
a9e990142a appservice: Store which users have been registered 2021-10-26 09:51:51 +02:00
Damir Jelić
42bec97b68 Merge branch 'blocking' 2021-10-25 14:25:59 +02:00
Damir Jelić
bc8641666c fix(sdk): Only import the crypto store type if encryption is enabled 2021-10-25 13:30:33 +02:00
Damir Jelić
74342a8775 Merge branch 'event-handling' 2021-10-25 13:02:27 +02:00
Damir Jelić
bc92c02772 Merge branch 'erikj/add_crypto_store_setting' 2021-10-25 13:00:55 +02:00
Damir Jelić
f434b4d970 Merge branch 'erikj/export_gossip_request' 2021-10-25 13:00:07 +02:00
Damir Jelić
86657736e8 chore: Fix some new clippy warnings. 2021-10-25 12:40:34 +02:00
Erik Johnston
a037e6b1a7 Add Config::crypto_store
This allows setting of the crypto store in the high level client, in the
same way you can in the base client.
2021-10-25 10:38:28 +01:00
Jonas Platte
4570d7194e Add SyncEvent impls for SyncRedactionEvent 2021-10-22 22:11:01 +02:00
Erik Johnston
a7c97e731d Document types correctly 2021-10-22 11:57:21 +01:00
Erik Johnston
c093b68078 Also export SecretInfo 2021-10-22 11:33:34 +01:00
Erik Johnston
c824278565 Export GossipRequest
The `matrix-sdk-store::CryptoStore` uses the type in its definition,
so we export it to allow third party implementations.
2021-10-22 11:29:15 +01:00
Julian Sparber
8ee3b6f909 sled_store: Run read operations on blocking thread 2021-10-21 14:59:33 +02:00
Denis Kasak
9e1024f4b5 refactor: Use structured logging field for room_id. 2021-10-14 12:22:13 +02:00
Denis Kasak
8cab5b811f docs: Doc tweaks. 2021-10-14 10:22:25 +02:00