Ginger
2a611fbd49
feat: Add support for MSC4322
2026-12-03 09:27:52 -05:00
Ginger
8fb898c84d
refactor(sending): Stop passing byte buffers(?!) to EDU send methods
2026-12-03 09:19:17 -05:00
Jade Ellis
6412a650a5
fix: Overwrite previous access token on non-retry refreshes
...
Previously, set_token skipped saving the replaced access token whenever
a previous token entry already existed. If a client refreshed again with
its current refresh token before making a valid API request (such as
after going idle until expiry), a dropped response would leave the
server holding an older access token and cause a hard logout.
Let callers explicitly specify whether to clear, replace, or preserve
the previous access token.
2026-11-27 18:41:45 +00:00
timedout
61f142a541
fix: Address review comments
2026-11-27 18:12:56 +00:00
timedout
0c2909e763
style: Reformat
2026-11-27 18:12:20 +00:00
Jade Ellis
bf5f77a94a
fix(knock): Align knock state handling with Matrix spec
...
Updates state_cache on MembershipState::Knock, avoids stale local state
checks and holding state_lock across federation, drops invalid
knock_room_state entries without failing post-send_knock, allows
re-knocking, and honours via servers.
2026-11-23 21:54:33 +00:00
Jade Ellis
506c4a0376
fix(leave): Rescind remote knocks over federation
...
Remote knocks no longer populate local room state, so leaving a room
we are not in must go through remote_leave_room even when knocked.
2026-11-23 21:54:33 +00:00
timedout
26cdaeec99
fix: Re-use validate_partial_membership_state
2026-11-23 21:54:32 +00:00
timedout
73fbdd6056
style: Improve logging for knocking
2026-11-23 21:54:32 +00:00
timedout
cbb1b70c99
fix: Invert server identity check
2026-11-23 21:54:32 +00:00
timedout
6115693193
fix: Modernise knocking helpers
2026-11-23 21:54:31 +00:00
Henry-Hiles
2408ded7b4
feat: Support stable MSC4143 RTC transports endpoint
2026-11-23 13:14:39 -05:00
Jade Ellis
8c4a2d0ce9
chore: Downgrade per-request URL preview route logs to debug
2026-11-22 17:57:49 +00:00
timedout
66be5efeec
fix: Properly select correct properties, fixup unit test
2026-11-22 17:57:49 +00:00
timedout
16f18f8516
feat: Make url preview logs more informative
2026-11-22 17:57:49 +00:00
timedout
9f7fb54bd4
fix: Don't fail entire preview requests when auxiliary requests fail
2026-11-22 17:57:49 +00:00
Erwan Leboucher
251086670f
feat: Add timestamp to event endpoint backed by a timestamp index
2026-11-22 02:02:37 +00:00
Ginger
8004e962c3
feat: Add support for MSC4388
2026-11-20 11:22:21 -05:00
Ginger
a4ef1ecfa2
chore: Clippy fixes
2026-11-20 10:48:04 -05:00
timedout
52a6bf0003
fix: Don't unconditionally advertise MSC4174 as enabled in capabilities
2026-11-19 18:44:07 +00:00
timedout
fcddfb5f35
fix: Gate MSC4406 behind an experiment
2026-11-19 18:44:07 +00:00
timedout
cebeee6bae
fix: Actually config-gate MSC4484 support
2026-11-19 18:44:07 +00:00
timedout
32bfe5f129
fix: Allow sync v2 to be interrupted by server shutdown
...
Fixes #2361
2026-11-17 09:26:22 +00:00
timedout
07d4c6f304
fix: Don't default to a 30-second sync timeout
...
Fixes #2462
2026-11-17 09:14:37 +00:00
Erwan Leboucher
055c430e77
refactor(sync): Build device list updates separately from joined rooms
2026-11-15 20:24:36 +00:00
Erwan Leboucher
df5e03f3b4
fix(sync): Apply the room and account data filters in legacy sync
2026-11-15 20:24:36 +00:00
timedout
39035d735e
refactor: Configuration-gate experiments
2026-11-14 13:03:16 +00:00
Niklas Wojtkowiak
26ec038418
fix(client): Return 400, not 500, for non-canonical createRoom
2026-11-14 00:20:01 -09:00
Erwan Leboucher
7afe5885e9
feat(media): Remove legacy unauthenticated media support
2026-11-13 21:24:34 +00:00
ginger
b5594c3061
fix: I am god's most intelligent catgirl
2026-11-13 03:35:10 +00:00
ginger
ae0a2d1797
Return 404 instead of 403 for summaries of missing rooms
2026-11-13 03:32:50 +00:00
Erwan Leboucher
8603ae21cc
fix: Address redacted content review nitpicks
2026-11-11 21:52:50 +00:00
Erwan Leboucher
f154ecb542
feat: Expire retained unredacted content and address review
2026-11-11 21:52:50 +00:00
Erwan Leboucher
98fe280de4
feat: Allow room moderators to view redacted event content (MSC2815)
2026-11-11 21:52:50 +00:00
Henry-Hiles
aef031c9d7
fix(sync): Give each sliding sync response its own pos
2026-11-11 14:28:43 +00:00
Henry-Hiles
7b927196a2
chore: Use up-to-date Ruma
...
Some changes to sticky events were needed for this also.
2026-11-11 14:28:43 +00:00
timedout
3abb32dd75
fix: SEC31
...
Reviewed-By: Jade Ellis <jade@ellis.link >
Reviewed-By: Ginger <ginger@gingershaped.computer >
2026-11-10 20:41:38 +00:00
timedout
23a3ada393
fix: SEC36
...
Reviewed-By: Jacob Taylor <jacob@explodie.org >
Reviewed-By: Jade Ellis <jade@ellis.link >
Reviewed-By: Ginger <ginger@gingershaped.computer >
2026-11-10 20:39:13 +00:00
Jade Ellis
61a50a627b
fix(client): Add membership checks to read markers
2026-11-10 20:02:20 +00:00
Jade Ellis
76ace2bc09
fix(client): Allow setting read receipts on backfilled events
2026-11-10 20:02:20 +00:00
Jade Ellis
e0d3d12654
fix(sync/v3): Pack room receipts into single m.receipt event
2026-11-10 20:02:20 +00:00
Jade Ellis
be2f540a9d
fix(client): Accurately include receipt senders in lazy loading
2026-11-10 20:02:19 +00:00
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
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
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