Jason Volk
|
59c4062305
|
set trivial/leaf spans to debug level
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-07-08 22:02:09 +00:00 |
|
Jason Volk
|
7397064edd
|
fix arithmetic side-effects
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-07-08 22:02:09 +00:00 |
|
Jason Volk
|
52a561ff9e
|
abstract expoential backoff to math utils.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-07-08 22:02:09 +00:00 |
|
Jason Volk
|
eeda96d94a
|
inline analysis and symbol reduction; emits smaller than 64 bytes marked inline
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-07-04 21:06:35 +00:00 |
|
Jason Volk
|
e125af620e
|
impl crate::Service for Service
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-07-04 21:06:35 +00:00 |
|
Jason Volk
|
ee64fb149c
|
optimize get w/ zero-copy ref handle
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-07-03 06:34:16 +00:00 |
|
strawberry
|
6c461025e5
|
use proper redacts field
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-07-01 00:14:16 -04:00 |
|
Jason Volk
|
cb48e25783
|
refactor dyn KvTree out of services
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-06-30 18:02:16 +00:00 |
|
Jason Volk
|
7ad7badd60
|
devirtualize service Data traits
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-06-30 18:01:20 +00:00 |
|
strawberry
|
5f46623371
|
redaction fixes
|
2024-06-22 21:22:56 +00:00 |
|
Jason Volk
|
08bf074cbb
|
reduce roomid_mutex_state
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-06-14 22:09:55 +00:00 |
|
Jason Volk
|
a8de5d1e60
|
Fix futures not Send
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-06-09 20:06:50 +00:00 |
|
strawberry
|
a061644b2d
|
service(event_handler): use self instead of services()
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-06-07 15:10:00 -04:00 |
|
strawberry
|
9f359e0550
|
make resolve_state public to resolve new forced compressed room state
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-06-02 23:53:31 -04:00 |
|
strawberry
|
1ac72ab914
|
init a few state hashmaps using with_capacity
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-06-02 23:53:31 -04:00 |
|
Jason Volk
|
102bd1b4a6
|
use debug_warn for parse_incoming_pdu err results.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-06-02 23:01:12 +00:00 |
|
Jason Volk
|
0f3d43153b
|
Fix unused-self
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-06-02 12:34:05 -04:00 |
|
strawberry
|
68fffe8e96
|
check room ACLs on sender user's server for incoming PDUs
`handle_incoming_pdu`
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-27 18:16:23 -04:00 |
|
strawberry
|
6269822613
|
actually fix all let_underscore_must_use lints
CI caught some more
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-25 22:28:43 -04:00 |
|
strawberry
|
5215fbe695
|
drop redaction calculated hash log to debug_info
this is normal redactions. no valid reason this needs to be
warn as it just causes confusion.
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-25 22:28:43 -04:00 |
|
strawberry
|
e098448b9d
|
init a few vecs in event_handler using with_capacity
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-25 22:28:43 -04:00 |
|
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 |
|
Jason Volk
|
67f9553790
|
backoff to valhalla
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-26 02:03:40 -04:00 |
|
Jason Volk
|
a124122dd4
|
daily logging improvements
Signed-off-by: Jason Volk <jason@zemos.net>
|
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 |
|
strawberry
|
6394b1812c
|
use 403 for auth check fails everywhere else
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
|
6131465d23
|
don't use bad_database (HTTP 500) for auth check failures
this is not database-related, and may trigger exponential backoff
against us from other servers
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-17 14:51:08 -04:00 |
|
Jason Volk
|
cdb2dff7dd
|
federation incoming logging/tracing related
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
Jason Volk
|
ad4e214d28
|
polylogarithmic debodge
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
Jason Volk
|
e493b3a60d
|
split prev_event loop body; fetch state; dedup room version procurement.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
Jason Volk
|
424e13cec2
|
split signing_keys from event_handler/mod.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
Jason Volk
|
dba0575e75
|
some optimizations to get_auth_chain()
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
Jason Volk
|
5f11d68616
|
tracing instruments for ruma state res
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-09 15:26:45 -04:00 |
|
strawberry
|
ddcf43f1b8
|
replace ErrorKind::Forbidden with forbidden() non-exhaustive constructor
917584e0ca
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-05 22:15:16 -04:00 |
|
strawberry
|
667db8e8a3
|
output error if sending to trusted key server failed
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-03 12:52:46 -04:00 |
|
strawberry
|
51afde9e98
|
admin cmd to send a request/ping to /_matrix/federation/v1/version
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-02 00:32:41 -04:00 |
|
strawberry
|
48d1a3af3c
|
resolve the last few relevant pedantic clippy lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-30 22:06:18 -04:00 |
|
Jason Volk
|
cb12f285e9
|
improve incoming http request and other logging
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
868976a149
|
use chain_width 60
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
7bd56765ef
|
fix some more pedantic clippy lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
8dad4461b4
|
log if our trusted key server is broken for batch requests
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
3bc2af7d26
|
resolve and add even more pedantic clippy lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
9d0b647911
|
resolve couple pedantic clippy lints, remove unnecessary qualifications
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
7c1624931d
|
remove various unnecessary qualifications
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-08 12:51:21 -05:00 |
|
strawberry
|
99fdf699ae
|
finish query_trusted_key_servers_first option
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-08 12:51:21 -05:00 |
|
strawberry
|
da34b7f90f
|
fix unused_must_use lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-08 12:51:21 -05:00 |
|
Matthias Ahouansou
|
4ec2d3ecb5
|
refactor: use async-aware RwLocks and Mutexes where possible
squashed from https://gitlab.com/famedly/conduit/-/merge_requests/595
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-08 12:51:21 -05:00 |
|
strawberry
|
f419c64aca
|
add rustfmt.toml, format entire codebase
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-08 12:51:21 -05:00 |
|