From 9f597b1b06050e6cc88e55f47e8bbb6d3efcd98c Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 15 Aug 2024 09:30:48 +0000 Subject: [PATCH] Small fixes --- .../io/xpipe/app/prefs/AboutCategory.java | 7 ++++++ .../io/xpipe/app/util/ClipboardHelper.java | 2 +- .../java/io/xpipe/app/util/Hyperlinks.java | 1 + dist/changelogs/11.0.md | 25 ++++++------------- lang/app/strings/fixed_en.properties | 1 + lang/app/strings/translations_da.properties | 1 + lang/app/strings/translations_de.properties | 1 + lang/app/strings/translations_en.properties | 1 + lang/app/strings/translations_es.properties | 1 + lang/app/strings/translations_fr.properties | 1 + lang/app/strings/translations_it.properties | 1 + lang/app/strings/translations_ja.properties | 1 + lang/app/strings/translations_nl.properties | 1 + lang/app/strings/translations_pt.properties | 1 + lang/app/strings/translations_ru.properties | 1 + lang/app/strings/translations_tr.properties | 1 + lang/app/strings/translations_zh.properties | 1 + 17 files changed, 29 insertions(+), 19 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/prefs/AboutCategory.java b/app/src/main/java/io/xpipe/app/prefs/AboutCategory.java index 5b363285e..fe4c6f112 100644 --- a/app/src/main/java/io/xpipe/app/prefs/AboutCategory.java +++ b/app/src/main/java/io/xpipe/app/prefs/AboutCategory.java @@ -38,6 +38,13 @@ public class AboutCategory extends AppPrefsCategory { }) .grow(true, false), null) + .addComp( + new TileButtonComp("tryPtb", "tryPtbDescription", "mdi2t-test-tube", e -> { + Hyperlinks.open(Hyperlinks.GITHUB_PTB); + e.consume(); + }) + .grow(true, false), + null) .addComp( new TileButtonComp("securityPolicy", "securityPolicyDescription", "mdrmz-security", e -> { Hyperlinks.open(Hyperlinks.SECURITY); diff --git a/app/src/main/java/io/xpipe/app/util/ClipboardHelper.java b/app/src/main/java/io/xpipe/app/util/ClipboardHelper.java index 618c204c6..e8a7c4b10 100644 --- a/app/src/main/java/io/xpipe/app/util/ClipboardHelper.java +++ b/app/src/main/java/io/xpipe/app/util/ClipboardHelper.java @@ -37,7 +37,7 @@ public class ClipboardHelper { withPassword.put(DataFormat.PLAIN_TEXT, pass.getSecretValue()); clipboard.setContent(withPassword); - var transition = new PauseTransition(Duration.millis(10000)); + var transition = new PauseTransition(Duration.millis(15000)); transition.setOnFinished(e -> { var present = clipboard.getString(); if (present != null && present.equals(pass.getSecretValue())) { diff --git a/app/src/main/java/io/xpipe/app/util/Hyperlinks.java b/app/src/main/java/io/xpipe/app/util/Hyperlinks.java index 9a1b9021d..d444b1e6c 100644 --- a/app/src/main/java/io/xpipe/app/util/Hyperlinks.java +++ b/app/src/main/java/io/xpipe/app/util/Hyperlinks.java @@ -6,6 +6,7 @@ public class Hyperlinks { public static final String DOUBLE_PROMPT = "https://docs.xpipe.io/two-step-connections"; public static final String GITHUB = "https://github.com/xpipe-io/xpipe"; + public static final String GITHUB_PTB = "https://github.com/xpipe-io/xpipe"; public static final String PRIVACY = "https://docs.xpipe.io/privacy-policy"; public static final String EULA = "https://docs.xpipe.io/end-user-license-agreement"; public static final String SECURITY = "https://docs.xpipe.io/security"; diff --git a/dist/changelogs/11.0.md b/dist/changelogs/11.0.md index d41ec53e0..6ccfbf1bb 100644 --- a/dist/changelogs/11.0.md +++ b/dist/changelogs/11.0.md @@ -2,13 +2,9 @@ The scripting system has been reworked in order to make it more intuitive and powerful. -The script execution types have been renamed, the documentation has been improved, and a new execution type has been added. -The new runnable execution type will allow you to call a script from the connection hub directly in a dropdown for each connection when the script is active. -This will also replace the current terminal command functionality, which has been removed. +The script execution types have been renamed, the documentation has been improved, and a new execution type has been added. The new runnable execution type will allow you to call a script from the connection hub directly in a dropdown for each connection when the script is active. This will also replace the current terminal command functionality, which has been removed. -Any file browser scripts are now grouped by the scripts groups they are in, improving the overview when having many file browser scripts. -Furthermore, you can now launch these scripts in the file browser either in the background if they are quiet or in a terminal if they are intended to be interactive. -When multiple files are selected, a script is now called only once with all the selected files as arguments. +Any file browser scripts are now grouped by the scripts groups they are in, improving the overview when having many file browser scripts. Furthermore, you can now launch these scripts in the file browser either in the background if they are quiet or in a terminal if they are intended to be interactive. When multiple files are selected, a script is now called only once with all the selected files as arguments. ## More terminal support @@ -22,30 +18,22 @@ These work via a local SSH bridge that is managed by XPipe. ## Teleport support -There is now support to add your teleport connections that are available via tsh. -You can do that by searching for available connections on any system which has tsh installed. +There is now support to add your teleport connections that are available via tsh. You can do that by searching for available connections on any system which has tsh installed. ## Workspaces -You can now create multiple user workspaces in the settings menu. - -This will create desktop shortcuts that you can use to start XPipe with different workspaces active. +You can now create multiple user workspaces in the settings menu. This will create desktop shortcuts that you can use to start XPipe with different workspaces active. ## Serial connection support -There is now support to add serial connections. +There is now support to add serial connections. Note that this feature is untested due to me not having physical serial devices around. If you have some, it would be very helpful if you could quickly try out the serial support and share your feedback. ## TTYs and PTYs -Up until now, if you added a connection that always allocated pty, XPipe would complain about a missing stderr. -In XPipe 11, there has been a ground up rework of the shell initialization code which will in theory allow for better handling of these cases. -They are not fully supported yet and have some issues, but should work better. - -The main concern here is to verify that the existing normal shell implementation still works as before and there were no bugs introduced by this rework. +Up until now, if you added a connection that always allocated pty, XPipe would complain about a missing stderr. This was usually the case with badly implemented third-party ssh wrappers. In XPipe 11, there has been a ground up rework of the shell initialization code which will in theory allow for better handling of these cases. You can therefore now also launch such connections from the hub in a terminal. More advanced operations, such as the file browser, are not it possible for these connections though. ## Other -- Rework state information display for proxmox VMs - Fix git sync freezing when using key with passphrase on modern ssh clients - Fix git sync restarting daemon after exit when using key with passphrase - Fix git vault readme not being generated on first push when no connections were added @@ -55,6 +43,7 @@ The main concern here is to verify that the existing normal shell implementation - Fix download move operation failing when moving a directory that already existed in the downloads folder - Fix some scrollbars are necessarily showing - External git vault data files are now also encrypted by default +- Rework state information display for proxmox VMs - Automatically fill identity file for ssh config wildcard keys as well - Improve error messages when system interaction was disabled for a system - Don't show git all compatibility warnings on minor version updates diff --git a/lang/app/strings/fixed_en.properties b/lang/app/strings/fixed_en.properties index 2b04a9682..2871814f9 100644 --- a/lang/app/strings/fixed_en.properties +++ b/lang/app/strings/fixed_en.properties @@ -66,3 +66,4 @@ xShell=Xshell mobaXterm=MobaXterm termius=Termius devolutions=Devolutions +tryPtb=XPipe Public Test Build diff --git a/lang/app/strings/translations_da.properties b/lang/app/strings/translations_da.properties index fdeb9f316..a9c986d13 100644 --- a/lang/app/strings/translations_da.properties +++ b/lang/app/strings/translations_da.properties @@ -506,3 +506,4 @@ developerForceSshTtyDescription=Få alle SSH-forbindelser til at tildele en pty ttyWarning=Forbindelsen har tvangstildelt en pty/tty og giver ikke en separat stderr-strøm.\n\nDet kan føre til et par problemer.\n\nHvis du kan, så prøv at få forbindelseskommandoen til ikke at tildele en pty. xshellSetup=Xshell-opsætning termiusSetup=Termius-opsætning +tryPtbDescription=Prøv nye funktioner tidligt i XPipe-udviklernes builds diff --git a/lang/app/strings/translations_de.properties b/lang/app/strings/translations_de.properties index 8f9e0ad82..0c161bc5c 100644 --- a/lang/app/strings/translations_de.properties +++ b/lang/app/strings/translations_de.properties @@ -500,3 +500,4 @@ developerForceSshTtyDescription=Lass alle SSH-Verbindungen ein pty zuweisen, um ttyWarning=Die Verbindung hat zwangsweise ein pty/tty zugewiesen und stellt keinen separaten stderr-Stream zur Verfügung.\n\nDas kann zu einigen Problemen führen.\n\nWenn du kannst, solltest du dafür sorgen, dass der Verbindungsbefehl kein pty zuweist. xshellSetup=Xshell-Einrichtung termiusSetup=Termius Einrichtung +tryPtbDescription=Probiere neue Funktionen in XPipe-Entwickler-Builds frühzeitig aus diff --git a/lang/app/strings/translations_en.properties b/lang/app/strings/translations_en.properties index e9c8c78ab..dd60330c5 100644 --- a/lang/app/strings/translations_en.properties +++ b/lang/app/strings/translations_en.properties @@ -504,3 +504,4 @@ developerForceSshTtyDescription=Make all SSH connections allocate a pty to test ttyWarning=The connection has forcefully allocated a pty/tty and does not provide a separate stderr stream.\n\nThis might lead to a few problems.\n\nIf you can, look into making the connection command not allocate a pty. xshellSetup=Xshell setup termiusSetup=Termius setup +tryPtbDescription=Try out new features early in XPipe developer builds diff --git a/lang/app/strings/translations_es.properties b/lang/app/strings/translations_es.properties index eb5b627ba..c02b1e0c9 100644 --- a/lang/app/strings/translations_es.properties +++ b/lang/app/strings/translations_es.properties @@ -487,3 +487,4 @@ developerForceSshTtyDescription=Haz que todas las conexiones SSH asignen una pty ttyWarning=La conexión ha asignado forzosamente un pty/tty y no proporciona un flujo stderr separado.\n\nEsto puede provocar algunos problemas.\n\nSi puedes, intenta que el comando de conexión no asigne una pty. xshellSetup=Configuración de Xshell termiusSetup=Configuración de Termius +tryPtbDescription=Prueba nuevas funciones antes en las versiones para desarrolladores de XPipe diff --git a/lang/app/strings/translations_fr.properties b/lang/app/strings/translations_fr.properties index 3b40b5cb7..6fed823af 100644 --- a/lang/app/strings/translations_fr.properties +++ b/lang/app/strings/translations_fr.properties @@ -487,3 +487,4 @@ developerForceSshTtyDescription=Fais en sorte que toutes les connexions SSH allo ttyWarning=La connexion a alloué de force un pty/tty et ne fournit pas de flux stderr séparé.\n\nCela peut entraîner quelques problèmes.\n\nSi tu le peux, essaie de faire en sorte que la commande de connexion n'alloue pas de pty. xshellSetup=Configuration de Xshell termiusSetup=Installation de Termius +tryPtbDescription=Essaie les nouvelles fonctions dès le début dans les versions pour développeurs de XPipe diff --git a/lang/app/strings/translations_it.properties b/lang/app/strings/translations_it.properties index 161e07333..f151a6427 100644 --- a/lang/app/strings/translations_it.properties +++ b/lang/app/strings/translations_it.properties @@ -487,3 +487,4 @@ developerForceSshTtyDescription=Fai in modo che tutte le connessioni SSH allocin ttyWarning=La connessione ha allocato forzatamente una pty/tty e non fornisce un flusso stderr separato.\n\nQuesto potrebbe causare alcuni problemi.\n\nSe puoi, cerca di fare in modo che il comando di connessione non allarghi una pty. xshellSetup=Configurazione di Xshell termiusSetup=Configurazione di Termius +tryPtbDescription=Prova subito le nuove funzionalità nelle build per sviluppatori di XPipe diff --git a/lang/app/strings/translations_ja.properties b/lang/app/strings/translations_ja.properties index 419a34978..cce9f90b9 100644 --- a/lang/app/strings/translations_ja.properties +++ b/lang/app/strings/translations_ja.properties @@ -487,3 +487,4 @@ developerForceSshTtyDescription=すべてのSSHコネクションにptyを割り ttyWarning=接続が強制的にpty/ttyを割り当て、個別のstderrストリームを提供しない。\n\nこれはいくつかの問題を引き起こす可能性がある。\n\n可能であれば、接続コマンドで pty を割り当てないようにすることを検討してほしい。 xshellSetup=Xshellのセットアップ termiusSetup=テルミウスのセットアップ +tryPtbDescription=XPipe開発者ビルドで新機能をいち早く試す diff --git a/lang/app/strings/translations_nl.properties b/lang/app/strings/translations_nl.properties index 86c54356d..3c8b1e11d 100644 --- a/lang/app/strings/translations_nl.properties +++ b/lang/app/strings/translations_nl.properties @@ -487,3 +487,4 @@ developerForceSshTtyDescription=Laat alle SSH-verbindingen een pty toewijzen om ttyWarning=De verbinding heeft geforceerd een pty/tty toegewezen en biedt geen aparte stderr stream.\n\nDit kan tot een paar problemen leiden.\n\nAls je kunt, kijk dan of je het connection commando geen pty kunt laten toewijzen. xshellSetup=Xshell installatie termiusSetup=Termius installatie +tryPtbDescription=Nieuwe functies in een vroeg stadium uitproberen in XPipe developer builds diff --git a/lang/app/strings/translations_pt.properties b/lang/app/strings/translations_pt.properties index 27c572737..caf9f8df7 100644 --- a/lang/app/strings/translations_pt.properties +++ b/lang/app/strings/translations_pt.properties @@ -487,3 +487,4 @@ developerForceSshTtyDescription=Faz com que todas as ligações SSH atribuam um ttyWarning=A ligação atribuiu à força um pty/tty e não fornece um fluxo stderr separado.\n\nIsto pode levar a alguns problemas.\n\nSe puderes, tenta fazer com que o comando de ligação não atribua um pty. xshellSetup=Configuração do Xshell termiusSetup=Configuração do Termius +tryPtbDescription=Experimenta as novas funcionalidades nas primeiras versões de programador do XPipe diff --git a/lang/app/strings/translations_ru.properties b/lang/app/strings/translations_ru.properties index 12ecc6297..591af0c83 100644 --- a/lang/app/strings/translations_ru.properties +++ b/lang/app/strings/translations_ru.properties @@ -487,3 +487,4 @@ developerForceSshTtyDescription=Заставь все SSH-соединения ttyWarning=Соединение принудительно выделило pty/tty и не предоставляет отдельный поток stderr.\n\nЭто может привести к нескольким проблемам.\n\nЕсли можешь, попробуй сделать так, чтобы команда подключения не выделяла pty. xshellSetup=Настройка Xshell termiusSetup=Настройка Термиуса +tryPtbDescription=Опробуй новые функции на ранней стадии в сборках разработчиков XPipe diff --git a/lang/app/strings/translations_tr.properties b/lang/app/strings/translations_tr.properties index 01d77586b..56cf9a965 100644 --- a/lang/app/strings/translations_tr.properties +++ b/lang/app/strings/translations_tr.properties @@ -488,3 +488,4 @@ developerForceSshTtyDescription=Eksik bir stderr ve bir pty desteğini test etme ttyWarning=Bağlantı zorla bir pty/tty ayırmış ve ayrı bir stderr akışı sağlamıyor.\n\nBu durum birkaç soruna yol açabilir.\n\nEğer yapabiliyorsanız, bağlantı komutunun bir pty tahsis etmemesini sağlayın. xshellSetup=Xshell kurulumu termiusSetup=Termius kurulumu +tryPtbDescription=XPipe geliştirici sürümlerinde yeni özellikleri erkenden deneyin diff --git a/lang/app/strings/translations_zh.properties b/lang/app/strings/translations_zh.properties index 568a6917e..1ed38f7fb 100644 --- a/lang/app/strings/translations_zh.properties +++ b/lang/app/strings/translations_zh.properties @@ -487,3 +487,4 @@ developerForceSshTtyDescription=让所有 SSH 连接都分配一个 pty,以测 ttyWarning=连接强行分配了 pty/tty,且未提供单独的 stderr 流。\n\n这可能会导致一些问题。\n\n如果可以,请考虑让连接命令不分配 pty。 xshellSetup=Xshell 设置 termiusSetup=Termius 设置 +tryPtbDescription=在 XPipe 开发人员构建版本中提前试用新功能