strawberry
42e3567153
disable overflow-checks for performance
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 02:18:24 -04:00
strawberry
75ad5cfbb7
bump conduwuit version to 0.3.1
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 02:12:34 -04:00
strawberry
be5101b07c
bump console-subscriber to 0.2
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 02:12:34 -04:00
strawberry
c531101657
misc docs adjustments
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
761263332b
ci: push to gitlab container registry too
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
5fe146aa85
docs: update differences.md
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
d7399a12fb
config: split at __ for struct sections of config, add couple missing settings for show-config
...
this makes `CONDUWUIT_WELL_KNOWN__CLIENT` a valid env variable config
option as it would normally exist under `[well_known.client]` in toml
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
7e2a15497c
use function comments for lsp here
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
e226046e15
drop default appservice_timeout to 35 seconds
...
AS's are generally hosted on the same machine or within the same
network
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
75b9332917
dont allow creating remote users in admin room
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
de26bf22dc
adjust a couple error codes for room alias getting
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
a7c14a861b
ci: output complement diff results to job summary, temp allow error
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
05b7dec482
temp(ci): comment complement results diff for now
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
38ca88da9f
ci(gitlab): use --no-strip for cargo deb
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
2e5ba7ab17
ci(gitlab): use gitlab fastzip feature flag
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
35683d66dd
sort the complement results by test name for consistent output
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
e1052d1829
chore: update checked-in complement test results
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
49078aa836
fix: get the presence of the requested user instead of ourselves
...
after getting the shared rooms with the target user, we actually only
get the presence of ourselves instead of the requested user
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
b6b739a7b7
set -vet=off to (hopefully) run all complement tests
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
fa0bdd431b
add destination to X-Matrix Authorization outbound requests
...
we were already validating this for inbound requests
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
a6cf5cfd8b
remove future deleted nix binary cache
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
37c2877cf8
chore: update checked in list of complement test results
...
also remove the separated passed/failed list, it's already ordered
neatly for folks to read.
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
1181a7a7a9
nix: specify explicit branches/refs for flake inputs
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry and Charles Hall
cad16b9268
ci, nix: build and cache all packages and CI dependencies
...
from https://or.computer.surgery/charles/matrix/-/commit/f5bd9bc45e5e5eaf76cff31f1c259ed3f39fb88a
with changes for GitHub CI and misc
Co-authored-by: Charles Hall <charles@computer.surgery >
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
3b410d0556
ci: run complement with direnv
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
28f599236a
ci: compare complement results with checked-in results
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
365c85ad27
use nix-output-monitor if available
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
13f1274c35
run complement in CI (does not compare results yet)
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
c4beb7d462
dont return "Allocator" header for server memory-usage if empty
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
0f13ada300
return more user-friendly message for debug memory-stats
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
a7f8c848aa
refactor and simplify room creation route a bit
...
removes a couple unnecessary checks, uses our room_id ruma request field
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
25bc1f069d
chore: bump deps
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
0223386243
remove this unnecessary log, use debug_warn
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
a496cc4705
dedupe version getting code, rename to CONDUWUIT_VERSION_EXTRA
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
8ec9372a8e
lint
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
db81ffb4ea
nix: only set CONDUIT_VERSION_EXTRA for final build + slight cleanup
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
096c252dc2
move hierarchy via servers higher up, add some debug logging to it
...
this entire thing needs to be cleaned up later, but i need spaces
to work
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
1464b30433
add workaround for room creation initial_state event content as {}, slight refactor
...
this will simply skip over the events
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
f4a2b39d55
split up alias.rs a bit (alias checks and room alias server name stuff)
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
e00b65b0e0
use ok_or_else instead of ok_or for backup.rs
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
beeacd4ef1
initialise capabilities with default constructor
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
e5735c81ed
dedupe half of account/room data config.rs code
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
b17ccdadd2
dedupe some code in state.rs
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
8e3918250d
rm complement test logs, rm docker healthcheck.sh, rm .vscode/ dir, move test results to tests/ dir
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
6021cb0a1f
partially revert this
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
35114dde7d
add query_over_tcp_only config option for hickory
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
62fd6e2c7c
set AD bit to false in hickory
...
this is purely DNSSEC related which we don't use, and DNSSEC on matrix
is unbearable for federation (no one sets it up properly, it's extremely taxing, etc)
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
668a7645e9
add ip_lookup_strategy config option for hickory resolver
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
3f8407dd64
add hot_lib to default.nix src include
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
b8c4d6b157
bump ruma
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
0b39bb813e
tiny refactoring, split out report_event_route a bit
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
d32ea6ec20
cargo doc lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
041a7a90f3
hot lib things again
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
9c0c4c292c
document hot_lib for developers a bit
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
ed86a4aa9e
slight misc adjustments
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
b282c1eb6d
add (probably messy) support for hot lib reload via admin command
...
`!admin test test1`
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
76c5942b4f
use user_is_local and server_is_ours more, remove few double filters
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
e7505a4b20
resolve ptr_as_ptr lint
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
a97520b0e9
bump MSRV to 1.76.0
...
there's really no point in trying to stay as low as possible for us,
and this makes development easier. Debian users should just use rustup,
Nix users already get the proper toolchains.
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
9931e60050
use single global function for server name local and user local checking
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
8f17d965b2
use <pre> for codeblock formatting in jemalloc stats, link to ffi func
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
bf713cd0ba
lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
61f813c187
admin command to get rooms a remote user is in, remove unnecessary dedupe+sort
...
imagine this SQL query but in conduwuit:
select * from users_in_public_rooms where user_id like '%user_id%';
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
450f15df4f
admin debug command to fetch a server's true destination
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
1cbf2bdc6b
update dns_cache_entries example config setting
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
799b2909ab
ci: dont run registry pushes if creds are not set
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
614ef5b3a1
raise dns_min_ttl_nxdomain back to 3 days
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
cfa89b8b64
add remaining other rocksdb compression options
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
9f245281b1
never allow only 1 tokio worker or rocksdb parallelism thread (max compare)
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
d172a6883d
bump some deps
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
04afc83043
switch to my fork of tracing
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-05-03 01:52:29 -04:00
strawberry
341bafb91e
final last minute change
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
72877622e5
forgot to update example config
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
b0de16bf5a
misc docs updates and ci path-ignore again
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
e8508d16e1
update README.md
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
8574d0758e
add concurrency group and paths-ignore to ci.yml
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
a41472cc3f
why not
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
6fd3123660
update some documentation a bit for new users
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
5195593f55
add @resources to syscall filter in the default systemd unit
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
aa299111a4
update differences.md a bit more, and README.md
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
a4c243cae5
cleanup, update, and format differences.md
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
1da3048bb8
allow accepting CONDUWUIT_ prefixed config options
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
894902b75f
bump cargo.lock due to yanked crate
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
c87ea1dea1
delete unused servername_ratelimiter semaphore now
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
d55015ccda
rename release_log_level dev feature to dev_release_log_level, some rebranding
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
c1d8678eeb
try moving a couple things around in CI
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
e2c460ec54
ci: define packages permission in publish step
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
4128d83be6
bump ruma, adjust a couple lines of docs
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
a81563244f
restricted room join typo
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
3c45a468f1
bump rocksdb to 9.1.1
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
af0b81f5fb
simplify conduwuit version number, bump to 0.3.0
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
c57601a4b8
delete all active requests for the appservice when we delete it
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
dc35d06c0a
misc changes
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
c915f3dec5
resolve rust 1.75 error?
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
7f86a166ec
make "release_max_level_info" into a crate feature
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
b1ddc502cc
please stop "rustc-ice"
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
bd73103713
adjust appservice sending logging
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
eb5dcf08c6
remove unnecessary appservice reqwest timeout, reduce couple unwraps, return if unsuccessful HTTP response
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
46ce15f61f
slightly adjust pusher logging, return if non-successful status instead of continuing
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00
strawberry
ee07e3e975
missing semicolon
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-04-26 02:03:40 -04:00