3x-ui/internal/web
Sanaei e4798a027c
chore(lint): adapt to staticcheck v0.8.0 under golangci-lint v2.13.1
golangci-lint v2.13.0 pinned honnef.co/go/tools v0.8.0-rc.1, whose
staticcheck never terminates on internal/web/service/tgbot: the run pins
~520% CPU with RSS climbing past 700MB rather than deadlocking, so it
reads as a hang. controller/, job/ and service/... only appeared stuck
because they pull tgbot into the analysis graph. v2.13.1 ships the final
v0.8.0 and clears it — that package goes from unbounded to 0s, and a
cold full run to 22s. CI needs no pin; it already tracks latest.

The same bump reworded SA1019 from parser.ParseDir to go/parser.ParseDir,
which silently voided the openapigen exclusion, so the pattern now
matches either spelling.

fasthttp Client.RetryIf is deprecated in favour of RetryIfErr. The old
path left resetTimeout at its zero value, so returning false preserves
the existing retry timing exactly.

The rest are gofumpt redundant-paren removals from the stricter
formatter — semantic no-ops.
2026-08-20 19:37:40 +02:00
..
controller fix(security): require a 2FA code to replace the stored TOTP secret 2026-08-19 19:54:15 +02:00
entity fix: follow-ups from the post-merge reviews of #6221, #6227, #6230 and #6239 (#6250) 2026-08-18 15:24:59 +02:00
global
job Add remote routing URL support (#6168) 2026-08-18 16:02:11 +02:00
locale style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
middleware fix(web): tighten database restore body-cap exemption (#5609) 2026-06-28 15:00:55 +02:00
network fix(web): report unexpected HTTP serve failures (#6210) 2026-08-14 19:40:53 +02:00
runtime feat(inbound): DisableFlow — opt an inbound out of auto XTLS Vision (#5689) (#5698) 2026-08-15 23:09:16 +02:00
service chore(lint): adapt to staticcheck v0.8.0 under golangci-lint v2.13.1 2026-08-20 19:37:40 +02:00
session
translation Add remote routing URL support (#6168) 2026-08-18 16:02:11 +02:00
websocket fix(nodes): keep the credential-presence flag on the node heartbeat push 2026-07-28 17:38:46 +02:00
cadence_test.go Add remote routing URL support (#6168) 2026-08-18 16:02:11 +02:00
routes_contract_test.go fix(api): authenticate GET /panel/api/openapi.json + pin the route registry to the router (#6133) 2026-07-29 08:00:05 +02:00
web.go chore(lint): adapt to staticcheck v0.8.0 under golangci-lint v2.13.1 2026-08-20 19:37:40 +02:00
web_mtls.go
web_mtls_test.go