WIP: feat: Add bundled aggregations support #847

Draft
Jade wants to merge 3 commits from jade/relations into main

3 commits

Author SHA1 Message Date
5a861d406a
fix: Filter out invalid replacements from bundled aggregations
All checks were successful
Release Docker Image / define-variables (push) Successful in 4s
Rust Checks / Format (push) Successful in 1m3s
Rust Checks / Clippy (push) Successful in 4m57s
Rust Checks / Cargo Test (push) Successful in 5m12s
Documentation / Build and Deploy Documentation (pull_request) Successful in 45s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 17m54s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 17m27s
Release Docker Image / merge (push) Successful in 24s
2025-06-14 19:40:27 +01:00
db50adc000
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-06-14 19:40:26 +01:00
6c11e59c4a
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-06-14 19:40:26 +01:00