Juan Font Alonso
cb70d7c705
Return the results on error
2022-09-07 23:53:31 +02:00
Juan Font Alonso
b27b789e28
Added base config file template
2022-09-07 18:40:02 +02:00
Juan Font
a0a463494b
Merge pull request #797 from madjam002/patch-1
...
Remove --rm flag from Docker example
2022-09-07 17:13:14 +02:00
Jamie Greeff
07dca79b20
Remove --rm flag from Docker example
...
It appears to be causing confusion for users on Discord when copying/pasting from the example here, if Headscale crashes on launch then the container will be removed and logs can't be viewed with `docker logs`.
2022-09-07 14:16:04 +01:00
Mike Lloyd
0fe3c21223
Move map block out of server block
2022-09-06 16:12:20 -07:00
Mike Lloyd
45df6e77ff
Apply suggestions from code review
...
Thanks for the pointers!
Co-authored-by: Juan Font <juanfontalonso@gmail.com>
2022-09-06 15:37:39 -07:00
Juan Font
470c49394c
Merge branch 'main' into preauthkey-tags
2022-09-07 00:22:36 +02:00
Juan Font
31662bcd28
Merge branch 'main' into reverse-proxy
2022-09-07 00:19:57 +02:00
Juan Font
7247302f45
Merge branch 'main' into feature/json-logs
2022-09-07 00:05:38 +02:00
Juan Font
1a5a5b12b7
Merge pull request #795 from stefanvanburen/svanburen/buf-mod-update
...
Run `buf mod update` in protos/
2022-09-06 23:49:32 +02:00
Stefan VanBuren
0099dd1724
Run buf mod update
2022-09-06 14:52:09 -04:00
Juan Font
1f131c6729
Merge branch 'main' into feature/json-logs
2022-09-06 20:18:35 +02:00
Juan Font
449a135b94
Merge pull request #791 from kradalby/add-logo
...
Add logo files and add to readme
2022-09-05 15:34:00 +02:00
Kristoffer Dalby
002d484abe
use logo in readme correcly
2022-09-05 15:31:03 +02:00
Kristoffer Dalby
9823ef2af5
use logo in readme
2022-09-05 15:30:19 +02:00
Kristoffer Dalby
641c6fd439
Add logo files
2022-09-05 15:29:30 +02:00
Mike Lloyd
3a042471b7
Add web sockets section
2022-09-04 17:39:51 -07:00
Mike Lloyd
dc18d64286
Add websockets config
2022-09-04 17:26:33 -07:00
Benjamin George Roberts
72a43007d8
fix broken preauth-key tag test
2022-09-05 09:44:55 +10:00
Juan Font
f6153a9b5d
Merge branch 'main' into preauthkey-tags
2022-09-04 22:35:51 +02:00
Juan Font
302a88bfdb
Merge branch 'main' into feature/json-logs
2022-09-04 22:32:58 +02:00
Mike Lloyd
f6e83413e5
Add PR link to changelog
2022-09-04 09:49:34 -07:00
Mike Lloyd
02ab3a2cb6
Update changelog
2022-09-04 09:46:11 -07:00
Mike Lloyd
90e840c3c9
Add reverse proxy documentation
2022-09-04 09:42:23 -07:00
Juan Font
af60ffb7fa
Merge pull request #788 from juanfont/warn-websockets-requirement
...
Warn when Headscale is running behind an improperly configured proxy
2022-09-04 16:44:54 +02:00
Juan Font Alonso
c28e559da4
Updated changelog
2022-09-04 16:23:46 +02:00
Juan Font Alonso
5c59255b41
Also warn in DERP server if Websockets are not properly working
2022-09-04 16:13:48 +02:00
Juan Font Alonso
a377ee14b4
Minor message change
2022-09-04 16:13:30 +02:00
Juan Font Alonso
2262188d8a
Warn when Headscale is running behind a wrongly configured proxy
2022-09-04 16:05:21 +02:00
Juan Font
7c49c752a9
Merge pull request #786 from juanfont/update-deps-20220904
...
Update dependencies 20220904
2022-09-04 16:01:52 +02:00
Juan Font Alonso
e29726cc50
Updated nix sum
2022-09-04 15:45:35 +02:00
Juan Font Alonso
3c73cbe92b
Merge branch 'main' into update-deps-20220904
2022-09-04 15:37:25 +02:00
Juan Font Alonso
cc357062be
Missing go.sum
2022-09-04 15:36:59 +02:00
Juan Font Alonso
17c06f7167
Upgrade direct dependencies
2022-09-04 15:36:00 +02:00
Juan Font
d12e0156c3
Merge pull request #784 from juanfont/fix-go-1.19-lint
...
Fix linting broken after Go 1.19
2022-09-04 15:31:41 +02:00
Juan Font Alonso
204dedaa49
Only pass the context in pollmap, no req needed
2022-09-04 15:14:12 +02:00
Juan Font Alonso
52073ce7c9
Pass context in OIDC helpers
2022-09-04 15:02:18 +02:00
Juan Font Alonso
434747e007
Use timeout in lets encrypt http server
2022-09-04 11:47:05 +02:00
Juan Font Alonso
7a78314d9d
Remove nolint directives
2022-09-04 11:44:24 +02:00
Juan Font Alonso
f23e9dc235
Pass the req context when pinging the DB
2022-09-04 11:43:09 +02:00
Juan Font Alonso
4527801d48
More unused parameters removed in protocol functions
2022-09-04 11:41:31 +02:00
Juan Font Alonso
e0857f0226
Removed unused parameters in protocol functions
2022-09-04 11:40:14 +02:00
Juan Font Alonso
0d074b1da6
setLastStateChangeToNow was always receiving nil
2022-09-04 11:37:49 +02:00
Juan Font Alonso
f2fda4f906
Return error on marshaling issues
2022-09-04 11:36:03 +02:00
Juan Font Alonso
c1c36036ae
Add timeouts for the Noise server
2022-09-04 11:35:39 +02:00
Juan Font Alonso
9a1438d2e3
Use inherited context
2022-09-04 11:35:13 +02:00
Juan Font Alonso
582122851d
Go do not like underscores in packages
2022-09-04 11:34:23 +02:00
Juan Font Alonso
f4d197485c
Use library const for HTTP verbs
2022-09-04 11:33:00 +02:00
Juan Font Alonso
68305df9b2
Applied gofumpt
2022-09-04 11:32:29 +02:00
Juan Font Alonso
ca0be81833
Target the latest version for golint
2022-09-04 11:31:06 +02:00