3x-ui/frontend/src
MHSanaei df777c12d3
fix(outbounds): preserve TLS/Reality security on save
OutboundFormModal.onOk built the save payload from form.validateFields(),
which only returns REGISTERED Form.Item values. The security selector is a
Radio.Group that writes streamSettings.security via setFieldValue with no
bound Form.Item, so validateFields() dropped it — network, tlsSettings and
realitySettings (all registered) survived, but the security discriminator
vanished and xray-core fell back to security="none". This hit both new
outbounds and re-saved ones.

Read the full form store with getFieldsValue(true) for the payload (still
validating first), matching how the inbound modal already does it.

Closes #4634
2026-05-29 01:58:36 +02:00
..
api fix(groups): fetch full client list for Add/Remove/SubLinks modals 2026-05-28 20:25:37 +02:00
components i18n(panel): translate Copy/Cancel buttons, Stream/Sniffing tabs, and All-Inbounds filenames 2026-05-28 18:45:59 +02:00
entries Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
generated feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
hooks refactor(clients): coherent group management — rename, split, extract 2026-05-28 12:59:20 +02:00
i18n Frontend rewrite: React + TypeScript with AntD v6 (#4498) 2026-05-23 15:21:45 +02:00
layouts feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
lib/xray feat(tls): surface pinnedPeerCertSha256 in panel, share links, and subs 2026-05-28 19:32:10 +02:00
models feat(settings): panel network proxy for the panel's own outbound requests 2026-05-28 00:45:32 +02:00
pages fix(outbounds): preserve TLS/Reality security on save 2026-05-29 01:58:36 +02:00
schemas feat(fallbacks): add per-rule dest override 2026-05-28 21:17:49 +02:00
styles fix(ui): polish across routing, groups, inbounds, mobile sidebar 2026-05-28 13:25:43 +02:00
test feat(tls): surface pinnedPeerCertSha256 in panel, share links, and subs 2026-05-28 19:32:10 +02:00
utils feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
env.d.ts feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
main.tsx Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
queryClient.ts feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
routes.tsx feat(clients,groups): client groups + sub-links export + dedicated groups page 2026-05-27 17:30:55 +02:00