3x-ui/web/job
MHSanaei 36114a2fcc
feat(nodes): multi-node panel orchestration (CRUD, deployment, traffic sync, sub per-node)
- Node model + service + controller (/panel/api/nodes/*) with bearer-token apiToken auth
- Heartbeat job @every 10s; status/latency/xrayVersion surfaced in Nodes UI
- Runtime abstraction (Local + Remote) so inbound/client mutations target the
  inbound's owning node instead of always hitting the local xray
- Inbounds gain optional NodeID; tag-based correlation with remote panel (no
  RemoteInboundID column needed)
- NodeTrafficSyncJob @every 10s pulls absolute counters + online/lastOnline
  from each enabled+online node and writes them into central DB; 30s reset
  grace window prevents post-reset overwrite
- Reset propagation to nodes (best-effort) on client/inbound/all reset paths
- Subscription server uses node.Address for inbounds with NodeID, falling back
  to existing host resolution for local inbounds
- Frontend: Nodes page, "Deploy to" select in inbound form, Node column on
  inbound list, hostOverride threaded through genAllLinks/QR/Info modals

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 15:25:29 +02:00
..
check_client_ip_job.go fix(fail2ban): fix banning regression and Docker zero-jail issue 2026-05-07 13:53:34 +02:00
check_client_ip_job_integration_test.go iplimit: dont count idle db-only ips toward the per-client limit 2026-04-23 21:11:45 +03:00
check_client_ip_job_test.go iplimit: dont count idle db-only ips toward the per-client limit 2026-04-23 21:11:45 +03:00
check_cpu_usage.go fix: handle CPU threshold error to prevent false notifications (#3603) 2025-12-12 14:29:27 +01:00
check_hash_storage.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
check_xray_running_job.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
clear_logs_job.go Refactor code and fix linter warnings (#3627) 2026-01-05 05:54:56 +01:00
ldap_sync_job.go update dependencies 2026-03-04 13:05:29 +01:00
node_heartbeat_job.go feat(nodes): multi-node panel orchestration (CRUD, deployment, traffic sync, sub per-node) 2026-05-09 15:25:29 +02:00
node_traffic_sync_job.go feat(nodes): multi-node panel orchestration (CRUD, deployment, traffic sync, sub per-node) 2026-05-09 15:25:29 +02:00
periodic_traffic_reset_job.go Add new hourly reset traffic (#3966) 2026-04-19 21:37:34 +02:00
stats_notify_job.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
xray_traffic_job.go ws/inbounds: realtime fixes + perf for 10k+ client inbounds (#4123) 2026-05-05 17:27:49 +02:00