Commit Graph
5732 Commits
Author SHA1 Message Date
Ginger a6e5dfcd50 chore(sync/v3): Remove unused imports 2025-11-14 09:20:51 -05:00
Ginger 51aa173a6e fix(sync/v3): Don't send rejected invites on initial syncs 2025-11-13 13:27:52 -05:00
Ginger 56fcc5d569 refactor(sync/v3): Extract left room timeline logic into its own function 2025-11-13 12:44:13 -05:00
Ginger 901bb63ecc fix(sync/v3): Don't send dummy leaves on an initial sync 2025-11-13 12:27:03 -05:00
Ginger d1e5c17cb2 chore: Formatting 2025-11-13 12:27:03 -05:00
ginger 4f0505ead6 fix: Nitpicky comment reword 2025-11-13 12:27:03 -05:00
Ginger 2f2a233839 fix: Bump max startup time to ten minutes in the systemd unit 2025-11-13 12:27:03 -05:00
Ginger c1dc640da7 chore(sync/v3): More goat sacrifices 2025-11-13 12:27:03 -05:00
Ginger 48fe06a36c refactor(sync/v3): Split load_joined_room into smaller functions 2025-11-13 12:27:03 -05:00
ginger 9150131e37 fix: Correct error message 2025-11-13 12:27:03 -05:00
Ginger 6414a6da9b fix(sync/v3): Add a workaround for matrix-js-sdk/5071 2025-11-13 12:27:03 -05:00
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
Jade Ellis fb6dba7a04 ci: Don't force override rust version by default 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
Renovate Bot 2ec771c84d chore(deps): update rust crate bytesize to v2.2.0 2025-11-13 05:03:54 +00:00
timedout 9375e81974 fix(1163): Resolve algorithm misinterpretations 2025-11-13 03:33:47 +00:00
Renovate Bot f22f35d27b chore(deps): update rust crate syn to v2.0.110 2025-11-12 05:03:14 +00:00
Renovate Bot d5c7d80709 chore(deps): update dependency cargo-bins/cargo-binstall to v1.15.11 2025-11-11 23:11:19 +00:00
Jade Ellis 1899d8bb00 ci: Mirror to Docker Hub 2025-11-11 23:11:09 +00:00
Ginger 9a5ba6171f ci: Remove hardcoded default in setup-rust action 2025-11-11 10:37:03 -05:00
renovate da3efa05b5 chore(Nix): Updated flake hashes 2025-11-11 15:07:05 +00:00
Ginger b53ba2eef4 ci: Give flake hashes workflow permissions to push 2025-11-11 15:07:05 +00:00
Jade Ellis 33019c4529 chore: Update rust 2025-11-11 15:07:05 +00:00
Jade Ellis f7bd9eaba8 chore(clippy): Remove old redundant lint 2025-11-11 13:59:12 +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