Jason Volk
|
525379f8ac
|
enable caching in hickory_dns w/ configurables.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-26 22:24:24 -04:00 |
|
Jason Volk
|
21874f8ab7
|
eliminate gai resolver.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-26 22:24:24 -04:00 |
|
Jason Volk
|
f5da75e476
|
split structs from service/globals/mod.rs into separate units
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
24faf4dd26
|
revert 0297cfe307
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
3f9825788e
|
check URL preview requests against ip_range_denylist
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
4be37fbe8d
|
only remove event_id field in room v1 and v2
no this doesnt make those rooms work,
just a why not thing
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
0863bec098
|
allow non-joined users to get aliases of world_readable rooms
`user_can_see_state_events` checks if user is joined,
or if room visibility is world_readable
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
380b61184d
|
reduce high presence timeouts
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
32ab88e68a
|
check the URL and response remote address for ip_range_denylist
the previous only checked the server_name
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
fbefbd57be
|
implement include_state search criteria
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
c2e89b939c
|
add element web search count hack (?)
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
f4146de17d
|
add feature for smElement client hacks
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
Jason Volk
|
d3c9f5595a
|
split admin commands into modules.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-26 22:24:24 -04:00 |
|
Jason Volk
|
6b1933914d
|
add file listing to database abstraction.
Signed-off-by: Jason Volk <jason@zemos.net>
|
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
|
a7e6fe8b60
|
fix infinite loop lint
this is actually better to do CPU-wise anyways
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
|
101cb34f9a
|
make rocksdb_recovery_mode a u8, document it
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
Jason Volk
|
331c0b37cd
|
add conf item for alternate rocksdb recovery modes.
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
a57f4db207
|
bump default_sender_timeout from 75 seconds to 180
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
27d6ce3cc5
|
log path parameters when try http request fails
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
6e0d6c78fb
|
use BTreeMap again
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
27d83a51f2
|
remove unnecessary match arm for space invite join_rule
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
7fbbdf83ab
|
forgot to fix these ones too
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -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
|
0bb5115bd1
|
resolve clippy match_bool
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
|
0384b48b4a
|
add main.rs test for unix maximize_fd_limit
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
Charles Hall
|
74c34e885e
|
allow including extra info in --version output
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
9f7431c08f
|
remove rocksdb prefix extractor
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
Timo Kösters
|
710a6b5c6f
|
refactor: remove previous typing implementation and add sync wakeup for new one
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
Matthias Ahouansou
|
60f2471f59
|
refactor appservice type stuff
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
7c9c5b1d78
|
log room for backfill_if_required requests
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
37c040dc77
|
fix incorrect v1 URL path for URL previews
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
90b8ac0c64
|
follow 3 redirects for federation requests instead of 2
just in case
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
33dfa64963
|
follow 3 redirects for URL previews instead of 6
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
Jason Volk
|
9334f938ae
|
refactor reqwest client suite w/ conf items.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-23 01:49:27 -04:00 |
|
Jason Volk
|
61b1d6d869
|
add corks to coalesce writes for several heavy calltrees.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-23 01:49:27 -04:00 |
|
Jason Volk
|
3f60365cc6
|
add write buffer corking using rocksdb manual_wal_flush.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
66a36a5576
|
significantly drop URL preview timeouts
theres no reason for us to spend so long trying to get
a preview
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
2470fa91d8
|
raise connection pooling idle timeout to 50 seconds
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
1e07f417ba
|
raise get_keys_helper timeout even more
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
55708949cc
|
slight request logging improvements
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
5ed55da0dd
|
auto join rooms from admin room created users too
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
f06f30ca2a
|
fix wrong error message about presence
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
9715b07b38
|
skip rooms we have not joined before for auto-join
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
dda3b0e7e2
|
default to None if "name" in m.room.name is empty
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
3e902836cc
|
simplify heroes get_avatar
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
7066b7b428
|
feat: automatically join rooms on registration
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
2ca357e44c
|
use unwrap_or_default if timestamp conversion fails
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|