3x-ui/internal/web/service
Sanaei c56f6447a8 chore: refresh dependencies and modernize Go test idioms
Frontend deps: @hookform/resolvers 5.4.3 -> 5.5.7, Storybook 10.5.4 -> 10.5.5
across the four packages we declare, globals 17.7.0 -> 17.8.0, and jsdom
29.1.1 -> 30.0.1. The jsdom major replaces its CSS and selector stack --
@asamuzakjp/css-color 5 -> 6, @asamuzakjp/dom-selector 7 -> 8, undici 7 -> 8,
nwsapi and generational-cache folded into their parents, whatwg-url 17 nested
underneath. Nothing in the Vitest suites reaches those directly and the whole
frontend gate (typecheck, lint, tests, build, Storybook compile) is green.
Panel frontend version to 0.6.0.

Backend deps: mattn/go-sqlite3 1.14.48 -> 1.14.49 and valyala/fasthttp
1.72.0 -> 1.73.0, plus the golang.org/x/exp and genproto/googleapis/rpc
indirect bumps that came with them.

Go tests: modernize -fix output, covering range-over-int, sync.WaitGroup.Go
in place of manual Add/Done pairs, maps.Copy, and Go 1.26 new(expr) for
pointer-to-value in the forwarded-trust table. The storedAs helper is deleted
instead of being left behind a //go:fix inline directive -- keeping it that way
fails govet on the one call site the rewrite did not reach, and every caller now
takes new(...) directly. Behaviour is unchanged.

