Commit Graph
7440 Commits
Author SHA1 Message Date
Ginger 74c453d606 chore: Formatting 2026-07-26 20:23:47 -04:00
Ginger 523e7548d6 fix: Fix backwards logic in auth check 2026-07-26 20:20:14 -04:00
Ginger 6535246094 fix: Update error message wording 2026-07-26 20:20:13 -04:00
Ginger 6115bb3101 refactor: Remove redundant destination check in server auth logic
Ruma already does this check for us
2026-07-26 20:20:11 -04:00
Ginger 61f6930b5d refactor: Update Ruma and adjust auth logic 2026-07-26 20:20:11 -04:00
Ginger 2fb63f4cbc refactor: Use determine_registration_user_id in admin user create route 2026-07-26 19:11:04 -04:00
Ginger fcc8b3d697 feat: Set MSC4484 unstable feature flag 2026-07-26 19:11:04 -04:00
Ginger 5ead900e4a fix: Adjust admin API routes to work with new auth logic 2026-07-26 19:10:57 -04:00
timedoutandGinger 5b0aacb57f feat: Add user creation endpoint 2026-07-26 18:56:55 -04:00
timedoutandGinger 3f2d0ae2ff feat: Include predecessor and successor information in room list 2026-07-26 18:56:54 -04:00
timedoutandGinger 5d461d2023 feat: Add pagination to rooms list & include more information 2026-07-26 18:56:54 -04:00
timedoutandGinger 836748b569 feat: Enable pagination for the users list route 2026-07-26 18:56:54 -04:00
timedoutandGinger 643ca38710 feat: Define routes for listing and creating users 2026-07-26 18:56:54 -04:00
timedoutandGinger ef1506204d feat: Add version part to admin API URLs
This is a surprise tool that will help us later
2026-07-26 18:56:53 -04:00
timedoutandGinger 9589501db5 chore: Add some documentation to API stuff 2026-07-26 18:56:53 -04:00
timedoutandGinger 3a8040ccf1 feat: Drop ruminuwuity msc4323 definitions 2026-07-26 18:56:53 -04:00
Renovate BotandEllis Git bc3168ef31 chore(deps): update node-patch-updates to v2.0.18 2026-07-26 22:55:24 +00:00
Renovate BotandEllis Git a6fd464f32 chore(deps): update dependency cargo-bins/cargo-binstall to v1.21.1 2026-07-26 22:55:18 +00:00
8addb41b5a chore(deps): Update ruma digest to 04d5d68
Co-authored-by: Ginger <ginger@gingershaped.computer>
2026-07-26 22:54:42 +00:00
Renovate BotandEllis Git 3e10875f86 chore(deps): update https://github.com/actions/setup-node action to v7 2026-07-26 19:26:49 +00:00
Erwan LeboucherandEllis Git e161b5f01e perf: Fetch joined member count once per event when notifying 2026-07-26 14:40:34 +00:00
Erwan LeboucherandEllis Git a0fa4cf0fe fix: Deliver simplified sliding sync account data without hanging 2026-07-26 14:17:21 +00:00
Erwan LeboucherandEllis Git 08c22b5fcc fix(sync): Wake local target user after membership changes are committed 2026-07-26 14:12:37 +00:00
timedout a7892b296f chore: Resolve clippy lints post-rebase 2026-07-26 15:09:52 +01:00
new-years-eveandtimedout 7f8c2aedc8 refactor: Use a shared helper function for submitting state events at room creation
On room creation, A list of initial state events may be provided that
should be submitted to the room after creation. These events
should be treated as any other state event and submitted to
the same checks.

With this change, state events submitted on room creation will be
submitted through the same helper as those through the usual endpoint.

