Commit Graph

2944 Commits

Author SHA1 Message Date
Benjamin Kampmann 2bdd44ce1d Merge branch 'main' into gnunicorn/issue133 2022-04-27 15:45:39 +02:00
Julian Sparber 910bf531fe feat(sdk): Add method to set whether a room is DM and store all targets
This ensures also that we use, for user verification, only a DM room with
no members other then ourself and the user to be verified.
2022-04-27 12:53:51 +02:00
Benjamin Kampmann 66fcc1e486 forgot two instances in rename 2022-04-27 12:36:19 +02:00
Benjamin Kampmann 628de09938 rename Full -> Original 2022-04-27 12:22:19 +02:00
Benjamin Kampmann 703a95c486 grumbles 2022-04-27 12:21:06 +02:00
Benjamin Kampmann 48cb625f19 fixing lints 2022-04-27 12:06:42 +02:00
Benjamin Kampmann 266d7c6da7 fixing last broken display_name tests 2022-04-27 12:06:15 +02:00
Benjamin Kampmann b5ab076546 tests(matrix-sdk-base): allowing enable debugging logs for tests 2022-04-27 12:02:56 +02:00
Jonas Platte e5c2ba4bd8 fix(sdk): Export RumaApiError 2022-04-26 19:16:36 +02:00
Kévin Commaille d62cb9650f Fix typo 2022-04-26 18:59:51 +02:00
Kévin Commaille dfdaea786b docs: Document RumaApiError variants 2022-04-26 18:49:21 +02:00
Damir Jelić 6e89ecfbf0 fix(indexeddb): Don't derive a StoreCipher twice if we're reusing the db 2022-04-26 18:46:55 +02:00
Damir Jelić 742c1944eb fix(sled): Put the StoreCipher behind the Arc, not the Option 2022-04-26 18:46:55 +02:00
Damir Jelić e1baa25713 fix(sled): Don't derive a StoreCipher twice if we're reusing the db 2022-04-26 18:46:55 +02:00
Kévin Commaille 189ae93e90 fix(sdk): Export RumaApiError 2022-04-26 18:17:04 +02:00
Benjamin Kampmann 4431a2d48a fix(room name): check for proper type 2022-04-26 17:40:04 +02:00
Benjamin Kampmann 3cdee30fc1 fixing docs 2022-04-26 17:33:17 +02:00
Benjamin Kampmann 592a9338eb style, and other fixes 2022-04-26 17:27:18 +02:00
Benjamin Kampmann 55b7fd617c fix(indexeddb-store): implement merge room members 2022-04-26 17:04:46 +02:00
Benjamin Kampmann ca2f598d9e fix(sled-store): implement merge room members 2022-04-26 16:23:22 +02:00
Benjamin Kampmann 8cdfd43863 test(store): additional intergration test for stripped members 2022-04-26 15:38:58 +02:00
Benjamin Kampmann e9e21c1b25 rename computed -> calculated 2022-04-26 15:34:49 +02:00
Benjamin Kampmann 61ea1c9003 Merge remote-tracking branch 'origin/main' into gnunicorn/issue133 2022-04-26 15:24:13 +02:00
Damir Jelić 39ef1d550d chore(crypto): Improve a log line 2022-04-26 14:46:07 +02:00
Damir Jelić a425ddf97f fix(crypto): Don't try to encrypt a room key for our own device 2022-04-26 14:46:07 +02:00
Damir Jelić d38995b3f9 fix(crypto): Add our own device to the store when we create a new account 2022-04-26 14:46:07 +02:00
Damir Jelić 3490a9f726 chore(crypto): Remove a useless compile_error! call 2022-04-26 13:56:45 +02:00
Damir Jelić 610e3ffc5f fix(crypto): Be more restrictive around Megolm session rotation periods 2022-04-26 13:56:45 +02:00
Benjamin Kampmann cfeda54fc6 fix(store): combine stripped and regular membership and allow fetching that 2022-04-26 13:35:06 +02:00
Jonas Platte 2a11df01c7 chore(indexeddb): Remove unneeded matrix-sdk-common dependency 2022-04-26 11:40:54 +02:00
Jonas Platte 08fd85ea09 chore: Upgrade Ruma 2022-04-26 11:40:54 +02:00
Jonas Platte 32d1997dfc feat(crypto): Accept borrowed identifiers in some public functions 2022-04-26 11:40:54 +02:00
Jonas Platte 00249ab96e fix: Fix a typo 2022-04-26 11:40:54 +02:00
Damir Jelić 7710b0b14f Merge branch 'poljar/encrypted-reactions-fix' 2022-04-26 11:22:39 +02:00
Damir Jelić cc6e5b868e chore(sdk): Use the % sigil to record room ids 2022-04-26 09:58:25 +02:00
Damir Jelić 5f83184512 fix(sdk): Don't encrypt reactions 2022-04-26 09:41:50 +02:00
Jonas Platte 16a35081ed feat(sdk): Merge HttpError::{Api, ClientApi} 2022-04-25 19:55:56 +02:00
Jonas Platte ddb6d6af90 chore: Fix typos 2022-04-25 19:42:06 +02:00
Damir Jelić 1f8f7c853b docs(crypto-ffi): Slight docs improvements
Co-authored-by: Denis Kasak <dkasak@termina.org.uk>
2022-04-25 14:22:01 +02:00
Damir Jelić a25a88bd25 refactor(crypto-ffi): Use the anyhow Result type for the migration function 2022-04-25 14:22:01 +02:00
Damir Jelić 94832d1a8b fix(crypto-ffi): Allow the machine to be opened with a passphrase 2022-04-25 14:22:01 +02:00
Damir Jelić 2552c0f393 docs(crypto-ffi): Add docs to the migrate method 2022-04-25 14:22:01 +02:00
Damir Jelić 797fbb2fda feat(crypto-ffi): Add a progress listener to the migrate method 2022-04-25 14:22:01 +02:00
Damir Jelić 35d4749ba7 feat(crypto-ffi): Add support to migrate from a libolm based setup 2022-04-25 14:22:01 +02:00
Damir Jelić c5ddca3bc4 feat(sled): Add a method to save tracked users in a batched way 2022-04-25 14:22:01 +02:00
Damir Jelić a6b7c98002 feat(crypto): Add a public method to import private cross signing keys 2022-04-25 14:22:01 +02:00
Benjamin Kampmann 84b721abb0 Merge pull request #599 from zecakeh/pr-cov
ci: Run code coverage for pull requests
2022-04-25 14:07:27 +02:00
Benjamin Kampmann 7ea6cb3e95 rename Calculated -> Computed 2022-04-25 13:31:45 +02:00
Benjamin Kampmann 15e76b90b1 adding display name integration tests for DM invite 2022-04-25 13:29:59 +02:00
Kévin Commaille 5c41b992b7 ci: Add newline at end of codecov.yaml
Co-authored-by: Benjamin Kampmann <ben.kampmann@gmail.com>
2022-04-25 12:53:42 +02:00