mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #5639] [CLOSED] Fix WireGuard client binding and external link toggles #5943
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#5943
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/5639
Author: @fastnas2023
Created: 6/28/2026
Status: ❌ Closed
Base:
main← Head:fix/wireguard-client-binding📝 Commits (10+)
c255c1bFix WireGuard client binding5692d26Harden WireGuard client peer lifecycledbef964Show WireGuard in client inbound pickers559293dShow all selected client inboundsbbd6a5eImprove client inbound picker layout283a7ffRefine client form modal layoutf426c6dLoosen client inbound tag spacing1dd5bd3Add enable toggle for external client links4f9e46bDocument external link enable API fieldse16ee58Extend external client link metadata📊 Changes
27 files changed (+1762 additions, -180 deletions)
View changed files
📝
frontend/public/openapi.json(+30 -13)📝
frontend/scripts/build-openapi.mjs(+12 -2)📝
frontend/src/hooks/useClients.ts(+9 -1)📝
frontend/src/pages/api-docs/endpoints.ts(+15 -13)📝
frontend/src/pages/clients/ClientBulkAddModal.tsx(+1 -1)📝
frontend/src/pages/clients/ClientFormModal.tsx(+117 -28)📝
frontend/src/pages/clients/ClientsPage.css(+142 -0)📝
frontend/src/pages/inbounds/form/protocols/wireguard.tsx(+15 -0)📝
frontend/src/schemas/client.ts(+6 -0)📝
frontend/src/schemas/protocols/inbound/wireguard.ts(+5 -0)📝
internal/database/db.go(+18 -0)📝
internal/database/model/model.go(+12 -7)📝
internal/sub/external_config.go(+67 -12)📝
internal/sub/external_config_test.go(+26 -0)📝
internal/sub/external_subscription.go(+26 -2)📝
internal/sub/mutation_audit_test.go(+11 -0)📝
internal/web/service/client_bulk.go(+129 -1)📝
internal/web/service/client_crud.go(+140 -3)📝
internal/web/service/client_external_link.go(+40 -7)➕
internal/web/service/client_external_link_test.go(+97 -0)...and 7 more files
📄 Description
Summary
settings.peers[]instead of unsupportedsettings.clients[].Verification
go test ./internal/web/service ./internal/subgo test ./...npm --prefix frontend run buildgit diff --check🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.