Repository navigation
Security, account lifecycle, notifications/webhooks/backups, relays and WireGuard speed - #19
Merged
Merged
Conversation
…ation 0026 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… templates, bulk endpoint Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…subscription info API, rate limiting and cursor paging Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g, client MTU; back up node_endpoints Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…scheduled backups Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gration tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lowlist settings, 2FA admin status (en + fa) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…U and Bot API rate settings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…edis Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e in accounts, Persian strings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r host tuning, README sections Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # frontend/src/App.tsx # frontend/src/locales/fa.ts
…channel and scheduled-backup settings, Persian strings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ork tuning # Conflicts: # backend/internal/httpapi/reseller_gate_test.go # deploy/wgpanel # frontend/src/App.tsx # frontend/src/lib/apiErrors.ts # frontend/src/locales/fa.ts # frontend/src/pages/AccountsPage.tsx
The security and rate-limit branches each added clientIP with the same proxy rule. Keep the security one (also unmaps IPv4-mapped addresses and trusts link-local proxies) and keep the rate-limit test cases under a new name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # backend/cmd/api/main.go # backend/internal/httpapi/accounts.go # backend/internal/httpapi/reseller_gate_test.go # backend/internal/httpapi/server.go # frontend/src/App.tsx # frontend/src/lib/apiErrors.ts # frontend/src/locales/fa.ts # frontend/src/pages/DashboardLayout.tsx # frontend/src/pages/SettingsPage.tsx
An unquoted colon in the bulk-results description made openapi.yaml unparsable, which breaks the in-panel API Docs page. Quote it, and add TestOpenAPIParses so invalid YAML or a path added twice by two branches fails CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Channels, webhooks and the webhook settings are configuration an admin would otherwise have to re-enter after a restore. Their secrets use the same key as account keys. Event state, the feed, delivery logs and the backup schedule stay out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
go-webauthn (passkeys) requires Go 1.26, so the go.mod bump left the API and node Dockerfiles on an image that refuses to build. CI already follows go.mod. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In Persian the used/total traffic pair rendered reversed (10.0 GB / 56.7 MB) because each value was isolated but the pair wasn't. The accounts list said '1 nodes'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
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.
Adds nine features for sellers, operators and admins, plus WireGuard speed tuning. The four feature groups were built in parallel, merged here, and checked together.
Security (migration 0024)
Retry-After; lockouts are written to the audit log.wgpanel clear-ip-allowlistis the break-glass command.Account lifecycle (migration 0025)
template_idon create.POST /api/v1/accounts/bulksupports create, renew, suspend, enable, delete and reset-usage. Each item is checked against reseller limits.Events (migration 0026)
Relays and speed (migration 0027)
/s/{token}: usage, expiry, QR, config download and install steps, Persian by default.GET /api/v1/sub/{token}still serves configs to clients and bots.X-RateLimit-*headers) and cursor pagination on the accounts list.wgpanel tuneand the installers apply BBR + fq, larger buffers, conntrack sizing and UDP GRO forwarding.Integration fixes
clientIPhelper. Two branches had each added their own.openapi.yaml, and addedTestOpenAPIParsesso CI catches it next time.Testing
gofmtandgo vetare clean.go test ./...passes against a fresh TimescaleDB and Redis, covering every package and every new integration test.npm run lintshows warnings only, andnpm run buildpasses.shellcheckis clean on the deploy scripts.🤖 Generated with Claude Code