mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-08-29 18:31:33 +00:00
fix: guide users to Auto-Tmux when a persisted session expires (#1336)
* fix: guide users to Auto-Tmux when a persisted session expires A timed-out terminal session silently reconnected to a fresh shell, so people running long jobs lost them with no explanation and never learned about Auto-Tmux. Explain the expiry with a one-click Enable Auto-Tmux action, let admins default it for new hosts and tune the persistence timeout from the UI, and move the setting up with copy that says what it does. The global default stays off. * style: format terminal expiry notice
This commit is contained in:
+15
-2
@@ -1027,7 +1027,7 @@
|
||||
"enableAutoMosh": "Enable Auto-Mosh",
|
||||
"enableAutoMoshDesc": "Prefer Mosh over SSH if available",
|
||||
"enableAutoTmux": "Enable Auto-Tmux",
|
||||
"enableAutoTmuxDesc": "Automatically launch or attach to tmux session",
|
||||
"enableAutoTmuxDesc": "Keep your shell and anything running in it alive across disconnects and browser restarts by running inside tmux (tmux must be installed on the host)",
|
||||
"enableSessionLogging": "Session Logging",
|
||||
"enableSessionLoggingDesc": "Record terminal session output for later review",
|
||||
"allowSessionSharing": "Allow Session Sharing",
|
||||
@@ -1796,7 +1796,7 @@
|
||||
"reopenTab": "Reopen",
|
||||
"sectionOpen": "Open",
|
||||
"sectionBackground": "Background",
|
||||
"backgroundDesc": "Sessions persist for 30 minutes after disconnect and can be reconnected.",
|
||||
"backgroundDesc": "Sessions persist for {{minutes}} minutes after disconnect and can be reconnected.",
|
||||
"persisted": "Persisted in background",
|
||||
"expiresIn": "Expires in {{duration}}",
|
||||
"search": "Search connections...",
|
||||
@@ -1989,6 +1989,11 @@
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"sessionExpiredNotice": "Your previous session on {{host}} expired after {{minutes}} minutes disconnected; the shell and anything running in it are gone. Enable Auto-Tmux on this host to keep sessions alive.",
|
||||
"sessionExpiredNoticeNoMinutes": "Your previous session on {{host}} expired while disconnected; the shell and anything running in it are gone. Enable Auto-Tmux on this host to keep sessions alive.",
|
||||
"enableAutoTmuxAction": "Enable Auto-Tmux",
|
||||
"autoTmuxEnabled": "Auto-Tmux enabled for {{host}}. It applies from the next connection.",
|
||||
"autoTmuxEnableFailed": "Failed to enable Auto-Tmux",
|
||||
"connect": "Connect to Host",
|
||||
"clear": "Clear",
|
||||
"paste": "Paste",
|
||||
@@ -3645,6 +3650,14 @@
|
||||
"hostDefaultsStatusCheckEnabled": "Enable Status Check",
|
||||
"hostDefaultsStatusCheckEnabledDesc": "Poll online/offline status on new hosts by default",
|
||||
"hostDefaultsTerminal": "Terminal",
|
||||
"hostDefaultsAutoTmux": "Auto-Tmux",
|
||||
"hostDefaultsAutoTmuxDesc": "Run new hosts' terminals inside tmux so sessions survive disconnects (needs tmux on the host)",
|
||||
"terminalSessionTimeout": "Terminal Session Persistence",
|
||||
"terminalSessionTimeoutDesc": "How long a disconnected terminal is kept alive on the server before it is closed. Min 1 · Max 1440 minutes. For sessions that must outlive this, enable Auto-Tmux on the host.",
|
||||
"terminalSessionTimeoutRange": "Enter a value between 1 and 1440 minutes",
|
||||
"terminalSessionTimeoutSaved": "Terminal session persistence saved",
|
||||
"terminalSessionTimeoutSaveFailed": "Failed to save terminal session persistence",
|
||||
"minutes": "minutes",
|
||||
"hostDefaultsSessionLogging": "Session Logging",
|
||||
"hostDefaultsSessionLoggingDesc": "Record terminal sessions on new hosts by default",
|
||||
"hostDefaultsCommandHistory": "Command History",
|
||||
|
||||
Reference in New Issue
Block a user