Ginger
e576fcd8ee
fix(sync/v3): Stop ignoring leave cache deserialization failures
2025-11-13 12:27:03 -05:00
Ginger
6e7710b657
fix(sync/v3): Do not include the last membership event when syncing left rooms
2025-11-13 12:27:03 -05:00
Ginger
e60ce4dca7
chore(sync/v3): Sacrifice a goat to clippy
2025-11-13 12:27:03 -05:00
Ginger
39b8ba6593
fix(sync/v3): Cache shortstatehashes to speed up migration
2025-11-13 12:27:03 -05:00
Ginger
8495acf8f8
fix(sync/v3): Implement a migration for the userroomid_leftstate table
2025-11-13 12:27:03 -05:00
Ginger
90bd95e3c7
fix(sync/v3): Fix invite filtering for federated invites
2025-11-13 12:27:03 -05:00
Ginger
2d97b5facf
feat(sync/v3): Remove TL size config option in favor of using the sync filter
2025-11-13 12:27:03 -05:00
Ginger
ed062e4b86
chore(sync/v3): Fix clippy lints
2025-11-13 12:27:03 -05:00
Ginger
ae9f57339c
fix(sync/v3): Remove mysterious membership event manipulation code
2025-11-13 12:27:03 -05:00
Ginger
be7fb291e5
fix(sync/v3): Properly sync room heroes
2025-11-13 12:27:03 -05:00
Ginger
94224f00b3
chore(sync/v3): Use "build_*" terminology instead of "calculate_*"
2025-11-13 12:27:03 -05:00
Ginger
1704ca0755
chore(sync/v3): Use more descriptive names for SyncContext properties
2025-11-13 12:27:03 -05:00
Ginger
74886a8697
chore: Remove unneeded comment
2025-11-13 12:27:03 -05:00
Ginger
e1f558d91a
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-11-13 12:27:03 -05:00
Ginger
4399fb5e2b
chore: Clippy fixes
2025-11-13 12:27:03 -05:00
Jade Ellis
7050da1c64
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-11-13 12:27:03 -05:00
Ginger
d8a4aab6f5
feat: Add a config option to change the max TL size for legacy sync
2025-11-13 12:27:03 -05:00
Ginger
d426c423c7
fix: Set limited to true for newly joined rooms again
2025-11-13 12:27:03 -05:00
Ginger
e4870eca8f
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-11-13 12:27:03 -05:00
Ginger
e422bc3ac3
fix: Properly sync newly joined rooms
2025-11-13 12:27:03 -05:00
Ginger
c723cd4f88
fix(sync/v3): Further cleanup + improve incremental sync consistency
2025-11-13 12:27:03 -05:00
Ginger
b14b077a60
fix: Correctly send limited timelines again
2025-11-13 12:27:03 -05:00
Ginger
c22cf1a0e4
refactor: Split sync v3 into multiple files
2025-11-13 12:27:03 -05:00
Ginger
6cc86f7a87
feat: Drop support for MSC3575 (legacy sliding sync)
2025-11-13 12:27:03 -05:00
Ginger
b25a9c1bda
chore: Clippy fixes
2025-11-13 12:27:03 -05:00
Ginger
1560283d79
fix(sync/v3): Cleanup part 1: mostly fix redundant data in state
2025-11-13 12:27:03 -05:00
timedout
9375e81974
fix(1163): Resolve algorithm misinterpretations
2025-11-13 03:33:47 +00:00
Jade Ellis
f9c42bbadc
refactor(clippy): Unused self
2025-11-11 13:59:12 +00:00
Jade Ellis
fe62c39501
style(clippy): Remove unneeded allocation
2025-11-11 13:59:12 +00:00
Jade Ellis
35320cf0d4
style(clippy): Elide lifetimes
2025-11-11 13:59:12 +00:00
Jade Ellis
eaf6a889c2
style(clippy): Unnecessary move
...
Function is used in a single place and the move doesn't seem to provide
any safety benefits, so 💨
2025-11-11 13:59:12 +00:00
Jade Ellis
b04f1332db
style(clippy): Remove dead code
...
Looks like this has been dead since we forked at least, seems pretty
safe to remove
2025-11-11 13:59:12 +00:00
Jade Ellis
9e4bcda17b
style(clippy): Make the event graph generic over the hasher
2025-11-11 13:59:12 +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
c0b617f4f1
feat(sentry): Include the commit hash in the release name
2025-11-10 16:57:24 +00:00
Jade Ellis
a28cfd284b
chore(deps): Upgrade tracing / telemetry ecosystem
...
We no longer need the tracing patches, so I've removed those and
unpinned them in renovate.
otel's jaeger propagator is deprecated too, so it's replaced with the
builtin W3C TraceContext propagator
2025-11-10 16:42:28 +00:00
Jade
8a63818f31
feat: Enable sentry compilation feature
2025-11-10 01:33:50 +00:00
aviac
866769c054
chore: replace serde-yml with serde-saphyr
...
- serde-yml has an un-addressed [security issue][sec-issue]
- [saphyr][saphyr] is a pretty recent and active crate that deals with YAML parsing
- based on that, someone recently created [serde-saphyr][serde-saphyr]
---
The change was pretty straightforward and mostly "just a search and replace". The new crate has it's `Error` type split
into serialization and derserialization errors. Hence I created one Continuwuity-Error variant for each instead of just
having a single `Yaml` variant. This was already done previously with the `Toml` errors so I thought this would be
rather acceptable.
[sec-issue]: https://github.com/advisories/GHSA-gfxp-f68g-8x78
[saphyr]: https://github.com/saphyr-rs/saphyr
[serde-saphyr]: https://github.com/saphyr-rs/saphyr/issues/66#issuecomment-3353212289
2025-11-09 11:23:32 +01:00
Jade Ellis
ce73d29855
chore: Fix typos
2025-11-08 20:54:49 +00:00
timedout
fbf48addc7
fix(user_can): Fix room creators being unable to redact events in v12 rooms
2025-10-27 14:34:50 +00:00
nexy7574
cbf726580f
fix: Kicks in !v12 are impossible
2025-10-27 14:34:50 +00:00
nexy7574
28f258fc8c
fix: Incorrect interpretation of 5.5.4
2025-10-27 14:34:50 +00:00
nexy7574
8b3acfd770
fix: Inverted creatorship check
2025-10-27 14:34:50 +00:00
nexy7574
a581e8de01
fix: Don't check restricted join rules for invite joins
2025-10-27 14:34:50 +00:00
nexy7574
7c74db5e74
fix: Weird re-application of partially resolved state
2025-10-27 14:34:50 +00:00
nexy7574
b17b4235f3
fix: Unbans and kicks incorrectly checked creatorship in !v12
2025-10-27 14:34:50 +00:00
Odd E. Ebbesen
cb7875e479
fix( #1134 ): Update docs and implementation of admin media delete-past-remote-media ( #1136 )
...
Reviewed-on: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/1136
Co-authored-by: Odd E. Ebbesen <git@oddware.net >
Co-committed-by: Odd E. Ebbesen <git@oddware.net >
2025-10-27 12:31:25 +00:00
Jade Ellis
910a3182f7
fix: Prevent crash on process exit on MacOS
2025-10-26 17:42:08 +00:00
Jade Ellis
05886f8dcb
feat: Add option to control WAL compression
...
Also enables zstd compression by default
2025-10-26 17:30:42 +00:00
timedout
cff3c27729
fix: Bump ruwuma, export new route, config loading
2025-10-24 16:37:22 -04:00