Shane Jaroch
526d862296
fix: more aggressive user agent for URL preview
...
adding "facebookexternalhit" alongside "embedbot" fixes many errors, such as YouTube Music's:
"Your browser is deprecated. Please upgrade."
add admin command to clear URL stuck and broken data (per URL currently)
add command to clear all saved URL previews.
sync resolver docs.
2026-02-23 15:24:14 +00:00
Trash Panda
be8f62396a
feat(core): Change default user agent
2026-02-15 15:21:06 +00:00
Trash Panda
40996a6602
feat(core): Add config option for the url preview user agent
2026-02-15 15:21:05 +00:00
Jade Ellis
74db426c6b
fix: Correct federation timeouts
2026-01-09 19:51:29 +00:00
Jade Ellis
d3ee9c407a
fix: Apply timeouts in more places
2026-01-09 19:42:13 +00:00
rooot
9051ce63f7
feat(config): introduce federation connection timeout setting
...
fixes #906
Signed-off-by: rooot <hey@rooot.gay>
2025-07-20 16:24:26 +01: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