[PR #392] [MERGED] Add /windows endpoint for Windows configuration + /apple endpoint cleanup #1425

Closed
opened 2025-12-29 02:30:01 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/392
Author: @e-zk
Created: 3/4/2022
Status: Merged
Merged: 3/4/2022
Merged by: @kradalby

Base: mainHead: windows-endpoint


📝 Commits (6)

  • b342cf0 feat(windows): cleanup /apple endpoint
  • 12a50ac feat(windows): add /windows endpoint for Windows configuration
  • f9e0c13 docs: update CHANGELOG
  • d69dada feat(windows): rename apple_mobileconfig.go => platform_config.go
  • 575f33d docs: fix comments to comply with golangci-lint
  • e799307 Merge branch 'main' into windows-endpoint

📊 Changes

3 files changed (+116 additions, -9 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 app.go (+3 -1)
📝 platform_config.go (+112 -8)

📄 Description

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Closes #340.

/windows:

  • Allows download of pre-filled .reg file /windows/tailscale.reg
  • Includes CLI/command-prompt instructions as well

/apple changes:

  • Renamed the function that prints HTML to AppleConfigMessage to match WindowsConfigMessage.
  • The template for /apple used .Url, when the correct variable needed to be .URL. This has been fixed.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/392 **Author:** [@e-zk](https://github.com/e-zk) **Created:** 3/4/2022 **Status:** ✅ Merged **Merged:** 3/4/2022 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `windows-endpoint` --- ### 📝 Commits (6) - [`b342cf0`](https://github.com/juanfont/headscale/commit/b342cf0240eac731db756399130d62382ca7ad28) feat(windows): cleanup /apple endpoint - [`12a50ac`](https://github.com/juanfont/headscale/commit/12a50ac8ac79d05a5f896633b4809fea32034810) feat(windows): add /windows endpoint for Windows configuration - [`f9e0c13`](https://github.com/juanfont/headscale/commit/f9e0c13890891b3696b5587824c96077ff65f717) docs: update CHANGELOG - [`d69dada`](https://github.com/juanfont/headscale/commit/d69dada8ff7be8c2e13cd4e6c67e97481b2810d7) feat(windows): rename apple_mobileconfig.go => platform_config.go - [`575f33d`](https://github.com/juanfont/headscale/commit/575f33d18326df526214f58949a5834738b0dbaa) docs: fix comments to comply with golangci-lint - [`e799307`](https://github.com/juanfont/headscale/commit/e799307e74e42485e027d3fbc8709c3fd789374a) Merge branch 'main' into windows-endpoint ### 📊 Changes **3 files changed** (+116 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `app.go` (+3 -1) 📝 `platform_config.go` (+112 -8) </details> ### 📄 Description <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#user-content-contributing) - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [x] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> Closes #340. `/windows`: - Allows download of pre-filled `.reg` file `/windows/tailscale.reg` - Includes CLI/command-prompt instructions as well `/apple` changes: - Renamed the function that prints HTML to `AppleConfigMessage` to match `WindowsConfigMessage`. - The template for `/apple` used `.Url`, when the correct variable needed to be `.URL`. This has been fixed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:30:01 +01:00
adam closed this issue 2025-12-29 02:30:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1425