3x-ui/frontend/src/pages
MHSanaei 1f4e2707a0
refactor(clients): switch client API endpoints from id to email
All client-scoped routes now use the unique email as the path key
(get, update, del, attach, detach, links). Email is the stable,
protocol-independent identifier — UUIDs don't exist for trojan or
shadowsocks, and internal numeric ids leaked panel implementation
detail into the public API.

Removed the redundant /traffic/byId/:id endpoint (covered by
/traffic/:email) and collapsed /links/:id/:email into /links/:email,
which now returns links across every attached inbound for the client.

Frontend selection, bulk delete, and toggle state are now keyed by
email as well, dropping the id→email lookup workaround.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 16:41:48 +02:00
..
api-docs refactor(clients): switch client API endpoints from id to email 2026-05-17 16:41:48 +02:00
clients refactor(clients): switch client API endpoints from id to email 2026-05-17 16:41:48 +02:00
inbounds feat(clients): live WebSocket updates + Ended status surfacing 2026-05-17 13:38:58 +02:00
index Remove streamSettings for protocols that don't support it 2026-05-14 23:18:23 +02:00
login feat(inbounds): add sub/client link endpoints; hide panel version on login 2026-05-11 15:03:47 +02:00
nodes feat(nodes): per-node client roll-up and panel version 2026-05-17 13:59:40 +02:00
settings fix(qr): lock QR code modules to black-on-white across all themes 2026-05-14 01:45:00 +02:00
sub fix(qr): lock QR code modules to black-on-white across all themes 2026-05-14 01:45:00 +02:00
xray fix(clients): unbreak template parsing + stale i18n keys 2026-05-17 08:25:38 +02:00