headscale/hscontrol/db
Kristoffer Dalby ee95cf58d9 hscontrol: add the OAuth client and access-token model
Add the OAuth client type, its database storage, the scope grant package,
policy tag-ownership exposure, and the state operations backing the v2
OAuth client-credentials flow.
2026-06-26 09:18:06 +02:00
..
sqliteconfig all: adopt slices helpers 2026-06-17 16:12:19 +02:00
testdata/sqlite db: preserve user_id on untagged nodes with tags='null' 2026-06-18 14:54:44 +02:00
api_key.go db: add API-key owner and pre-auth-key description for v2 2026-06-21 04:17:03 +02:00
api_key_byid_test.go db: look up API keys by explicit primary key, not struct condition 2026-06-08 10:04:49 +02:00
api_key_test.go grpc: support expire/delete API keys by ID 2026-01-20 17:13:38 +01:00
db.go hscontrol: add the OAuth client and access-token model 2026-06-26 09:18:06 +02:00
db_test.go db: preserve user_id on untagged nodes with tags='null' 2026-06-18 14:54:44 +02:00
ephemeral_garbage_collector_test.go db: drop superseded ephemeral deletions in the GC drain loop 2026-06-08 10:04:49 +02:00
ip.go db: consolidate IP allocation helpers 2026-06-17 16:12:19 +02:00
ip_backfill_race_test.go db: consolidate IP allocation helpers 2026-06-17 16:12:19 +02:00
ip_random_exhaustion_test.go db: bound IP allocation scan so exhausted prefixes error out 2026-06-08 10:04:49 +02:00
ip_test.go all: upgrade to Go 1.26rc2 and modernize codebase 2026-02-08 12:35:23 +01:00
main_test.go all: fix test flakiness and improve test infrastructure 2026-03-14 02:52:28 -07:00
node.go all: adopt slices helpers 2026-06-17 16:12:19 +02:00
node_test.go db, sqliteconfig: consolidate query and config helpers 2026-06-17 16:12:19 +02:00
oauth.go hscontrol: add the OAuth client and access-token model 2026-06-26 09:18:06 +02:00
oauth_test.go hscontrol: add the OAuth client and access-token model 2026-06-26 09:18:06 +02:00
policy.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
preauth_keys.go hscontrol: add the OAuth client and access-token model 2026-06-26 09:18:06 +02:00
preauth_keys_test.go hscontrol: remove the proto, gRPC and grpc-gateway stack 2026-06-19 15:21:00 +02:00
randomnext_test.go db: handle degenerate prefixes in random IP allocation 2026-06-08 10:04:49 +02:00
schema.sql hscontrol: add the OAuth client and access-token model 2026-06-26 09:18:06 +02:00
suite_test.go hscontrol/types: silence zerolog by default in tests 2026-04-17 16:31:49 +01:00
text_serialiser.go db, sqliteconfig: consolidate query and config helpers 2026-06-17 16:12:19 +02:00
user_update_test.go hscontrol: use Updates() instead of Save() for partial updates 2025-11-11 12:47:48 -06:00
users.go db, sqliteconfig: consolidate query and config helpers 2026-06-17 16:12:19 +02:00
users_test.go db, sqliteconfig: consolidate query and config helpers 2026-06-17 16:12:19 +02:00
versioncheck.go db, sqliteconfig: consolidate query and config helpers 2026-06-17 16:12:19 +02:00
versioncheck_test.go db: treat Go module pseudo-versions as dev builds 2026-05-26 17:29:13 +02:00