Jason Volk
|
1fdcab0319
|
additional sync cleanup
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
828cb96ba9
|
split client/sync
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
55b8908894
|
merge rooms state_compressor service and data
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
84191656fb
|
slightly cleanup appservice_in_room
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
0b085ea84f
|
merge remaining rooms state_cache data and service
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
4576313a7c
|
merge rooms user service and data
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
ed5b5d7877
|
merge rooms state service and data
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
d0ee4b6d25
|
add resolve_with_servers() to alias service; simplify api
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
b4ec1e9d3c
|
add federation client for select high-timeout requests
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
c0939c3e9a
|
Refactor server_keys service/interface and related callsites
Signed-off-by: Jason Volk <jason@zemos.net>
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
d82ea331cf
|
add random shuffle util
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
1a09eb0f02
|
use string::EMPTY; minor formatting and misc cleanups
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
89b5c4ee1c
|
add timepoint_from_now to complement timepoint_ago in utils
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
2ed0c267eb
|
Refactor for structured insertions
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
8258d16a94
|
re-scheme naming of stream iterator overloads
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
19880ce12b
|
add IgnoreAll directive to deserializer
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
d3d11356ee
|
add serialized insert interface
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
2f24d7117a
|
further develop serializer for insertions
add JSON delegator to db serializer
consolidate writes through memfun; simplifications
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
fc4d109f35
|
add document comments to config items
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
f67cfcd535
|
cleanup Config::load()
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
2a59a56eaa
|
initial example-config generator
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
c40d20cb95
|
add macro util to determine if cargo build or check/clippy.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
43b0bb6a5e
|
add non-allocating fixed-size random string generator
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
a5e85727b5
|
add tuple access functor-macro
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
16f82b02a0
|
add util to restore state on scope exit
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
c9c405facf
|
relax Sized bound for debug::type_name
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
8ea2dccc9a
|
sort rustfmt
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:29 -04:00 |
Jason Volk
|
e482c0646f
|
Add constructions and Default for PduBuilder
simplify various RoomMemberEventContent constructions
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
f503ed918c
|
misc cleanup
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
57e0a5f65d
|
additional database stream deserializations for serde_json::from_ elim
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
d526db681f
|
refactor various patterns for serde_json::from_ elim
bump ruma
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
55c85f6851
|
refactor to pdu.get_content() for serde_json::from_ elim
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
f7af6966b7
|
refactor to room_state_get_content() for serde_json::from_ elim
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
68315ac112
|
Add state_get_content(shortid) for serde_json::from elim
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
da34b43302
|
abstract account-data deserializations for serde_json::from_elim
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
48a767d52c
|
abstract common patterns as core pdu memberfns
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
2b2055fe8a
|
parallelize calculate_invite_state
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
685eadb171
|
add is_not_found as Error member function; tweak interface; add doc comments
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
dd9f53080a
|
add unwrap_or to TryFutureExtExt
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
4485f36e34
|
add mactors for true/false
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
a2e5c3d5d3
|
add FlatOk trait to Result/Option suite
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
08a2fecc0e
|
catch panics at base functions to integrate with other fatal errors.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
89a3c80700
|
split admin-room branch from build_and_append_pdu (fixes large stack warning)
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
56dd0f5139
|
use loop condition to account for loole channel close
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
Jason Volk
|
814b9e28b6
|
fix unnecessary re-serializations
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-26 18:50:28 -04:00 |
strawberry
|
8eec78e9e0
|
mark the server user bot as online/offline on shutdown/startup
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-10-25 00:38:45 -04:00 |
morguldir
|
9eace1fbbb
|
fix sliding sync room type filter regression
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-10-25 00:38:45 -04:00 |
Jason Volk
|
ba683cf534
|
fix aliasid_alias key deserialization
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-25 00:38:45 -04:00 |
Jason Volk
|
bd9a9cc5f8
|
fix trait-solver issue requiring recursion_limit increase
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-25 00:38:45 -04:00 |
Jason Volk
|
2d049dacc3
|
fix get_all_media_keys deserialization
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-25 00:38:45 -04:00 |