dasha_uwu
0c9a3abb71
clippy allow -> expect
2026-01-26 19:28:56 +00:00
Jared L
7ec9d7f5aa
fix: ensure aggregate presence change flushes queue
2026-01-21 16:50:23 +11:00
Jared L
0f547115af
chore: fmt
2026-01-21 07:28:12 +11:00
Jared L
aadc9ade3e
presence: restore deferred push suppression
2026-01-21 06:23:12 +11:00
June Strawberry
04e66a03d3
fix and enable collapsible_if lint
...
Signed-off-by: June Strawberry <june@vern.cc >
2026-01-18 13:09:03 -05:00
dasha_uwu
e78bf21085
Introduce OptionFuture helpers
...
Optimize user directory searches
2026-01-17 06:54:24 +00:00
Jason Volk
8bb0d02619
Replace calls through sender request interface.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-11-26 06:49:57 +00:00
Jason Volk
9c5caa3a5f
Move appservice request unit from sender to appservice.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-10-30 03:48:16 +00:00
Jason Volk
5e89f0acae
Split pusher service send/request into unit.
...
Refactor sender's push destination handler.
Combine remnants of service::rooms::user with pusher service.
Further split and reorg pusher service units.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-10-28 23:23:19 +00:00
Jason Volk
53ab6742c8
Fix shutdown signalling on startup.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-10-06 01:19:36 +00:00
Jason Volk
6d3b2d864f
Simplify keys_changed iteration using room_keys_changed() upper-bound.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-09-23 08:49:09 +00:00
dasha_uwu
9c4d376bec
pass args by ref
2025-09-23 05:16:29 +00:00
Jason Volk
29c2c8a333
Branch based on config to note sync for push suppression.
...
Minor if-let condition and scope reduction; formatting.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-09-08 22:25:00 +00:00
tototomate123
6295ca135a
feature marked as experimental and executed rustfmt
2025-09-08 22:25:00 +00:00
tototomate123
b5a9884194
feat(presence,push) optionally suppress push notifications for active users
2025-09-08 22:25:00 +00:00
Jason Volk
ce6212b161
Add room_version argument and reorg convert_outgoing_federation_event.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-28 23:28:20 +05:00
dasha_uwu
f51a7b12b5
Make Service.interrupt async
2025-08-28 23:28:20 +05:00
dasha_uwu
b5890b9664
Services refactor
...
Replace structs of Dep<Service> with OnceServices, so each service has a Services reference
Remove service name => Service map
Flatten Services.rooms
Make reqwest Clients lazy initialized (client service)
2025-08-28 23:15:59 +05:00
Jason Volk
4bb83a1972
Fix version 12 outgoing federation format.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-26 02:40:25 +00:00
Jason Volk
628597c318
State-reset and security mitigations.
...
Upgrade Ruma to present.
The following are intentionally benign for activation in a later commit:
- Hydra backports not default.
- Room version 12 not default.
- Room version 12 not listed as stable.
Do not enable them manually or you can brick your database.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-11 18:45:28 +00:00
Jason Volk
4b9b85f671
ABI encapsulations; generate leaf code in pub fn's rather than inling them.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-02 18:00:20 +00:00
Jason Volk
63dfe8f7e3
Add upper-bound for presence_since().
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-26 05:36:19 +00:00
Jason Volk
c6836e51b2
Add upper-bound to readreceipts_since() and callsites.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-26 04:44:09 +00:00
Jason Volk
0fcb072239
Refactor counter increment sites for TwoPhaseCounter.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-25 10:32:52 +00:00
Jason Volk
18f8d6c65c
Rebox future segmentations.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
aac49b09c7
Improve mutable state in sender closure captures.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
c8d35cca57
Refactor to async closures.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
23d188f612
Spacing/formatting adjustments.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
ae707ab465
Simplify default Result generics.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
026d756ef4
Adjust SmallVec buffer sizes to account for overhead.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-06-12 11:08:29 +00:00
Jason Volk
af7dfb31bc
Abstract Pdu filter matching into trait Event.
...
Abstract Pdu unsigned accessors into trait Event.
Abstract Pdu relation related into trait Event.
Abstract PDU content into trait Event.
Move event_id utils from pdu to event.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-11 07:02:14 +00:00
Jason Volk
57c519bbb8
Toward abstracting Pdu into trait Event.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-11 07:02:14 +00:00
Jason Volk
5bcf3550ab
attr_fn_like_width to 60
...
note the default is documented as 70 but this was not being honored by rustfmt
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-24 02:00:00 +00:00
Jason Volk
76509830e6
chain_width to 50
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-22 04:42:34 +00:00
Jason Volk
9b658d86b2
Rename crates.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-22 04:37:49 +00:00
June Clementine Strawberry
24be579477
add appservice MSC4190 support
...
Signed-off-by: June Clementine Strawberry <june@3.dog >
2025-04-03 12:21:16 -04: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
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
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
59c073d0d8
add unconstrained feature to service worker
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-16 17:40:21 -05:00
Jason Volk
ffe3b0faf2
make shutdown grace periods configurable
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-02 16:30:55 +00:00
Jason Volk
09bc71caab
fix missed concurrent fetch opportunities in sender ( ffd0fd4242)
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-31 22:46:26 +00:00
Jason Volk
99fe88c21e
use smallvec for the edu sending event buffer
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-29 01:18:08 +00:00
Jason Volk
ffd0fd4242
pipeline pdu fetch for federation sending destination
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-29 01:18:08 +00:00
Jason Volk
4a2d0d35bc
split federation request from sending service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-28 18:36:00 +00:00
Jason Volk
3e0ff2dc84
simplify references to server_name
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-28 18:36:00 +00:00
Jason Volk
607e338ac2
cache result of resolution at completion of resolution
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-22 07:56:24 +00:00
Jason Volk
49023aa295
use database for resolver caches
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-22 02:16:51 +00:00
Jason Volk
02f19cf951
tweak tracing spans; inlines
...
db deserializer tracing instrument cover
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-10 07:03:34 +00:00