Commit Graph

2633 Commits

Author SHA1 Message Date
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
Benjamin Kampmann
ca18fca20b make Sled store benchmarks use SledStore again 2022-03-01 11:52:52 +01:00
Benjamin Kampmann
33be17d5d0 review requests 2022-03-01 11:52:38 +01:00
Benjamin Kampmann
c2bb1b9ad1 remove unneded braces in ci 2022-03-01 11:20:04 +01:00
Damir Jelić
70490277eb fix(sdk): Use a short request retry for login/register/get_version methods 2022-02-28 15:26:30 +01:00
Damir Jelić
48fff04ffd Merge branch 'enable_ruma_unstable_pre_spec' 2022-02-28 14:20:52 +01:00
Manuel Schmidbauer
6bf7b212cf Changed register to really use short_retry() 2022-02-26 15:19:38 +01:00
Manuel Schmidbauer
01e080842a Implemented short_retry for intial methods
Implemented RequestConfig::short_retry()
Changed few client methods to use it
Adjusted and added tests for it
2022-02-26 15:13:04 +01:00
Benjamin Kampmann
25e98db5aa missing .to_string 2022-02-25 17:24:50 +01:00
Benjamin Kampmann
fce78ea84e fixing style 2022-02-25 17:16:19 +01:00
Benjamin Kampmann
e414c88347 fixing integration test example 2022-02-25 17:14:45 +01:00
Benjamin Kampmann
56b3b2cec6 minor fix in ci 2022-02-25 16:11:32 +01:00
Benjamin Kampmann
13c39dbeab fixing crypto bench 2022-02-25 15:53:36 +01:00
Benjamin Kampmann
5e05411036 fixing typos 2022-02-25 15:40:35 +01:00
Benjamin Kampmann
a6514b0cff indexeddb formatting 2022-02-25 15:32:59 +01:00
Benjamin Kampmann
2e9ca5642a more clippy for indexeddb 2022-02-25 15:31:39 +01:00
Benjamin Kampmann
06c9b1abe3 fixing proepr cargo build call 2022-02-25 15:23:04 +01:00
Benjamin Kampmann
c97f7e9ed0 clippy 2022-02-25 15:19:57 +01:00
Benjamin Kampmann
e1f898e6a5 fixing clippy and docs for base and crypto 2022-02-25 13:05:48 +01:00
Benjamin Kampmann
75953d6022 fixing machine doc builds 2022-02-24 17:29:08 +01:00