feat: Add bundled aggregations support #847

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

It should be good to merge.

It should be good to merge.
Jade added the
Enhancement
Matrix/Client
labels 2025-06-03 23:15:59 +00:00
Jade added 2 commits 2025-06-03 23:16:00 +00:00
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
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
980e2bb8d5
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.
Jade added 1 commit 2025-06-05 18:34:09 +00:00
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
74cf5445cc
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
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin jade/relations:jade/relations
git checkout jade/relations

Merge

Merge the changes and update on Forgejo.
git checkout main
git merge --no-ff jade/relations
git checkout jade/relations
git rebase main
git checkout main
git merge --ff-only jade/relations
git checkout jade/relations
git rebase main
git checkout main
git merge --no-ff jade/relations
git checkout main
git merge --squash jade/relations
git checkout main
git merge --ff-only jade/relations
git checkout main
git merge jade/relations
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#847
No description provided.