Commit Graph

13223 Commits

Author SHA1 Message Date
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
Kévin Commaille 5ce6c07d9c ci: Update codecov github action to v3 2022-04-25 12:44:33 +02:00
Kévin Commaille 8090220963 ci: Add codecov config file
Be tolerant for coverage of new PRs
2022-04-25 12:43:22 +02:00
Kévin Commaille 314a9dec6c ci: Run code coverage for pull requests 2022-04-25 12:08:58 +02:00
Benjamin Kampmann 48fc26a35b tests for broken room name 2022-04-22 17:45:27 +02:00
Benjamin Kampmann b420d7022a typed display name for i18n 2022-04-22 15:35:38 +02:00
Benjamin Kampmann 79e543eceb fix(state-stores): ensure counter consistency 2022-04-21 16:20:24 +02:00
Benjamin Kampmann 375e976289 formatting 2022-04-21 13:02:55 +02:00
Benjamin Kampmann 071d440567 fix(indexeddb-store): always pad counter with u64 padding size to ensure order consistency 2022-04-21 12:56:32 +02:00
Benjamin Kampmann d4053e2c54 fix(sled-store): save index as i64 to ensure portability 2022-04-21 12:53:10 +02:00
Benjamin Kampmann a0ba610e0b fixing wasm example 2022-04-20 16:35:55 +02:00
Benjamin Kampmann c995331f57 fixing typo 2022-04-20 16:22:32 +02:00
Benjamin Kampmann 577b45f8ce activate encryption on base if crypto-store is activated, handle non_exhaustive errors raised 2022-04-20 16:19:55 +02:00
Jonas Platte 0c7e0167c7 Merge pull request #592 from zecakeh/login-sso 2022-04-20 15:45:43 +02:00
Benjamin Kampmann 9761934bf5 fixing features in ci jobs 2022-04-20 15:43:57 +02:00
Kévin Commaille 04d62bbe1e Apply suggestions to docs
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2022-04-20 15:35:54 +02:00
Benjamin Kampmann 115300fa5e Addressing review comments 2022-04-20 15:27:41 +02:00
Benjamin Kampmann ae8943e050 fixing style 2022-04-20 15:25:56 +02:00
Kévin Commaille 11292b5e5a fix(sdk): Don't convert SSO login URL parse error to IoError. 2022-04-20 15:21:23 +02:00
Kévin Commaille 559fe35e1b fix(sdk): Bind SSO login server to 127.0.0.1 instead of localhost
Avoid name resolution failure in some devices
2022-04-20 15:21:23 +02:00
Kévin Commaille 32b5e5d48b feat(sdk): Improve docs for SSO login server's random ports 2022-04-20 15:21:14 +02:00
Benjamin Kampmann 3de9c54552 more feature related fixups 2022-04-20 14:39:42 +02:00
Benjamin Kampmann b29a50bed5 moving make_store_config features back to sled, fxies #562 2022-04-20 14:36:11 +02:00
Benjamin Kampmann d36220ed7c e2e-encrypted weak feature dependency 2022-04-20 14:26:54 +02:00
Benjamin Kampmann 117fd1612b explain in readme 2022-04-20 14:10:24 +02:00
Benjamin Kampmann 2c506717c8 setting rust-version 2022-04-20 14:08:27 +02:00
Damir Jelić e57721be09 Merge branch 'poljar/session-timestamp-improvements' 2022-04-20 12:11:53 +02:00
Damir Jelić 954bba6fdf fix(crypto): Don't put the session timestamps behind an Arc 2022-04-20 10:49:32 +02:00
Damir Jelić edbf831a0f fix(crypto): Make sure to sort the sessions by timestamp before encrypting
This ensures that we're using the correct Session even if our store
doesn't provide those in the correct order. The set is small anyways, so
this shouldn't have any performance impact.
2022-04-20 10:49:22 +02:00
Damir Jelić c0172c4858 fix(crypto): Fix an error message 2022-04-20 10:49:22 +02:00
Benjamin Kampmann 06f5b67b23 feat(state_store): Store keys and values encrypted, too
Merge pull request #586 from matrix-org/ben-remove-store-key

This removes the store_key and replaces it with the new key cipher for both sled and indexeddb state stores. If they are given a passphrase, we are now encrypted/hashing all keys and values stored in the store, no leaking of metadata in any key or value anymore.
2022-04-19 16:46:11 +02:00
Benjamin Kampmann 07c5f625d4 fixing encryption examples 2022-04-19 16:30:20 +02:00
Benjamin Kampmann 805044ed41 Merge branch 'ben-remove-store-key' of github.com:matrix-org/matrix-rust-sdk into ben-remove-store-key 2022-04-19 16:23:29 +02:00