Erwan Leboucher
919fea9b97
fix: Index remote events by origin_server_ts
2026-11-22 02:02:37 +00:00
Erwan Leboucher
5687847fe3
style: Address review nits on timestamp index
2026-11-22 02:02:37 +00:00
Erwan Leboucher
251086670f
feat: Add timestamp to event endpoint backed by a timestamp index
2026-11-22 02:02:37 +00:00
Erwan Leboucher
c72156cb04
fix: Keep one account data entry per type when updates race
...
Signed-off-by: Erwan Leboucher <erwanleboucher@gmail.com >
2026-11-13 06:21:54 +00:00
timedout
f3d8e8d688
chore: Reformat
2026-11-02 00:50:41 +00:00
timedout
d128207d71
fix: Make the extremity check consistency migration faster
2026-10-30 00:51:51 +00:00
timedout
14f5f62182
fix: Only consider accepted PDUs in extremity consistency check
2026-10-30 00:51:51 +00:00
timedout
5208efcb5e
fix: Make migration handle excessive extremities too
2026-10-30 00:51:51 +00:00
timedout
ae26d5c239
fix: Add startup migration to re-process existing extremities on-disk
2026-10-30 00:51:51 +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
timedout
9c27441acf
style: Reformat with nightly
2026-10-23 23:37:51 +02:00
Ginger
e963adf524
feat: Add support for MSC4363
2026-10-05 14:22:53 +00:00
Ginger
f1d9537b14
fix: Fix startup panic in old migrations
2026-10-02 11:41:37 -04:00
Ginger
cb7af18bc2
fix: Make unembed_unsigned_info infallible
2026-10-01 18:43:54 +00:00
Ginger
a6fae7498d
fix: Don't bump version if it's already bumped
2026-10-01 18:43:54 +00:00
Ginger
48c36d6f17
refactor: Remove some unnecessary macro logic
2026-10-01 18:43:54 +00:00
Ginger
23d07e3d4f
refactor: Clean up migration logic
2026-10-01 18:43:54 +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
c0ad864d57
fix: Make unembed unsigned run in bg
2026-09-27 22:58:08 +01:00
timedout
a61026912c
feat: Add a migration to fix up unsigned data
2026-09-27 18:31:46 +01:00
Ginger
9fbabe2210
chore: Reformat with latest nightly
2026-09-01 12:55:05 -04:00
Ginger
8cde2ad0cc
fix: Fix missing migration logic
2026-07-25 15:18:13 -04:00
Ginger
9a94b93ddd
fix: Fix new database migrations running on every server startup
2026-07-12 12:31:12 -04:00
timedout
4f509fa113
fix: Convert room summary to federation format when sending invites
2026-07-12 02:11:50 +00:00
Ginger
f55207d5c7
fix: Stop appservice users from being wrongly deactivated during migration
2026-07-11 14:55:43 +00:00
Ginger
89dcda4c3c
feat: Kill roomsynctoken_shortstatehash dead
2026-07-09 16:43:10 -04:00
Ginger
ad4f7973cb
refactor: Remove list_local_users function
2026-07-07 11:33:47 -04:00
Ginger
69163b5391
refactor: Split remote and deactivated users into their own columns
2026-07-02 16:24:07 -04:00
Ginger
88b59eb053
fix: Include target user's membership when building stripped state
2026-05-01 13:15:55 -04:00
Ginger
e70004c98f
chore: Clippy fixes
2026-04-28 09:16:56 -04:00
Ginger
24f7e1d658
chore: Clippy fixes
2026-04-28 09:16:51 -04:00
Jade Ellis
a4e64383b7
refactor: Ruma upstraming, bake a little more
2026-04-28 09:16:51 -04:00
Ginger and Jade Ellis
204bc1367e
refactor: Ruma upstreaming, half-baked edition
...
Co-authored-by: Jade Ellis <jade@ellis.link >
2026-04-28 09:16:51 -04:00
timedout
906c3df953
style: Reduce migration warning verbosity to info
...
They aren't actually warning of anything
2026-03-09 13:30:24 +00:00
timedout
33e5fdc16f
style: Reduce verbosity of fix_corrupt_msc4133_fields
2026-03-09 13:30:24 +00:00
timedout
77ac17855a
fix: Don't fail on invalid stripped state entries during migration
2026-03-09 13:30:24 +00:00
timedout
65ffcd2884
perf: Insert missed migration markers into fresh databases
2026-03-09 13:30:24 +00:00
timedout
7ec88bdbfe
feat: Make noise about migrations and make errors more informative
2026-03-09 13:30:24 +00:00
Ginger
b9b1ff87f2
chore: Formatting fixes
2026-02-10 02:29:11 +00:00
Ginger
3c0146d437
feat: Implement a migration to fix busted local invites
2026-02-10 02:29:11 +00: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
Ginger
7345c241a9
fix: Don't halt and catch fire on deserialization errors in MSC4133 migration
2025-12-12 11:16:52 -05:00
Ginger
8ffc6d4f15
chore(sync/v3): Sacrifice a goat to clippy
2025-12-07 19:58:24 +00:00
Ginger
93efe89a1f
fix(sync/v3): Cache shortstatehashes to speed up migration
2025-12-07 19:58:24 +00:00
Ginger
16f37d21ff
fix(sync/v3): Implement a migration for the userroomid_leftstate table
2025-12-07 19:58:24 +00:00
Ginger
1c21e4af6e
fix: Properly sync left rooms
...
- Remove most usages of `update_membership` in favor
of directly calling the `mark_as_*` functions
- Store the leave membership event as the value in the
`userroomid_leftstate` table
- Use the `userroomid_leftstate` table to synchronize the
timeline and state for left rooms if possible
2025-12-07 19:58:24 +00:00
Ginger
902fe7b7ab
fix: Fix panic in debug builds caused by MSC4133 migration
2025-09-24 16:45:11 -04:00
Ginger
458811f241
fix: Fix nexy's very accurate and not-at-all busted fix to my fix
2025-09-17 20:04:50 -04:00
nexy7574
0672ce5b88
style: Fix clippy lint errors
2025-09-17 23:54:09 +01:00
Ginger
7f287c7880
fix: Use a database migration to fix corrupted us.cloke.msc4175.tz fields
...
(cherry picked from commit 4a893ce4cc81487bcf324dccefd8184ddef5b215)
2025-09-17 23:14:07 +01:00