dasha_uwu
9c4d376bec
pass args by ref
2025-09-23 05:16:29 +00:00
Jason Volk
bf8aa57d03
Add config option for dns passthru for appservices. ( #158 )
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-09-10 01:17:40 +00:00
Jason Volk
a9f1926654
Use dns_resolver2 per reqwest client builder deprecation notice.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-09-10 00:59:50 +00:00
dasha_uwu
b5890b9664
Services refactor
...
Replace structs of Dep<Service> with OnceServices, so each service has a Services reference
Remove service name => Service map
Flatten Services.rooms
Make reqwest Clients lazy initialized (client service)
2025-08-28 23:15:59 +05:00
Jason Volk
5bcf3550ab
attr_fn_like_width to 60
...
note the default is documented as 70 but this was not being honored by rustfmt
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-24 02:00:00 +00:00
Jason Volk
9b658d86b2
Rename crates.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-22 04:37:49 +00:00
Jason Volk
5d1404e9df
fix well-known using the hooked resolver
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-03 19:38:51 +00:00
June Clementine Strawberry
0e2ca7d719
implement disable TLS validation config option
...
Signed-off-by: June Clementine Strawberry <june@3.dog >
2025-03-09 21:55:07 -04:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay >
2025-02-23 01:17:45 -05:00
strawberry
77e0b76408
apply new rustfmt.toml changes, fix some clippy lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-15 01:00:41 -05:00
strawberry
0317cc8cc5
rename conduit to conduwuit finally
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-14 22:24:45 -05:00
Jason Volk
f0a1aaf7bc
extend x-platform support for binding URL previews to interfaces via address
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-12-08 07:12:23 +00:00
Jade Ellis
52cee65748
add support for binding to a specific interface for url previews
...
This is helpful to, for example, bind to an interface that can
only access the public internet. The resulting setup is less
maintenance-heavy / error-prone than manually maintaining a deny/
allowlist to protect internal resources.
Signed-off-by: Jade Ellis <jade@ellis.link >
2024-12-07 23:27:56 +00:00
Jason Volk
c01b049910
move cidr_range_denylist from globals to client service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-12-04 00:51:57 +00: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
strawberry
119cc2eec0
fix typo with reqwest builder for disabling zstd
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-08-30 12:57:50 -04:00
Jason Volk
ea2343850f
add remote fetch suite for authenticated media
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-08-30 08:24:52 +00:00
Jason Volk
e4bcbb8088
propagate errors from reqwest client constructions
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-08-29 19:19:20 +00:00
strawberry
edd42974e5
bump cargo.lock and deps, add zstd compression to reqwest client
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-08-29 19:19:20 +00:00
Jason Volk
010e4ee35a
de-global services for services
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 08:26:42 +00:00
Jason Volk
a88f913a17
enrich interface for inter-service referencing
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 08:26:42 +00:00
Jason Volk
3ccd9ea326
consolidate all resolution in resolver; split units
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 08:26:41 +00:00
Jason Volk
8a2ae401df
convert Client into Service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 07:54:05 +00:00