From 982d0c786be6d4d54459b15c16d7f7ad0b871e68 Mon Sep 17 00:00:00 2001 From: sibirka Date: Wed, 6 May 2026 20:44:45 +0300 Subject: [PATCH] feat: add per-client real-time speed & 24h daily traffic - Added DailyUp/Down/LastDailyReset to ClientTraffic model - Lazy daily reset at 00:00 local time (no cron) - Non-sortable Speed column using dashboard delta logic - i18n keys added to all locale files --- web/html/component/aClientTable.html | 23 +++++++ web/html/inbounds.html | 90 ++++++++++++++++++++++++++++ web/service/inbound.go | 12 ++++ web/translation/translate.en_US.toml | 2 + web/translation/translate.ru_RU.toml | 2 + xray/client_traffic.go | 6 ++ 6 files changed, 135 insertions(+) diff --git a/web/html/component/aClientTable.html b/web/html/component/aClientTable.html index c7ac0513..e214f656 100644 --- a/web/html/component/aClientTable.html +++ b/web/html/component/aClientTable.html @@ -54,6 +54,14 @@ + +