3x-ui/internal
MHSanaei f1444bec3f
fix(outbound): store subscription refreshes without trusting the row read
The refresh rewrote the whole row it read before a download whose length
the provider controls, so an admin's delete, disable or edit made in the
meantime was undone; Update had the mirror problem. Both now write only
their own columns, and a refresh of a row that was deleted or re-pointed
stores nothing.

Around the same path:
- the preview fetches without creating (and leaking) a scratch row, and
  Create keeps enabled=false instead of falling back to the column default;
- fetch errors name the host but not the subscription URL, which is a
  credential and ends up in the log and in lastError;
- each fetch closes its transport's idle connections;
- one document loads at most 2000 links, and the cut is reported;
- wireguard outbounds from a subscription always run on the userspace TUN;
- editing a subscription schedules an Xray reload like delete and move do.
2026-10-31 08:31:03 +00:00
..
amneziawg feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
amneziawgkern feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
amneziawgnet fix(tests): stabilize local network fixtures 2026-10-25 11:44:58 +01:00
config v3.11.0 2026-10-25 20:08:14 +01:00
crypto/nodetoken fix(nodetoken): stop refusing every node-token key file on Windows 2026-09-27 15:55:42 +02:00
database fix(database): replace the stored session secret once on upgrade 2026-10-31 08:10:36 +00:00
eventbus chore: refresh dependencies, fix Linux tool tasks, modernize Go idioms 2026-07-25 16:08:09 +02:00
logger fix(logger): reuse the open log rotator when InitLogger runs again 2026-09-27 15:32:20 +02:00
mtproto feat(mtproto): expose mtg-multi's per-IP pending-handshake limit 2026-10-14 16:46:20 +02:00
nodee2e perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
pia chore(build): bump Go toolchain to 1.27.0 2026-08-23 21:57:03 +02:00
sub fix(sub): pin fp=unsafe on links that carry cipher suites 2026-10-25 15:54:42 +01:00
testpg test(database): give each package its own schema when tests run on PostgreSQL (#6594) 2026-09-26 21:13:42 +02:00
tuic fix(tests): stabilize local network fixtures 2026-10-25 11:44:58 +01:00
tunnelmonitor style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
util fix(outbound): store subscription refreshes without trusting the row read 2026-10-31 08:31:03 +00:00
web fix(outbound): store subscription refreshes without trusting the row read 2026-10-31 08:31:03 +00:00
xray fix(xray): check outbounds the way the core's handlers will 2026-10-31 08:23:24 +00:00