3x-ui/web/html/modals
MHSanaei 79a7e7a5b5
fix(vless): scope testseed to xtls-rprx-vision flow
testseed is only meaningful for the exact xtls-rprx-vision flow, but the
panel was emitting it for any non-empty flow (including the UDP variant)
and keeping it on the inbound after the flow was cleared via the client
modal. Tighten the gate end-to-end:

- VLESSSettings.toJson (inbound + outbound) now only emits testseed when
  the flow is exactly xtls-rprx-vision and the array is 4 positive ints;
  default state is empty so unmodified inbounds omit the field entirely.
- canEnableVisionSeed drops the udp443 variant per spec.
- Form adds a tooltip + theme-aware help text and an inline error when
  the user partially fills the four inputs; submit is blocked in that
  state. Reset clears to empty (= use server defaults).
- UpdateInboundClient strips a now-orphaned testseed when the spliced
  client no longer leaves any XRV flow in the inbound.
- MigrationRequirements cleans up legacy rows where testseed lingered
  after flow changes or was saved for non-XRV flows by older versions.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-07 14:44:33 +02:00
..
client_bulk_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
client_modal.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
dns_presets_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
inbound_info_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
inbound_modal.html fix(vless): scope testseed to xtls-rprx-vision flow 2026-05-07 14:44:33 +02:00
nord_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
prompt_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
qrcode_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
text_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
two_factor_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
warp_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
xray_balancer_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
xray_dns_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
xray_fakedns_modal.html TLS: Remove ECH Force Query 2026-05-04 13:20:24 +02:00
xray_outbound_modal.html fix(security): sanitize remote IP headers and escape log viewer output 2026-05-04 16:39:29 +02:00
xray_rule_modal.html fix: get client reverse tag in the outbound 2026-05-06 00:50:40 +02:00