Ginger
07dfc5528d
refactor(sync/v3): Split load_joined_room into smaller functions
2025-12-07 19:58:24 +00:00
ginger
3f4749a796
fix: Correct error message
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
0008709481
fix(sync/v3): Stop ignoring leave cache deserialization failures
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
Ginger
4fb4397a9f
fix(sync/v3): Remove mysterious membership event manipulation code
2025-12-07 19:58:24 +00:00
Ginger
61b6947e88
fix(sync/v3): Properly sync room heroes
2025-12-07 19:58:24 +00:00
Ginger
876d3faec4
chore(sync/v3): Use "build_*" terminology instead of "calculate_*"
2025-12-07 19:58:24 +00:00
Ginger
9cc0cc69f7
chore(sync/v3): Use more descriptive names for SyncContext properties
2025-12-07 19:58:24 +00:00
Ginger
5513bb4dff
chore: Remove unneeded comment
2025-12-07 19:58:24 +00:00
Ginger
693e327004
fix: Use prepare_lazily_loaded_members for joined rooms
...
Also, don't take read receipts into consideration for lazy loading.
Synapse doesn't do this and they're making initial syncs very large.
2025-12-07 19:58:24 +00:00
Ginger
3e6571a2b8
chore: Clippy fixes
2025-12-07 19:58:24 +00:00
Jade Ellis
f0f10f8f3e
feat: Typing notifications in simplified sliding sync
...
What's missing? Being able to use separate rooms & lists for typing
indicators.
At the moment, we use the same ones as we use for the timeline, as
todo_rooms is quite intertwined. We need to disentangle this to get that
functionality, although I'm not sure if clients use it.
2025-12-07 19:58:24 +00:00
Ginger
a4f2b55a8a
feat: Add a config option to change the max TL size for legacy sync
2025-12-07 19:58:24 +00:00
Ginger
213a361c53
fix: Set limited to true for newly joined rooms again
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
fceaaedc04
fix: Properly sync newly joined rooms
2025-12-07 19:58:24 +00:00
Ginger
0eff173c0b
fix(sync/v3): Further cleanup + improve incremental sync consistency
2025-12-07 19:58:24 +00:00
Ginger
72bf8e5927
fix: Correctly send limited timelines again
2025-12-07 19:58:24 +00:00
Ginger
3491f653a5
refactor: Split sync v3 into multiple files
2025-12-07 19:58:24 +00:00
Ginger
e820dd7aed
feat: Drop support for MSC3575 (legacy sliding sync)
2025-12-07 19:58:24 +00:00
Ginger
c92b7239a8
chore: Clippy fixes
2025-12-07 19:58:24 +00:00
Ginger
2940bc69c1
fix(sync/v3): Cleanup part 1: mostly fix redundant data in state
2025-12-07 19:58:24 +00:00
timedout
bc8d304dbf
style: Fix unnecessary qualification
...
Sounds like my university experience
2025-11-23 16:33:32 +00:00
timedout
7f4248a8c6
feat: Enhance remote room leave handling
2025-11-23 16:33:32 +00:00
Jade
45e4053883
fix: Don't break when encountering the server user, as there may be real users after
2025-11-10 23:56:02 +00:00
Jade Ellis
ce73d29855
chore: Fix typos
2025-11-08 20:54:49 +00:00
Jimmy Brush
77ebe0d02f
fix( !714 ): Off-by-one in v5 sync
...
Simplified sliding sync specifies ranges to be inclusive while rust ranges are
exclusive.
2025-10-13 10:28:19 +00:00
nexy7574
20f741d0e5
feat: Produce a more informative error when uploading media fails
2025-10-12 19:42:57 +00:00
nexy7574
f45ceedb8a
fix(upgrade): Potentially resolve CI clippy errors
...
I'm not convinced this isn't a rust bug itself,
but CI was complaining about lifetimes
and those complaints couldn't be reproduced locally,
so this should probably fix it maybe?
2025-09-26 18:47:49 +01:00
Jade Ellis
ef84e1bb02
fix(v12): Create tombstone event on room upgrade
2025-09-25 08:15:23 +00:00
nexy7574
1887d58df8
fix: V12 room upgrades
2025-09-25 08:15:23 +00:00
Ginger
92d74c293e
feat: Advertise support for MSC4155
2025-09-22 11:33:45 -04:00
nexy7574
b70470fa71
fix: Event filters all non-state events
2025-09-21 20:10:36 +01:00
Ginger
13b7538785
Add support for MSC4155 ( #1013 )
...
[rendered msc here](https://github.com/Johennes/matrix-spec-proposals/blob/johannes/invite-filtering/proposals/4155-invite-filtering.md ). Closes #836 .
Co-authored-by: nexy7574 <git@nexy7574.co.uk>
Reviewed-on: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/1013
Reviewed-by: nex <nex@noreply.forgejo.ellis.link>
Co-authored-by: Ginger <ginger@gingershaped.computer>
Co-committed-by: Ginger <ginger@gingershaped.computer>
2025-09-21 17:03:40 +00:00
nexy7574
c9c79fbea6
fix: Fix restricted join rules inconsistencies
2025-09-20 21:07:13 +00:00
nexy7574
92e9802340
style: Tidy up 1054
2025-09-20 21:07:00 +00:00
nexy7574
1d80b7ce0c
fix: Don't perform local join when there's no remote servers
2025-09-20 21:07:00 +00:00
nexy7574
7e4071c117
Implement room v12 ( #943 )
...
**Does not yet work!** Currently, state resolution does not correctly resolve conflicting states. Everything else appears to work as expected, so stateres will be fixed soon, then we should be clear for takeoff.
Also: a lot of things currently accept a nullable room ID that really just don't need to. This will need tidying up before merge. Some authentication checks have also been disabled temporarily but nothing important.
A lot of things are tagged with `TODO(hydra)`, those need resolving before merge. External contributors should PR to the `hydra/public` branch, *not* ` main`.
---
This PR should be squash merged.
Reviewed-on: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/943
Co-authored-by: nexy7574 <git@nexy7574.co.uk>
Co-committed-by: nexy7574 <git@nexy7574.co.uk>
2025-09-17 20:46:03 +00:00
Ginger
a0b0ff9d5c
fix: Remove legacy check for u. prefix
2025-09-16 11:30:39 +00:00
Ginger
8e27d74c4a
fix: Slightly more parallelism
2025-09-16 11:30:39 +00:00
Ginger
e3415a500d
chore: Code cleanup
2025-09-16 11:30:39 +00:00
Ginger
e6fd3c970b
fix: Nuke explicit references to the MSC4175 tz profile field
2025-09-16 11:30:39 +00:00
Ginger
af45c348a4
fix: Properly deserialize changes to legacy fields made with MSC4133 endpoints
2025-09-14 01:28:08 +00:00
nexy7574
14df55e5c5
style(1014): Remove unnecessary commented code
2025-09-14 00:53:43 +00:00
nexy7574
d9d0d1a465
fix( !1014 ): Don't prematurely return during registration
2025-09-14 00:53:43 +00:00
Jade Ellis
72b78ed6d4
chore: Fix nightly-only clippy lints
2025-09-10 17:35:17 +01:00
nexy7574
baa89586e2
fix(MSC4277): Undo refuted response changes
2025-09-10 16:25:06 +00:00