Commit Graph

  • 8690addfd5 chore: Add Clone impl for ClientBuilder Jonas Platte 2022-06-17 12:43:23 +02:00
  • 00a20f325b chore: Add Clone impl for StoreConfig Jonas Platte 2022-06-17 12:42:32 +02:00
  • a4e4bfe833 refactor(sdk)!: Change store builder methods from Box<dyn Trait> to impl Trait Jonas Platte 2022-06-17 10:33:34 +02:00
  • 02aa537f2a chore: Keep uniffi version in sync across deps, CI Jonas Platte 2022-06-17 13:16:36 +02:00
  • 5316d2e6e7 fix(indexeddb): Upgrade version to latest state store pattern Benjamin Kampmann 2022-06-16 13:17:45 +02:00
  • 7adef1d24e fix(sled): Upgrade db version to latest changes Benjamin Kampmann 2022-06-16 13:08:35 +02:00
  • c755e19fb3 Merge pull request #765 from matrix-org/andy/crypto_ffi Anderas 2022-06-16 11:25:39 +01:00
  • 8250c24525 chore: Undo pinning of clap Jonas Platte 2022-06-15 20:47:55 +02:00
  • fe29fa57eb Build Crypto iOS framework Andy Uhnak 2022-06-10 16:12:37 +01:00
  • c564b1a5e1 feat(crypto-nodejs): Add store_path and store_passphrase to the OlmMachine constructor Ivan Enderlin 2022-06-15 07:28:29 +02:00
  • 9d691e238a Merge pull request #759 from Hywan/fix-codecov-labs Benjamin Kampmann 2022-06-14 20:29:07 +02:00
  • 520e2f30f7 doc(crypto-js): Add missing module documentation. Ivan Enderlin 2022-06-14 16:54:22 +02:00
  • c56ab5928c test(crypto-js): Add a workflow to test matrix-sdk-crypto-js. Ivan Enderlin 2022-06-14 16:34:08 +02:00
  • f8cd2310be feat(crypto-js): Implement OlmMachine.decryptRoomEvent & siblings. Ivan Enderlin 2022-06-14 16:16:54 +02:00
  • 073fb45580 feat(crypto-nodejs): Define Node.js versions policy. Ivan Enderlin 2022-06-14 09:41:03 +02:00
  • 3833d35348 chore(crypto-nodejs): Drop Node.js v12.17. Ivan Enderlin 2022-06-13 17:17:19 +02:00
  • 83b730d1c8 chore(crypto-nodejs): Make the code compatible with Node.js < 18. Ivan Enderlin 2022-06-13 14:39:47 +02:00
  • 6477cc5072 feat(crypto-nodejs): Add store_path and store_passphrase to the OlmMachine constructor. Ivan Enderlin 2022-06-13 14:19:27 +02:00
  • 2117b36a75 chore(test): Exclude matrix-sdk-indexeddb from code coverage report. Ivan Enderlin 2022-06-14 15:15:09 +02:00
  • 5e8ed3bcbf chore(test): Remove labs from the projects. Ivan Enderlin 2022-06-13 14:46:08 +02:00
  • 87639a4c4c fix(appservice): Remove erroneous ? operator Jonas Platte 2022-06-14 15:20:24 +02:00
  • de04aba5b3 fix(appservice): Remove erroneous ? operator Amanda Graven 2022-06-14 15:02:55 +02:00
  • 5243091bec test(appservice): Virtual client membership Amanda Graven 2022-06-09 13:59:49 +02:00
  • 1d746f1ef1 fix(appservice): Virtual client non-membership Amanda Graven 2022-06-09 13:42:03 +02:00
  • 56d74e25b8 test(crypto-js): Finish to migrate the test suites + code clean up. Ivan Enderlin 2022-06-14 14:09:52 +02:00
  • a758d98f84 feat(crypto-nodejs): Update license. Ivan Enderlin 2022-06-13 17:12:11 +02:00
  • 5adae6fd41 feat(crypto-js): Migrate tests and polish the API. Ivan Enderlin 2022-06-13 17:11:51 +02:00
  • 38d771cca6 ci(coverage): Set the correct out format for CI coverage reports Damir Jelić 2022-06-14 11:41:08 +02:00
  • dd4c329f57 chore: Prevent clap upgrades beyond 3.2 Jonas Platte 2022-06-14 11:02:19 +02:00
  • e3edf0139a Enable rustdoc-map nightly feature via .cargo/config.toml matrix-sdk-crypto-ffi-0.1.0 Jonas Platte 2022-06-13 14:10:54 +02:00
  • d07001a581 chore: Work around a cargo bug Jonas Platte 2022-06-13 13:53:14 +02:00
  • 62b8169ac2 chore(test): Ajust code coverage configurations (tarpaulin and codecov) Ivan Enderlin 2022-06-13 14:24:22 +02:00
  • d35063412f chore(test): Ignore matrix-sdk-test-macros and matrix-sdk-ffi. Ivan Enderlin 2022-06-13 12:52:37 +02:00
  • 1a162e5dd5 test(crypto): Test the double verification cancellation Damir Jelić 2022-06-01 12:47:47 +02:00
  • b8069af8ba fix(crypto): Cancel the verification flow if we multiple verifications Damir Jelić 2022-06-01 12:42:15 +02:00
  • fa3e192c37 docs(crypto): Improve the signature verification docs some more Damir Jelić 2022-06-13 11:55:39 +02:00
  • efc53569ed refactor(crypto): Rename our is_signed_by methods Damir Jelić 2022-06-06 12:58:49 +02:00
  • 5c12132569 refactor(crypto): Introduce a SignedJsonObject trait Damir Jelić 2022-05-31 14:33:49 +02:00
  • 251a38285c perf(appservice): Cache namespace regexes Amanda Graven 2022-06-10 09:06:49 +02:00
  • b500fa1daa chore(test): Configure Tarpaulin to collect data from matrix-sdk-common. Ivan Enderlin 2022-06-13 11:27:22 +02:00
  • 4430dae421 chore(test): Configure Tarpaulin to ignore more crates. Ivan Enderlin 2022-06-13 11:25:54 +02:00
  • eead09984c chore(test): Ask codecov.io to ignore the crates/matrix-sdk-crypto-ffi directory. Ivan Enderlin 2022-06-13 11:25:38 +02:00
  • dcfcac0bd3 chore(test): Ask codecov.io to ignore labs and xtask directories. Ivan Enderlin 2022-06-13 11:24:10 +02:00
  • dc32fc282d Remove sync_token from BaseClient Jonas Platte 2022-06-10 17:56:09 +02:00
  • b6eed09564 Make session field in Store private Jonas Platte 2022-06-10 17:38:11 +02:00
  • 29ba171953 Simplify ownership of server_versions Jonas Platte 2022-06-10 17:28:18 +02:00
  • 9e9152745c Remove homeserver_url from HttpClient Jonas Platte 2022-06-10 15:39:30 +02:00
  • 12d1607cdc Remove session from HttpClient Jonas Platte 2022-06-10 15:32:54 +02:00
  • 6c8b520f14 Remove unused Clone impls on private types Jonas Platte 2022-06-08 18:02:36 +02:00
  • fedcdb1e63 chore: Add some more tracing events Jonas Platte 2022-06-08 17:21:34 +02:00
  • 1cfd69a880 chore: Improve doc comment formatting Jonas Platte 2022-06-08 16:54:56 +02:00
  • dad035d170 chore(test): Configure tarpaulin to use its config file. Ivan Enderlin 2022-06-13 10:46:29 +02:00
  • 3c14acf163 chore(test): Exclude matrix-sdk-crypto-(js|nodejs) from code coverage reports. Ivan Enderlin 2022-06-13 10:38:07 +02:00
  • 253affeb0c feat(crypto-nodejs) Implement missing APIs Ivan Enderlin 2022-06-09 21:38:41 +02:00
  • fe4ddfde89 chore(crypto-nodejs): Remove clone calls when possible. Ivan Enderlin 2022-06-09 21:15:25 +02:00
  • 8a332ca9e1 chore(crypto-nodejs): Implement feedbacks / polish. Ivan Enderlin 2022-06-09 18:02:29 +02:00
  • 506f57a22c feat(crypto-nodejs): Enable traace filtering and change the env var to MATRIX_LOG. Ivan Enderlin 2022-06-09 14:03:45 +02:00
  • 8b05f9276f fix(sdk): Remove a duplicate Session cell from the HttpClient Damir Jelić 2022-06-09 11:19:32 +02:00
  • e8b2655d52 docs(crypto-ffi): Explain what a timeout of 0 means when fetching identities Damir Jelić 2022-06-09 11:29:13 +02:00
  • 537ef1409b test(crypto): Test that we're now notifying when we receive a /keys/query Damir Jelić 2022-06-07 15:02:31 +02:00
  • e2bf3d0d18 chore(crypto-js): Silence some doc warnings Damir Jelić 2022-06-07 14:39:45 +02:00
  • d188ef3386 feat(crypto): Add a way wait for a keys/query to be done when fetching identities. Damir Jelić 2022-06-07 13:27:31 +02:00
  • ba7ccb40cc feat(crypto): Wait for a key query to be done if we're claming one-time keys Damir Jelić 2022-06-02 11:58:09 +02:00
  • 1b2c644277 test(crypto-nodejs): Set up CI to run the test suites. Ivan Enderlin 2022-06-09 10:01:43 +02:00
  • 6a853d0173 Merge pull request #744 from matrix-org/jplatte/readme Benjamin Kampmann 2022-06-09 10:51:58 +02:00
  • 7487b24fe3 chore: Fix main docs link in readme Jonas Platte 2022-06-09 10:21:04 +02:00
  • 5c4f2b3430 fix(appservice): Make membership keys consistent Amanda Graven 2022-06-08 10:16:57 +02:00
  • 901b670a22 Use the nightly toolchain together with the newly introduced target-applies-to-host on the sdk-ffi crate debug builds to avoid cache corruption issues. Switched back to debug mode as the internal tokio crashes went away Stefan Ceriu 2022-06-07 19:28:56 +03:00
  • 28d6e2821b chore: Replace new usage of Box<UserId> Jonas Platte 2022-06-07 20:45:35 +02:00
  • 7f0b74a39d fixup! style: Remove usage of assign! macro from doctests Jonas Platte 2022-06-07 17:33:31 +02:00
  • 7b6869310f style: Make assign! formatting consistent Jonas Platte 2022-06-07 17:20:49 +02:00
  • 445b2e627d style: Remove usage of assign! macro from examples Jonas Platte 2022-06-07 17:12:36 +02:00
  • 0e206506d9 style: Remove usage of assign! macro from doctests Jonas Platte 2022-06-07 15:33:27 +02:00
  • 0fb1d72100 style: Use anyhow::Ok in more places Jonas Platte 2022-06-07 15:09:04 +02:00
  • 6d8c54deb5 chore(crypto-nodejs): Add missing newline. Ivan Enderlin 2022-06-07 17:03:02 +02:00
  • 07620452df chore(crypto-node): Make Clippy happy. Ivan Enderlin 2022-06-07 16:50:26 +02:00
  • 099db20555 Use target-applies-to-host to avoid unnecessary cache invalidation Jonas Platte 2022-06-07 16:43:17 +02:00
  • 75571c2c30 fix(crypto-js): Fix missing symbol. Ivan Enderlin 2022-06-07 16:42:34 +02:00
  • 8c95b1c4cf chore(crypto-nodejs): Fix a typo. Ivan Enderlin 2022-06-07 16:40:54 +02:00
  • 530c268e61 doc(crypto-nodejs): Include the README.md in the generated documentation. Ivan Enderlin 2022-06-07 16:35:22 +02:00
  • 99dcf84340 chore(crypto-nodejs): Use napi::Result when possible. Ivan Enderlin 2022-06-07 16:28:55 +02:00
  • 2a76d17bd9 doc(crypto-nodejs): Generate JavaScript/TypeScript documentation. Ivan Enderlin 2022-06-07 16:26:23 +02:00
  • 15af364c97 Merge branch 'main' into feat-crypto-nodejs-next Ivan Enderlin 2022-06-07 15:31:03 +02:00
  • ec7724f393 doc(crypto-nodejs): Improve the README.md. Ivan Enderlin 2022-06-07 15:27:35 +02:00
  • 1e7d509920 chore(crypto-nodejs): Clean up. Ivan Enderlin 2022-06-07 14:45:20 +02:00
  • 520758bf1e test(crypto-nodejs): Finish the OlmMachine test suite. Ivan Enderlin 2022-06-07 14:42:24 +02:00
  • 7f49618d35 Merge pull request #729 from gnunicorn/gnunicorn/issue609 Benjamin Kampmann 2022-06-07 12:41:38 +02:00
  • a308771a7a fix(sled): Deserialize encrypted TimelineMetadata properly Benjamin Kampmann 2022-06-07 11:57:10 +02:00
  • 2c4379909c fix(sled): Wrap [u8] encoding in an explicit type to prevent accidential misuse Benjamin Kampmann 2022-06-07 10:12:43 +02:00
  • d4f49ca334 chore: Fix some new clippy warnings Damir Jelić 2022-06-07 11:00:36 +02:00
  • c97bb83af9 refactor(base): Remove a bunch of OlmMachine wrapper methods Damir Jelić 2022-06-07 10:33:50 +02:00
  • 12c53bb2bc test(crypto-nodejs): Add more test cases. Ivan Enderlin 2022-06-07 10:57:09 +02:00
  • 7fd973c563 refactor(crypto-ffi): Make use of the BackupRecoveryKey type instead of a string Damir Jelić 2022-05-30 12:48:09 +02:00
  • f8dae723c3 style: Fix review remarks Benjamin Kampmann 2022-06-07 09:50:39 +02:00
  • 8ccf78c025 fix(indexeddb): Ensure all values are encrypted (namely filters and timeline metadata) if asked to Benjamin Kampmann 2022-06-03 09:20:41 +02:00
  • 47bb73cf89 fix(sled): Ensure timeline metadata is also saved encrypted Benjamin Kampmann 2022-06-03 09:25:49 +02:00
  • f3d952839e style: Clean up rustfmt and clippy Benjamin Kampmann 2022-06-02 21:13:45 +02:00
  • 85ea9279dc fix(indexeddb): Use random db in plain test for consistency Benjamin Kampmann 2022-06-02 21:04:35 +02:00
  • be159356cd fix(sled): Encrypt custom key and value Benjamin Kampmann 2022-06-02 20:57:26 +02:00
  • 571b5e61cf fix(sled): Encrypt media content Benjamin Kampmann 2022-06-02 20:49:20 +02:00