3x-ui/frontend/src/test/__snapshots__
MHSanaei db5ce06256
fix(panel-proxy): route custom geo and http(s) Telegram through panelProxy
Custom geosite/geoip downloads built their own ssrfSafeTransport and never used the configured Panel Network Proxy, so geo updates failed on servers where GitHub is filtered. Route all custom-geo HTTP (startup probes + downloads) through panelProxy when set, falling back to the direct SSRF-guarded transport otherwise; the target URL stays SSRF-validated.

The Telegram bot only honored a socks5:// panel proxy and silently rejected http(s)://, despite the setting advertising both. Branch the fasthttp dialer (FasthttpHTTPDialer for http(s), FasthttpSocksDialer for socks5) and accept all three schemes in the fallback and NewBot validation.

Add tests proving the panel proxy is used by custom geo and that the bot dialer speaks HTTP CONNECT vs SOCKS5 per scheme.
2026-06-03 14:57:49 +02:00
..
balancer.test.ts.snap feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
dns.test.ts.snap feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
finalmask.test.ts.snap feat(finalmask): sync transport with upstream Xray core changes 2026-06-01 10:12:51 +02:00
headers.test.ts.snap feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
inbound-defaults.test.ts.snap fix(panel-proxy): route custom geo and http(s) Telegram through panelProxy 2026-06-03 14:57:49 +02:00
inbound-form-blocks.test.tsx.snap refactor(frontend): reorganize source tree & break down oversized modals/tabs (#4698) 2026-05-30 21:51:33 +02:00
inbound-form-modal.test.tsx.snap refactor(frontend): reorganize source tree & break down oversized modals/tabs (#4698) 2026-05-30 21:51:33 +02:00
inbound-full.test.ts.snap feat(tls): surface pinnedPeerCertSha256 in panel, share links, and subs 2026-05-28 19:32:10 +02:00
inbound-link.test.ts.snap feat(tls): surface pinnedPeerCertSha256 in panel, share links, and subs 2026-05-28 19:32:10 +02:00
outbound-form-modal.test.tsx.snap refactor(frontend): reorganize source tree & break down oversized modals/tabs (#4698) 2026-05-30 21:51:33 +02:00
protocol-capabilities.test.ts.snap feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
protocols.test.ts.snap feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
rule.test.ts.snap feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
security.test.ts.snap feat(tls): surface pinnedPeerCertSha256 in panel, share links, and subs 2026-05-28 19:32:10 +02:00
sockopt.test.ts.snap fix(sockopt): rename interfaceName to interface so xray honors it 2026-06-01 18:21:37 +02:00
stream.test.ts.snap Client/inbound resilience + Postgres pool tuning + schema fixes (#4607) 2026-05-27 22:51:37 +02:00