mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-29 06:27:14 +00:00
feat: allow selecting inbounds synchronized from nodes (#5178)
* feat: select node inbounds for synchronization Allow node owners to import either all remote inbounds or an explicit tag-based selection. Add remote inbound discovery, persistence, snapshot filtering, API documentation, tests, and localized UI labels. * fix * fix: scope node reconcile and orphan sweep to selected inbound tags In 'selected' sync mode unselected inbounds never enter the panel DB, so ReconcileNode treated them as undesired and deleted them from the node the first time it went config-dirty. Reconcile now only sweeps remote tags that are part of the selection; everything else on the node is unmanaged. Panel-created or renamed inbounds on a selected-mode node also vanished: their tag was outside the selection, so the next traffic pull filtered them out of the snapshot and the orphan sweep silently dropped the central row. AddInbound/UpdateInbound now allow the tag on the node before committing. --------- Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
This commit is contained in:
@@ -860,6 +860,16 @@
|
||||
"regenerateConfirm": "重新生成会使当前令牌失效。任何使用该令牌的中央面板都会失去访问权限,直至更新。是否继续?",
|
||||
"allowPrivateAddress": "允许私有地址",
|
||||
"allowPrivateAddressHint": "仅对私有网络或VPN上的节点启用。",
|
||||
"inboundSyncMode": "入站导入",
|
||||
"inboundSyncModeHint": "选择要从此节点导入的入站。现有节点默认导入全部入站。",
|
||||
"allInbounds": "全部入站",
|
||||
"selectedInbounds": "选定的入站",
|
||||
"inboundTags": "入站",
|
||||
"inboundTagsHint": "按入站标签匹配。空选择不会导入任何入站。",
|
||||
"inboundTagsPlaceholder": "加载并选择入站",
|
||||
"loadInbounds": "从节点加载入站",
|
||||
"inboundsLoaded": "已加载 {{count}} 个入站",
|
||||
"inboundsLoadFailed": "加载入站失败",
|
||||
"enable": "已启用",
|
||||
"status": "状态",
|
||||
"cpu": "CPU",
|
||||
|
||||
Reference in New Issue
Block a user