forked from juanfont/headscale
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headscale: Added an option to set an Access-Control-Allow-Origin resp… #1
Open
Jisse-Meruma
wants to merge
45
commits into
updated
Choose a base branch
from
enable-cors-with-config
base: updated
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jisse-Meruma
commented
Dec 12, 2024
- [ x ] read the CONTRIBUTING guidelines
- raised a GitHub issue or discussed it on the projects chat beforehand
- added unit tests
- added integration tests
- [ x ] updated documentation if needed
- updated CHANGELOG.md
* consolidate scheduled tasks into one goroutine Signed-off-by: Kristoffer Dalby <[email protected]> * rename Tailcfg dns struct Signed-off-by: Kristoffer Dalby <[email protected]> * add dns.extra_records_path option Signed-off-by: Kristoffer Dalby <[email protected]> * prettier lint Signed-off-by: Kristoffer Dalby <[email protected]> * go-fmt Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
yuri91
requested changes
Dec 13, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
squash the commits together. other than that it looks clean to me.
Make the PR to upstream first thing on Monday (so you don't get potentially pinged on the weekend).
2c2085a
to
39bd024
Compare
Fixes juanfont#2259 Signed-off-by: Kristoffer Dalby <[email protected]>
Fixes juanfont#2291 Signed-off-by: Kristoffer Dalby <[email protected]>
yuri91
approved these changes
Dec 16, 2024
Jumpcloud send invalid json, so we need to handle it. Fixes juanfont#2293 Signed-off-by: Kristoffer Dalby <[email protected]>
* Fix excess error message during writes Fixes juanfont#2290 Signed-off-by: Kristoffer Dalby <[email protected]> * retry filewatcher on removed files This should handled if files are deleted and added again, and for rename scenarios. Fixes juanfont#2289 Signed-off-by: Kristoffer Dalby <[email protected]> * test more write and remove in filewatcher Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
39bd024
to
4183039
Compare
…uanfont#2306) * Correct macOS GUI connect guide because there's no ALT key on a mac * also correct macOS GUI connect in hscontrol text
…odesInUser (juanfont#2038) * Add -race flag to Makefile and integration tests; fix data race in CreateTailscaleNodesInUser * Fix data race in ExecuteCommand by using local buffers and mutex Signed-off-by: Dongjun Na <[email protected]> * lint Signed-off-by: Dongjun Na <[email protected]> --------- Signed-off-by: Dongjun Na <[email protected]>
The referenced version is outdated (0.23.0-beta1) and seems unmaintained.
and fix some links Ref: juanfont#2304
* Describe both ways to add extra DNS records * Use "extra" instead of "custom" to align with the configuration file * Include dns.extra_records_path in the configuration file
* Bump go crypto Closes juanfont#2281 Signed-off-by: Kristoffer Dalby <[email protected]> * upgrade tailscale Signed-off-by: Kristoffer Dalby <[email protected]> * upgrade rest Signed-off-by: Kristoffer Dalby <[email protected]> * nix: flake update --------- Signed-off-by: Kristoffer Dalby <[email protected]>
e07c42b
to
dfad6a1
Compare
* ensure valid tags is populated on user gets too Signed-off-by: Kristoffer Dalby <[email protected]> * ensure forced tags are added Signed-off-by: Kristoffer Dalby <[email protected]> * remove unused envvar in test Signed-off-by: Kristoffer Dalby <[email protected]> * debug log auth/unauth tags in policy man Signed-off-by: Kristoffer Dalby <[email protected]> * defer shutdown in tags test Signed-off-by: Kristoffer Dalby <[email protected]> * add tag test with groups Signed-off-by: Kristoffer Dalby <[email protected]> * add email, display name, picture to create user Updates juanfont#2166 Signed-off-by: Kristoffer Dalby <[email protected]> * add ability to set display and email to cli Signed-off-by: Kristoffer Dalby <[email protected]> * add email to test users in integration Signed-off-by: Kristoffer Dalby <[email protected]> * fix issue where tags were only assigned to email, not username Fixes juanfont#2300 Fixes juanfont#2307 Signed-off-by: Kristoffer Dalby <[email protected]> * expand principles to correct login name and if fix an issue where nodeip principles might not expand to all relevant IPs instead of taking the first in a prefix. Signed-off-by: Kristoffer Dalby <[email protected]> * fix ssh unit test Signed-off-by: Kristoffer Dalby <[email protected]> * update cli and oauth tests for users with email Signed-off-by: Kristoffer Dalby <[email protected]> * index by test email Signed-off-by: Kristoffer Dalby <[email protected]> * fix last test Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
* feat: add PKCE verifier for OIDC * Update CHANGELOG.md
* set state and nounce in oidc to prevent csrf Fixes juanfont#2276 * try to fix new postgres issue Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
The official iOS app now has a simpler login process for custom instances, directly within the app.
* correct changelog date Signed-off-by: Kristoffer Dalby <[email protected]> * update docs version and copyright Signed-off-by: Kristoffer Dalby <[email protected]> * fix deprecated goreleaser key and DRY Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
…oviders (juanfont#2364) * relax user validation to allow emails, add tests from various oidc providers Signed-off-by: Kristoffer Dalby <[email protected]> * changelog Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
* make it harder to insert invalid routes Signed-off-by: Kristoffer Dalby <[email protected]> * dont panic if node is not available for route Signed-off-by: Kristoffer Dalby <[email protected]> * update changelog Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
* fix postgres migration issue with 0.24 Fixes juanfont#2351 Signed-off-by: Kristoffer Dalby <[email protected]> * add postgres migration test for 2351 Signed-off-by: Kristoffer Dalby <[email protected]> * update changelog Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
* fix panic if derp update is 0 Fixes juanfont#2362 Signed-off-by: Kristoffer Dalby <[email protected]> * update changelog Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
Signed-off-by: Kristoffer Dalby <[email protected]>
* update users doc on unique constraints Signed-off-by: Kristoffer Dalby <[email protected]> * simplify finduser func Signed-off-by: Kristoffer Dalby <[email protected]> * add initial tests for findUserFromToken Signed-off-by: Kristoffer Dalby <[email protected]> * add changelog Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
The routes table has a NOT NULL constraint on node_id. Fixes: juanfont#2376
* clean up handler methods, common logging Signed-off-by: Kristoffer Dalby <[email protected]> * streamline http.Error calls Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
* initial capver packet tracking version Signed-off-by: Kristoffer Dalby <[email protected]> * Log the minimum version as client version, not only capver Signed-off-by: Kristoffer Dalby <[email protected]> * remove old versions Signed-off-by: Kristoffer Dalby <[email protected]> * use capver for integration tests Signed-off-by: Kristoffer Dalby <[email protected]> * changelog Signed-off-by: Kristoffer Dalby <[email protected]> * patch through m and n key Signed-off-by: Kristoffer Dalby <[email protected]> --------- Signed-off-by: Kristoffer Dalby <[email protected]>
…onse header to enable Cross-Origin Resource Sharing (CORS)
dfad6a1
to
68ce697
Compare
… enable cors for specific endpoints (#2)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.