Commit Graph

310 Commits (chore/format-nix)

Author SHA1 Message Date
Matthias Ahouansou e2d91e26d6
style: format all toml with taplo 2 months ago
Matthias Ahouansou 256dae983b
chore: bump rust
and fix new lints that come with it
2 months ago
Jakub Kubík c1f695653b
feat: support hosting .well-known from Conduit
Co-authored-by: Matthias Ahouansou <matthias@ahouansou.cz>
2 months ago
Ossi Herrala aff97e4032
Update image crate 2 months ago
Ossi Herrala a56139549f
Trust-DNS has been renamed to Hickory-DNS 2 months ago
Ossi Herrala 3b6928ebcf
Update dependencies that don't need code changes 2 months ago
Ossi Herrala 61cd2892b8
Remove unused dependencies 2 months ago
Timo Kösters 3b3466fd51
Bump version to v0.8.0-alpha 2 months ago
Timo Kösters a854a46c24
Bump version to v0.7.0 2 months ago
Charles Hall 61cb186b5b
update rocksdb 2 months ago
Charles Hall 7f63948db9 Merge branch 'version-extra' into 'next'
allow including extra info in `--version` output

See merge request famedly/conduit!601
3 months ago
Matthias Ahouansou 1c529529aa
chore: upgrade nix to 0.28
needed for musl targets on s390x
3 months ago
Matthias Ahouansou 5c634ceb6b
fix: reject requests with authentication when not used 3 months ago
Timo Kösters 879a8b969d
improvement: use simpler rocksdb config 4 months ago
Charles Hall ac22b1bed1
allow including extra info in `--version` output 4 months ago
Charles Hall d1bc7fcfd2
rename the `rust-rocksdb` crate to just `rocksdb`
This way the old `cfg`s still work and we don't need to constantly
remind ourselves what programming language we're using in `use`
statements.

Also fixes a problem where RocksDB users couldn't start Conduit because
the old `cfg`s were using the original crate's name instead of the
`backend_rocksdb` feature name for some reason. Maybe that should be
changed, but I'm not sure.
4 months ago
Charles Hall 10f3f9da49
switch/update rocksdb crate
This fork was created because the original seems de-facto unmaintained.
4 months ago
Matthias Ahouansou 21a5fa3ef0 refactor: use re-exported JsOption from ruma rather than directly adding it as a dependency 4 months ago
Matthias Ahouansou b27e9ea95c chore: bump ruma to latest commit (as of 2024-02-25) 4 months ago
Matthias Ahouansou 8aa915acb9 bump ruma, support deprecated user login field 4 months ago
Matthias Ahouansou e707084345 chore: bump ruma to latest commit (as of 2024-02-16) 5 months ago
strawberry 6dcc8b6cf1 bump ruma to latest commit (syncv3 JsOption and push optional power levels)
Signed-off-by: strawberry <strawberry@puppygock.gay>
5 months ago
strawberry a2ac491c54 bump ruma, add wrong room keys error code, tiny logging change
can't update ruma to very latest commit because of the weird JsOption thing for syncv4 that i can't wrap my head around how to use, not important anyways

Signed-off-by: strawberry <strawberry@pupbrain.dev>
5 months ago
Charles Hall 7fb9e99649
update ring and jsonwebtoken to remove ring ^0.16 5 months ago
Charles Hall 3e389256f5
switch lint config to `manifest-lint` feature
I removed some lint configuration in the process:

* `#[allow(clippy::suspicious_else_formatting)]` because nothing is
  currently triggering it.
* `#[warn(clippy::future_not_send)]` because some stuff under
  `src/lib.rs` is. And also like, auto-trait leakage generally means
  this isn't a problem, and if things really need to be `Send`, then
  you'll probably know to mark it manually.
* `#[warn(rust_2018_idioms)]` and replaced it with
  `explicit-outlives-requirements = "warn"` which is the most useful
  lint in that group that isn't enabled by default.
5 months ago
Charles Hall 9453dbc740
update rust toolchain
It comes with a bunch of new lints (yay!) so I fixed them all so CI will
keep working.

Also apparently something about linking changed because I had to change
the checks for deciding the linker flags for static x86_64 builds to
keep working.
5 months ago
Charles Hall 52954f7a11
use fromToolchainFile
I *think* this will make it easier to pull in extra rustc targets.
5 months ago
Tobias Bucher 69d0003222 Use upstream `reqwest` instead of vendored one
This uses the `ClientBuilder::dns_resolver` function that was added in
reqwest 0.11.13, instead of the homebrew `ClientBuilder::resolve_fn`.
5 months ago
Charles Hall 0b7ed5adc9
add debian package building in ci
This uses a separate step and docker image, which I'm not a huge fan of.
At least I could get this to work for now, but I won't be shocked when
it breaks later. I know, I know, fixing this kind of problem is the
exact reason I bothered to do this, but I was really struggling to do
better here. Maybe I can take a second pass at this later.

Also, this explicitly names the caches, because without this, various
things related to linking will break.
5 months ago
Charles Hall 6f052fff98
improve nix flake
Also fix the comment in `Cargo.toml` about the rust-version stuff.
5 months ago
Charles Hall dc2f53e773
comment out heed backend things
The code in conduit doesn't compile.
6 months ago
Timo Kösters 75c80df271
Sliding sync improvements and redaction fixes 10 months ago
Timo Kösters 11103a92ed
Do not show "Invalid room version" errors when server is not in room 11 months ago
Timo Kösters 5d16948030
Bump version to v0.6.0 11 months ago
Timo Kösters 3e518773e2 Merge branch 'improvements' into 'next'
cross signing fixes

See merge request famedly/conduit!532
11 months ago
Timo Kösters d82c26f0a9
Avatars for sliding sync DMs 11 months ago
Timo Kösters 06ab707c79 Merge branch 'rusqlite-update' into 'next'
bump rusqlite to 0.29.0

See merge request famedly/conduit!529
11 months ago
June fbb256dd91 bump rusqlite to 0.29.0
Signed-off-by: June <june@girlboss.ceo>
11 months ago
June 5a7bade476 update base64 to 0.21.2
Signed-off-by: June <june@girlboss.ceo>
11 months ago
Charles Hall 291290db92
maximize fd limit 11 months ago
Paul van Tilburg 433dad6ac2
Turn README.Debian into a markdown file
It is common to have a markdown file per deployment subdirectory.
Still install it as `README.Debian` to `/usr/share/doc/matrix-conduit`
as per Debian policy.

Also update the link in the main `README.md` file.
12 months ago
Timo Kösters 4b7d3e24dd
bump ruma 1 year ago
Timo Kösters e4f769963f
feat: very simple sliding sync implementation 1 year ago
Timo Kösters f8a36e7554 Merge branch 'memory' into 'next'
improvement: better memory usage and admin commands to analyze it

See merge request famedly/conduit!497
1 year ago
Timo Kösters a2c3256ced
improvement: better memory usage and admin commands to analyze it 1 year ago
Jonas Platte 0ded637b4a
Upgrade axum to 0.6 1 year ago
Timo Kösters be877ef719
Improve sync performance with more caching and wrapping things in Arcs to avoid copies 1 year ago
Timo Kösters 91180e011d
bump ruma 1 year ago
Timo Kösters dbd360ebb9 Merge branch 'unbreak' into 'next'
fix rustc version, nix upkeep

See merge request famedly/conduit!482
1 year ago
Timo Kösters 15cc801840
Disable compression, see https://en.wikipedia.org/wiki/BREACH 1 year ago