3x-ui/frontend/src
MHSanaei a79cb9fe6d
refactor(clients): finish migrating to ClientService + tidy IP routes
Two related cleanups in the new /clients surface:

1. Move ResetAllClientTraffics (bulk-reset of xray_client_traffic +
   last_traffic_reset_time, with node-runtime propagation) from
   InboundService to ClientService. PeriodicTrafficResetJob now holds
   a clientService and calls
   j.clientService.ResetAllClientTraffics(&j.inboundService, id).
   The last client-mutation method on InboundService is gone.

2. Shorten redundantly-named routes/handlers under /panel/api/clients:
   - /clientIps/:email      -> /ips/:email      (handler getIps)
   - /clearClientIps/:email -> /clearIps/:email (handler clearIps)
   The "client" prefix was redundant inside the clients namespace.

Frontend (InboundInfoModal) and api-docs updated to match.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 11:25:24 +02:00
..
api feat(clients): add top-level Clients tab and CRUD API 2026-05-17 07:28:55 +02:00
components feat(clients): add top-level Clients tab and CRUD API 2026-05-17 07:28:55 +02:00
composables fix(inbounds): hide node UI when no enabled node exists 2026-05-13 17:42:40 +02:00
entries feat(clients): add top-level Clients tab and CRUD API 2026-05-17 07:28:55 +02:00
i18n fix: split locale chunks by removing eager i18n glob 2026-05-15 10:50:40 +02:00
models refactor(traffic): drop all-time traffic tracking 2026-05-17 09:01:04 +02:00
pages refactor(clients): finish migrating to ClientService + tidy IP routes 2026-05-17 11:25:24 +02:00
utils feat(ui): use the host as the browser tab title prefix 2026-05-13 14:23:57 +02:00