Commit Graph

  • 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 6076656373e0af6db3948008ea302368cf8eb5d0 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
  • 0803c407a9 Fix Reusable typo, add tests for Augustines scenario Kristoffer Dalby 2021-11-08 20:49:03 +00:00
  • 6371135459 Try to address issue raised by cure Kristoffer Dalby 2021-11-08 20:48:20 +00:00
  • 43af11c46a Fix typo in generated code Kristoffer Dalby 2021-11-08 20:47:40 +00:00
  • b210858dc5 Remove unused dep Kristoffer Dalby 2021-11-08 18:28:06 +00:00
  • e1f45f9d07 Remove unused dep Kristoffer Dalby 2021-11-08 18:27:57 +00:00
  • dce6b8d72e Add test case and fix nil pointer in preauthkeys command without expiration Kristoffer Dalby 2021-11-08 08:02:01 +00:00
  • 67953bfe2f
    Fixed integration tests Alessandro (Ale) Segala 2021-11-07 19:09:51 +00:00
  • 6076656373 Updated docs Alessandro (Ale) Segala 2021-11-07 18:57:37 +00:00
  • 9a26fa7989 Ensure logging is off for integration test commands Kristoffer Dalby 2021-11-07 10:40:05 +00:00
  • d47b83f80b Unwrap grpc errors to make nicer user facing errors Kristoffer Dalby 2021-11-07 10:15:32 +00:00
  • b11acad1c9 Fix typo Kristoffer Dalby 2021-11-07 09:57:39 +00:00
  • b15efb5201 Ensure unix socket is removed before we startup Kristoffer Dalby 2021-11-07 09:55:32 +00:00
  • 2dfd42f80c Attempt to dry up CLI client, add proepr config Kristoffer Dalby 2021-11-07 09:41:14 +00:00
  • ce3f79a3bf Add yaml to output help Kristoffer Dalby 2021-11-07 08:58:45 +00:00
  • a249d3fe39 Fix color for current namespace in nodes command Kristoffer Dalby 2021-11-07 08:58:03 +00:00
  • a6d487de00 Using debian11-based distroless image Alessandro (Ale) Segala 2021-11-06 23:19:56 +00:00
  • 3720da6386 Using distroless base image for Docker Alessandro (Ale) Segala 2021-11-06 23:18:13 +00:00
  • 26718e8308 Revert gorm upgrade Kristoffer Dalby 2021-11-06 20:23:04 +00:00
  • f5a196088a
    Merge branch 'main' into cli-grpc Kristoffer Dalby 2021-11-06 20:12:19 +00:00
  • 74f0d08f50
    Merge pull request #199 from rcursaru/patch-1 Kristoffer Dalby 2021-11-06 20:05:27 +00:00
  • 046681f4ef
    Merge branch 'main' into patch-1 Kristoffer Dalby 2021-11-06 19:46:06 +00:00
  • 29531a5e90
    Merge branch 'main' into cli-grpc Kristoffer Dalby 2021-11-06 19:29:00 +00:00
  • 137a9d6333
    Merge pull request #213 from aberoham/patch-1 Ward Vandewege 2021-11-06 14:23:17 -04:00
  • 8115f50d03
    Typo in golang URL Abraham Ingersoll 2021-11-06 07:43:41 +00:00
  • b75e8ae2bd
    Merge branch 'main' into patch-1 Kristoffer Dalby 2021-11-05 18:27:55 +00:00
  • 3ad2350c79 Fix new version of hujson Kristoffer Dalby 2021-11-05 07:24:00 +00:00
  • 204f99dd51 Add CLI integration tests Kristoffer Dalby 2021-11-04 22:45:15 +00:00
  • 8df41b069f Formatting Kristoffer Dalby 2021-11-04 22:45:08 +00:00
  • be4256b1d0 Convert routes command to use gRPC Kristoffer Dalby 2021-11-04 22:44:59 +00:00
  • 77a973878c Convert preauthkeys command to use gRPC Kristoffer Dalby 2021-11-04 22:44:49 +00:00
  • 7b0d2dfb4a Convert nodes command to use gRPC Kristoffer Dalby 2021-11-04 22:44:35 +00:00
  • 79871d2463 Make namespace command use gRPC Kristoffer Dalby 2021-11-04 22:42:21 +00:00
  • dce82f4323 Use new json wrapper for version command Kristoffer Dalby 2021-11-04 22:41:55 +00:00
  • 9e9049307e Simplify loglevel parser, turn off logs when machine output is set Kristoffer Dalby 2021-11-04 22:32:13 +00:00
  • cd34a5d6f3 Expand json output to support yaml, make more generic Kristoffer Dalby 2021-11-04 22:31:47 +00:00
  • 319237910b Resolve new dependencies Kristoffer Dalby 2021-11-04 22:28:35 +00:00
  • 3eed356d70 Implement rpc calls with new helper functions, implementing the proto spec Kristoffer Dalby 2021-11-04 22:19:27 +00:00
  • 706ff59d70 Clean pointer list in app.go, add grpc logging and simplify naming Kristoffer Dalby 2021-11-04 22:18:55 +00:00
  • c2eb3f4d36 Use long command in example and remove pointerlist Kristoffer Dalby 2021-11-04 22:18:06 +00:00
  • 9acc3e0e73 Add a set of ip prefix convert helpers Kristoffer Dalby 2021-11-04 22:17:44 +00:00
  • 94dbaa6822 Clean up the return of "pointer list" Kristoffer Dalby 2021-11-04 22:16:56 +00:00
  • 5526ccc696 Namespaces are no longer a pointer Kristoffer Dalby 2021-11-04 22:15:46 +00:00
  • 95690e614e Simplify and streamline namespace functions for new cli/rpc/api Kristoffer Dalby 2021-11-04 22:15:17 +00:00
  • 77f5f8bd1c Simplify and streamline preauth commands for new cli/rpc/api Kristoffer Dalby 2021-11-04 22:14:39 +00:00
  • 787814ea89 Consolidate machine related lookups Kristoffer Dalby 2021-11-04 22:11:38 +00:00
  • 67adea5cab Move common integration test commands into common file Kristoffer Dalby 2021-11-04 22:10:57 +00:00
  • 4226da3d6b Add "debug" command Kristoffer Dalby 2021-11-04 22:08:45 +00:00
  • 5270361989 Add generated files from protobuf Kristoffer Dalby 2021-11-04 22:07:59 +00:00
  • a6aa6a4f7b Add proto rpc interface for cli Kristoffer Dalby 2021-11-04 22:02:10 +00:00
  • 1c530be66c
    Merge pull request #206 from kradalby/initial-api-cli-work Kristoffer Dalby 2021-11-04 14:09:06 +00:00
  • 7c774bc547
    Remove flag that cant be trapped Kristoffer Dalby 2021-11-02 21:49:19 +00:00
  • 9954a3c599
    Add handling for closing the socket Kristoffer Dalby 2021-11-02 21:46:15 +00:00
  • bf4309270b Enable prerelease support on goreleaser Juan Font Alonso 2021-10-31 23:10:40 +01:00
  • b91c115ade
    Remove "auth skip" for socket traffic Kristoffer Dalby 2021-10-31 19:57:42 +00:00
  • 53df9afc2a
    Fix step naming error Kristoffer Dalby 2021-10-31 19:54:38 +00:00
  • 8db45a4e75
    Setup a seperate, non-tls, no auth, socket grpc Kristoffer Dalby 2021-10-31 19:52:34 +00:00
  • 1c9b1ea91a
    Add todo Kristoffer Dalby 2021-10-31 16:34:20 +00:00
  • 12f2a7cee0
    Move context per cure's suggestion Kristoffer Dalby 2021-10-31 16:26:51 +00:00
  • 3f30bf1e33
    Ensure we set up TLS for http Kristoffer Dalby 2021-10-31 16:19:38 +00:00
  • f968b0abdf
    Merge branch 'main' into initial-api-cli-work Kristoffer Dalby 2021-10-31 12:17:47 +00:00
  • 16ccbf4cdb
    Merge pull request #207 from juanfont/update-contributors Kristoffer Dalby 2021-10-31 12:17:31 +00:00
  • d803fe6123
    Merge branch 'main' into update-contributors Kristoffer Dalby 2021-10-31 09:58:17 +00:00
  • ca15a53fad
    Add timeout to integration test for execCommand to fail faster Kristoffer Dalby 2021-10-31 09:58:01 +00:00
  • 264e5964f6
    Resolve merge conflict Kristoffer Dalby 2021-10-31 09:40:43 +00:00
  • 223c611820
    docs(README): update contributors github-actions[bot] 2021-10-31 09:34:07 +00:00