Commit Graph

  • 68dc2a70db Update neighbours if node is expired or refreshed Kristoffer Dalby 2021-11-22 19:51:16 +00:00
  • caf1b1cabc Fix typo Kristoffer Dalby 2021-11-22 19:35:24 +00:00
  • 021c464148 Add cache for requested expiry times Kristoffer Dalby 2021-11-22 19:32:52 +00:00
  • e600ead3e9 Make sure nodes can reauthenticate Kristoffer Dalby 2021-11-22 19:32:11 +00:00
  • 200c10e48c Add missing return in oidc.go Kristoffer Dalby 2021-11-22 17:22:47 +00:00
  • e8faff4fe2 Use uint64 straight instead of converting Kristoffer Dalby 2021-11-22 17:22:22 +00:00
  • 5cbd4513a4 Simplify register function if Kristoffer Dalby 2021-11-22 17:21:56 +00:00
  • a477c808c7 Merge pull request #230 from lion24/patch-1 Kristoffer Dalby 2021-11-22 09:47:37 +00:00
  • 74044f62f4 Remove anouther potential error leak Kristoffer Dalby 2021-11-21 21:54:19 +00:00
  • fcd4d94927 Clean up logging and error handling in oidc Kristoffer Dalby 2021-11-21 21:51:39 +00:00
  • fac33e46e1 Add long description for expire Kristoffer Dalby 2021-11-21 21:35:36 +00:00
  • b152e53b13 Use correct type for nodes command Kristoffer Dalby 2021-11-21 21:34:03 +00:00
  • 1687e3b03f Removed unused parameter Kristoffer Dalby 2021-11-21 21:29:27 +00:00
  • c2393685f1 Remove expiry update in expiry, we dont want to extend it just because they _try_ to connect Kristoffer Dalby 2021-11-21 21:14:40 +00:00
  • fd5f42c2e6 Move handle expired machine to the end of registration Kristoffer Dalby 2021-11-21 21:14:13 +00:00
  • bda2d9c3b0 Remove unused param Kristoffer Dalby 2021-11-21 14:00:48 +00:00
  • c4ecc4db91 Simplify control flow in RegistrationHandler Kristoffer Dalby 2021-11-21 13:59:24 +00:00
  • 8ccc51ae57 Remove special case for authkey Kristoffer Dalby 2021-11-21 13:45:19 +00:00
  • a2b9f3bede Add expire (logout) machine command Kristoffer Dalby 2021-11-21 13:40:44 +00:00
  • bd1d1b1a3b Implement ExpireMachine rpc Kristoffer Dalby 2021-11-21 13:40:19 +00:00
  • f1c05f8010 Add ExpireMachine spec to rpc Kristoffer Dalby 2021-11-21 13:40:04 +00:00
  • f85a77edb5 Remove println statement Kristoffer Dalby 2021-11-21 09:48:59 +00:00
  • 1c7aff5dd9 Add expired column to machine list command Kristoffer Dalby 2021-11-21 09:44:38 +00:00
  • e91f72fe4c Running.md: fix missing backslash (\) lion24 2021-11-20 23:31:49 +01:00
  • 5a2cae5081 Add new Tailscale version to integration tests Kristoffer Dalby 2021-11-19 09:16:11 +00:00
  • 6a9dd2029e Remove expiry logic, this needs to be redone Kristoffer Dalby 2021-11-19 09:02:49 +00:00
  • 9aac1fb255 Remove expiry logic, this needs to be redone Kristoffer Dalby 2021-11-19 09:02:29 +00:00
  • 106b1e7e8d Create constants for other reg methods Kristoffer Dalby 2021-11-18 17:51:54 +00:00
  • 836986aa59 Merge pull request #225 from fdelucchijr/patch-1 Kristoffer Dalby 2021-11-18 10:13:07 +00:00
  • 58d1255357 Remove unneeded returns Kristoffer Dalby 2021-11-18 08:51:33 +00:00
  • 981f712660 Remove unused param Kristoffer Dalby 2021-11-18 08:51:21 +00:00
  • 50dcb8bb75 Use valid handler for registered authkey machines Kristoffer Dalby 2021-11-18 08:50:53 +00:00
  • a8a8f01429 Make "authKey" a constant Kristoffer Dalby 2021-11-18 08:49:55 +00:00
  • 35c3fe9608 Move registration workflow into functions Kristoffer Dalby 2021-11-17 22:39:41 +00:00
  • f74b9f5fe2 Styling and prettier Fernando De Lucchi 2021-11-17 16:25:37 -05:00
  • de42fe3b04 Merge branch 'main' into patch-1 Fernando De Lucchi 2021-11-16 19:10:42 -05:00
  • 49f835d8cf Merge pull request #214 from ItalyPaleAle/docker-distroless Kristoffer Dalby 2021-11-16 07:34:08 +00:00
  • 7bc2f41b33 Run prettier 💄 ItalyPaleAle 2021-11-15 15:37:40 -08:00
  • a10388b709 Merge branch 'main' into docker-distroless Alessandro (Ale) Segala 2021-11-15 15:19:06 -08:00
  • bd7b5e97cb Merge branch 'main' into patch-1 Kristoffer Dalby 2021-11-15 23:00:45 +00:00
  • 4b525a3967 Merge pull request #223 from kradalby/golanglint Kristoffer Dalby 2021-11-15 22:36:02 +00:00
  • d6739386a0 Get rid of dynamic errors Kristoffer Dalby 2021-11-15 19:18:14 +00:00
  • 25b790d025 Add and fix forcetypeassert Kristoffer Dalby 2021-11-15 18:42:44 +00:00
  • db8be91d8b Add and fix forbidigo Kristoffer Dalby 2021-11-15 18:36:02 +00:00
  • c4d4c9c4e4 Add and fix gosec Kristoffer Dalby 2021-11-15 18:31:52 +00:00
  • 715542ac1c Add and fix stylecheck (golint replacement) Kristoffer Dalby 2021-11-15 17:24:24 +00:00
  • 0c005a6b01 Add and fix errname Kristoffer Dalby 2021-11-15 16:33:16 +00:00
  • 0c45f8d252 Add and fix errorlint Kristoffer Dalby 2021-11-15 16:26:41 +00:00
  • 2dde1242cf Fix formatting Kristoffer Dalby 2021-11-15 16:16:35 +00:00
  • 78cfba0a31 Add exceptions to var name length Kristoffer Dalby 2021-11-15 16:16:16 +00:00
  • 8ae682b412 Fix var name length in tests Kristoffer Dalby 2021-11-15 16:16:04 +00:00
  • 333be80f9c Fix rest of var name in main code Kristoffer Dalby 2021-11-15 16:15:50 +00:00
  • 2efefca737 Merge pull request #1 from ohdearaugustin/docker-workflows Alessandro (Ale) Segala 2021-11-14 13:33:13 -08:00
  • c6bc9fffe9 workflows/release: fix docker debug tags ohdearaugustin 2021-11-14 22:24:27 +01:00
  • 8454c1b52c workflows/release: add docker debug ohdearaugustin 2021-11-14 21:15:33 +01:00
  • 471c0b4993 Initial work eliminating one/two letter variables Kristoffer Dalby 2021-11-14 20:32:03 +01:00
  • 53ed749f45 Start work on making gocritic pass Kristoffer Dalby 2021-11-14 18:44:37 +01:00
  • ba084b9987 Lint fix integration tests Kristoffer Dalby 2021-11-14 18:35:49 +01:00
  • 85f28a3f4a Remove all instances of undefined numbers (gonmd) Kristoffer Dalby 2021-11-14 18:31:51 +01:00
  • 796072a5a4 Add and fix ifshort Kristoffer Dalby 2021-11-14 18:09:22 +01:00
  • 9390348a65 Add and fix goconst Kristoffer Dalby 2021-11-14 18:06:25 +01:00
  • c9c16c7fb8 Remove unused params or returns Kristoffer Dalby 2021-11-14 18:03:21 +01:00
  • 19cd7a4eac Add and fix exhaustive Kristoffer Dalby 2021-11-14 17:52:55 +01:00
  • 0315f55fcd Add and fix nilnil Kristoffer Dalby 2021-11-14 17:51:34 +01:00
  • 668e958d3e Add and fix unconvert Kristoffer Dalby 2021-11-14 17:49:54 +01:00
  • 4ace54c4e1 Move wsl, might not be feasible Kristoffer Dalby 2021-11-14 16:49:54 +01:00
  • 89eb13c6cb Add and fix nlreturn (new line return) Kristoffer Dalby 2021-11-14 16:46:09 +01:00
  • d0ef850035 Add and fix noctx linter Kristoffer Dalby 2021-11-14 16:37:43 +01:00
  • 2f8e9f272c Merge branch 'main' into docker-distroless Kristoffer Dalby 2021-11-14 14:35:44 +01:00
  • 1af4a3b958 Merge branch 'main' into patch-1 Fernando De Lucchi 2021-11-14 04:16:00 -05:00
  • 1969802c6b Fix golanglint Kristoffer Dalby 2021-11-14 08:32:58 +00:00
  • 052883aa55 Fix merge conflict Kristoffer Dalby 2021-11-14 08:30:48 +00:00
  • d2918edc14 Merge pull request #224 from cure/namespace-deletion-fixes Kristoffer Dalby 2021-11-14 09:27:58 +01:00
  • f3da299457 Format readme Kristoffer Dalby 2021-11-14 08:09:33 +00:00
  • e8726b1e22 Add readme note about codestyle Kristoffer Dalby 2021-11-14 08:08:03 +00:00
  • b897a26f42 arm64 docker image build in release process Fernando De Lucchi 2021-11-13 21:08:59 -05:00
  • 5ec7158b5d Merge branch 'main' into docker-distroless Alessandro (Ale) Segala 2021-11-13 14:16:53 -08:00
  • 7d77acd88e Docs for debug container Alessandro (Ale) Segala 2021-11-13 22:16:37 +00:00
  • c0f16603c5 Copy headscale binary in /bin in the container This way, we don't need to alter the PATH Alessandro (Ale) Segala 2021-11-13 22:10:58 +00:00
  • 34dba0ade8 Fix missing error check. Ward Vandewege 2021-11-13 15:24:32 -05:00
  • acf7e462ad Improvements for namespace deletion: add a confirmation prompt, and make sure to also delete any associated preauthkeys. Ward Vandewege 2021-11-13 14:01:05 -05:00
  • f94b0b54d8 Remove lint install, update go Kristoffer Dalby 2021-11-13 09:39:20 +00:00
  • 806f0d3e6c Format lint Kristoffer Dalby 2021-11-13 09:20:59 +00:00
  • b653572272 Make format shuld format, not lint Kristoffer Dalby 2021-11-13 09:20:51 +00:00
  • fa0922d5bb define proto dir for buf Kristoffer Dalby 2021-11-13 09:18:00 +00:00
  • 95b9f03fb3 update buf setup Kristoffer Dalby 2021-11-13 09:13:17 +00:00
  • 24e0c944b1 Align with update golangci-lint Kristoffer Dalby 2021-11-13 09:11:03 +00:00
  • 148437f716 Setup more linters and goals for golangci Kristoffer Dalby 2021-11-13 08:53:34 +00:00
  • 3ddd9962ce Add format make entry Kristoffer Dalby 2021-11-13 08:39:20 +00:00
  • 2634215f12 golangci-lint --fix Kristoffer Dalby 2021-11-13 08:39:04 +00:00
  • dae34ca8c5 Proto format Kristoffer Dalby 2021-11-13 08:36:56 +00:00
  • 03b7ec62ca Go format with shorter lines Kristoffer Dalby 2021-11-13 08:36:45 +00:00
  • edfcdc466c Update lint ci file with prettier and proto Kristoffer Dalby 2021-11-13 08:13:38 +00:00
  • 6b3114ad6f Run prettier Kristoffer Dalby 2021-11-13 08:11:55 +00:00
  • ba65092926 Merge pull request #212 from kradalby/cli-grpc Kristoffer Dalby 2021-11-12 14:39:39 +00:00
  • f44138c944 Added debug container Alessandro (Ale) Segala 2021-11-12 02:20:46 +00:00
  • c290ce4b91 Revert "Fixed integration tests" Alessandro (Ale) Segala 2021-11-09 16:24:10 +00:00
  • 3b34c7b89a Removed / from docker commands in docs Essentially reverts 6076656373 Alessandro (Ale) Segala 2021-11-09 16:23:36 +00:00
  • 83e72ec57d Allow running headscale without leading / Alessandro (Ale) Segala 2021-11-09 16:20:58 +00:00
  • 49893305b4 Only turn on response log in grpc in trace mode Kristoffer Dalby 2021-11-08 22:06:25 +00:00