mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #5650] [MERGED] Add per-client external link controls #5948
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5948
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5650
Author: @fastnas2023
Created: 6/29/2026
Status: ✅ Merged
Merged: 8/18/2026
Merged by: @MHSanaei
Base:
main← Head:pr/external-link-controls📝 Commits (7)
74ba9a0Add enable toggle for external client linksbd1246cDocument external link enable API fieldseffcc9bExtend external client link metadata81cbadbFix external subscription cache status updatesaa9f26bfix(sub): stop DB writes on external-link cache hits; complete i18n9e06536Merge branch 'main' into pr/external-link-controls (PR #5650)aac7847fix(sub): address the review on per-client external link controls📊 Changes
29 files changed (+728 additions, -84 deletions)
View changed files
📝
frontend/public/openapi.json(+21 -4)📝
frontend/scripts/build-openapi.mjs(+12 -2)📝
frontend/src/hooks/useClients.ts(+8 -1)📝
frontend/src/pages/api-docs/endpoints.ts(+4 -4)📝
frontend/src/pages/clients/ClientFormModal.tsx(+105 -30)📝
frontend/src/pages/clients/ClientsPage.css(+70 -0)📝
frontend/src/schemas/client.ts(+6 -0)📝
internal/database/db.go(+40 -0)📝
internal/database/model/model.go(+12 -7)📝
internal/sub/external_config.go(+38 -19)📝
internal/sub/external_config_test.go(+26 -0)📝
internal/sub/external_subscription.go(+40 -6)📝
internal/sub/external_subscription_test.go(+124 -4)📝
internal/sub/mutation_audit_test.go(+11 -0)📝
internal/web/service/client_external_link.go(+35 -7)➕
internal/web/service/client_external_link_test.go(+124 -0)📝
internal/web/translation/ar-EG.json(+4 -0)📝
internal/web/translation/en-US.json(+4 -0)📝
internal/web/translation/es-ES.json(+4 -0)📝
internal/web/translation/fa-IR.json(+4 -0)...and 9 more files
📄 Description
Summary
Adds per-client controls for external links and external subscriptions without changing WireGuard client binding architecture.
Notes
This is intentionally split from the earlier WireGuard client-binding PR. It does not change the main WireGuard clients[] model on current main.
Verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.