3x-ui/internal/sub
MHSanaei 323cf09d10
feat(sub): show the announcement on the subscription info page
The subAnnounce setting was only emitted as a base64 Announce response header, which most client apps ignore and browsers never see. Pass it into the sub page view-model and render it as an info alert at the top of the card; custom themes get the announce key for free.

Closes #5276
2026-07-03 09:38:37 +02:00
..
build_urls_test.go
characterization_test.go
clash_external.go
clash_service.go fix(sub): resolve subscription clients and stats from normalized tables 2026-07-02 16:58:00 +02:00
clash_service_test.go
controller.go feat(sub): show the announcement on the subscription info page 2026-07-03 09:38:37 +02:00
controller_test.go
default.json
dist.go refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
endpoint.go
endpoint_test.go
export_all_links_test.go
external_config.go
external_config_test.go
external_only_sub_test.go
external_subscription.go
external_subscription_test.go
host_sub.go
host_sub_test.go
json_service.go refactor(sub): drop unused subReq parameter from genHy 2026-07-02 22:01:42 +02:00
json_service_test.go fix(sub): resolve subscription clients and stats from normalized tables 2026-07-02 16:58:00 +02:00
links.go
links_test.go
mutation_audit_test.go fix(sub): resolve subscription clients and stats from normalized tables 2026-07-02 16:58:00 +02:00
page_data_test.go
remark_vars.go fix(sub): resolve subscription clients and stats from normalized tables 2026-07-02 16:58:00 +02:00
remark_vars_test.go
service.go fix(sub): resolve subscription clients and stats from normalized tables 2026-07-02 16:58:00 +02:00
service_dedup_test.go fix(sub): resolve subscription clients and stats from normalized tables 2026-07-02 16:58:00 +02:00
service_flow_test.go
service_orphaned_stats_test.go
service_property_test.go
service_sharelink_test.go
service_sort_test.go
service_test.go fix(sync): mark node dirty inside the mutation transaction (atomic ConfigDirty) (#5611) 2026-06-28 15:18:28 +02:00
service_userinfo_test.go
service_wireguard_test.go
sub.go
sub_scale_test.go test(scale): cover traffic poll, ws payloads, ip-limit job, sub and xray config at 500k 2026-07-02 16:12:46 +02:00
vless_route.go
vless_route_sub_test.go
vless_route_test.go