Add all-time traffic for inbounds and clients (#3387)

* feat(db): add allTime field to Inbound and ClientTraffic models

* feat(inbound): increment all_time for inbounds and clients on traffic updates

calculate correct all_time traffic on migrate command

* feat(ui): show all-time traffic column for inbounds and its clients

* i18n: add pages.inbounds.allTimeTraffic label across locales

* Add All Time Traffic Usage in inbounds page top banner
This commit is contained in:
Ali Golzar
2025-08-28 02:40:50 +03:30
committed by GitHub
parent 2198397197
commit 3087c1b123
19 changed files with 86 additions and 7 deletions

View File

@@ -151,6 +151,8 @@
"getConfigError" = "خطا در دریافت فایل پیکربندی"
[pages.inbounds]
"allTimeTraffic" = "کل ترافیک"
"allTimeTrafficUsage" = "کل استفاده در تمام مدت"
"title" = "کاربران"
"totalDownUp" = "دریافت/ارسال کل"
"totalUsage" = "‌‌‌مصرف کل"