Commit Graph

2184 Commits

Author SHA1 Message Date
Adrien Raffin-Caboisse 844ad15109
fix: revert previous commit and add exclusion of linter 2022-05-16 14:29:05 +02:00
Adrien Raffin-Caboisse 522e892099
fix: remove unknown linters:
When running in CI, I obtained the following error:

```
  Running [/home/runner/golangci-lint-1.41.0-linux-amd64/golangci-lint run --out-format=github-actions --new-from-patch=/tmp/tmp-1795-28vaWZek2jfM/pull.patch --new=false --new-from-rev=] in [] ...
  level=error msg="Running error: unknown linters: 'ireturn,maintidx', run 'golangci-lint linters' to see the list of supported linters"
```
2022-05-16 14:17:31 +02:00
Adrien Raffin-Caboisse 0445f404ec
fix: pin version of golangci-lint in GA 2022-05-16 14:12:49 +02:00
Adrien Raffin-Caboisse bc1909fa22 Merge branch 'feat-list-tags-of-machines' of github.com:restanrm/headscale into feat-list-tags-of-machines 2022-05-16 11:17:36 +02:00
Adrien Raffin-Caboisse ca71830963
docs: add small documentation on getTags func 2022-05-16 11:16:07 +02:00
Kristoffer Dalby a28eebfca3
Merge branch 'main' into feat-list-tags-of-machines 2022-05-15 12:11:28 +01:00
Kristoffer Dalby 0d31ea08c3
Merge pull request #578 from samson4649/main 2022-05-15 11:58:40 +01:00
Samuel Lock 614c003704 updated changelog 2022-05-14 22:36:04 +10:00
Adrien Raffin-Caboisse b511295349
fix: integration tests result
Execute command doesn't fail, the result is passed in json content.
2022-05-13 13:02:40 +02:00
Adrien Raffin-Caboisse fcdc292647
fix: update tag in db if acl is enabled 2022-05-13 13:00:32 +02:00
Adrien Raffin-Caboisse 09836cd150
chore: update vendorSha after update of go.mod and go.sum 2022-05-13 12:19:32 +02:00
Adrien Raffin-Caboisse 49ec9943b9
fix: loop over result machines instead of startup machines 2022-05-13 12:14:11 +02:00
Adrien Raffin-Caboisse 72c1edaaa4
Merge remote-tracking branch 'origin/main' into feat-list-tags-of-machines 2022-05-13 11:56:06 +02:00
Adrien Raffin-Caboisse 294ed7a751
docs: update changelog 2022-05-13 11:51:31 +02:00
Adrien Raffin-Caboisse 31c0062d5e
feat: add integration tests for tag support 2022-05-13 11:47:22 +02:00
Adrien Raffin-Caboisse 63d920510d
feat: improve nodes list with inputs from @deonthomasgy
cf: https://github.com/juanfont/headscale/compare/main...deonthomasgy:dev/thomas/show-tags
2022-05-13 11:46:28 +02:00
Adrien Raffin-Caboisse 16f9691e80
fix: ignore emptyPolicy errors for db insertion 2022-05-13 11:20:40 +02:00
Adrien Raffin-Caboisse 209d003832
feat: handle insert into database error 2022-05-13 11:09:28 +02:00
Adrien Raffin-Caboisse 62cfd60e38
feat: add validation of tags 2022-05-13 10:18:01 +02:00
Adrien Raffin-Caboisse fdbc9657bc
feat: return error if validation is failed 2022-05-13 10:14:38 +02:00
Adrien Raffin-Caboisse ad4401aa40
fix: remove debug code 2022-05-13 10:14:36 +02:00
Samuel Lock c26280c331 modified code to satisfy golangci-lint and added integration test 2022-05-11 09:31:24 +10:00
Kristoffer Dalby b028a7dfc9
Merge branch 'main' into main 2022-05-10 22:33:33 +01:00
Kristoffer Dalby 41cd0d30eb
Merge pull request #576 from juanfont/update-contributors 2022-05-10 18:26:14 +01:00
Samuel Lock 8be9e9655c fixed issue #360 2022-05-10 20:51:14 +10:00
github-actions[bot] 31bdba7456
docs(README): update contributors 2022-05-08 21:57:04 +00:00
Kristoffer Dalby d6e1d10b12
Merge pull request #573 from deonthomasgy/patch-1 2022-05-08 22:56:32 +01:00
Kristoffer Dalby 21268f7abe
Merge branch 'main' into patch-1 2022-05-08 22:55:19 +01:00
Juan Font 91b95ff707
Merge pull request #574 from deonthomasgy/main
show ipv4 address first in node list
2022-05-08 23:32:25 +02:00
Deon Thomas 6ed79b7bb8
order Ip Address, IPv4 first, cleanup 2022-05-08 15:21:10 -04:00
Deon Thomas b4f5ed6618
order ip address output, IPv4 first 2022-05-08 15:06:12 -04:00
Deon Thomas ed46491a3d
fixed typo
not => note
2022-05-07 16:23:26 -04:00
Adrien Raffin-Caboisse dc8c20e002
fix: handle empty aclPolicy for integration tests 2022-05-04 22:56:55 +02:00
Adrien Raffin-Caboisse 68417cc888
fix(go): add missing updated files 2022-05-03 20:37:06 +02:00
Adrien Raffin-Caboisse a2fb5b2b9d
Merge remote-tracking branch 'origin/main' into feat-list-tags-of-machines 2022-05-03 20:35:28 +02:00
Kristoffer Dalby 3fbfc5a649
Merge pull request #570 from juanfont/update-contributors 2022-05-02 22:23:30 +01:00
github-actions[bot] 00535a2016
docs(README): update contributors 2022-05-02 21:12:01 +00:00
Kristoffer Dalby fd452d52ca
Merge pull request #565 from apognu/dev/oidc-custom-config 2022-05-02 22:11:14 +01:00
Antoine POPINEAU 7cc58af932
Allow more configuration over the OIDC flow.
Adds knobs to configure three aspects of the OpenID Connect flow:

 * Custom scopes to override the default "openid profile email".
 * Custom parameters to be added to the Authorize Endpoint request.
 * Domain allowlisting for authenticated principals.
 * User allowlisting for authenticated principals.
