Commit Graph

  • 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
  • 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
  • fbdfa55629 Merge pull request #126 from unreality/main Kristoffer Dalby 2021-10-31 09:33:35 +00:00
  • 73d22cdf54 Merge pull request #2 from kradalby/oidc-1 unreality 2021-10-31 07:04:04 +08:00
  • bac81176b2 Remove lint from generated testcode Kristoffer Dalby 2021-10-30 15:39:05 +00:00
  • cd2914dbc9 Make note about oidc being experimental Kristoffer Dalby 2021-10-30 15:35:58 +00:00
  • cbf3f5d640 Resolve merge conflict Kristoffer Dalby 2021-10-30 15:33:01 +00:00
  • 018e42acad Merge branch 'main' into initial-api-cli-work Kristoffer Dalby 2021-10-30 15:31:34 +01:00
  • 482a31b66b Setup swagger and swagger UI properly Kristoffer Dalby 2021-10-30 14:29:53 +00:00
  • 2b340e8fa4 Rename protofile Kristoffer Dalby 2021-10-30 14:29:41 +00:00
  • 434fac52b7 Fix lint error Kristoffer Dalby 2021-10-30 14:29:03 +00:00
  • 6aacada852 Switch from gRPC localhost to socket Kristoffer Dalby 2021-10-30 14:08:16 +00:00
  • 7301d7eb67 Merge pull request #200 from cure/cli-improvements Ward Vandewege 2021-10-29 17:36:54 -04:00
  • b2d2d5653e Merge branch 'main' into cli-improvements Ward Vandewege 2021-10-29 17:20:05 -04:00
  • 72fd2a2780 Fix lint error Kristoffer Dalby 2021-10-29 17:36:11 +00:00
  • 9ef031f0f8 Port create, delete and list of namespace to grpc Kristoffer Dalby 2021-10-29 17:16:54 +00:00
  • 81b8610dff Add helper function to setup grpc client for cli Kristoffer Dalby 2021-10-29 17:15:52 +00:00
  • eefd82a574 Move config loading out of the headscale app setup Kristoffer Dalby 2021-10-29 17:09:06 +00:00
  • 002b5c1dad Add grpc token auth struct Kristoffer Dalby 2021-10-29 17:08:21 +00:00
  • 68dab0fe7b Move localhost check to utils Kristoffer Dalby 2021-10-29 17:04:58 +00:00
  • 6d10be8fff Change order of print/nil check in integration test Kristoffer Dalby 2021-10-29 16:49:44 +00:00
  • a23d82e33a Setup API and prepare for API keys Kristoffer Dalby 2021-10-29 16:45:06 +00:00
  • c7fa9b6e4a Setup create, delete and list namespace over grpc Kristoffer Dalby 2021-10-29 16:44:32 +00:00
  • 07bbeafa3b Fix lint errors, add initial namespace rpc Kristoffer Dalby 2021-10-29 16:43:10 +00:00
  • 06700c1dc4 Setup proto linting Kristoffer Dalby 2021-10-29 16:42:56 +00:00
  • 2d252da221 suggested documentation and comments Raal Goff 2021-10-29 21:35:07 +08:00
  • 2c071a8a2d Merge pull request #204 from kradalby/api-playground Kristoffer Dalby 2021-10-28 20:17:20 +01:00
  • f9187bdfc4 Switch to named arguments for all nodes subcommands. Update docs accordingly. Fix integration test failure. Ward Vandewege 2021-10-28 09:30:41 -04:00
  • 25c67cf2aa Update integration_test.go Ward Vandewege 2021-10-28 08:40:30 -04:00
  • b00a2729e3 Update cmd/headscale/cli/nodes.go Ward Vandewege 2021-10-28 08:39:42 -04:00
  • 6c01b86e4c Update cmd/headscale/cli/nodes.go Ward Vandewege 2021-10-28 08:39:27 -04:00
  • d086cf4691 Move the namespace argument back to a flag for the share and unshare commands. Ward Vandewege 2021-10-27 17:51:42 -04:00
  • 5054ed41ac Make ci lint fix if it can Kristoffer Dalby 2021-10-27 07:10:32 +00:00
  • e91174e83f Add gen explicitly to skip list Kristoffer Dalby 2021-10-27 07:08:24 +00:00
  • c9bd25d05c Remove golint from github actions Kristoffer Dalby 2021-10-27 07:07:44 +00:00
  • f779372154 Add golangcilint config Kristoffer Dalby 2021-10-27 07:07:19 +00:00
  • acd9ebbdf8 Let lint ignore grpcv1.go as it is placeholder Kristoffer Dalby 2021-10-27 07:06:39 +00:00
  • 6369cea10e Remove golint, its deprecated Kristoffer Dalby 2021-10-27 06:58:16 +00:00