Skip to content

Replace cloud tunnel remote access with embedded Tailscale (tsnet)#28

Draft
Copilot wants to merge 4 commits intomasterfrom
copilot/swap-remote-access-tailscale
Draft

Replace cloud tunnel remote access with embedded Tailscale (tsnet)#28
Copilot wants to merge 4 commits intomasterfrom
copilot/swap-remote-access-tailscale

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 27, 2026

  • Add tailscale.com/tsnet dependency and basic Tailscale backend
  • Restore server/remote/clients.go – bcrypt credential store for remote users
  • Restore server/remote/ratelimit.go – rate limiter for auth attempts
  • Update server/remote/tailscale.go – wrap HTTP handler with basicAuthMiddleware; middleware is a no-op when no clients are configured (open access), and enforces basic auth when clients exist
  • Update server/remote/remote.go – restore Authenticate, TrackActivity, Clients, CreateClient, DeleteClient, lastSeen/connected tracking; expose loginBlocked in status
  • Restore server/http_remote_handler.go – restore remoteClientsHandler, createRemoteClientHandler, deleteRemoteClientHandler; keep Tailscale auth-key and hostname handlers
  • Update server/http.go – restore client CRUD routes (GET/POST/DELETE /config/remote/clients)
  • Restore assets/js/components/Config/Remote/RemoteClientList.vue
  • Restore assets/js/components/Config/Remote/RemoteClientCreate.vue
  • Restore assets/js/components/Config/Remote/RemoteClientReveal.vue
  • Restore assets/js/utils/remote.ts
  • Update assets/js/components/Config/Remote/RemoteModal.vue – client management UI alongside Tailscale settings
  • Update assets/js/types/evcc.ts – restore RemoteClient, RemoteClientCreated, loginBlocked, lastSeen
  • Restore assets/js/views/Config.vueisRemoteClientActive import and full remoteTags computed
  • Update i18n/en.json and i18n/de.json – all client-related strings restored
  • All Go builds pass, gofmt clean, TypeScript/ESLint/i18n checks pass, Go tests pass

Copilot AI linked an issue Apr 27, 2026 that may be closed by this pull request
Copilot AI and others added 2 commits April 27, 2026 21:53
Copilot AI changed the title [WIP] Swap remote access to use Tailscale Replace cloud tunnel remote access with embedded Tailscale (tsnet) Apr 27, 2026
Copilot AI requested a review from jeffborg April 27, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

swap out remote access to tailscale serve

2 participants