3x-ui/util
Rouzbeh† fe62c39a53
fix: inbound edit validation failure and legacy copy to clipboard (#5132)
* fix: auto-enable clients when resetting traffic

When a client's traffic is exhausted, the panel automatically disables the client and pushes enable: false to the nodes. However, when an admin clicked 'Reset Traffic' or used bulk reset, the counters were zeroed but the client was left disabled. This forced administrators to manually re-enable the client across the central panel and remote nodes.

This patch updates ResetTrafficByEmail and BulkResetTraffic to automatically set Enable: true for any previously disabled client and push the updated settings to nodes, ensuring the client is instantly restored upon traffic reset.

* fix: inbound edit validation failure and legacy copy to clipboard
2026-06-09 15:55:55 +02:00
..
common Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00
crypto fix(api-token): hash tokens at rest and show plaintext only once 2026-06-03 22:57:50 +02:00
json_util Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00
ldap Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00
link fix: inbound edit validation failure and legacy copy to clipboard (#5132) 2026-06-09 15:55:55 +02:00
netproxy feat(settings): panel network proxy for the panel's own outbound requests 2026-05-28 00:45:32 +02:00
netsafe Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00
random fix(clients): backfill missing subId on startup and guard create/update 2026-05-28 18:20:34 +02:00
reflect_util Refactor code and fix linter warnings (#3627) 2026-01-05 05:54:56 +01:00
sys Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00
wireguard.go feat: add manual and automatic WARP IP rotation (#5099) 2026-06-09 01:43:43 +02:00