DnsTab: the hosts-sync effect tested dns while declaring dnsEnabled in its
dependency array. Both carry the same truth value, so this is exhaustive-deps
hygiene rather than a behaviour change.
2026-07-30 03:14:22 +02:00
..
email
integration
outbound
panel
tgbot fix(database): create SQLite backup snapshots online (#6137) 2026-07-29 21:04:55 +02:00
access_log_parse_test.go
api_scale_postgres_test.go
backup_filename_test.go
bulk_clients_test.go
bulk_traffic_test.go
client.go
client_add_dedupe_test.go
client_apply_field_test.go
client_bulk.go
client_bulk_flow_test.go
client_bulk_reenable_test.go
client_bulk_reset_reenable_test.go
client_create_fanout_test.go
client_create_reuse_test.go
client_crud.go
client_delete_continue_test.go
client_delete_node_baseline_test.go
client_delete_node_full_test.go
client_effective_flow_test.go
client_email_validation_test.go
client_external_link.go
client_flow_isolation_test.go
client_group_node_sync_test.go
client_group_reset_test.go
client_groups.go
client_inbound_apply.go fix(xray): stop the runtime user API from crashing xray-core 2026-07-28 13:52:10 +02:00
client_link.go
client_locks.go
client_locks_test.go
client_lookup.go feat(api): add GET endpoint to look up clients by Telegram ID (#5945) 2026-07-28 22:38:44 +02:00
client_lookup_test.go feat(api): add GET endpoint to look up clients by Telegram ID (#5945) 2026-07-28 22:38:44 +02:00
client_paging.go perf(clients): make the clients page scale to large panels 2026-07-30 02:49:32 +02:00
client_paging_test.go perf(clients): make the clients page scale to large panels 2026-07-30 02:49:32 +02:00
client_portable.go
client_stat_reuse_test.go
client_sync_mtproto_test.go
client_sync_multiprotocol_test.go
client_test.go
client_traffic.go
client_update_enable_test.go
client_update_no_inbound_test.go
client_update_rename_test.go
client_wireguard.go
client_wireguard_crud_test.go
client_wireguard_test.go
config.json
del_shared_email_runtime_test.go
fallback.go
finalmask_rand_packet_test.go fix(xray): reject configs xray-core refuses, and check the fixtures against it 2026-07-28 14:43:55 +02:00
global_traffic_test.go style: drop the line comments added with the triage fixes 2026-07-27 14:37:57 +02:00
golden_fixtures_xray_test.go chore: refresh dependencies and modernize Go test idioms 2026-07-30 03:14:22 +02:00
host.go
host_test.go
inbound.go inbounds: allow custom monthly traffic reset days (#6071) 2026-07-28 23:27:09 +02:00
inbound_autorenew_shadowsocks_test.go fix(xray): stop the runtime user API from crashing xray-core 2026-07-28 13:52:10 +02:00
inbound_autorenew_test.go
inbound_client_ips.go
inbound_client_ips_merge_test.go
inbound_client_move_test.go
inbound_client_traffic_test.go
inbound_clients.go
inbound_disable.go fix(xray): synchronize lifecycle state (#6138) 2026-07-29 21:00:29 +02:00
inbound_durable_postgres_test.go
inbound_fallback_runtime_test.go
inbound_finalmask_reality_test.go
inbound_finalmask_xmc_test.go feat(xray): update xray-core to v26.7.28 and adapt panel 2026-07-28 13:14:06 +02:00
inbound_flow_restore.go
inbound_flow_restore_test.go
inbound_import_external_proxy_test.go
inbound_import_shared_clients_test.go
inbound_migration.go fix: stop deleting client_traffics for detached-but-alive clients (#6110) 2026-07-28 22:14:01 +02:00
inbound_migration_test.go fix: stop deleting client_traffics for detached-but-alive clients (#6110) 2026-07-28 22:14:01 +02:00
inbound_mtproto.go
inbound_mtproto_apply_test.go
inbound_mtproto_client_test.go
inbound_mtproto_desired_test.go
inbound_mtproto_test.go
inbound_mtproto_txfail_test.go
inbound_node.go fix(xray): synchronize lifecycle state (#6138) 2026-07-29 21:00:29 +02:00
inbound_node_ips.go
inbound_node_ips_test.go
inbound_node_reconcile_test.go
inbound_options_node_address_test.go
inbound_protocol.go
inbound_protocol_test.go
inbound_settings_clients.go
inbound_settings_clients_test.go
inbound_sub_sort_test.go
inbound_sublink.go
inbound_tgbot_lookup_test.go
inbound_traffic.go fix(xray): synchronize lifecycle state (#6138) 2026-07-29 21:00:29 +02:00
inbound_traffic_global.go
inbound_traffic_reset_test.go inbounds: allow custom monthly traffic reset days (#6071) 2026-07-28 23:27:09 +02:00
inbound_update_tag_test.go
inbound_util.go
key_gen_parse_test.go
metric_history.go
metric_history_test.go
mtproto_fake_test.go
node.go
node_bulk_dispatch_test.go
node_client_breakdown_test.go
node_client_expiry_sync_test.go
node_client_renew_sync_test.go
node_client_traffic_sum_test.go
node_contract.go
node_credentials_writeonly_test.go
node_delete_orphan_test.go
node_dirty_test.go
node_host_adopt_test.go
node_mtls.go
node_mtls_test.go
node_netmetrics_test.go
node_origin_guid_test.go
node_shared_guid_test.go
node_tag_sync_test.go
node_test.go
node_tree.go
node_tree_test.go
outbound_subscription.go fix(xray): synchronize lifecycle state (#6138) 2026-07-29 21:00:29 +02:00
outbound_subscription_ssrf_test.go
outbound_subscription_test.go
port_conflict.go
port_conflict_test.go
reality_scan.go
reality_scan_test.go
reset_writer_test.go
scale_helpers_test.go
server.go fix(database): create SQLite backup snapshots online (#6137) 2026-07-29 21:04:55 +02:00
server_import_sniff_test.go
server_import_stage_test.go
server_pg_restore_test.go
server_vlessenc_test.go
server_xray_checksum_test.go
setting.go fix(sub): honor trustedProxyCIDRs before forwarded URLs (#6135) 2026-07-29 21:01:59 +02:00
setting_clash_test.go
setting_factory_defaults_test.go feat(ui): tag settings that sit at their shipped default value (#6128) 2026-07-29 08:03:21 +02:00
setting_mtls.go
setting_mtls_test.go
setting_security_test.go
setting_sub_identity_test.go feat(sub): allow identity tokens on every subscription link (#5935) 2026-07-28 22:12:52 +02:00
shadowsocks_client_key_test.go
stream_network_alias_test.go
sub_uri_base_test.go
sync_scale_postgres_test.go
traffic_commit_test.go
traffic_poll_scale_test.go
traffic_writer.go
traffic_writer_test.go
url_safety.go
ws_payload_scale_test.go
xray.go fix(xray): synchronize lifecycle state (#6138) 2026-07-29 21:00:29 +02:00
xray_config_clients_test.go style: drop the line comments added with the triage fixes 2026-07-27 14:37:57 +02:00
xray_config_inject_test.go
xray_config_scale_test.go
xray_lifecycle_test.go fix(xray): synchronize lifecycle state (#6138) 2026-07-29 21:00:29 +02:00
xray_metrics.go
xray_metrics_test.go
xray_restart_test.go
xray_setting.go fix(xray): synchronize lifecycle state (#6138) 2026-07-29 21:00:29 +02:00
xray_setting_dns_routing.go
xray_setting_dns_routing_test.go
xray_setting_routing_sync.go
xray_setting_routing_sync_test.go
xray_setting_test.go
xray_strip_rules_test.go
xray_wireguard_config_test.go
xray_xhttp_session_test.go