Let 3x-ui assign inbound and share link on create.

Stop requiring inbound selection in the site UI; send the create request to the chosen panel and use the link it returns.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
orohi
2026-07-26 03:40:24 +03:00
co-authored by Cursor
parent c28235b09a
commit 8dc090bd67
7 changed files with 169 additions and 174 deletions
+3 -3
View File
@@ -301,16 +301,16 @@
"xui_sync_hint": "Clients from 3x-ui inbounds will be created, disabled, and deleted as panel users (matched by email)",
"xui_inbound_label": "VLESS inbound",
"xui_inbound_auto": "Auto (first VLESS inbound)",
"xui_inbound_hint": "Used when creating 3x-ui VLESS configs. Create a VLESS inbound in 3x-ui first.",
"xui_inbound_hint": "The 3x-ui panel assigns the inbound when creating a client. This site only sends the API request.",
"xui_servers_title": "3x-ui servers",
"xui_servers_hint": "Add multiple 3x-ui panels. When creating invites/configs, pick a server by name — its subscription base URL is used.",
"xui_servers_hint": "Add 3x-ui panels. When creating invites/configs, pick a server — the panel assigns the inbound and returns the share link.",
"xui_servers_empty": "No 3x-ui servers yet. Click Add server.",
"xui_servers_manage_hint": "Panel URLs and subscription bases are managed in the “3x-ui servers” section below.",
"xui_server_add": "Add server",
"xui_server_name_label": "Name / description",
"xui_server_name_hint": "Shown in invites and user forms (e.g. US, NL, Home).",
"xui_server_select_label": "3x-ui server",
"xui_server_select_hint": "Choose which 3x-ui panel (by description) will issue the subscription URL.",
"xui_server_select_hint": "Pick a 3x-ui panel — it assigns the inbound and returns the subscription link.",
"xui_server_delete_confirm": "Delete this 3x-ui server from the panel?",
"sync_now_btn": "🔄 Sync now",
"delete_sync_btn": "🗑 Delete synchronization",
+3 -3
View File
@@ -301,16 +301,16 @@
"xui_sync_hint": "Клиенты из inbounds 3x-ui будут создаваться, отключаться и удаляться как пользователи панели (связь по email)",
"xui_inbound_label": "VLESS inbound",
"xui_inbound_auto": "Авто (первый VLESS inbound)",
"xui_inbound_hint": "Используется при создании конфигов 3x-ui VLESS. Сначала создайте VLESS inbound в 3x-ui.",
"xui_inbound_hint": "Inbound выбирает панель 3x-ui при создании клиента. Здесь сайт только отправляет запрос.",
"xui_servers_title": "Серверы 3x-ui",
"xui_servers_hint": "Можно добавить несколько панелей 3x-ui. При создании инвайта/конфига выберите сервер по описанию — будет выдан URL подписки этого сервера.",
"xui_servers_hint": "Добавьте панели 3x-ui. При создании инвайта/конфига выберите сервер — панель сама назначит inbound и вернёт ссылку.",
"xui_servers_empty": "Серверов 3x-ui пока нет. Нажмите «Добавить сервер».",
"xui_servers_manage_hint": "URL панелей и базовые URL подписок настраиваются в разделе «Серверы 3x-ui» ниже.",
"xui_server_add": "Добавить сервер",
"xui_server_name_label": "Название / описание",
"xui_server_name_hint": "Так сервер будет отображаться в инвайтах и у пользователей (например: US, NL, Home).",
"xui_server_select_label": "Сервер 3x-ui",
"xui_server_select_hint": "Выберите, с какой панели 3x-ui выдавать URL подписки.",
"xui_server_select_hint": "Выберите панель 3x-ui — она сама назначит inbound и вернёт ссылку подписки.",
"xui_server_delete_confirm": "Удалить этот сервер 3x-ui из панели?",
"sync_now_btn": "🔄 Синхронизировать сейчас",
"delete_sync_btn": "🗑 Удалить синхронизацию",