Commit Graph

2471 Commits

Author SHA1 Message Date
Benjamin Kampmann 7e008d00e4 fixing linux tests 2022-02-02 14:10:04 +01:00
Benjamin Kampmann c07c284c5e fixing docs for await 2022-02-02 14:03:07 +01:00
Benjamin Kampmann b4d5ad95cf fixing style 2022-02-02 13:15:54 +01:00
Benjamin Kampmann ea959a17e2 Merge remote-tracking branch 'upstream/main' into ben-wasm-store 2022-02-02 13:05:52 +01:00
Benjamin Kampmann e2c6dc33fb Merge remote-tracking branch 'upstream/main' into ben-wasm-store 2022-02-02 12:16:49 +01:00
Damir Jelić 261772c4e2 chore: Upgrade our deps 2022-02-02 10:27:03 +01:00
Damir Jelić 27eed9d9bd refactor(matrix-sdk): Use the ruma cancel code for mismatched sas 2022-02-01 16:10:06 +01:00
Jonas Platte 8a97936228 Fix one more clippy warning 2022-02-01 15:44:22 +01:00
Jonas Platte 0df1f6007b Silence invalid clippy warnings 2022-02-01 15:44:16 +01:00
Benjamin Kampmann 8270304485 Fix build warnings and clippy lints 2022-02-01 15:30:09 +01:00
Benjamin Kampmann 93c75c1e4d fixing build warnings and clippy lints 2022-02-01 15:09:58 +01:00
Jonas Platte 2f67b62509 Unbreak wasm_command_bot compilation 2022-02-01 15:08:02 +01:00
Jonas Platte 74172dac32 Activate ruma's rand feature unconditionally in matrix-sdk, matrix-sdk-crypto
… because it is required for `TransactionId::new()`.
2022-02-01 15:08:02 +01:00
Jonas Platte 96d9fd80eb Silence new clippy lint occurrence 2022-02-01 15:08:02 +01:00
Jonas Platte 8dec390258 Upgrade Ruma 2022-02-01 15:08:01 +01:00
Jonas Platte 6baffc4b0b Refactor EncodeKey implementations 2022-02-01 15:05:10 +01:00
Jonas Platte c6594edc92 Use faster sorting algorithm
… because Clippy complained.
2022-02-01 15:05:10 +01:00
Jonas Platte 80e8d4fbd5 Remove unnecessary copying 2022-02-01 15:05:10 +01:00
Jonas Platte aa4a31d81b crypto: Refactor some test code 2022-02-01 15:05:10 +01:00
Jonas Platte df93cfde8b Remove unnecessary Result from private function return type 2022-02-01 15:05:10 +01:00
Jonas Platte f56f27a2e1 Remove unnecessary parentheses 2022-02-01 15:05:10 +01:00
Jonas Platte 3e496dba50 Remove unnecessary .iter() calls 2022-02-01 15:05:10 +01:00
Damir Jelić b55362a35b Merge branch 'forget' 2022-02-01 14:36:23 +01:00
Damir Jelić 88b64950dc Merge branch 'not_match_sas' 2022-02-01 14:05:54 +01:00
Benjamin Kampmann a0f2e38b89 Merge remote-tracking branch 'upstream/main' into ben-wasm-store 2022-02-01 14:04:26 +01:00
Damir Jelić fe2323cd33 Merge branch 'doc-store-path-feature' 2022-02-01 13:53:31 +01:00
Damir Jelić d09792e402 docs(matrix-sdk): Clarify that an in-memory store will be used 2022-02-01 13:47:16 +01:00
Damir Jelić ac7f2c94fb Merge branch 'fix-verification-done-wait' 2022-02-01 13:43:58 +01:00
Damir Jelić 906dcfe423 Merge branch 'messages-param' 2022-02-01 12:34:40 +01:00
Damir Jelić b5ce7e7bd0 Merge branch 'tags' 2022-02-01 12:01:17 +01:00
Damir Jelić c9c03fd9b1 Merge branch 'encrypt-custom-events' 2022-02-01 11:48:31 +01:00
Julian Sparber 960c90cdff Add method to mismatch SAS verifications
The method sets the proper CancelCode for the case when SAS doesn't
match on both devices.
2022-01-13 10:26:53 +01:00
Kévin Commaille e1d78c01f0 test(base): Add store test for room removal 2022-01-12 18:41:26 +01:00
Kévin Commaille 76d1b6e4d2 test(base): Add test to populate a store 2022-01-12 18:40:57 +01:00
Kévin Commaille 94e5ee71c7 fix(sdk): Remove a room from the store on forget 2022-01-12 16:53:47 +01:00
Kévin Commaille d455b0d318 test(base): Use common data for store tests 2022-01-12 16:42:04 +01:00
Kévin Commaille 535d1ec30f feat(sdk): Use TagName in set/remove tag methods 2022-01-11 12:25:27 +01:00
Kévin Commaille 52deff1db2 fix(sdk): Move set/remove tag methods to room::Common 2022-01-11 12:24:46 +01:00
Jonas Platte 4603ee136d Remove unnecessary string copies 2022-01-10 16:30:45 +01:00
Jonas Platte da657b8643 Allow custom events in OlmMachine::encrypt 2022-01-10 16:29:49 +01:00
Jonas Platte c2888e56a4 Use a custom options type for room::Common::messages
With the previous API, one would have to supply the room's ID manually,
despite the method already being called on a room.
2022-01-09 01:54:38 +01:00
Benjamin Kampmann 92044cedb9 fixing style again 2022-01-07 12:03:19 +01:00
Benjamin Kampmann fb81ebf301 fixing style again 2022-01-07 12:00:12 +01:00
Benjamin Kampmann 278d934973 fix broken merge 2022-01-07 11:49:51 +01:00
Benjamin Kampmann 0937c2e6f6 [fix ci] remove unused import 2022-01-07 10:46:46 +01:00
Benjamin Kampmann e1ad8fe8e0 Merge remote-tracking branch 'upstream/main' into ben-wasm-store 2022-01-07 10:42:52 +01:00
Antoine Martin 27f2cd3db0 docs(sdk): document features needed for store_path
If default features `sled_state_store` and `sled_cryptostore` aren't
enabled, then passing a store path to the Client does nothing.
2022-01-06 16:09:24 +01:00
Amanda Graven 038adea6d7 appservice: Examples for query handler registry fns
Add examples for functions for registering handlers for room and user
queries. Also remove a needless mut requirement for these functions.
2022-01-05 14:33:46 +01:00
ftilde b1501fcb1d Add test for verification started from a request 2022-01-04 21:27:06 +01:00
ftilde b877d15616 Do not send Done message after receiving a Done
Done messages are supposed to indicate that the verification was
successful and _can be_ finalized. The correct time to send Done events
is after the user has confirmed the verification (after checking the
emoji or similar) and after receiving and checking a mac from the other
party (whatever happens later). Waiting for the other side to send Done
before sending it ourselves does not make sense.
2022-01-04 21:27:06 +01:00