feat: Add bundled aggregations support #847

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

3 commits

Author SHA1 Message Date
74cf5445cc
fix: Filter out invalid replacements from bundled aggregations
Some checks failed
Release Docker Image / define-variables (push) Successful in 12s
Rust Checks / Format (push) Successful in 1m1s
Documentation / Build and Deploy Documentation (pull_request) Successful in 49s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Failing after 2m3s
Rust Checks / Clippy (push) Successful in 4m46s
Rust Checks / Cargo Test (push) Successful in 5m15s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 14m2s
Release Docker Image / merge (push) Has been skipped
2025-06-04 22:50:17 +01:00
980e2bb8d5
feat: Add bundled aggregations support
All checks were successful
Release Docker Image / define-variables (push) Successful in 2s
Rust Checks / Format (push) Successful in 40s
Documentation / Build and Deploy Documentation (pull_request) Successful in 42s
Rust Checks / Clippy (push) Successful in 7m9s
Rust Checks / Cargo Test (push) Successful in 7m40s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 11m57s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 28m30s
Release Docker Image / merge (push) Successful in 42s
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-04 00:11:09 +01:00
490a5d087e
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-03 21:31:02 +01:00