Henry-Hiles
2e43797d95
chore: Make Clippy happy
2026-11-08 19:34:25 +00:00
Henry-Hiles
15b4e8e2f9
fix: Correct relations pagination and recursion
...
Ended up rewriting a fair bit, but should work better.
2026-11-08 19:34:25 +00:00
Ginger
4a3b0366ac
feat: Ratelimit CSAPI endpoints
2026-11-05 16:49:48 +00:00
Bardi Harborow
223e889459
fix: Return 405 when setting m.fully_read via account data
...
The spec requires servers to reject client writes to server-managed
account data types with 405 M_BAD_JSON. We returned 400.
2026-11-04 19:32:17 +00:00
Bardi Harborow
219e8d2e1e
fix: Return M_UNKNOWN_DEVICE for unknown masqueraded appservice devices
...
When an appservice masqueraded as a device_id that does not exist for
the user, we returned 403 M_FORBIDDEN. The spec requires 400
M_UNKNOWN_DEVICE.
2026-11-04 19:32:17 +00:00
Bardi Harborow
dad9e1426c
fix: Advertise m.forget_forced_upon_leave capability according to config
2026-11-04 18:48:40 +00:00
Erwan Leboucher
0727d564a2
fix: Avoid v12 room ID collisions when creating rooms concurrently
...
Fixes #2424 . v12 rooms created by the same user in the same millisecond got the same room ID, so they ended up as one room.
Reviewed-on: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/2433
Reviewed-by: nex <me@nexy7574.co.uk >
Reviewed-by: Jade Ellis <jade@ellis.link >
2026-11-03 09:52:43 +00:00
timedout
30f62eef25
style: reformat
2026-10-30 00:51:51 +00:00
timedout
b04ffd7e6a
fix: Correctly remove extremities after creating a new event
2026-10-30 00:51:51 +00:00
timedout
3eb2788eb9
feat: Only track appended extremities
2026-10-30 00:51:47 +00:00
Erwan Leboucher
c5e976f4bc
fix: Store event_id on state events received from send_knock
2026-10-28 23:22:52 +00:00
Jade Ellis
24b1e2ebe8
refactor(service): Use SyncRwLock and SyncMutex for in-memory services
...
Convert in-memory data structures in appservice, rooms::typing, and sync
wakers to use SyncRwLock and SyncMutex. Drop appservice locks before
making outbound network requests in room alias queries and federation
invites.
2026-10-28 21:48:22 +00:00
Jade Ellis
18f5f4fbfa
refactor(threepid): Use SyncMutex and decouple guard from ValidSession
...
Change threepid sessions and send_attempts to SyncMutex and avoid
holding the sessions mutex across callers of get_valid_session.
2026-10-28 21:47:09 +00:00
timedout
b0a5caf576
perf: Fetch auth chain events in parallel
2026-10-16 18:32:38 +01:00
timedout
17ddd3966d
fix: Apply proper limits to get_missing_events
2026-10-16 18:19:22 +01:00
timedout
fe02b03d15
style: Stop warning when encountering an unknown event in get_missing_events
...
This is actually an expected condition, but it's retained as a debug warning as it may be relevant in debugging
2026-10-16 18:11:55 +01:00
Ginger
e6ca06a501
feat: Add support for MSC4560
2026-10-15 22:56:04 -04:00
Ginger
4f21fa2bda
refactor: Clean up join rule evaluation logic
2026-10-15 22:55:36 -04:00
Erwan Leboucher
ea3ec965ed
fix(metrics): Address review feedback
2026-10-12 10:03:15 +01:00
Erwan Leboucher
5185045cb6
feat(metrics): Record metrics with OpenTelemetry and export over OTLP
2026-10-12 10:03:14 +01:00
Erwan Leboucher
f14c401f39
feat: Add Prometheus metrics endpoint
2026-10-12 10:03:12 +01:00
timedout
3af5302dd8
feat: Add more useful errors to send_join
...
See also: #2340
2026-10-10 02:23:39 +01:00
timedout
536d96abb4
fix: Apply ignore filtering to peeking route
...
Reviewed-By: Jade Ellis <jade@ellis.link >
2026-10-08 19:02:59 +01:00
Jade Ellis
5d55b413a2
feat: Send private read receipts to appservices
2026-10-06 23:56:30 +01:00
Jade Ellis
7ce47be4de
feat: Send read receipts and typing indicators to appservices
2026-10-06 23:56:28 +01:00
Ginger
7cedf9f322
fix: Always route userinfo endpoint
2026-10-06 22:22:56 +00:00
timedout
c1e4f926c8
feat: Allow server admins to do timestamp massaging too
2026-10-06 02:34:10 +00:00
timedout
63578eba8c
fix: Properly move /send redaction fields
2026-10-06 02:34:10 +00:00
Ginger
2fdd59ae54
fix: Use ApiFullAccess as required scope for NoAccessToken endpoints
2026-10-05 14:22:53 +00:00
Ginger
7ab415c4b6
fix: Make require_auth_for_profile_requests work again
2026-10-05 14:22:53 +00:00
Ginger
c9b0fbaeac
chore: Update MSC4540 support
2026-10-05 14:22:53 +00:00
Ginger
bc9b97e97f
feat: Add support for MSC4540
2026-10-05 14:22:53 +00:00
Ginger
e963adf524
feat: Add support for MSC4363
2026-10-05 14:22:53 +00:00
Ginger
823ee9f6e1
feat: Add support for MSC4484
2026-10-05 14:22:53 +00:00
Ginger
3a20ad7ff2
refactor: Adjust auth check logic structure
2026-10-05 14:22:53 +00:00
Jade Ellis
1e34bd2ed9
style: Run formatting
2026-10-05 00:27:12 +01:00
Ginger
931686e84e
fix: Fix panic in room creation
2026-09-30 18:49:03 +00:00
Ginger
cbdf978b84
fix: Preserve custom fields in create event content
2026-09-29 17:52:32 +00:00
Ginger
38b7987335
fix: Add invitees as creators for v12+ trusted private chats
2026-09-29 17:52:32 +00:00
timedout
550dd0160a
fix: SEC8
...
Reviewed-By: Ginger <ginger@gingershaped.computer >
Reviewed-By: Jade <jade@ellis.link >
Reviewed-By: Jacob Taylor <jacob@explodie.org >
2026-09-28 02:00:37 +01:00
timedout
05d6922351
style: Take an optional context instead of deconstructed parameters
2026-09-27 17:33:26 +01:00
timedout
4812837d13
fix: Don't allow set_unsigned to panic
...
While an error in this function is probably bad, detonating a metric tonne of TNT on the call tree is probably worse
2026-09-27 17:32:47 +01:00
timedout
89eecd2bf7
fix: Record redacted_because_id instead of redacted_because
2026-09-27 17:32:46 +01:00
timedout
b2072baf59
perf: Strip unsigned over federation and generate it on the fly locally
2026-09-27 17:32:46 +01:00
Renovate Bot and Ginger
02d245afe5
chore(deps): Update ruma digest to e7384f0
...
Co-authored-by: Ginger <ginger@gingershaped.computer >
2026-09-24 14:16:55 -04:00
Ginger
4ea4e15edb
chore: Reformat with latest nightly
2026-09-24 09:53:59 -04:00
timedout
d1b1274900
style: Unchain if statement
2026-09-22 00:16:27 +00:00
Erwan Leboucher
20d146bd5e
fix: Throttle client-triggered remote event fetches
2026-09-22 00:16:27 +00:00
Erwan Leboucher
ed1e634579
feat(push): Add MSC4174 web push
2026-09-21 23:35:05 +00:00
Jade
ffcf152016
revert d330930bb5
...
revert feat: Add timestamp to event endpoint
This implementation unfortunately resulted in resource exhaustion when run on some rooms.
2026-09-16 13:05:45 +00:00