strawberry
|
3cb5850d1e
|
bump deps, nix flake lockfile, cleanup some things, bump rust, provide macOS binaries, fix more build issues and macOS building
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-10-23 17:46:09 -04:00 |
|
strawberry
|
8f4f95e2b4
|
fix search result amount/count being incorrect
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-10-23 17:35:08 -04:00 |
|
Jason Volk
|
e2c58e6824
|
add config generator controls via attribute metadatas
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 23:51:42 +00:00 |
|
Jason Volk
|
45921e5d0c
|
add default-directives to config document comments
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 10:39:28 +00:00 |
|
Jason Volk
|
c1626e73a2
|
complete the example-config generator macro
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 10:39:28 +00:00 |
|
Jason Volk
|
c93f6baa33
|
add some interruption points in recursive event handling to prevent shutdown hangs
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 07:27:00 +00:00 |
|
Jason Volk
|
3bb581c57c
|
reduce unnecessary clone in pdu handler
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 07:27:00 +00:00 |
|
Jason Volk
|
576dd5c8ee
|
optimize for pdu_exists; remove a yield thing
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 07:27:00 +00:00 |
|
Jason Volk
|
231124e275
|
optimize config denylists
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 07:27:00 +00:00 |
|
Jason Volk
|
0d33959c2e
|
aggregate receipts into single edu; dedup presence; refactor selection limits etc
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 07:27:00 +00:00 |
|
Jason Volk
|
a65764f752
|
split keys_changed for stronger-type overloads
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 05:46:47 +00:00 |
|
Jason Volk
|
90ff1fa1c7
|
further optimize presence_since iteration
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 05:46:47 +00:00 |
|
Jason Volk
|
2cd72f2f89
|
add some additional database::de test cases
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 05:46:47 +00:00 |
|
Jason Volk
|
c57727982a
|
de-wrapper max_fetch_prev_event; increase default config
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-22 00:09:55 +00:00 |
|
Jason Volk
|
9c1a7e36c8
|
add ready_try_for_each to TryReadyExt extension utils
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 23:54:54 +00:00 |
|
Jason Volk
|
b16f4b40f2
|
add (back) query_trusted_key_servers_first w/ additional configuration detail
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
f33d5df092
|
event_handler/timeline service cleanups
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
e1e8ab8a62
|
add is_ok to futures TryExtExt utils
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
eb937c70a6
|
additional sync cleanup
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
d487e7cb1b
|
split client/sync
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
d7ca59f9ff
|
merge rooms state_compressor service and data
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
f309a48dd8
|
slightly cleanup appservice_in_room
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
e52815ab07
|
merge remaining rooms state_cache data and service
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
fa98a00e1e
|
merge rooms user service and data
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
bb33d63e83
|
merge rooms state service and data
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
f763a13f0f
|
add resolve_with_servers() to alias service; simplify api
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
37b9b361ba
|
add federation client for select high-timeout requests
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
f82eba1861
|
Refactor server_keys service/interface and related callsites
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
bcbda1815f
|
add random shuffle util
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
257a4548fd
|
use string::EMPTY; minor formatting and misc cleanups
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
41cafbe867
|
add timepoint_from_now to complement timepoint_ago in utils
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
b76fac3abc
|
Refactor for structured insertions
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
d4e538ab14
|
re-scheme naming of stream iterator overloads
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
e5badf6a0f
|
add IgnoreAll directive to deserializer
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
997c6d8695
|
add serialized insert interface
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
95731f1f4d
|
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-21 22:09:22 +00:00 |
|
Jason Volk
|
27741d2212
|
add document comments to config items
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
dbc4d19a59
|
cleanup Config::load()
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
ba253738dc
|
initial example-config generator
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
370db5ccea
|
add macro util to determine if cargo build or check/clippy.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
930755d44a
|
add non-allocating fixed-size random string generator
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
a3ba31144a
|
add tuple access functor-macro
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
429031b0bb
|
add util to restore state on scope exit
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
80b94675f7
|
relax Sized bound for debug::type_name
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
ac8c55eb63
|
sort rustfmt
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
a847c56a46
|
Add constructions and Default for PduBuilder
simplify various RoomMemberEventContent constructions
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
eaf7282e5a
|
misc cleanup
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
e9e378a6ba
|
additional database stream deserializations for serde_json::from_ elim
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
187b9ca80c
|
refactor various patterns for serde_json::from_ elim
bump ruma
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|
Jason Volk
|
fb7c82f4e5
|
refactor to pdu.get_content() for serde_json::from_ elim
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-10-21 22:09:22 +00:00 |
|