3x-ui/internal
MHSanaei 1153d5db8c fix(groups): keep group traffic totals stable across client resets and deletes
ListGroups displays live_sum(client_traffics) minus the group's stored
reset baseline, but only ResetGroupTraffic ever moved the baseline. Any
client-level operation that zeroed or deleted traffic rows (single/bulk
reset, client delete, removing a client's last inbound) shrank the live
sum and silently subtracted that client's history from the group total.

Shift the baseline down by the removed counters inside the same
transaction, so group totals only change through group reset. Derived
groups without a stored row get one with a negative baseline, which the
existing clamp handles.

Closes #5675
2026-07-02 09:17:47 +02:00
..
config 3.4.2 2026-06-29 20:28:08 +02:00
database fix(database): stop noisy per-startup errors in the Postgres server log 2026-07-01 23:07:05 +02:00
eventbus style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
logger style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
mtproto style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
sub fix(sub): use configured spiderX instead of always randomizing 2026-07-01 23:07:05 +02:00
tunnelmonitor style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
util feat: ldap skip tls verify (#5637) 2026-06-28 18:10:38 +02:00
web fix(groups): keep group traffic totals stable across client resets and deletes 2026-07-02 09:17:47 +02:00
xray fix(xray): force full restart for inbounds with a VLESS reverse client 2026-07-01 14:02:13 +02:00