Jason Volk
|
6c1434c165
|
Hot-Reloading Refactor
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-05-21 20:22:17 -04:00 |
|
strawberry
|
b5c0c30a5e
|
resolve half of the integer_arithmetic lints, couple misc changes
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-06 03:45:10 -04:00 |
|
strawberry
|
fa0bdd431b
|
add destination to X-Matrix Authorization outbound requests
we were already validating this for inbound requests
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-03 01:52:29 -04:00 |
|
strawberry
|
76c5942b4f
|
use user_is_local and server_is_ours more, remove few double filters
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-03 01:52:29 -04:00 |
|
strawberry
|
9931e60050
|
use single global function for server name local and user local checking
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-03 01:52:29 -04:00 |
|
strawberry
|
bf713cd0ba
|
lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-03 01:52:29 -04:00 |
|
strawberry
|
450f15df4f
|
admin debug command to fetch a server's true destination
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-03 01:52:29 -04:00 |
|
Jason Volk
|
37ecb4f2b9
|
decrease log verbosity for potentially cached NoRecordsFound
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-05-03 01:52:29 -04:00 |
|
Jason Volk
|
255bcf5243
|
split sending from mod interface.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
0b33eec1c2
|
remove max_concurrent_requests sender hazard
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
00ce43d739
|
remove redundant timers
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
49e453fe07
|
cleanup/refactor sender base loop
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
d19573c7b5
|
Revert "Revert "prevent empty transactions from going out""
This reverts commit bb43351658 .
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
bd73103713
|
adjust appservice sending logging
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
eb5dcf08c6
|
remove unnecessary appservice reqwest timeout, reduce couple unwraps, return if unsuccessful HTTP response
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
ee07e3e975
|
missing semicolon
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
15a990dc25
|
improve various logging
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
57e6af6e21
|
split sending/send base functions
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
f919fa879b
|
abbrev destination in sender
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
17d0c869b0
|
remove some various unused functions and mark some possibly important ones *for now*
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
66bb88a03a
|
make everything pub(crate) instead of pub
conduwuit is not a library
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
472c32f453
|
conduit "library" delete, resolve some warnings from that
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
5e8ae971f1
|
flip min_duration and max_duration
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
1595037427
|
cleanup scoped types; improve error logging
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
938d1f6e77
|
add conf item for sender retry backoff limit
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
f273e8feb5
|
resolver defaults to error for everything except NoRecordsFound.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
d90ac11603
|
remove mentions of "outgoing_kind" everywhere else too
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
e26cd5e296
|
rename OutgoingKind to Destination, add QueuedRequests and ActiveRequestsFor admin query commands
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
22bebb9b74
|
various logging improvements.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
423fc6dad0
|
precompute cidr range denylist; move validator.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
eb9a6fe426
|
refactor sending send/resolver/well-known error propagation
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
68aa368450
|
cleanup/split/dedup sending/send callstack
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
9b7dab3a57
|
add sending.rs to admin db query command
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
bd25709446
|
Revert "dont use loole for sending channel code"
This reverts commit d0a9666a29 .
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
d0a9666a29
|
dont use loole for sending channel code
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-17 14:51:08 -04:00 |
|
strawberry
|
bb43351658
|
Revert "prevent empty transactions from going out"
This reverts commit cc7cd51e9c .
|
2024-04-17 14:51:08 -04:00 |
|
Jason Volk
|
541fa2d2f7
|
tweak various log levels and messages
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-17 14:51:08 -04:00 |
|
Jason Volk
|
33cc3d56c1
|
lazy-construct presence; avoids useless db queries in sender and syncer.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-17 14:51:08 -04:00 |
|
Jason Volk
|
cc7cd51e9c
|
prevent empty transactions from going out
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-15 07:30:39 -04:00 |
|
Jason Volk
|
97fc6c158f
|
add edu select limit and condition for presence.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
Jason Volk
|
6c9e95f7c9
|
add config option for allow_outgoing_read_receipts
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
strawberry
|
0d21d70d4a
|
remove two unnecessary matches
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-14 22:35:23 -04:00 |
|
strawberry
|
3438b340a9
|
remove comments, log channel errors
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-09 15:26:45 -04:00 |
|
raizo
|
579d3ce865
|
replace tokio channels with loole (#256)
* rewrite admin handler to use loole channels
* apply correct formatting
* move all other services to loole channels
* fix ci
|
2024-04-09 15:26:45 -04:00 |
|
Jason Volk
|
7f6c19f066
|
fix using same federation reqwest pool after sender deduplication.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-05 22:15:16 -04:00 |
|
Jason Volk
|
ca1c77d76b
|
refactor presence to not involve rooms.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-05 22:15:16 -04:00 |
|
strawberry
|
bd69d9b565
|
move invalid 200 response log to info
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-03 12:52:46 -04:00 |
|
strawberry
|
a20b071a8a
|
add manual_let_else lint
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-02 00:32:41 -04:00 |
|
Matthias Ahouansou
|
c31fb7134a
|
fix: do not expect that all http requests are valid reqwest requests
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-02 00:32:41 -04:00 |
|
Jason Volk
|
93a43a0eda
|
add conf item for exact amount of startup netburst.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-02 00:32:41 -04:00 |
|