Commit Graph

2990 Commits

Author SHA1 Message Date
Benjamin Kampmann
4de29b8178 test(state tests): Put stripped_member test into its own DB to ensure separation 2022-05-03 08:22:57 +02:00
Benjamin Kampmann
d077aa6a90 chore(indexeddb): Merge fixes 2022-05-02 12:07:40 +02:00
Benjamin Kampmann
392d48ba01 Merge remote-tracking branch 'origin/main' into gnunicorn/issue133 2022-05-02 11:51:26 +02:00
Jonas Platte
f8b9ec9626 chore: Remove ruma re-export from matrix-sdk-common
The user-facing re-exports in matrix-sdk-base and matrix-sdk remain.
2022-04-29 17:13:22 +02:00
Jonas Platte
c3d9a60067 chore: Remove async_trait from matrix-sdk-common 2022-04-29 17:13:22 +02:00
Jonas Platte
c0c30438ab chore: Upgrade Ruma to 0.6.1 2022-04-29 13:17:51 +02:00
Jonas Platte
814e415374 chore: Use new Ruma helper methods for some events 2022-04-29 13:03:50 +02:00
Jonas Platte
dfd193e3b0 chore: Change TOML inline tables to be single-line consistently 2022-04-29 13:03:50 +02:00
Jonas Platte
82164b098a chore: Sort dependencies
Mostly automated (cargo sort --workspace).
2022-04-29 13:03:50 +02:00
Jonas Platte
4b1c77ec5a chore: Use js Date.now() support from Ruma 2022-04-29 13:03:49 +02:00
Benjamin Kampmann
d9d143eba7 fix(sled-store): Seperate stripped and non-stripped buckets 2022-04-29 12:42:36 +02:00
Jonas Platte
097cb99ae5 chore: Make target-specific dependency formatting more consistent
* Put target-specific dependencies last
* Put cfg(wasm) before cfg(not(wasm))
* Use long table names only where lines get too long otherwise
2022-04-29 11:30:31 +02:00
Jonas Platte
aae8989f99 chore(sdk): Merge local import with file-level imports 2022-04-29 11:09:14 +02:00
Jonas Platte
70174e1fea Upgrade Ruma to 0.6.0 2022-04-29 11:07:17 +02:00
Benjamin Kampmann
301cf3561f chore(indexeddb): Fix merge leftover 2022-04-29 10:41:14 +02:00
Benjamin Kampmann
18864d9722 chore: Merge remote-tracking branch 'origin/main' into gnunicorn/issue133 2022-04-29 10:27:33 +02:00
Benjamin Kampmann
9c6bc066f2 chore(CI): Add Wasm-Pack to CI
Merge pull request #619 from matrix-org/gnunicorn/issue617
2022-04-28 17:50:39 +02:00
Benjamin Kampmann
83b5d8f20e style: cargo fmt 2022-04-28 17:32:54 +02:00
Benjamin Kampmann
ebd85ebaa2 feat(indexeddb): Add support for key backup v1 2022-04-28 17:31:09 +02:00
Denis Kasak
1962e7ec1d Merge pull request #621 from matrix-org/dkasak/doc-improvements2
Document `OlmDecryptionInfo` and make it `pub(crate)`.
2022-04-28 14:35:32 +00:00
Denis Kasak
73bd3a0598 fix(crypto): Make OlmDecryptionInfo and decrypt_to_device_event pub(crate). 2022-04-28 16:21:39 +02:00
Denis Kasak
698ab5328f docs(crypto): Document OlmDecryptionInfo and fix some errors. 2022-04-28 16:08:07 +02:00
Benjamin Kampmann
87ae677fc3 fix(ci): fixing it right this time 2022-04-28 13:15:27 +02:00
Benjamin Kampmann
5d3c14f309 fix(ci): fixing the wasm ci command 2022-04-28 13:12:06 +02:00
cutecutecat
33425a43d0 chore: Replace lazy_static with once_cell 2022-04-28 11:10:34 +00:00
Benjamin Kampmann
608eca6166 test(indexeddb): activate indexeddb tests for CI 2022-04-28 12:43:07 +02:00
Benjamin Kampmann
a49dfa8aa2 Merge branch 'main' into gnunicorn/issue133 2022-04-28 12:36:36 +02:00
Benjamin Kampmann
3caed26f93 test(base): fix wasm tests 2022-04-28 12:00:19 +02:00
Benjamin Kampmann
7aeb8cf482 style: cargo fmt 2022-04-28 11:24:59 +02:00
Benjamin Kampmann
16ec5fe9ff chore: Merge remote-tracking branch 'origin/main' into gnunicorn/issue617 2022-04-28 11:23:32 +02:00
Benjamin Kampmann
aff106f0d6 style: cargo fmt 2022-04-28 11:08:27 +02:00
Benjamin Kampmann
4b575d3d2b style: newline 2022-04-28 11:08:03 +02:00
Benjamin Kampmann
0f2424d140 test(crypto): fix wasm tests 2022-04-28 11:06:35 +02:00
Benjamin Kampmann
9c80774140 feat(common-utils): helper for modified MilliSecondsSinceUnixEpoch 2022-04-28 11:06:35 +02:00
Benjamin Kampmann
d46b5ab0b6 tests: add js to get-random on matrix-sdk to allow compilation 2022-04-28 11:06:35 +02:00
Benjamin Kampmann
5b13cf4e92 Apply suggestions from code review
Co-authored-by: Jonas Platte <jplatte@element.io>
2022-04-28 10:25:03 +02:00
Damir Jelić
649aff2c92 fix(crypto-ffi): Rename the error message field for MigrationError
The field is called message which clashes with the field of the same
name in the Kotlin Exception class.
2022-04-27 18:56:30 +02:00
Damir Jelić
5d8c485a51 chore: Bump most of our deps 2022-04-27 17:30:53 +02:00
Damir Jelić
d8ff18322e feat(crypto-ffi): Allow unencrypted verification events to be handled 2022-04-27 17:30:41 +02:00
Damir Jelić
4780c560e1 feat(base): Pass unencrypted verification events to the olm machine 2022-04-27 17:30:41 +02:00
Damir Jelić
d94f415db4 feat(crypto): Allow unencrypted verification events to be handled 2022-04-27 17:30:41 +02:00
Benjamin Kampmann
4b6ed22476 chore(ci): install wasm-pack 2022-04-27 17:20:14 +02:00
Benjamin Kampmann
868afffc4d formatting 2022-04-27 17:05:50 +02:00
Benjamin Kampmann
6a81ec226e chore: enable wasm-pack tests in ci 2022-04-27 16:58:42 +02:00
Benjamin Kampmann
c0fc7c9f7e chore: Adding ci-subcommand to xtask for testing 2022-04-27 16:50:27 +02:00
Benjamin Kampmann
1bf1147d18 fixing style 2022-04-27 16:22:47 +02:00
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