Johannes Becker
a86da98cc2
fix(appservice): urldecode ids for user/room queries
2022-03-07 16:51:06 +01:00
Damir Jelić
6dff06579c
fix(sdk): Ensure that our login_with_sso() Client method is Send
2022-03-07 14:43:42 +01:00
Julian Sparber
38cbf24e8e
Add back homeserver logging for sso login
...
We can't use `.await` inside `info!()` because of
https://github.com/rust-lang/rust/issues/93274
2022-03-07 14:12:00 +01:00
Julian Sparber
642c4f5cfc
Ensure Client::login_with_sso() to be send
...
This removes the `info!()` log because of
https://github.com/rust-lang/rust/issues/93274
2022-03-07 13:11:52 +01:00
Damir Jelić
89e4d47ee1
chore: Bump the dashmap version across our crates
2022-03-07 09:58:00 +01:00
Jonas Platte
896d451c47
Merge pull request #515 from matrix-org/jplatte/ci
2022-03-04 12:10:47 +01:00
Jonas Platte
abe0bf0a29
Enable some useful non-default rustc lints
2022-03-04 11:35:24 +01:00
Jonas Platte
804c8e6c43
ci: Add test and test-features xtask commands
2022-03-04 10:59:17 +01:00
Jonas Platte
b64d855b25
ci: Fix inconsistent formatting
2022-03-04 10:59:17 +01:00
Jonas Platte
beb4ecb581
ci: Remove mentions of non-existant matrix variables
2022-03-04 10:59:17 +01:00
Jonas Platte
ed7667dc8d
ci: Remove unnecessary ${{ }}
2022-03-04 10:59:17 +01:00
Jonas Platte
e136199bfd
ci: Don't run check / build before test
...
It is redundant.
2022-03-04 10:59:17 +01:00
Damir Jelić
95665c8bc0
Merge branch 'poljar/matrix-crypto-ffi'
2022-03-04 10:27:12 +01:00
Damir Jelić
6bb8fd7853
feat: Import the Uniffi based matrix-sdk-crypto bindings
2022-03-04 09:45:50 +01:00
Benjamin Kampmann
b3038545f5
feat(stores): Splitting Sled and Indexeddb Store into separate crates
...
More details in pull request #498 .
2022-03-03 16:32:31 +01:00
Benjamin Kampmann
44fe3a62a1
remove unneeded helper function
2022-03-03 15:38:22 +01:00
Benjamin Kampmann
ba1b3e0c7c
fix the indexeddb tests, that clippy tried to fix
2022-03-03 15:27:21 +01:00
Benjamin Kampmann
6435ea655b
fix testing function wrongly exposed
2022-03-03 13:47:25 +01:00
Benjamin Kampmann
193a5ed3c9
fixing if syntax
2022-03-03 13:07:09 +01:00
Benjamin Kampmann
4e6b80d7df
fix docs
2022-03-03 13:05:32 +01:00
Benjamin Kampmann
e7fb512ae6
adding another encryption wasm tests
2022-03-03 12:59:23 +01:00
Benjamin Kampmann
ab57fb329f
Addressing review remark
2022-03-03 12:57:15 +01:00
Benjamin Kampmann
fd6f4385d4
Merge remote-tracking branch 'origin/main' into ben-splitting-out-store-impls
2022-03-03 12:57:00 +01:00
Jonas Platte
e03ee913f8
Merge pull request #513 from matrix-org/jplatte/xtask
2022-03-03 12:10:02 +01:00
Benjamin Kampmann
8aed72a085
Update crates/matrix-sdk-crypto/src/olm/account.rs
...
Co-authored-by: poljar <poljar@termina.org.uk >
2022-03-03 11:35:02 +01:00
Jonas Platte
2182ebdd16
ci: Fix toolchain installation job name inconsistencies
2022-03-03 11:10:30 +01:00
Jonas Platte
e575c27601
ci: Use uppercase for docs workflow / job name
2022-03-03 11:10:29 +01:00
Jonas Platte
439081e1db
ci: Move wasm and appservice into separate workflows
...
… to reduce the size of `ci.yml` and to allow more fine-grained retries.
2022-03-03 11:10:29 +01:00
Jonas Platte
1968ae60aa
ci: Fix inconsistencies in workflow yml formatting
2022-03-03 11:10:29 +01:00
Jonas Platte
b7a4ca4cff
Create an xtask crate for workspace task automation
...
Initially covering:
* Building docs
* Nightly CI jobs
2022-03-03 11:10:28 +01:00
Jonas Platte
b276087969
ci: Fail if rustdoc raises warnings
2022-03-03 11:10:13 +01:00
Jonas Platte
6e091dd5b8
ci: Use Swatinem/rust-cache@v1 instead of actions/cache@v2
...
Simplifies the cache configuration and could also improve build times by
disabling incremental compilation and potentially caching fewer things
or using a better cache key.
2022-03-03 11:04:07 +01:00
Jonas Platte
ea5478c61c
Merge pull request #510 from matrix-org/jplatte/up-ruma
2022-03-03 09:29:26 +01:00
Jonas Platte
1f2fd380b2
Upgrade Ruma to 0.5.0
2022-03-03 08:59:44 +01:00
Jonas Platte
012954e7f4
ci: Remove --all flag from cargo fmt arguments
...
It is only relevant for non-workspace path dependencies.
2022-03-02 14:34:22 +01:00
Jonas Platte
bc0c8d529e
Simplify Cargo workspace configuration
2022-03-02 14:34:22 +01:00
Jonas Platte
ba3ccc7d3d
Remove explicit 'static lifetimes from constants
2022-03-02 14:34:22 +01:00
Jonas Platte
b3f6d1cf63
Fix inconsistent indentation
2022-03-02 14:32:37 +01:00
Jonas Platte
af0375ca99
Remove unnecessary serialize / deserialize roundtrips
2022-03-02 14:26:49 +01:00
Jonas Platte
a1a0ae62ba
base: Use Option::get_or_insert_with to get rid of an unwrap() call
2022-03-02 14:26:48 +01:00
Damir Jelić
dec4772740
Merge branch 'gnunicorn-limited-ci-runs'
2022-03-02 14:21:54 +01:00
Benjamin Kampmann
85dd7a03e2
fix(MemoryStore): undeadlock timeline saving
...
Merge pull request #509 from matrix-org/gnunicorn/issue508
2022-03-02 13:44:47 +01:00
Benjamin Kampmann
cf674b6a46
Update crates/matrix-sdk-base/src/store/memory_store.rs
2022-03-02 13:14:38 +01:00
Benjamin Kampmann
102f960d25
chore(ci): limit CI to pull-requests & push main
...
Running CI on every push means running it twice for any PR as well as commit on branches that aren't PRs. This limits the CI run to pull-requests against main and pushes to main directly, removing unnecessary workload for the CI and making PRs CI faster.
2022-03-02 13:01:18 +01:00
Benjamin Kampmann
7e2e43c51c
Addressing review
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de >
2022-03-02 12:34:04 +01:00
Benjamin Kampmann
161d79eaa1
fixing typo
2022-03-02 12:22:47 +01:00
Benjamin Kampmann
eacffb5126
creating better tests, ensure sled and memory store act consistently
2022-03-02 12:13:07 +01:00
Benjamin Kampmann
40fa17f5b7
fixing timeline test
2022-03-02 08:36:10 +01:00
Benjamin Kampmann
9eee50da66
fixing clippy warnings
2022-03-01 15:32:23 +01:00
Benjamin Kampmann
2b9bb422cf
fix(MemoryStore): undeadlock timeline saving
2022-03-01 14:39:27 +01:00