From ccbaa2710aecb243b4ae089ef2e282766957f8e8 Mon Sep 17 00:00:00 2001 From: Virtually Nick Date: Mon, 28 Dec 2020 23:44:05 -0500 Subject: [PATCH] GUACAMOLE-1167: Add client support for choosing RDP gateway type. --- .../main/resources/org/apache/guacamole/protocols/rdp.json | 5 +++++ guacamole/src/main/frontend/src/translations/en.json | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json index 9e453fc00b..76d4dce390 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json @@ -73,6 +73,11 @@ "name" : "gateway-port", "type" : "NUMERIC" }, + { + "name" : "gateway-type", + "type" : "ENUM", + "options" : [ "", "rpc", "http", "auto" ] + }, { "name" : "gateway-username", "type" : "USERNAME" diff --git a/guacamole/src/main/frontend/src/translations/en.json b/guacamole/src/main/frontend/src/translations/en.json index d029687871..ab105e70f6 100644 --- a/guacamole/src/main/frontend/src/translations/en.json +++ b/guacamole/src/main/frontend/src/translations/en.json @@ -610,6 +610,7 @@ "FIELD_HEADER_GATEWAY_HOSTNAME" : "Hostname:", "FIELD_HEADER_GATEWAY_PASSWORD" : "Password:", "FIELD_HEADER_GATEWAY_PORT" : "Port:", + "FIELD_HEADER_GATEWAY_TYPE" : "Type:", "FIELD_HEADER_GATEWAY_USERNAME" : "Username:", "FIELD_HEADER_HEIGHT" : "Height:", "FIELD_HEADER_HOSTNAME" : "Hostname:", @@ -672,6 +673,11 @@ "FIELD_OPTION_COLOR_DEPTH_8" : "256 color", "FIELD_OPTION_COLOR_DEPTH_EMPTY" : "", + "FIELD_OPTION_GATEWAY_TYPE_AUTO" : "Auto-select type", + "FIELD_OPTION_GATEWAY_TYPE_HTTP" : "HTTP gateway", + "FIELD_OPTION_GATEWAY_TYPE_EMPTY" : "", + "FIELD_OPTION_GATEWAY_TYPE_RPC" : "RPC gateway", + "FIELD_OPTION_RESIZE_METHOD_DISPLAY_UPDATE" : "\"Display Update\" virtual channel (RDP 8.1+)", "FIELD_OPTION_RESIZE_METHOD_EMPTY" : "", "FIELD_OPTION_RESIZE_METHOD_RECONNECT" : "Reconnect",