Jacob Taylor
cd29b06221
Revert "I am calling you today about your car's extended warranty"
...
Rust Checks / Format (push) Failing after 2s
Release Docker Image / define-variables (push) Failing after 5s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Rust Checks / Clippy (push) Failing after 48s
Rust Checks / Cargo Test (push) Failing after 48s
the ringing was too loud
This reverts commit a3361f215b
.
2025-06-18 16:10:20 -07:00
Jacob Taylor
a3361f215b
I am calling you today about your car's extended warranty
2025-06-18 15:51:23 -07:00
nexy7574
ba43217696
modify more log strings so they're more useful than not
2025-06-18 14:39:08 -07:00
nexy7574
2b49cd72fe
When in doubt, log all the things
2025-06-18 14:39:08 -07:00
nexy7574
9875e25e1e
Unsafe, untested, and potentially overeager PDU sanity checks
2025-06-18 14:39:08 -07:00
nexy7574
c76dc56f5b
Fix room ID check
2025-06-18 14:39:08 -07:00
Jade Ellis
908efef692
fix: Filter out invalid replacements from bundled aggregations
2025-06-18 14:39:08 -07:00
Jade Ellis
69c66af0ea
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-18 14:39:08 -07:00
Jade Ellis
44497898f7
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-18 14:39:08 -07:00
Jason Volk
f605913ea9
Eliminate associated Id type from trait Event.
...
Co-authored-by: Jade Ellis <jade@ellis.link>
Signed-off-by: Jason Volk <jason@zemos.net>
2025-05-21 11:36:15 +01:00
Jason Volk
44302ce732
Eliminate explicit parallel_fetches argument.
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-05-21 11:36:15 +01:00
Jade Ellis
01594a6243
chore: Fix typos across the codebase
2025-05-06 20:51:12 +01:00
Jason Volk
500faa8d7f
simplify space join rules related
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-04-05 22:12:33 +00:00
Jason Volk
532dfd004d
move core::pdu and core::state_res into core::matrix::
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-04-05 02:44:46 +00:00
Jason Volk
d036394ec7
refactor incoming prev events loop; mitigate large future
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-04-03 22:40:40 +00:00
Jason Volk
6a073b4fa4
remove additional unnecessary Arc
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-04-03 22:40:40 +00:00
Jason Volk
b7109131e2
further simplify get_missing_events; various log calls
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-04-03 22:40:40 +00:00
June Clementine Strawberry
f14756fb76
leave room locally if room is banned, rescind knocks on deactivation too
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-03 12:21:16 -04:00
June Clementine Strawberry
0e0b8cc403
fixup+update msc3266, add fed support, parallelise IO
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-03 00:56:37 -04:00
June Clementine Strawberry
1036f8dfa8
default shared history vis on unknown visibilities, drop needless error log
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-02 22:46:01 -04:00
June Clementine Strawberry
ea246d91d9
remove pointless and buggy *_visibility in-memory caches
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-02 22:38:47 -04:00
Jason Volk
d60920c728
workaround some large type name length issues
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-03-31 03:00:53 +00:00
Jason Volk
bee4c6255a
reorg PduEvent strip tools and callsites
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-03-30 23:00:37 +00:00
Jason Volk
c99f5770a0
mark get_summary_and_children_federation Send
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-03-27 07:08:41 +00:00
Jason Volk
9ce95a7030
make service memory_usage()/clear_cache() async trait
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-03-26 01:33:41 +00:00
strawberry
c8a730c29e
implement MSC4267 automatically forgetting room on leave
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-03-08 03:07:42 -05:00
June Clementine Strawberry
2c58a6efda
allow broken no-op deny+allow room server ACL keys
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-07 00:54:30 -05:00
June Clementine Strawberry
fe65648296
remove unnecessary map_err
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-06 20:10:32 -05:00
June Clementine Strawberry
c92678ecbe
dont build with zlib in the nix flake
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-06 14:07:38 -05:00
June Clementine Strawberry
657e91fd42
dont send push notifications from ignored users PDUs
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-06 13:44:42 -05:00
June Clementine Strawberry
35981d5aef
automatically forget rooms on leaving
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-05 19:34:22 -05:00
June Clementine Strawberry
de53ad83b2
run nightly cargo fmt again
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-02 23:15:05 -05:00
June Clementine Strawberry
17e0384eeb
ignore errors instead of expecting for state gathering
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-02 23:11:43 -05:00
Jason Volk
a67ab75417
fix edition 2024 lints
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-27 10:26:45 -05:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
2025-02-23 01:17:45 -05:00
Jason Volk
f47677c995
refactor spaces
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-16 17:40:21 -05:00
Jason Volk
f2ca670c3b
optimize further into state-res with SmallString
...
triage and de-lints for state-res.
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-16 17:40:21 -05:00
Jason Volk
0a9a9b3c92
larcen state-res from ruma
2025-02-16 17:40:21 -05:00
Jason Volk
b872f8e593
optimize with SmallString; consolidate related re-exports
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-16 17:40:21 -05:00
Jason Volk
e123a5b660
add state accessories for iterating state_keys of a type
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-16 17:40:21 -05:00
Jason Volk
d8e94ee965
split spaces service
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-16 17:40:21 -05:00
Jason Volk
3ec43be959
join initial fetches in get_relations()
...
skip recursion for max_depth=0
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-16 17:40:21 -05:00
Jason Volk
04656a7886
fix spaces pagination bug
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-05 07:32:00 +00:00
Jason Volk
d32534164c
fix soft-failed redaction regression ( ff8bbd4cfa
)
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-04 21:00:12 +00:00
Jason Volk
b3271e0d65
split state_accessor
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-04 00:02:00 +00:00
Jason Volk
106bcd30b7
optimize incremental sync state diff
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-04 00:02:00 +00:00
Jason Volk
4add39d0fe
cache compressed state in a sorted structure for logarithmic queries with partial keys
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-02 10:08:30 +00:00
Jason Volk
2fa9621f3a
flatten state_full_shortids
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-31 22:46:26 +00:00
Jason Volk
ff8bbd4cfa
untwist the redaction check stanza
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-30 05:26:30 +00:00
Jason Volk
1a8482b3b4
refactor incoming extremities retention; broad filter, single pass
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-30 05:26:30 +00:00