You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/07/17 22:28:42 UTC

[14/19] incubator-guacamole-client git commit: GUACAMOLE-5: Implement QUERY_PARAMETER field type.

GUACAMOLE-5: Implement QUERY_PARAMETER field type.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/ad50a772
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/ad50a772
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/ad50a772

Branch: refs/heads/master
Commit: ad50a7729343698e69ad983dc5cdb9b848ef03a5
Parents: 0f49c39
Author: Michael Jumper <mj...@apache.org>
Authored: Wed Apr 20 12:06:40 2016 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Sat Jul 16 11:42:47 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/guacamole/form/Field.java   |  6 +++++
 .../src/main/webapp/app/rest/types/Field.js     | 28 +++++++++++++-------
 2 files changed, 24 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/ad50a772/guacamole-ext/src/main/java/org/apache/guacamole/form/Field.java
----------------------------------------------------------------------
diff --git a/guacamole-ext/src/main/java/org/apache/guacamole/form/Field.java b/guacamole-ext/src/main/java/org/apache/guacamole/form/Field.java
index d89f9f7..8b306e9 100644
--- a/guacamole-ext/src/main/java/org/apache/guacamole/form/Field.java
+++ b/guacamole-ext/src/main/java/org/apache/guacamole/form/Field.java
@@ -99,6 +99,12 @@ public class Field {
          */
         public static String TIME = "TIME";
 
+        /**
+         * An HTTP query parameter which is expected to be embedded in the URL
+         * given to a user.
+         */
+        public static String QUERY_PARAMETER = "QUERY_PARAMETER";
+
     }
 
     /**

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/ad50a772/guacamole/src/main/webapp/app/rest/types/Field.js
----------------------------------------------------------------------
diff --git a/guacamole/src/main/webapp/app/rest/types/Field.js b/guacamole/src/main/webapp/app/rest/types/Field.js
index e8589d5..5204268 100644
--- a/guacamole/src/main/webapp/app/rest/types/Field.js
+++ b/guacamole/src/main/webapp/app/rest/types/Field.js
@@ -73,7 +73,7 @@ angular.module('rest').factory('Field', [function defineField() {
          *
          * @type String
          */
-        TEXT : "TEXT",
+        TEXT : 'TEXT',
 
         /**
          * The type string associated with parameters that may contain an
@@ -82,7 +82,7 @@ angular.module('rest').factory('Field', [function defineField() {
          * 
          * @type String
          */
-        USERNAME : "USERNAME",
+        USERNAME : 'USERNAME',
 
         /**
          * The type string associated with parameters that may contain an
@@ -91,7 +91,7 @@ angular.module('rest').factory('Field', [function defineField() {
          * 
          * @type String
          */
-        PASSWORD : "PASSWORD",
+        PASSWORD : 'PASSWORD',
 
         /**
          * The type string associated with parameters that may contain only
@@ -99,7 +99,7 @@ angular.module('rest').factory('Field', [function defineField() {
          * 
          * @type String
          */
-        NUMERIC : "NUMERIC",
+        NUMERIC : 'NUMERIC',
 
         /**
          * The type string associated with parameters that may contain only a
@@ -110,7 +110,7 @@ angular.module('rest').factory('Field', [function defineField() {
          * 
          * @type String
          */
-        BOOLEAN : "BOOLEAN",
+        BOOLEAN : 'BOOLEAN',
 
         /**
          * The type string associated with parameters that may contain a
@@ -118,7 +118,7 @@ angular.module('rest').factory('Field', [function defineField() {
          * 
          * @type String
          */
-        ENUM : "ENUM",
+        ENUM : 'ENUM',
 
         /**
          * The type string associated with parameters that may contain any
@@ -126,7 +126,7 @@ angular.module('rest').factory('Field', [function defineField() {
          *
          * @type String
          */
-        MULTILINE : "MULTILINE",
+        MULTILINE : 'MULTILINE',
 
         /**
          * The type string associated with parameters that may contain timezone
@@ -135,7 +135,7 @@ angular.module('rest').factory('Field', [function defineField() {
          *
          * @type String
          */
-        TIMEZONE : "TIMEZONE",
+        TIMEZONE : 'TIMEZONE',
 
         /**
          * The type string associated with parameters that may contain dates.
@@ -143,7 +143,7 @@ angular.module('rest').factory('Field', [function defineField() {
          *
          * @type String
          */
-        DATE : "DATE",
+        DATE : 'DATE',
 
         /**
          * The type string associated with parameters that may contain times.
@@ -152,7 +152,15 @@ angular.module('rest').factory('Field', [function defineField() {
          *
          * @type String
          */
-        TIME : "TIME"
+        TIME : 'TIME',
+
+        /**
+         * An HTTP query parameter which is expected to be embedded in the URL
+         * given to a user.
+         *
+         * @type String
+         */
+        QUERY_PARAMETER : 'QUERY_PARAMETER'
 
     };