3x-ui/web/assets
MHSanaei 6099a07ff0
feat: add configurable auto-restart on client auto-disable
Add a configurable option to restart Xray when clients are auto-disabled and persist disable actions.

Changes include:
- New setting restartXrayOnClientDisable (default true), getters/setters in SettingService, UI toggle in general settings, and translations for multiple locales.
- AddTraffic signature updated to return a third bool (clientsDisabled). disableInvalidClients now calls Xray API to remove users, marks client_traffics.enable=false, updates inbound.Settings JSON so clients appear disabled in stored settings, and returns appropriate counts/errors.
- XrayTrafficJob now checks the clientsDisabled flag and restarts Xray when the setting is enabled (with fallback to mark Xray as needing restart on failure).
- XrayService.GetXrayConfig call adjusted to ignore AddTraffic returns.
- Subscription generation (subService/subJson/subClash) no longer filters clients by their enable flag when matching subId.
- Minor fixes: check_client_ip_job now checks scanner.Err and improved API error handling/logging.

These changes ensure auto-disabled clients are propagated to Xray and the stored inbound settings, and provide an option to restart Xray automatically after auto-disable events.
2026-05-04 23:19:25 +02:00
..
ant-design-vue DevTools 2025-10-02 01:47:12 +02:00
axios DevTools 2025-10-02 01:47:12 +02:00
codemirror [CodeFactor] Apply fixes (#2595) 2024-11-12 01:28:00 +03:30
css Add custom geosite/geoip URL sources (#3980) 2026-04-19 21:24:24 +02:00
js feat: add configurable auto-restart on client auto-disable 2026-05-04 23:19:25 +02:00
moment DevTools 2025-10-02 01:47:12 +02:00
otpauth DevTools 2025-10-02 01:47:12 +02:00
persian-datepicker css , jalali minify 2024-04-17 16:02:03 +03:30
qrcode QRious2 (#2156) 2024-04-01 10:38:22 +03:30
qs 3x-ui 2023-02-09 22:48:06 +03:30
uri URI.js v1.19.11 2024-04-17 16:07:07 +03:30
vue remove unnecessary vue files 2025-08-12 12:56:49 +02:00
Vazirmatn-UI-NL-Regular.woff2 Change font to Vazirmatn #1286 2023-12-04 19:01:09 +01:00