strawberry
dac1a01216
update generated example config
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:43:58 -05:00
strawberry
44a7ac0703
add debug_assert is_sorted for inline content types
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
011d44b749
add missing declared support for MSC3952
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
72fb8371f9
link to migrating from conduit on the README
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
4f0bdb5194
general misc bug fixes and slight improvements
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
fd2a002480
dont build sentry or perf_measurements features for complement
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
4296d7174f
add receive_ephemeral check for appservice EDU sending (if it even works)
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
4fe47903c2
misc docs changes/improvements from example config
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
08365bf5f4
update config documentation, commit generated example config
...
also removes the no-op/useless "database_backend" config option
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
Jason Volk
4ec5d1e28e
replace additional use tracing::
...
add log:: to disallowed-macros
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-14 04:50:07 +00:00
Jason Volk
e228dec4f2
add byte counting for compressed state caches
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-13 23:14:05 +00:00
Jason Volk
6ffdc1b2a6
bump serde, image, loole, termimad etc
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-13 22:59:28 +00:00
Jason Volk
004be3bf00
prepare utf-8 check bypass for database deserializer
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-13 22:59:28 +00:00
Jason Volk
77fab2c323
use ruma visibility enum in directory interface
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-13 02:38:03 +00:00
Jason Volk
68582dd868
add parallel query for current membership state
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-13 02:38:03 +00:00
Jason Volk
feefa43e65
add pretty/si-unit byte size parsing/printing utils
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-13 02:38:03 +00:00
strawberry
c59f474aff
fixes for gh workflow
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-13 02:38:03 +00:00
Jason Volk
86694f2d1d
move non-generic code out of generic; reduce codegen
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-13 02:38:03 +00:00
Jason Volk
999d731a65
move err macro visitor out-of-line; reduce codegen
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-11 22:45:44 +00:00
Jason Volk
3962333043
partially revert e507c31306
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-11 21:35:30 +00:00
Jason Volk
61174dd0d3
check if lazyset already contains user prior to querying
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-11 21:30:48 +00:00
Jason Volk
e2afaa9f03
add config item for with_span_events
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-11 20:50:05 +00:00
Jason Volk
9790a6edc9
add unwrap_or_err to result
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-11 20:50:05 +00:00
Jason Volk
08a4e931a0
supplement a from_str for FmtSpan
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-11 20:50:05 +00:00
OverPhoenix
24a5ecb6b4
fix incorrect user id for non-admin invites checking
2024-11-10 22:24:35 +00:00
Jason Volk
1efc52c440
increase logging during server keys acquire
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-10 11:17:42 +00:00
Jason Volk
f290d1a9c8
prevent retry for missing keys later in join process
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-10 08:47:15 +00:00
strawberry
7e087bb93c
Fixes for CI
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-10 04:33:30 +00:00
Jason Volk
5e74391c6c
fix config generator macro matchers
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-10 04:33:30 +00:00
Jason Volk
cc86feded3
bump ruma
...
fixes for key type changes
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-10 04:33:30 +00:00
Jason Volk
14fce38403
cork around send_join response processing
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-10 04:33:30 +00:00
Jason Volk
10be301646
split large notary requests into batches
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-10 04:33:29 +00:00
Jason Volk
1ce3db727f
split event_handler service
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-08 09:21:42 +00:00
Jason Volk
6eba36d788
split make_body template
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-08 09:21:42 +00:00
Jason Volk
f59e8af734
slight cleanup/simplifications to backfil
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-08 09:21:30 +00:00
Jason Volk
1f2e939fd5
optional arguments for timeline pdus iterations
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-08 08:22:54 +00:00
Jason Volk
13ef6dcbcf
add standalone getters for shortid service
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-08 06:09:04 +00:00
Jason Volk
27966221f1
add ready_try_fold to utils
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-08 06:09:04 +00:00
Jason Volk
79c6b51860
renames for core pdu
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-08 06:09:04 +00:00
Jason Volk
e507c31306
make pdu batch tokens zeroith-indexed
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-08 06:06:18 +00:00
Jason Volk
f36757027e
split api/client/room
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-06 21:46:20 +00:00
Jason Volk
7450c654ae
add get_pdu_owned sans Arc; improve client/room/event handler
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-06 21:46:20 +00:00
Jason Volk
3ed2c17f98
move sync watcher from globals service to sync service
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-06 21:46:20 +00:00
Jason Volk
26c890d5ac
skip redundant receipts on syncs
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-06 21:46:20 +00:00
Jason Volk
137e3008ea
merge rooms threads data and service
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-06 21:46:20 +00:00
Jason Volk
9da523c004
refactor for stronger RawPduId type
...
implement standard traits for PduCount
enable serde for arrayvec
typedef various shortid's
pducount simplifications
split parts of pdu_metadata service to core/pdu and api/relations
remove some yields; improve var names/syntax
tweak types for limit timeline limit arguments
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-06 21:46:20 +00:00
Kirill Hmelnitski
2e4d9cb37c
fix thread pagination
...
refactor logic
increase fetch limit for first relates
apply other format
Co-authored-by: Jason Volk <jason@zemos.net>
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-04 19:25:31 +00:00
Jason Volk
78aeb620bc
add broad timeout on acquire_origins keys operation
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-04 19:25:31 +00:00
Jason Volk
4a94a4c945
rename pdu/id to pdu/event_id
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-04 19:25:31 +00:00
Jason Volk
768e81741c
use FnMut for ready_try_for_each extension
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-03 14:51:07 +00:00