Commit Graph

1234 Commits

Author SHA1 Message Date
Jason Volk
cb219c2135 Additional new nightly lint fixes.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-03-01 07:29:06 +00:00
Enginecrafter77
1a434443b9 Add option to disable password authorization flow 2026-02-26 05:28:09 +00:00
Jason Volk
591014c190 Allow subject to be listed in a provider's userid_claims with special precedence.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-26 05:21:33 +00:00
Jason Volk
99bbcb34b6 Add config option to bypass cookie checking on SSO callback.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-26 05:04:19 +00:00
dasha_uwu
9dfba5904b Don't grant admin if the first registered user is an appservice, fixes #331 2026-02-25 05:27:43 +05:00
dasha_uwu
9a02219172 Clarify appservice device_management error message 2026-02-25 05:27:43 +05:00
dasha_uwu
45f4496e4f Refactor admin rooms moderation
Split alias.*_alias_by from alias.*_ailias
2026-02-24 09:03:52 +05:00
dasha_uwu
d23f7f7e81 Fix encryption_enabled_by_default_for_room_type
When set to "invite" all rooms were created with encryption
2026-02-22 14:18:56 +05:00
dasha_uwu
0381547c52 Fix canonical alias event check
The old version was checking all aliases instead of only the newly added ones that
prevented modifying the event if one of current aliases became invalid
2026-02-22 04:14:42 +05:00
Jason Volk
fc23cc1568 Fix custom profile field values being double-serialized with escapes.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-17 19:04:35 +00:00
Jason Volk
d7b0fad6b8 Log warning for incomplete/timedout incoming txns; split handlers.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-17 19:04:34 +00:00
Jason Volk
e74186ac62 Grant admin for first user on SSO/OIDC registration path. (fixes #315)
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-16 18:48:51 +00:00
dasha_uwu
e48101a6a6 Adverstise support for stable MSC3827, fixes room type search in element web 2026-02-16 07:46:11 +00:00
Jason Volk
1bd4ab0601 Optimize reference graph container value type for topological_sort.
Optimize initial container capacity estimates.

Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-14 22:44:16 +00:00
Jason Volk
1004d99350 Split txn pdu/edu handling with separate spans.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-14 18:59:43 +00:00
Jason Volk
289eaa57a3 Cleanup/simplify client versions and unstable_features listing.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-14 18:59:43 +00:00
Jason Volk
4d2845dd54 Split out and eliminate api/client/unversioned.rs.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-14 18:59:43 +00:00
Jason Volk
994e1d12a7 Optimize various case-insensitive comparisons.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-12 13:15:41 +00:00
dasha_uwu
4bba40982c Refactor room_version support code
Fix advertising unsupported room versions
2026-02-12 13:15:41 +00:00
dasha_uwu
d6ae4e5ff2 Remove redundant debug assert 2026-02-12 13:15:41 +00:00
dasha_uwu
a257d846c7 Refactor CS membership query 2026-02-12 13:15:41 +00:00
dasha_uwu
baa1e52302 Implement local redaction blocking 2026-02-12 13:15:41 +00:00
dasha_uwu
e1dc52200c Remove redundant service.users.is_admin 2026-02-12 13:15:41 +00:00
Jason Volk
5286bdc6bb Consolidate concurrent event filters in messages iteration.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-12 13:15:41 +00:00
dasha_uwu
b160880868 Increase max limit for /messages from 100 to 1000 2026-02-12 13:15:41 +00:00
Jason Volk
a6780697bd Add username claim from OAuth provider. (closes #287)
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-06 15:48:57 +00:00
Jason Volk
13a11ce097 Bump dependencies.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-04 09:43:30 +00:00
dasha_uwu
76dbf4fcb5 Remove unnecessary report delay. 2026-02-03 06:28:31 +00:00
dasha_uwu
b79920a63b Allow .well-known/matrix/server with federation disabled. (closes #240) 2026-02-03 06:28:31 +00:00
dasha_uwu
024c08f795 Fix allow_room_admins_to_request_unredacted_events applying to server admins instead of room admins. 2026-02-01 05:01:59 +00:00
Jason Volk
0b864801f5 Use map of identity_provider to accommodate env var enumerations.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-02-01 01:22:13 +00:00
Jason Volk
13ad2c7966 Fix m.tz identifier and bias to stable.
Bump Ruma; enable spec versions 1.12 and 1.15.

Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-30 21:53:52 +00:00
dasha_uwu
73eee626df Take stuff by ref in users service profile 2026-01-30 21:42:32 +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
dasha_uwu
a1960553e9 Turn non-monotonic next_batch assert into error log and clamp. 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
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
0c9a3abb71 clippy allow -> expect 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
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
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
a0b98fa575 Misc debug and trace log tweaks.
Signed-off-by: Jason Volk <jason@zemos.net>
2026-01-22 09:31:46 +00:00
Jared L
0f547115af chore: fmt 2026-01-21 07:28: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
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
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