2022-05-02 17:11:07 +02:00
Kristoffer Dalby ddb87af5ce
Merge pull request #569 from Kazauwa/362-add-move-command 2022-05-02 12:38:00 +01:00
Igor Perepilitsyn b9ea83fed8 check that new command does not break nodes list output 2022-05-02 15:04:24 +04:00
Igor Perepilitsyn e279224484 add integrations tests 2022-05-02 14:00:09 +04:00
Igor Perepilitsyn 12d8f0f4b0 remove redundant lines of code, fix response when output is not plain text 2022-05-02 14:00:00 +04:00
Igor Perepilitsyn 6ba68d150c correctly update machine namespace 2022-05-02 13:58:28 +04:00
Igor Perepilitsyn 1b3a7bbf03 apply styling fixes 2022-05-02 08:32:33 +04:00
Igor Perepilitsyn 4e686f8b77 add unit test 2022-05-01 21:40:18 +04:00
Igor Perepilitsyn 62c780a448 update changelog 2022-05-01 17:56:02 +04:00
Igor Perepilitsyn bc055edf12 add command for moving node between namespaces 2022-05-01 17:55:34 +04:00
Igor Perepilitsyn 47c72a4e2e add rpc method for moving node 2022-05-01 17:55:34 +04:00
Juan Font 02a78e5a45
Merge pull request #568 from juanfont/reduce-containers-int-tests
Reduce the number of containers in integration tests
2022-05-01 08:07:29 +02:00