Juan Font Alonso
a4d0efbe8d
Fix API router
2022-07-21 23:57:07 +02:00
Kristoffer Dalby
c6eb7be7fb
Merge pull request #683 from juanfont/update-contributors
2022-07-20 10:57:38 +02:00
github-actions[bot]
02c7a46b97
docs(README): update contributors
2022-07-20 07:21:19 +00:00
Kristoffer Dalby
ea7b3baa8b
Merge pull request #677 from huskyii/remove_gin
2022-07-20 09:20:24 +02:00
Jiang Zhu
5724f4607c
fix nix build
2022-07-19 20:45:32 +08:00
Jiang Zhu
b755d47652
update CHANGELOG
2022-07-19 20:45:23 +08:00
Jiang Zhu
aca5646032
remove gin completely, ~2MB reduction on final binary
2022-07-16 02:03:46 +08:00
Kristoffer Dalby
7e9abbeaec
Merge pull request #676 from juanfont/update-contributors
2022-07-15 09:15:18 +01:00
github-actions[bot]
b8c3387892
docs(README): update contributors
2022-07-12 11:35:28 +00:00
Juan Font
c50d3aa9bd
Merge pull request #675 from juanfont/configurable-update-interval
...
Make tailnet updates check interval configurable
2022-07-12 13:34:49 +02:00
Juan Font Alonso
4ccff8bf28
Added the new parameter to the integration test params
2022-07-12 13:13:04 +02:00
Juan Font Alonso
5b5298b025
Renamed config param for node update check internal
2022-07-12 12:52:03 +02:00
Juan Font Alonso
8e0939f403
Updated changelog
2022-07-12 12:33:42 +02:00
Juan Font Alonso
cf3fc85196
Make tailnet updates check configurable
2022-07-12 12:27:28 +02:00
Juan Font
e0b15c18ce
Merge pull request #667 from kradalby/rerun-docker
...
Make integration tests retry on failure.
2022-06-27 17:04:39 +02:00
Kristoffer Dalby
566b8c3df3
Fix issue were dockertest fails to start because of container mismatch
2022-06-27 12:07:30 +00:00
Kristoffer Dalby
32a6151df9
Rerun integration tests 5 times if error
2022-06-27 12:02:29 +00:00
Kristoffer Dalby
3777de7133
Use failnow for cli tests aswell
2022-06-27 12:00:21 +00:00
Kristoffer Dalby
8cae4f80d7
Fail tests instead of fatal
...
Currently we exit the program if the setup does not work, this can cause
is to leave containers and other resources behind since we dont run
TearDown. This change will just fail the test if we cant set up, which
should mean that the TearDown runs aswell.
2022-06-27 11:58:16 +00:00
Kristoffer Dalby
911c5bddce
Make saving logs from tests an option (default false)
...
We currently have a bit of flaky logic which prevents the docker plugin
from cleaning up the containers if the tests or setup fatals or crashes,
this is due to a limitation in the save / passed stats handling.
This change makes it an environment variable which by default ditches
the logs and makes the containers clean up "correctly" in the teardown
method.
2022-06-27 11:56:37 +00:00
Juan Font
4a200c308b
Merge pull request #656 from juanfont/abandon-gin
...
Drop Gin as web framework for TS2019 API
2022-06-26 15:54:41 +02:00
Juan Font Alonso
625e45b1cb
Merge branch 'abandon-gin' of https://github.com/juanfont/headscale into abandon-gin
2022-06-26 14:25:05 +02:00
Juan Font Alonso
8551b0dde0
Fixed issue when in linting rampage
2022-06-26 14:24:57 +02:00
Juan Font
050782aff3
Merge branch 'main' into abandon-gin
2022-06-26 12:36:49 +02:00
Juan Font Alonso
00885dffe1
Fix implicit memory aliasing in for loop (lint 8/n)
2022-06-26 12:35:18 +02:00
Juan Font Alonso
ffcc72876c
Lint fixes 7/n
2022-06-26 12:30:52 +02:00
Juan Font Alonso
fa91ece5b4
Lint fixes 6/n
2022-06-26 12:25:26 +02:00
Juan Font Alonso
c810b24eb9
Lint fixes 5/n
2022-06-26 12:21:35 +02:00
Juan Font Alonso
03ced0ecfe
Lint fixes 4/n
2022-06-26 12:06:25 +02:00
Juan Font Alonso
c859bea0cf
Lint fixes 3/n
2022-06-26 12:01:04 +02:00
Juan Font Alonso
a913d1b521
Lint fixes 2/n
2022-06-26 11:55:37 +02:00
Kristoffer Dalby
2464c92572
Merge pull request #665 from juanfont/update-contributors
2022-06-26 11:48:11 +02:00
Juan Font Alonso
10cd87e5a2
Lint fixes 1/n
2022-06-26 11:43:17 +02:00
Juan Font Alonso
58c336e7f4
updated nix flake go.sum
2022-06-26 11:31:31 +02:00
Juan Font
bb4a9583a7
Merge branch 'main' into abandon-gin
2022-06-26 11:08:48 +02:00
github-actions[bot]
7ae38346e5
docs(README): update contributors
2022-06-26 08:22:05 +00:00
Kristoffer Dalby
7604c0f691
Merge pull request #658 from juanfont/fix-segfault-when-not-runner
2022-06-26 10:21:27 +02:00
Kristoffer Dalby
f2f4c3f684
Merge branch 'main' into fix-segfault-when-not-runner
2022-06-26 09:52:15 +02:00
Kristoffer Dalby
34f489b1f4
Update cmd/headscale/cli/utils.go
2022-06-26 09:52:11 +02:00
Kristoffer Dalby
72d1d2630e
Update cmd/headscale/cli/utils.go
2022-06-26 09:52:04 +02:00
Kristoffer Dalby
d559e23bc6
Merge pull request #651 from iSchluff/fix/db-shutdown
2022-06-26 09:51:45 +02:00
Kristoffer Dalby
4637400d29
Update CHANGELOG.md
2022-06-26 09:30:16 +02:00
Kristoffer Dalby
0fa943e4b7
Update CHANGELOG.md
2022-06-26 09:29:33 +02:00
Kristoffer Dalby
9707b1f540
Merge branch 'main' into fix/db-shutdown
2022-06-26 08:28:50 +01:00
Juan Font Alonso
657fb208d6
Flush buffered data on polling
2022-06-25 20:47:42 +02:00
Juan Font
647972c7cf
Merge branch 'main' into fix-segfault-when-not-runner
2022-06-23 22:17:33 +02:00
Juan Font Alonso
39b58f7d4c
Use a signal to close the longpolls on shutdown
2022-06-23 19:40:07 +02:00
Juan Font Alonso
c8378e8b7d
Quick fix to segfault on CLI when Headscale is not running ( fix #652 )
2022-06-22 14:40:40 +02:00
Juan Font Alonso
d404ba102d
Use request context to close when client disconnects
2022-06-20 21:47:02 +02:00
Juan Font Alonso
5e9004c407
Fix issues in the poll loop
2022-06-20 21:40:28 +02:00