diff --git a/app/src/main/java/io/xpipe/app/prefs/AppPrefs.java b/app/src/main/java/io/xpipe/app/prefs/AppPrefs.java index cafa708a7..c54aaff58 100644 --- a/app/src/main/java/io/xpipe/app/prefs/AppPrefs.java +++ b/app/src/main/java/io/xpipe/app/prefs/AppPrefs.java @@ -109,6 +109,9 @@ public class AppPrefs { map(new SimpleBooleanProperty(false), "developerDisableGuiRestrictions", Boolean.class); private final ObservableBooleanValue developerDisableGuiRestrictionsEffective = bindDeveloperTrue(developerDisableGuiRestrictions); + final BooleanProperty developerForceSshTty = + map(new SimpleBooleanProperty(false), "developerForceSshTty", Boolean.class); + final ObjectProperty language = map(new SimpleObjectProperty<>(SupportedLocale.getEnglish()), "language", SupportedLocale.class); @@ -435,6 +438,10 @@ public class AppPrefs { return developerDisableGuiRestrictionsEffective; } + public ObservableBooleanValue developerForceSshTty() { + return bindDeveloperTrue(developerForceSshTty); + } + @SuppressWarnings("unchecked") private T map(T o, String name, Class clazz) { mapping.add(new Mapping<>(name, (Property) o, (Class) clazz)); diff --git a/app/src/main/java/io/xpipe/app/prefs/DeveloperCategory.java b/app/src/main/java/io/xpipe/app/prefs/DeveloperCategory.java index 3876d4cf4..11dde276b 100644 --- a/app/src/main/java/io/xpipe/app/prefs/DeveloperCategory.java +++ b/app/src/main/java/io/xpipe/app/prefs/DeveloperCategory.java @@ -61,6 +61,8 @@ public class DeveloperCategory extends AppPrefsCategory { .sub(new OptionsBuilder() .nameAndDescription("developerDisableUpdateVersionCheck") .addToggle(prefs.developerDisableUpdateVersionCheck) + .nameAndDescription("developerForceSshTty") + .addToggle(prefs.developerForceSshTty) .nameAndDescription("developerDisableGuiRestrictions") .addToggle(prefs.developerDisableGuiRestrictions) .nameAndDescription("shellCommandTest") diff --git a/lang/app/strings/translations_da.properties b/lang/app/strings/translations_da.properties index 2a94ff634..24353a796 100644 --- a/lang/app/strings/translations_da.properties +++ b/lang/app/strings/translations_da.properties @@ -500,3 +500,5 @@ workspaceNameDescription=Visningsnavnet på arbejdsområdet workspacePath=Sti til arbejdsområde workspacePathDescription=Placeringen af arbejdsområdets datakatalog workspaceCreationAlertTitle=Oprettelse af arbejdsområde +developerForceSshTty=Fremtving SSH TTY +developerForceSshTtyDescription=Få alle SSH-forbindelser til at tildele en pty for at teste understøttelsen af en manglende stderr og en pty. diff --git a/lang/app/strings/translations_de.properties b/lang/app/strings/translations_de.properties index bec06bc85..49561f53f 100644 --- a/lang/app/strings/translations_de.properties +++ b/lang/app/strings/translations_de.properties @@ -494,3 +494,5 @@ workspaceNameDescription=Der Anzeigename des Arbeitsbereichs workspacePath=Pfad zum Arbeitsbereich workspacePathDescription=Der Ort des Datenverzeichnisses des Arbeitsbereichs workspaceCreationAlertTitle=Arbeitsbereich erstellen +developerForceSshTty=SSH TTY erzwingen +developerForceSshTtyDescription=Lass alle SSH-Verbindungen ein pty zuweisen, um die Unterstützung für einen fehlenden stderr und ein pty zu testen. diff --git a/lang/app/strings/translations_en.properties b/lang/app/strings/translations_en.properties index 0d3a8059d..591ec48bb 100644 --- a/lang/app/strings/translations_en.properties +++ b/lang/app/strings/translations_en.properties @@ -498,3 +498,5 @@ workspaceNameDescription=The display name of the workspace workspacePath=Workspace path workspacePathDescription=The location of the workspace data directory workspaceCreationAlertTitle=Workspace creation +developerForceSshTty=Force SSH TTY +developerForceSshTtyDescription=Make all SSH connections allocate a pty to test the support for a missing stderr and a pty. diff --git a/lang/app/strings/translations_es.properties b/lang/app/strings/translations_es.properties index d95a5fcb0..8177936b8 100644 --- a/lang/app/strings/translations_es.properties +++ b/lang/app/strings/translations_es.properties @@ -481,3 +481,5 @@ workspaceNameDescription=El nombre para mostrar del espacio de trabajo workspacePath=Ruta del espacio de trabajo workspacePathDescription=La ubicación del directorio de datos del espacio de trabajo workspaceCreationAlertTitle=Creación de espacios de trabajo +developerForceSshTty=Forzar SSH TTY +developerForceSshTtyDescription=Haz que todas las conexiones SSH asignen una pty para probar la compatibilidad con una stderr y una pty ausentes. diff --git a/lang/app/strings/translations_fr.properties b/lang/app/strings/translations_fr.properties index 4fbf5b9dd..1c190e175 100644 --- a/lang/app/strings/translations_fr.properties +++ b/lang/app/strings/translations_fr.properties @@ -481,3 +481,5 @@ workspaceNameDescription=Le nom d'affichage de l'espace de travail workspacePath=Chemin d'accès à l'espace de travail workspacePathDescription=L'emplacement du répertoire de données de l'espace de travail workspaceCreationAlertTitle=Création d'un espace de travail +developerForceSshTty=Force SSH TTY +developerForceSshTtyDescription=Fais en sorte que toutes les connexions SSH allouent un pty pour tester la prise en charge d'un stderr et d'un pty manquants. diff --git a/lang/app/strings/translations_it.properties b/lang/app/strings/translations_it.properties index 39c429568..d8141d3d1 100644 --- a/lang/app/strings/translations_it.properties +++ b/lang/app/strings/translations_it.properties @@ -481,3 +481,5 @@ workspaceNameDescription=Il nome di visualizzazione dell'area di lavoro workspacePath=Percorso dello spazio di lavoro workspacePathDescription=La posizione della directory dei dati dell'area di lavoro workspaceCreationAlertTitle=Creazione di uno spazio di lavoro +developerForceSshTty=Forza SSH TTY +developerForceSshTtyDescription=Fai in modo che tutte le connessioni SSH allocino una pty per testare il supporto di una stderr e di una pty mancanti. diff --git a/lang/app/strings/translations_ja.properties b/lang/app/strings/translations_ja.properties index c8f13dc6f..4f617eeca 100644 --- a/lang/app/strings/translations_ja.properties +++ b/lang/app/strings/translations_ja.properties @@ -481,3 +481,5 @@ workspaceNameDescription=ワークスペースの表示名 workspacePath=ワークスペースのパス workspacePathDescription=ワークスペースのデータディレクトリの場所 workspaceCreationAlertTitle=ワークスペースの作成 +developerForceSshTty=強制SSH TTY +developerForceSshTtyDescription=すべてのSSHコネクションにptyを割り当て、stderrとptyがない場合のサポートをテストする。 diff --git a/lang/app/strings/translations_nl.properties b/lang/app/strings/translations_nl.properties index e651cb8fb..682e44eb6 100644 --- a/lang/app/strings/translations_nl.properties +++ b/lang/app/strings/translations_nl.properties @@ -481,3 +481,5 @@ workspaceNameDescription=De weergavenaam van de werkruimte workspacePath=Werkruimte pad workspacePathDescription=De locatie van de gegevensmap van de werkruimte workspaceCreationAlertTitle=Werkruimte maken +developerForceSshTty=SSH TTY afdwingen +developerForceSshTtyDescription=Laat alle SSH-verbindingen een pty toewijzen om de ondersteuning voor een ontbrekende stderr en een pty te testen. diff --git a/lang/app/strings/translations_pt.properties b/lang/app/strings/translations_pt.properties index 7fba4e1cb..70fdcdfd2 100644 --- a/lang/app/strings/translations_pt.properties +++ b/lang/app/strings/translations_pt.properties @@ -481,3 +481,5 @@ workspaceNameDescription=O nome de apresentação do espaço de trabalho workspacePath=Caminho do espaço de trabalho workspacePathDescription=A localização do diretório de dados do espaço de trabalho workspaceCreationAlertTitle=Criação de espaço de trabalho +developerForceSshTty=Força o SSH TTY +developerForceSshTtyDescription=Faz com que todas as ligações SSH atribuam um pty para testar o suporte para um stderr e um pty em falta. diff --git a/lang/app/strings/translations_ru.properties b/lang/app/strings/translations_ru.properties index a8cb72d1f..e5ba72218 100644 --- a/lang/app/strings/translations_ru.properties +++ b/lang/app/strings/translations_ru.properties @@ -481,3 +481,5 @@ workspaceNameDescription=Отображаемое имя рабочей обла workspacePath=Путь к рабочему пространству workspacePathDescription=Расположение каталога данных рабочей области workspaceCreationAlertTitle=Создание рабочего пространства +developerForceSshTty=Принудительный SSH TTY +developerForceSshTtyDescription=Заставь все SSH-соединения выделять pty, чтобы проверить поддержку отсутствующего stderr и pty. diff --git a/lang/app/strings/translations_tr.properties b/lang/app/strings/translations_tr.properties index 8b970e969..134884ccb 100644 --- a/lang/app/strings/translations_tr.properties +++ b/lang/app/strings/translations_tr.properties @@ -482,3 +482,5 @@ workspaceNameDescription=Çalışma alanının görünen adı workspacePath=Çalışma alanı yolu workspacePathDescription=Çalışma alanı veri dizininin konumu workspaceCreationAlertTitle=Çalışma alanı oluşturma +developerForceSshTty=SSH TTY'yi Zorla +developerForceSshTtyDescription=Eksik bir stderr ve bir pty desteğini test etmek için tüm SSH bağlantılarının bir pty ayırmasını sağlayın. diff --git a/lang/app/strings/translations_zh.properties b/lang/app/strings/translations_zh.properties index d9860737b..e3471227e 100644 --- a/lang/app/strings/translations_zh.properties +++ b/lang/app/strings/translations_zh.properties @@ -481,3 +481,5 @@ workspaceNameDescription=工作区的显示名称 workspacePath=工作区路径 workspacePathDescription=工作区数据目录的位置 workspaceCreationAlertTitle=创建工作区 +developerForceSshTty=强制 SSH TTY +developerForceSshTtyDescription=让所有 SSH 连接都分配一个 pty,以测试对缺失的 stderr 和 pty 的支持。