Commit Graph

3958 Commits

Author SHA1 Message Date
Vladislav Grechannik
ae35e5a5b2 Set save_unredacted_events option to true 2026-01-28 11:07:31 +00:00
Jason Volk
10060cef69 Merge remote-tracking branch 'bdfd9/patch-1' 2026-01-28 06:06:44 +00:00
Jason Volk
136c0f2682 Mitigate clippy::duration_suboptimal_units until 1.91 msrv upgrade.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-28 05:58:05 +00:00
Jason Volk
7bc25ad1b1 Fix nightly clippy::unnecessary-sort-by.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-28 04:50:31 +00:00
bdfd9
5112c55bf0 Don't log a password when a new user account is registered
Introduced in 4150b917d8
2026-01-27 17:25:53 +01:00
Jason Volk
0b82fe27b5 Revert "Remove deprecated _matrix._tcp SRV query."
This reverts commit 258e2e3ce8.

This can be re-applied when Synapse decides to deprecate it.
2026-01-26 20:30:25 +00:00
dasha_uwu
a1960553e9 Turn non-monotonic next_batch assert into error log and clamp. 2026-01-26 20:24:44 +00:00
Jason Volk
daa869fced Additional missing tracing spans on state_res::resolve components.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-26 20:24:44 +00:00
Jason Volk
23a3e87e93 Fix stale lint expectations.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-26 20:24:44 +00:00
dasha_uwu
56f3f5ea15 Limited use registration token support
Co-authored-by: Ginger <ginger@gingershaped.computer>
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-26 20:24:15 +00:00
dasha_uwu
0dbe79df8e Refactor admin query raw 2026-01-26 19:28:56 +00:00
dasha_uwu
3caab50e0d Minor rewrites 2026-01-26 19:28:56 +00:00
dasha_uwu
bb26b749ae Redacted event retention, implement MSC2815 2026-01-26 19:28:56 +00:00
dasha_uwu
8000fcce9e Non-reserializing redaction 2026-01-26 19:28:56 +00:00
dasha_uwu
0c9a3abb71 clippy allow -> expect 2026-01-26 19:28:56 +00:00
dasha_uwu
fbedd713ca Fix lint 2026-01-26 19:28:56 +00:00
Jason Volk
6db87a4027 Implement associated multi-provider single-sign-on flow support. (#252)
Add experimental note for multi-provider flow. (#252)

Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-26 19:28:50 +00:00
Jason Volk
a3294fe1cf Add admin command to list last-active local users.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-24 08:19:41 +00:00
Jason Volk
885e402e38 Lower generics on OptionExt to function prototypes.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-24 08:19:41 +00:00
Jason Volk
f048f87dac Split login_via_existing_session conf item to login_via_token.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-24 08:19:41 +00:00
Jason Volk
7ff51a8eca Support serializing and deserializing arrays of separated strings in schema.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-24 08:19:41 +00:00
Jason Volk
be542da6e4 Re-export Either from tuwunel_core.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-24 08:19:41 +00:00
Jason Volk
9d8525e7f7 Readjust auth_chain cache default size and scalars.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 22:17:47 +00:00
Jason Volk
c6c85374fa Flatten fork leaf state gather.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 09:49:19 +00:00
Jason Volk
948e1681c2 Add map_stream(), trait constraints to OptionExt.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 09:31:46 +00:00
Jason Volk
48aa6035f6 Hoist room_version query to callers of get_auth_chain.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 09:31:46 +00:00
Jason Volk
afcb2315ee Move auth_chain cache to db.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 09:31:46 +00:00
Jason Volk
7b22e7930a Add descriptor type for larger persistent caches.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 09:31:46 +00:00
Jason Volk
944f165202 Optimize get_auth_chain_inner concurrency.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 09:31:46 +00:00
Jason Volk
a0b98fa575 Misc debug and trace log tweaks.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 09:31:46 +00:00
Jason Volk
b7fe61b423 Add str_truncated() to debug suite.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 03:41:39 +00:00
Jared L
7ec9d7f5aa fix: ensure aggregate presence change flushes queue 2026-01-21 16:50:23 +11:00
Jared L
0f547115af chore: fmt 2026-01-21 07:28:12 +11:00
Jared L
a91b01f9a2 chore: address clippy warnings 2026-01-21 06:32:10 +11:00
Jared L
5bc2863721 docs: add rustdocs for presence aggregation and suppression 2026-01-21 06:27:18 +11:00
Jared L
aadc9ade3e presence: restore deferred push suppression 2026-01-21 06:23:12 +11:00
Jared L
22a7f6cb33 presence: add pipeline tests and move timer 2026-01-21 06:23:12 +11:00
Jared L
a73b4eba8b presence: extract update pipeline 2026-01-21 06:23:12 +11:00
Jared L
50e8fcc403 presence: simplify update surface 2026-01-21 06:23:12 +11:00
Jared L
2b32769649 presence: aggregate device updates 2026-01-21 06:23:12 +11:00
Jason Volk
3e1246984c Adjust pool defaults for many core systems with undetected topologies.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-20 00:18:00 +00:00
Jason Volk
106bba761e Use bounded condition for syncv3 notification count; asymmetric reset condition. (#261)
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-19 08:26:23 +00:00
Jason Volk
6619171e13 Slightly increase max_request_size default.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-19 08:26:23 +00:00
dasha_uwu
3a9446bb9c Remove dead code
These check the origin which is already checked in router auth
2026-01-19 00:53:33 +00:00
June Strawberry
2f4d3c2851 fix some unused_crate_dependencies lint warns
Signed-off-by: June Strawberry <june@vern.cc>
2026-01-18 13:18:10 -05:00
June Strawberry
1b68588b84 enable match_same_arms lint
Signed-off-by: June Strawberry <june@vern.cc>
2026-01-18 13:10:05 -05:00
June Strawberry
04e66a03d3 fix and enable collapsible_if lint
Signed-off-by: June Strawberry <june@vern.cc>
2026-01-18 13:09:03 -05:00
Jason Volk
fb102f0e0a Add privileged support for SSO account associations. (#252)
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-18 15:59:02 +00:00
Jason Volk
b3f8118f0e Re-export itertools from tuwunel_core crate.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-18 13:19:59 +00:00
Jason Volk
6579df299a Find identity providers by brand name when unique.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-18 06:11:40 +00:00