timedout
789589ef37
chore: Remove redundant client IP extractions on individual routes
2026-07-17 12:57:48 +00:00
Erwan Leboucher
3a74ce6151
fix(client-ip): Fall back to peer IP instead of returning 500
2026-07-17 12:46:11 +00:00
Erwan Leboucher
eff454218c
fix(sync): Send full state for newly-joined rooms in incremental sync
2026-07-17 02:48:28 +00:00
Ginger
ada0b3184b
fix: Properly sync newly created rooms
2026-07-11 19:21:19 +00:00
Ginger
3467dffd94
fix: Adjust sync watcher logic to be more explicit
2026-07-05 00:42:44 +00:00
Ginger
df3f646c92
feat: Implement oauth auth code and refresh token flows
2026-06-29 09:35:48 -04:00
Ginger
e3a9549824
fix: Correctly sync newly created rooms
2026-06-16 23:41:51 -04:00
Ginger
073c033ab8
fix: Don't panic on missing SSH in sliding sync
2026-06-16 23:41:51 -04:00
Ginger
6e42be95bc
fix: Additional sync logic fixes
2026-06-16 23:41:51 -04:00
Ginger
1a77f57af5
fix: Upgrade warning on room load failures to error
2026-06-16 23:41:51 -04:00
Ginger
d427df0238
fix: Don't panic on missing SSH
2026-06-16 23:41:51 -04:00
Ginger
f9f3ebe571
fix: Calculate state at end of last sync correctly
2026-06-16 23:41:51 -04:00
Ginger
523016a42b
feat: Add support for state_after
2026-06-16 23:41:51 -04:00
Ginger
7c42f6075b
feat: Remove all uses of roomsynctoken_shortstatehash
2026-06-16 23:41:51 -04:00
timedout
1faa09b6ce
fix: Don't ping presence for devices which claim to be offline
...
Fixes https://github.com/gomuks/gomuks/issues/722 .
Reviewed-by: Ginger <ginger@gingershaped.computer >
2026-05-28 09:38:32 -04:00
Ginger
d7a51c7107
refactor: Allow for client identities with no user ID
2026-05-27 12:15:16 -04:00
Ginger
30c9d6d2df
chore: Clippy fixes
2026-05-26 18:26:02 +00:00
Ginger
74841b6711
refactor: Represent route auth information in the type system
2026-05-26 18:26:02 +00:00
new-years-eve
833216256b
feat: Add support for fallback keys
...
Fallback keys can be provided by client devices to be used in case the
supply of one-time keys run out. The server will store one fallback key
per user, per device, per algorithm. The server will keep track of
whether this fallback key has been used or not.
The /keys/claim endpoint now provides a fallback key
if no one-time key is found
The /keys/upload endpoint now accepts fallback keys
The /sync endpoint now informs the client of the algorithms for which it
has an unused fallback key in stock.
2026-05-04 20:05:26 +00:00
Ginger
a8a8e1ea51
chore: Clippy fixes
2026-04-28 09:16:57 -04:00
Ginger
ca358438ee
refactor: Fix mystery weirdness in api/client/sync/v3/mod.rs
2026-04-28 09:16:52 -04:00
Ginger
4e456249ac
refactor: Fix errors in api/client/sync
2026-04-28 09:16:51 -04:00
Jade Ellis
0134f69bf9
chore: Update incompatible dependenceis
2026-04-23 20:02:48 +01:00
Ginger
dac619b5f8
fix: Lower "timeline for newly joined room is empty" to debug_warn
...
Reviewed-by: nex <me@nexy7574.co.uk >
2026-03-07 11:56:15 -05:00
Ginger
7e501cdb09
fix: Fix left rooms always being sent on initial sync
2026-03-04 12:51:54 -05:00
Jason Volk and Jade Ellis
1a7bda209b
feat: Implement Dehydrated Devices MSC3814
...
Co-authored-by: Jade Ellis <jade@ellis.link >
Signed-off-by: Jason Volk <jason@zemos.net >
2026-03-03 19:39:53 +00:00
Niklas Wojtkowiak
052c4dfa21
fix(sync): don't override sliding sync v5 list range start to zero
2026-02-24 13:59:33 +00:00
Jade Ellis
60a3abe752
refactor: Use HashSet
2026-02-15 15:35:29 +00:00
Ellie
e3b874d336
fix(sync): handle wildcard state keys in sliding sync required_state
2026-02-15 15:35:29 +00:00
Ginger
8d66500c99
chore: Code cleanup
2026-02-14 14:12:57 -05:00
Simon Gardling
134e5cadaf
fix(sliding-sync): Properly handle wildcard state_key
...
Fixes calls as described in https://forgejo.ellis.link/continuwuation/continuwuity/issues/1306
2026-02-14 14:12:35 -05:00
Jade Ellis
aed15f246a
refactor: Clean up logging issues
...
Primary issues: Double escapes (debug fmt), spans without levels
2026-01-05 18:28:57 +00:00
Jade Ellis
b61010da47
feat: Add bundled aggregations support
...
Add support for the m.replace and m.reference bundled
aggregations.
This should fix plenty of subtle client issues.
Threads are not included in the new code as they have
historically been written to the database. Replacing the
old system would result in issues when switching away from
continuwuity, so saved for later.
Some TODOs have been left re event visibility and ignored users.
These should be OK for now, though.
2025-12-21 17:12:34 +00:00
Jade Ellis
987c5eeb03
refactor: Promote handling unsigned data out of timeline
...
Also fixes:
- Transaction IDs leaking in event route
- Age not being set for event relations or threads
- Both of the above for search results
Notes down concern with relations table
2025-12-21 17:12:33 +00:00
Ginger
cf8d8e4ea6
chore: Post-rebase cleanup
2025-12-09 03:25:04 +00:00
timedout
393d341f07
perf: Throttle frequent device metadata updates & centralise site
2025-12-09 03:25:03 +00:00
timedout
ba55dffa0e
perf: Don't increment the device list version when updating local info
2025-12-09 03:25:03 +00:00
timedout
f3115e14ab
feat: Update device metadata upon hitting hot endpoints
2025-12-09 03:25:03 +00:00
Ginger
53b06a7918
chore(sync/v3): Remove unused imports
2025-12-07 19:58:24 +00:00
Ginger
fafc1d3fd1
fix(sync/v3): Don't send rejected invites on initial syncs
2025-12-07 19:58:24 +00:00
Ginger
dbc74272c3
refactor(sync/v3): Extract left room timeline logic into its own function
2025-12-07 19:58:24 +00:00
Ginger
f11caac05e
fix(sync/v3): Don't send dummy leaves on an initial sync
2025-12-07 19:58:24 +00:00
Ginger
e581face44
chore: Formatting
2025-12-07 19:58:24 +00:00
ginger
037ba41adb
fix: Nitpicky comment reword
2025-12-07 19:58:24 +00:00
Ginger
7dae118af9
chore(sync/v3): More goat sacrifices
2025-12-07 19:58:24 +00:00
Ginger
07dfc5528d
refactor(sync/v3): Split load_joined_room into smaller functions
2025-12-07 19:58:24 +00:00
Ginger
be8d72fafc
fix(sync/v3): Add a workaround for matrix-js-sdk/5071
2025-12-07 19:58:24 +00:00
Ginger
ee51d4357f
fix(sync/v3): Do not include the last membership event when syncing left rooms
2025-12-07 19:58:24 +00:00
Ginger
872f5bf077
feat(sync/v3): Remove TL size config option in favor of using the sync filter
2025-12-07 19:58:24 +00:00
Ginger
992217d644
chore(sync/v3): Fix clippy lints
2025-12-07 19:58:24 +00:00