Issue invite configs as subscription URLs with redeem-based lifetime.

Admin picks inbound once, sets duration in days from Get config, and configures the 3x-ui /sub base URL.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
orohi
2026-07-26 01:34:40 +03:00
co-authored by Cursor
parent 7b3d8aac34
commit 7d7094bc38
13 changed files with 347 additions and 148 deletions
+16
View File
@@ -215,6 +215,20 @@
"invite_user_required": "Select a user to store configs under",
"invite_password_label": "Password (optional)",
"invite_expires_label": "Expires at (optional)",
"invite_duration_label": "Config lifetime (days)",
"invite_duration_hint": "Starts when the user clicks Get config. 0 = no expiry.",
"invite_duration_short": "Lifetime",
"invite_duration_starts_hint": "After you get a config it will work for {} day(s)",
"invite_config_expires_at": "Config valid until: {}",
"invite_inbound_hint": "Choose the VLESS inbound once — all configs from this link use it",
"invite_inbound_loading": "Loading inbounds…",
"invite_inbound_empty": "No VLESS inbounds found",
"invite_inbound_need_xui": "Configure 3x-ui in Settings first",
"invite_inbound_required": "Select a VLESS inbound",
"invite_sub_url_missing_title": "Subscription URL is not set",
"invite_sub_url_missing_hint": "In Settings → 3x-ui set Subscription URL base so invite links issue /sub/… configs.",
"invite_sub_tab": "Subscription",
"days_short": "d",
"invite_clear_expires": "Remove expiration",
"invite_note_label": "Note (admin only)",
"invite_note_placeholder": "Internal comment",
@@ -277,6 +291,8 @@
"sync_hint": "Users will be created, disabled, and deleted automatically based on Remnawave data",
"xui_url_label": "3x-ui URL",
"xui_url_hint": "Include scheme, port and webBasePath if configured (example: https://host:2053/secret)",
"xui_sub_url_label": "Subscription URL base",
"xui_sub_url_hint": "Public /sub base without trailing slash (example: https://host:2096/sub). Invite configs are issued as subscription links.",
"xui_api_token_label": "API Token (preferred)",
"xui_api_token_placeholder": "Settings → Security → API Token",
"xui_api_token_hint": "If set, username/password login is skipped",