3x-ui/sub
MHSanaei 7f8c79675f
fix(sub): source Userinfo total/expiry from client config in multi-node (#4645)
The Subscription-Userinfo header read total/expiry from client_traffics, but in a multi-node setup the master's node sync overwrites those with the node snapshot's zeros, so the header reported total=0; expire=0 even though the panel UI (which reads the clients table) showed the configured limits. AggregateTrafficByEmails now falls back to the clients table for total/expiry when the traffic row is zero, keeping up/down/lastOnline from client_traffics.
2026-06-01 21:27:50 +02:00
..
build_urls_test.go fix(sub): keep listen/bind IP out of subscription page URLs 2026-06-01 05:47:18 +02:00
default.json dokodemo-door, socks renamed to mixed, tunnel 2025-09-09 13:57:40 +02:00
dist.go feat(inbounds): add sub/client link endpoints; hide panel version on login 2026-05-11 15:03:47 +02:00
links.go feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
links_test.go Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00
sub.go feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
subClashService.go fix(sub): ensure unique Clash proxy names (#4641) 2026-06-01 18:07:01 +02:00
subClashService_test.go fix(sub): ensure unique Clash proxy names (#4641) 2026-06-01 18:07:01 +02:00
subController.go fix(sub): Add Clash subscription profile filename header (#4743) 2026-06-01 16:32:56 +02:00
subJsonService.go fix(sub): keep listen/bind IP out of subscription page URLs 2026-06-01 05:47:18 +02:00
subService.go fix(sub): source Userinfo total/expiry from client config in multi-node (#4645) 2026-06-01 21:27:50 +02:00
subService_test.go feat(finalmask): sync transport with upstream Xray core changes 2026-06-01 10:12:51 +02:00
subService_userinfo_test.go fix(sub): source Userinfo total/expiry from client config in multi-node (#4645) 2026-06-01 21:27:50 +02:00