This is an automated email from the ASF dual-hosted git repository.

jmuehlner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/guacamole-client.git


The following commit(s) were added to refs/heads/main by this push:
     new e34c75003 GUACAMOLE-1931: Add configuration option to allow 
overwriting typescript files.
e34c75003 is described below

commit e34c750032ec95777144717a849c1da5d03c7514
Author: James Muehlner <james.muehl...@guac-dev.org>
AuthorDate: Thu Mar 28 21:53:29 2024 +0000

    GUACAMOLE-1931: Add configuration option to allow overwriting typescript 
files.
---
 .../main/resources/org/apache/guacamole/protocols/kubernetes.json    | 5 +++++
 .../src/main/resources/org/apache/guacamole/protocols/ssh.json       | 5 +++++
 .../src/main/resources/org/apache/guacamole/protocols/telnet.json    | 5 +++++
 guacamole/src/main/frontend/src/translations/en.json                 | 5 +++++
 4 files changed, 20 insertions(+)

diff --git 
a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/kubernetes.json
 
b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/kubernetes.json
index 266d9f271..c0f23eb50 100644
--- 
a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/kubernetes.json
+++ 
b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/kubernetes.json
@@ -122,6 +122,11 @@
                     "name"  : "create-typescript-path",
                     "type"  : "BOOLEAN",
                     "options" : [ "true" ]
+                },
+                {
+                    "name"  : "typescript-write-existing",
+                    "type"  : "BOOLEAN",
+                    "options" : [ "true" ]
                 }
             ]
         },
diff --git 
a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json 
b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json
index 34b1ed5b7..3f27172c8 100644
--- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json
+++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json
@@ -140,6 +140,11 @@
                     "name"  : "create-typescript-path",
                     "type"  : "BOOLEAN",
                     "options" : [ "true" ]
+                },
+                {
+                    "name"  : "typescript-write-existing",
+                    "type"  : "BOOLEAN",
+                    "options" : [ "true" ]
                 }
             ]
         },
diff --git 
a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json 
b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json
index 679d120fb..42640b5eb 100644
--- 
a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json
+++ 
b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json
@@ -122,6 +122,11 @@
                     "name"  : "create-typescript-path",
                     "type"  : "BOOLEAN",
                     "options" : [ "true" ]
+                },
+                {
+                    "name"  : "typescript-write-existing",
+                    "type"  : "BOOLEAN",
+                    "options" : [ "true" ]
                 }
             ]
         },
diff --git a/guacamole/src/main/frontend/src/translations/en.json 
b/guacamole/src/main/frontend/src/translations/en.json
index 5a2ecfdf4..5473f77cd 100644
--- a/guacamole/src/main/frontend/src/translations/en.json
+++ b/guacamole/src/main/frontend/src/translations/en.json
@@ -47,6 +47,8 @@
         "FIELD_HEADER_PASSWORD_AGAIN" : "Re-enter Password:",
         "FIELD_HEADER_RECORDING_WRITE_EXISTING" : "Allow writing to existing 
recording file:",
 
+        "FIELD_HEADER_TYPESCRIPT_WRITE_EXISTING" : "Allow writing to existing 
typescript file:",
+
         "FIELD_PLACEHOLDER_FILTER" : "Filter",
 
         "FORMAT_DATE_TIME_PRECISE" : "yyyy-MM-dd HH:mm:ss",
@@ -524,6 +526,7 @@
         "FIELD_HEADER_SCROLLBACK"      : "Maximum scrollback size:",
         "FIELD_HEADER_TYPESCRIPT_NAME" : "Typescript name:",
         "FIELD_HEADER_TYPESCRIPT_PATH" : "Typescript path:",
+        "FIELD_HEADER_TYPESCRIPT_WRITE_EXISTING" : 
"@:APP.FIELD_HEADER_TYPESCRIPT_WRITE_EXISTING",
         "FIELD_HEADER_USE_SSL"         : "Use SSL/TLS",
 
         "FIELD_OPTION_BACKSPACE_EMPTY" : "",
@@ -753,6 +756,7 @@
         "FIELD_HEADER_TIMEZONE"        : "Time zone ($TZ):",
         "FIELD_HEADER_TYPESCRIPT_NAME" : "Typescript name:",
         "FIELD_HEADER_TYPESCRIPT_PATH" : "Typescript path:",
+        "FIELD_HEADER_TYPESCRIPT_WRITE_EXISTING" : 
"@:APP.FIELD_HEADER_TYPESCRIPT_WRITE_EXISTING",
         "FIELD_HEADER_WOL_BROADCAST_ADDR" : "Broadcast address for WoL 
packet:",
         "FIELD_HEADER_WOL_MAC_ADDR"       : "MAC address of the remote host:",
         "FIELD_HEADER_WOL_SEND_PACKET"    : "Send WoL packet:",
@@ -837,6 +841,7 @@
         "FIELD_HEADER_TERMINAL_TYPE"   : "Terminal type:",
         "FIELD_HEADER_TYPESCRIPT_NAME" : "Typescript name:",
         "FIELD_HEADER_TYPESCRIPT_PATH" : "Typescript path:",
+        "FIELD_HEADER_TYPESCRIPT_WRITE_EXISTING" : 
"@:APP.FIELD_HEADER_TYPESCRIPT_WRITE_EXISTING",
         "FIELD_HEADER_WOL_BROADCAST_ADDR" : "Broadcast address for WoL 
packet:",
         "FIELD_HEADER_WOL_MAC_ADDR"       : "MAC address of the remote host:",
         "FIELD_HEADER_WOL_SEND_PACKET"    : "Send WoL packet:",

Reply via email to