3x-ui/frontend/src
MHSanaei ce8b1bed77
feat(iplimit): gate IP limit on fail2ban and reset stale limits
Per-client IP limit only enforces where fail2ban is installed, so the panel now reports enforceability and disables the field otherwise:

- Add GET /panel/api/server/fail2banStatus (enabled/installed/usable/windows), cached 30s.
- ClientFormModal and ClientBulkAddModal disable the IP Limit input when not usable and show a hover tooltip; Windows gets a platform-specific message instead of the bash-menu hint.
- One-time migration ResetIpLimitNoFail2ban zeroes existing client limitIp (inbound settings JSON + clients table) on hosts without fail2ban, where the limit never applied.
- Drop the recurring '[LimitIP] Fail2Ban is not installed' warning.
- Add limitIpFail2banMissing/limitIpFail2banWindows/limitIpDisabled across all 13 locales.
2026-06-22 23:15:58 +02:00
..
api feat(iplimit): gate IP limit on fail2ban and reset stale limits 2026-06-22 23:15:58 +02:00
components feat(memory): add memory threshold alerts (#5366) 2026-06-21 17:45:33 +02:00
entries Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
generated fix(nodes): cloned-node attribution, node-hosted client display (online/speed/counts), and sync robustness (#5488) 2026-06-22 20:20:55 +02:00
hooks feat(sidebar): move Routing/Outbounds to top-level items with clean URLs 2026-06-22 22:20:26 +02:00
i18n refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
layouts feat(sidebar): move Routing/Outbounds to top-level items with clean URLs 2026-06-22 22:20:26 +02:00
lib fix(tls): default OCSP stapling to off for new inbound certs 2026-06-21 19:15:57 +02:00
models feat(memory): add memory threshold alerts (#5366) 2026-06-21 17:45:33 +02:00
pages feat(iplimit): gate IP limit on fail2ban and reset stale limits 2026-06-22 23:15:58 +02:00
schemas fix(nodes): cloned-node attribution, node-hosted client display (online/speed/counts), and sync robustness (#5488) 2026-06-22 20:20:55 +02:00
styles feat(hosts): managed Hosts for per-host subscription link overrides (#5409) 2026-06-17 12:06:55 +02:00
test fix: resolve a batch of open bug-tagged issues (traffic accounting, share strategy, sub address, CPU) (#5477) 2026-06-22 00:22:28 +02:00
utils fix(frontend): guard IntlUtil.formatDate against out-of-range timestamps (#5468) 2026-06-21 17:26:47 +02:00
env.d.ts feat(postgres): in-panel backup/restore and consistent CLI backend 2026-05-31 17:53:34 +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(sidebar): move Routing/Outbounds to top-level items with clean URLs 2026-06-22 22:20:26 +02:00