headscale/hscontrol
Kristoffer Dalby 8f314797ce all: fix full-tree golangci-lint findings
The new full-tree golangci-lint check reports issues the --new-from-rev
diff lint hid: nine wsl_v5 whitespace gaps, a prealloc, and an unparam
(setCSRFCookie never errored, so drop the return and update callers).
gocyclo on the central UpdateNodeFromMapRequest and an SA1019 NetMap
deprecation in an integration helper are suppressed with reasons.
2026-06-20 21:08:01 +02:00
..
api/v1 api/v1: add code-first Huma implementation of the v1 API 2026-06-19 15:21:00 +02:00
assets
capver all: adopt slices helpers 2026-06-17 16:12:19 +02:00
db hscontrol: remove the proto, gRPC and grpc-gateway stack 2026-06-19 15:21:00 +02:00
derp all: fix full-tree golangci-lint findings 2026-06-20 21:08:01 +02:00
dns dns, change, noise, auth, capver: misc consolidation 2026-06-17 16:12:19 +02:00
mapper all: fix full-tree golangci-lint findings 2026-06-20 21:08:01 +02:00
policy all: adopt strings, errors, and os helpers 2026-06-17 16:12:19 +02:00
servertest all: fix full-tree golangci-lint findings 2026-06-20 21:08:01 +02:00
state all: fix full-tree golangci-lint findings 2026-06-20 21:08:01 +02:00
templates templates: consolidate shared page and component helpers 2026-06-17 16:12:19 +02:00
testdata/apiv1_golden test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
types all: fix full-tree golangci-lint findings 2026-06-20 21:08:01 +02:00
util all: fix full-tree golangci-lint findings 2026-06-20 21:08:01 +02:00
apiv1_apikeys_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
apiv1_auth_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
apiv1_authmw_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
apiv1_client_test.go gen/client/v1: add the generated HTTP client 2026-06-19 15:21:00 +02:00
apiv1_harness_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
apiv1_health_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
apiv1_nodes_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
apiv1_policy_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
apiv1_preauthkeys_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
apiv1_socket_test.go gen/client/v1: add the generated HTTP client 2026-06-19 15:21:00 +02:00
apiv1_users_test.go test: add golden parity tests for the v1 API 2026-06-19 15:21:00 +02:00
app.go api/v1: add code-first Huma implementation of the v1 API 2026-06-19 15:21:00 +02:00
app_test.go
auth.go dns, change, noise, auth, capver: misc consolidation 2026-06-17 16:12:19 +02:00
auth_tags_test.go hscontrol: remove the proto, gRPC and grpc-gateway stack 2026-06-19 15:21:00 +02:00
auth_test.go state: return all nodes for a machine key, reject ambiguous ownership 2026-06-15 20:29:15 +02:00
debug.go all: adopt slices helpers 2026-06-17 16:12:19 +02:00
handlers.go handlers: set verify Content-Type before writing the body 2026-06-17 16:12:19 +02:00
handlers_test.go handlers: set verify Content-Type before writing the body 2026-06-17 16:12:19 +02:00
metrics.go
noise.go dns, change, noise, auth, capver: misc consolidation 2026-06-17 16:12:19 +02:00
noise_test.go noise: re-delegate SSH check when the auth session is missing (#3306) 2026-06-10 11:48:02 +02:00
oidc.go all: fix full-tree golangci-lint findings 2026-06-20 21:08:01 +02:00
oidc_confirm_test.go
oidc_cookiename_test.go oidc: avoid slice panic in getCookieName for short values 2026-06-08 10:04:49 +02:00
oidc_template_test.go
oidc_test.go all: fix full-tree golangci-lint findings 2026-06-20 21:08:01 +02:00
platform_config.go hscontrol: consolidate debug-endpoint and template helpers 2026-06-17 16:12:19 +02:00
platform_config_test.go hscontrol: read Apple platform via chi.URLParam, not mux.Vars 2026-06-05 15:00:59 +02:00
poll.go state, poll: refcount poll sessions, mark offline only on last release 2026-06-11 16:28:25 +02:00
poll_test.go
realip.go all: adopt slices helpers 2026-06-17 16:12:19 +02:00
realip_test.go
tailsql.go policy, mapper, capver, hscontrol: remove dead code 2026-06-17 16:12:19 +02:00
templates_consistency_test.go