The submission helper is moved to the timeline service to make it
available everywhere. This will be useful for implementing MSC4140
(issue #903).
2026-07-26 15:06:38 +01:00
Ginger 8cde2ad0cc fix: Fix missing migration logic 2026-07-25 15:18:13 -04:00
GingerandEllis Git 64b14cfad2 chore: News fragment 2026-07-25 14:16:34 +00:00
GingerandEllis Git 7cc5e44093 fix: Exclude deactivated users and AS puppets from user count 2026-07-25 14:16:34 +00:00
reasterandEllis Git a838d59cfc make clippy happy again 2026-07-25 13:55:30 +00:00
reasterandEllis Git fb7a378d63 deduplicate rooms in hierarchy traversal 2026-07-25 13:55:30 +00:00
Erwan LeboucherandEllis Git 4727f07e26 fix: Correct roomuserid_lastnotificationread table alias
roomuserid_lastnotificationread was mapped to userroomid_highlightcount
instead of its own table, so last_notification_read() read the highlight
count and reset_notification_counts clobbered the highlight table when
setting a read marker. Add the missing table definition and fix the alias.
2026-07-24 01:13:42 +00:00
lvenerisandEllis Git aa612baef3 fix(nix): use correct toolchain for rustfmt 2026-07-22 23:53:35 +00:00
Erwan Leboucher b144b18aef fix(sync): Verify state for newly-left rooms is in incremental sync 2026-07-21 18:32:34 +00:00
gingerandEllis Git 4f1af01bdc chore: Formatting 2026-07-21 18:26:02 +00:00
gingerandEllis Git 1ff0d8d5a4 fix: Fix oauth auth code flow grant page being broken 2026-07-21 18:23:39 +00:00
Omar PakkerandEllis Git bee92b58e7 chore: Add towncrier news fragment 2026-07-21 14:35:55 +00:00
Omar PakkerandEllis Git 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
Logan DevineandEllis Git 480e975877 chore: clean up unused imports of ClientIp 2026-07-21 14:31:16 +00:00
timedoutandEllis Git 6ce0d63733 meta: Update expectations section and call out attribution 2026-07-21 14:19:42 +00:00
timedoutandEllis Git e54252651b meta: Update security policy 2026-07-21 14:19:42 +00:00
GingerandEllis Git 8f60648009 fix: Use correct error code for invalid client ID 2026-07-21 13:42:50 +00:00
GingerandEllis Git 4c9426a13f feat: Add support for OAuth2 device auth flow 2026-07-21 13:42:50 +00:00
Deniel9204 25264308ab fix: Use the requested device ID when an appservice creates a device
The appservice branch of update_device_route (MSC4190 device creation)
generated a random device ID instead of using the one from the request
path, and dropped the requested display name. The PUT returned 200, but
the device the appservice asked for never existed, so every subsequent
request masquerading as that device failed with M_FORBIDDEN and one
orphaned random-ID device was left behind per attempt.

This made encrypted mautrix (bridgev2) bridges unable to start on
OIDC-enabled servers, where MSC4190 is the only available device
creation mechanism: /keys/upload failed on first start and /keys/query
on every restart. Combined with the pre-1f5e178c3f behaviour (400
"Token conflicts with an existing appservice token"), MSC4190 device
creation has never worked end-to-end in any release.

Create the device under the requested ID and forward the requested
display name.
2026-07-21 08:21:09 +02:00
Renovate Bot bcd57b9598 chore(deps): update ghcr.io/renovatebot/renovate docker tag to v43.272.6 2026-07-21 05:10:42 +00:00
Renovate Bot b2dee05ccf chore(deps): update github-actions-digest 2026-07-21 05:02:36 +00:00
timedout 8b3be67860 feat: Increase access token length
Reviewed-By: ginger <ginger@gingershaped.computer>
2026-07-19 15:06:23 +01:00
Jade Ellis 153ef3a173 ci: Attempt to delay major rust toolchain updates 2026-07-17 19:18:38 +01:00
renovateandEllis Git 2441dfe436 chore(Nix): Updated flake hashes 2026-07-17 17:58:23 +00:00
Renovate BotandEllis Git d149833b7a chore(deps): update rust to v1.97.1 2026-07-17 17:58:23 +00:00
Erwan LeboucherandEllis Git b1632ee60b fix(register): Resolve alias service by correct name for auto-join 2026-07-17 17:57:51 +00:00