Omar Pakker
b9c6d5956f
feat: Introduce accepted_ip_sources as a multiple options variant of request_ip_source
...
The current `request_ip_source` setting only allows a single option.
While it does fall back to the peer IP if the header is missing as of !2003 ,
which likely covers a lot of regular use, only allowing a single option limits
the deployment options available to more advanced deployments.
Setups where internal and external traffic use different reverse proxies will
end up with the wrong IP and the implicitness of the fallback allows for
situations where the used IP is not the IP expected.
By introducing a setting that allows multiple options to be set,
this limitation is resolved and it becomes possible to have client IP resolution
behind different reverse proxies and also making it possible to decide if and/or
what the fallback should be.
If set, options are evaluated in order. If all fail, the request fails.
2026-07-21 14:35:55 +00:00
timedout
1e47090f5d
feat: Log client IP in router layer
2026-07-17 12:57:48 +00:00
timedout
68d018bd37
style: Use string literals instead of u8s
2026-07-09 19:40:11 +00:00
timedout
f71f6e922c
feat: Allow configuring the desired client IP source
2026-07-09 19:40:11 +00:00
Ginger
e60310eacc
feat: Allow configuring the OAuth compatibility mode
2026-06-29 09:35:48 -04:00
Ginger
33be65a865
feat: Implement a web-based account management dashboard
2026-06-29 09:35:45 -04:00
Ginger
6f9b4a989e
fix: Update ctor macro arguments
2026-05-03 14:39:30 +00:00
Ginger
e70004c98f
chore: Clippy fixes
2026-04-28 09:16:56 -04:00
Jade Ellis
a4e64383b7
refactor: Ruma upstraming, bake a little more
2026-04-28 09:16:51 -04:00
Jade Ellis
e31c5997b7
fix: Explicitly set TLS backends
...
Dependency updates mean we have to set a custom TLS backend sooner.
Also some groundwork for being able to use aws-lc in future
2026-04-24 14:19:12 +01:00
Jade Ellis
a07d3e24ea
fix(deps): corrext aws-lc-rs dependencies and direct-tls
2026-04-24 10:06:47 +01:00
Jade Ellis
1bc7950748
fix: Update direct-tls server handle
2026-04-24 09:34:16 +01:00
Jade Ellis
0134f69bf9
chore: Update incompatible dependenceis
2026-04-23 20:02:48 +01:00
Jade Ellis
ab241f8f65
chore(deps): Update sd-notify
2026-04-12 16:36:28 +01:00
Jade Ellis
16de2a2cc0
feat: Add ability to inspect build information and features at runtime
...
Also re-adds ability to inspect used features
2026-04-09 17:24:44 +01:00
Jade Ellis
2ffafc17d2
style: Unmeow
2026-03-24 19:48:37 +00:00
Jade Ellis
8589563a2f
meow
2026-03-24 19:46:14 +00:00
Ginger
0cc188f62c
fix: Remove redirect on index
2026-03-18 12:42:55 -04:00
Ginger
eec7103910
feat: Implement dedicated 404 page for routes under /_continuwuity/
2026-03-18 12:42:55 -04:00
Ginger
4e1dac32a5
fix: Don't panic when running startup admin commands
2026-02-15 17:32:26 -05:00
K900
cb79a3b9d7
refactor(treewide): get rid of compile time build environment introspection
...
It's cursed and not very useful. Still a few uses of ctor left, but oh well.
2026-01-19 19:44:28 +00:00
Ginger
8cf2d175d6
fix: Update package and crate metadata
2026-01-08 19:28:27 +00:00
Jade Ellis
aed15f246a
refactor: Clean up logging issues
...
Primary issues: Double escapes (debug fmt), spans without levels
2026-01-05 18:28:57 +00:00
Ginger
c565e6ffbc
feat: Restrict where certain admin commands may be used
2025-12-31 19:56:31 +00:00
Ginger
956c3dfa62
chore: Fix deprecation warning
2025-11-28 15:08:20 -05:00
Ginger
dc047b635f
feat: Send notifications to systemd when a reload is triggered
2025-10-15 03:12:25 +00:00
Jade Ellis
1d7dda6cf5
chore: Upgrade ctor, cbor
2025-09-06 16:19:56 +01:00
Jade Ellis
8b35de6a43
chore: Fix clippy lints with minimal diff
2025-08-22 00:51:54 +01:00
Jason Volk
364293608d
Post-formatting aesthetic and spacing corrections
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-02 19:17:06 +01:00
Jade Ellis
fb9d4c30f4
feat: Prefill server name in federation test
2025-05-01 21:23:37 +01:00
Jade Ellis
e1655edd83
feat: HTML default page
2025-04-30 22:31:25 +01:00
Jade Ellis
22e7617362
chore: Release
2025-04-20 23:07:20 +01:00
Jason Volk
576a783a6f
add missing feature-projections between intra-workspace crates
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-19 23:33:53 +01:00
Jason Volk
83126cc667
propagate better message from RustlsConfig load error. ( #734 )
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-19 23:33:52 +01:00
Jason Volk
29d55b8036
move systemd stopping notification point
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-03 19:38:51 +00:00
Jason Volk
d60920c728
workaround some large type name length issues
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-03-31 03:00:53 +00:00
Jason Volk
aa4d2e2363
fix unused import without feature jemalloc_conf
...
fix span passed by value
Signed-off-by: Jason Volk <jason@zemos.net >
2025-03-26 01:33:41 +00:00
June Clementine Strawberry
de53ad83b2
run nightly cargo fmt again
...
Signed-off-by: June Clementine Strawberry <june@3.dog >
2025-03-02 23:15:05 -05:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay >
2025-02-23 01:17:45 -05:00
strawberry
43e6c27bb7
misc nix tweaks to maybe speedup ci
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2025-02-06 18:27:36 -05:00
strawberry
fda8b36809
add more systemd notify integration with stopping/reloading/ready states
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2025-02-05 07:32:00 +00:00
Jason Volk
32f990fc72
fix the panic counter in the tower layer
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-03 01:16:09 +00:00
Jason Volk
ffe3b0faf2
make shutdown grace periods configurable
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-02 16:30:55 +00:00
Jason Volk
bd6d4bc58f
enforce timeout on request layers
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-02 16:30:55 +00:00
Jason Volk
b4d22bd05e
remove unnecessary cf arc refcnt workaround
...
log errors and panics propagating through the request task join
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-02 10:08:30 +00:00
Jason Volk
69837671bb
simplify request handler task base
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-30 18:58:32 +00:00
Jason Volk
a567e314e9
simplify shutdown signal handlers
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-29 01:18:08 +00:00
Jason Volk
5167e1f06d
add option to disable listeners
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-18 01:43:58 +00:00
strawberry
53d03bbb1f
gate sd_notify to linux target_os only
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2025-01-11 19:37:44 -05:00
Jason Volk
d36167ab64
partially revert 9a9c071e82; use std threads for db pool.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-09 18:14:23 +00:00