This website requires JavaScript.
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
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