strawberry and June
d9ea3ffe70
raise complement test timeout to 30 minutes from 10 minutes
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
ca8128b195
document commandline args for complement
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
eceef5efa2
add config option for allowing guests to auto join rooms
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
d95c02f575
add config option for logging guest regs in admin room
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
e57051acd8
run all complement tests
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
f263630ac1
fix: use path_and_query() for "uri" in request_map for signatures
...
resolves X-Matrix signatures being invalid in some edge-cases,
and fixes Complement/Sytest federation tests
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
81f5492675
fix complement script
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
d717329448
cite banner image used by at least github repo
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
068a878260
partially update differences.md, at note at the top
...
this is hard to maintain now, and i think conduwuit is reaching a point that
it's way too different from upstream to simply "list all the differences" out
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
168858c8de
port room directory auth to new auth stuff
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
9b82551e63
bump cargo.lock due to yanked jobserver
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
Matthias Ahouansou and June
a0b65eda1e
merge the huge authentication MR mess (reject requests with authentication when not used)
...
and (fix: allow invalid auth when no auth is required)
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
792a8ddb2f
fix rustdoc lint
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
Matthias Ahouansou and June
8eda3be9ce
disable federation at the router level too
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
0d21d70d4a
remove two unnecessary matches
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
e5307d44ca
log error for /publicRooms requests, simplify it a bit
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
9b5c8c124e
fix example config well_known options
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
c2785038d8
add back default derive for WellKnownConfig
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
fdf523a93c
bump conduwuit version to 0.1.15
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
Matthias Ahouansou and June
2d4877f9a5
feat(federation): implement /make_leave and /send_leave
...
also fixed some clippy lints, and added "event_id" field
removal check for room v1 and 2
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
bfa68e7bc5
refactor well-known stuff to use proper ruma types, config types, etc
...
this does deprecate the original `well_known_` prefixed config options
with a dedicated/proper config sub-block (`[config.well_known]`)
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
993c0102d9
add unstable support for MSC4125
...
from https://gitlab.com/famedly/conduit/-/merge_requests/626 with code fixes and clippy lint fixes
MSC4125: https://github.com/matrix-org/matrix-spec-proposals/pull/4125
Co-authored-by: Matthias Ahouansou <matthias@ahouansou.cz >
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
46e945d571
bump ruma, deps, and add MSC4125 ruma feature
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
f9e6caef87
simplify getting event content in build_and_append_pdu
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
223f05c922
mark room version 11 as stable
...
there's nothing unstable about this, and per upstream only unstable
room versions are used if they are complex to support (versions <=5)
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
b7a2482e4d
output jemalloc and hmalloc builds in CI, add back target check for cargo.toml
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
befdc29b1e
bump deps, fix repo link on cargo.toml
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
593bad7780
remove unnecessary malloc imports, remove cargo.toml env check
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
9883444486
allow unset variables in nix-build-and-cache for unset ATTIC_TOKEN
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
89c22435d5
nix: simplify malloc outputs
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
354487fa10
nix: use HEAD commit's date for docker image creation and reproducible images
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
a94387dcdc
maybe add multiple outputs support to nix flake for jemalloc and hardened_malloc
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
10219a531b
dual malloc feature check
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
f6e9c106aa
use hardened_malloc by default only on supported targets
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-14 22:35:23 -04:00
strawberry and June
ff0d4c98ee
add hardened_malloc-rs feature and global_allocator
...
Signed-off-by: strawberry <strawberry@pupbrain.dev >
2024-04-14 22:35:23 -04:00
Jason Volk and June
7d92cad55f
deactivate bloom filter
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-04-10 12:15:34 -04:00
Jason Volk and June
6345742e8b
tweak compaction options
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-04-09 15:26:45 -04:00
Jason Volk and June
c42209c0b3
use Arc<[u64]> rather than Arc<HashSet<u64>> for auth_chain_cache value.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-04-09 15:26:45 -04:00
Jason Volk and June
2cc72de80e
fix lossy origin regression 12a8c9badd
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-04-09 15:26:45 -04:00
Jason Volk and June
458e56818c
polylogarithmic debodge
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-04-09 15:26:45 -04:00
Jason Volk and June
345be5ba5e
use rocksdb caches for a few of the lru_caches
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-04-09 15:26:45 -04:00
strawberry and June
fc44ba6ab3
bump ruma and cargo.lock
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00
strawberry and June
839a89c968
remove some unnecessary loops
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00
strawberry and June
40596634c4
respond with actual servers for /_matrix/federation/v1/query/directory requests instead of just us
...
aka be spec compliant
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00
strawberry and June
973fed155e
config option to allow/disallow federation profile requests
...
allow_profile_lookup_federation_requests
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00
strawberry and June
85814e96e3
implement unstable MSC2666 support for querying mutual rooms
...
https://github.com/matrix-org/matrix-spec-proposals/pull/2666
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00
strawberry and June
0dc3acea71
build zstd_compression by default for tower-http
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00
strawberry and June
9be072181c
remove unneeded url preview function
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00
strawberry and June
3438b340a9
remove comments, log channel errors
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00
strawberry and June
68321ec467
bump conduwuit version to 0.1.14
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-09 15:26:45 -04:00