Commit Graph

2790 Commits

Author SHA1 Message Date
Mike Jumper
ff6dc5f330 GUACAMOLE-784: Merge changes which tolerate the presence of a port number within X-Forwarded-For headers. 2020-01-25 22:34:05 -08:00
Virtually Nick
59c430870d Merge staging/1.1.0 changes back to master. 2020-01-20 03:48:44 -05:00
Virtually Nick
09b2400d89 GUACAMOLE-929: Merge update copyright date to 2020. 2020-01-20 03:47:53 -05:00
Virtually Nick
f8456b7282 Merge staging/1.1.0 changes back to master. 2020-01-20 03:36:12 -05:00
Michael Jumper
b8008baf6c GUACAMOLE-930: Remove unnecessary $scope.$apply().
$q and $http promises, such as the promise returned by
languageService.getLanguages(), will already implicitly $apply() when
needed.
2020-01-19 19:41:55 -08:00
Michael Jumper
76c1b0f9bb GUACAMOLE-929: Update copyright date to 2020. 2020-01-19 13:39:54 -08:00
Virtually Nick
eb2b447e25 GUACAMOLE-474: Add English translations for file upload/download options. 2019-12-26 15:45:03 -05:00
skr
25ac5f06c1 GUACAMOLE-784: Tolerate port number within X-Forwarded-For header
Currently the Regex pares only Header with IPs only.
But some Cloud Services provide Header with “IP:Port” and they are not changeable.

A change in the Line 96 and 101 could may solve this topic.

BG
Sporeno

GUACAMOLE-784: Changed Quantifiers of Port extension in the IP-Regexs

GUACAMOLE-784: Changed IP-Regexs to accept also Ports with 5 Digits (Fix)

GUACAMOLE-784: Separated Port-Regex from IP-Regexes to avoid duplicated Code for IPv4 and IPv6

Created new Constant for Port matching Regex

GUACAMOLE-784: Change Comments according standard formatting for JavaDoc comments
GUACAMOLE-784: Tolerate port number within X-Forwarded-For header

Currently the Regex pares only Header with IPs only.
But some Cloud Services provide Header with “IP:Port” and they are not changeable.

A change in the Line 96 and 101 could may solve this topic.

BG
Sporeno

GUACAMOLE-784: Changed Quantifiers of Port extension in the IP-Regexs

GUACAMOLE-784: Tolerate port number within X-Forwarded-For header
2019-12-04 07:22:55 +01:00
Michael Jumper
a4a89e983a GUACAMOLE-817: Reset keyboard state on navigation and form submission.
Firefox, and perhaps other browsers, does not fire a keyup event for
keys involved in submitting a form. This results in the enter key being
stuck in a pressed state if it is used to submit Guacamole's login
form.

Keyboard state should be reset whenever keyboard state cannot be
reliably maintained. This is already done for loss of window focus, but
should also be done for form submission (this specific case) and
navigation to a different page (generic catch-all).
2019-09-29 12:32:29 -07:00
Michael Jumper
5ff81f7735 Merge 1.1.0 changes back to master.
Conflicts:

 * extensions/guacamole-auth-cas/src/main/resources/guac-manifest.json
 * extensions/guacamole-auth-duo/src/main/resources/guac-manifest.json
 * extensions/guacamole-auth-openid/src/main/resources/guac-manifest.json
 * extensions/guacamole-auth-quickconnect/src/main/resources/guac-manifest.json
 * extensions/guacamole-auth-radius/src/main/resources/guac-manifest.json
 * extensions/guacamole-auth-totp/src/main/resources/guac-manifest.json
 * guacamole/src/main/webapp/translations/de.json
2019-09-09 18:57:01 -07:00
Mike Jumper
981adc94e6 GUACAMOLE-699: Merge changes bringing German translations up-to-date. 2019-09-09 18:52:53 -07:00
Mike Jumper
a9e9f506c7 GUACAMOLE-514: Merge parameter definition and translations for VNC "username" field. 2019-08-27 11:52:18 -07:00
Virtually Nick
9715ab12eb GUACAMOLE-514: Correct username field type and add translations. 2019-08-23 21:05:48 -04:00
Virtually Nick
e58101997f Merge 1.1.0 changes back to master. 2019-08-19 08:17:29 -04:00
Mike Jumper
339c920a89 GUACAMOLE-684: Merge changes giving tentative acceptance of credentials priority over complete refusal.
As described in the discussion surrounding the original pull request:

 * An extension throws `GuacamoleInsufficientCredentialsException`
   specifically to indicate tentative acceptance of the credentials
   passed thus far.
 * Just as such an extension that fully accepts credentials takes
   priority over an extension that refuses to accept the same, it makes
   sense to allow an extension that *tentatively* accepts those credentials
   to also take priority.

With the above perspective, authentication result priorities are as
follows, with ties broken by the inherent order of the auth providers:

 1. Acceptance (returning an `AuthenticedUser` instance).
 2. Tentative acceptance (throwing
    `GuacamoleInvalidCredentialsException`).
 3. Complete refusal (any other subclass of
    `GuacamoleCredentialsException`).
 4. Neither refusal nor acceptance (returning `null`).

See: https://github.com/apache/guacamole-client/pull/352
2019-08-19 00:11:19 -07:00
Michael Jumper
93ba19ac26 GUACAMOLE-630: Create a new injector for field type instances only if needed.
Creating a new injector re-initializes services and providers within
its modules. If those services or providers rely on being singletons
(as colorPickerService does), this produces unexpected behavior.
2019-08-18 22:00:16 -07:00
Michael Jumper
83f1849215 GUACAMOLE-630: Migrate guacInputColor to singleton instance of Pickr. 2019-08-18 21:32:58 -07:00
leetxyz
222ac78576 GUACAMOLE-699: Various fixes according to comments in PR 2019-08-12 21:02:36 +02:00
Virtually Nick
a4495cf6ec Merge 1.1.0 changes to master. 2019-08-11 19:05:11 -04:00
Michael Jumper
4768f66a8b GUACAMOLE-360: When joining an active connection, retrieve name and protocol from underlying connection. 2019-08-11 14:30:31 -07:00
Michael Jumper
04182391e9 GUACAMOLE-360: Add interface for connecting to active connections from "Active Sessions" tab. 2019-08-11 14:30:31 -07:00
Michael Jumper
1645516156 GUACAMOLE-360: Add TunnelRequestService support for joining active connections. 2019-08-11 14:30:31 -07:00
Michael Jumper
1c7242b800 GUACAMOLE-360: Refactor TunnelRequestService to handle any Connectable supported by TunnelRequestType. 2019-08-11 14:30:31 -07:00
Michael Jumper
a59e20eb8d GUACAMOLE-360: Allow connections to active connections at API level. 2019-08-10 17:19:29 -07:00
James Muehlner
51b1c08cf4 Merge 1.1.0 changes back to master. 2019-08-08 22:13:05 -07:00
James Muehlner
91bf8438db GUACAMOLE-630: Merge terminal color scheme field type. 2019-08-08 21:47:10 -07:00
Michael Jumper
518e320ef9 GUACAMOLE-630: Correct header level within terminal color scheme field.
In typical usage of the color scheme field, the "Details" header will
be fourth level, not third. Form section headers will be third.
2019-08-08 21:30:44 -07:00
Michael Jumper
7c26dfadfa GUACAMOLE-630: Add compatibility prefixes for flexbox layout properties. 2019-08-08 21:30:44 -07:00
Michael Jumper
32fd94d8d6 GUACAMOLE-630: Simplify terminal color scheme field structure and styling. 2019-08-08 21:30:44 -07:00
Michael Jumper
86d18b061b GUACAMOLE-630: Revert expansion of getFieldHeader() functionality, as it is no longer needed.
This reverts commit d618bdcabf.
2019-08-08 21:30:44 -07:00
Michael Jumper
a4a0318f95 GUACAMOLE-630: Tolerate insufficient JavaScript features to run "Pickr" color picker (Internet Explorer). 2019-08-08 21:30:44 -07:00
Michael Jumper
ad92e86b0c GUACAMOLE-630: Do not check spelling of color scheme source. 2019-08-08 21:30:44 -07:00
Michael Jumper
62108bf37c GUACAMOLE-630: Remove padding added to color scheme headers when within Guacamole menu. 2019-08-08 21:30:44 -07:00
Michael Jumper
9191a9f9ea GUACAMOLE-630: Always expand connection parameters to available width, not just within Guacamole menu. 2019-08-08 21:30:44 -07:00
Michael Jumper
54ce038e3d GUACAMOLE-630: Allow raw contents of custom color scheme to be edited directly. 2019-08-08 21:30:44 -07:00
Michael Jumper
3ce2adbae6 GUACAMOLE-630: Preserve raw contents of color scheme if manually edited. 2019-08-08 21:30:44 -07:00
Michael Jumper
588cdcd97a GUACAMOLE-630: Preserve the original color scheme string if no changes have been made. 2019-08-08 21:30:44 -07:00
Michael Jumper
038f5ba0c5 GUACAMOLE-630: Do not contain entire field nor entire header within <label>.
Enclosing the entire field within the <label> results in problems when
the field is large and when the field contains multiple interactive
elements. Clicking within interactive elements of a complex field
triggers the <label>, refocusing the first input element. If the field
is large, the <label> will contain empty space which also refocuses the
input field upon being clicked, despite appearing to be the background
of the page.
2019-08-08 21:30:44 -07:00
Michael Jumper
a1a8be6fe5 GUACAMOLE-630: Move color scheme headers within color buttons. 2019-08-08 21:30:44 -07:00
Michael Jumper
f9bfac9de2 GUACAMOLE-630: Include newlines within color scheme strings for readability. 2019-08-08 21:30:44 -07:00
Michael Jumper
02d3732c9c GUACAMOLE-630: Switch to Pickr for color picker. 2019-08-08 21:30:44 -07:00
Michael Jumper
6936aef540 GUACAMOLE-630: Allow connection parameters within Guacamole menu to use full available width. 2019-08-08 21:00:06 -07:00
Michael Jumper
cbc25aac6f GUACAMOLE-630: Add field type for terminal color schemes. 2019-08-08 21:00:06 -07:00
James Muehlner
6a8ffa0acf Merge 1.1.0 changes back to master. 2019-08-08 20:54:09 -07:00
Michael Jumper
c41b6774fd GUACAMOLE-630: Allow parameters received via "argv" streams to be edited within the Guacamole menu. 2019-08-08 20:31:16 -07:00
Virtually Nick
3a8745dd52 GUACAMOLE-514: Remove x509 additions. 2019-08-08 16:23:27 -04:00
Michael Jumper
d618bdcabf GUACAMOLE-630: Expand the getFieldHeader() utility function to accept arbitrary field names. 2019-08-07 19:58:54 -07:00
Virtually Nick
02ef3ae2d8 Merge 1.1.0 changes back to master. 2019-08-03 17:06:42 -04:00
Michael Jumper
6ebb53477c GUACAMOLE-623: Add Kubernetes protocol/parameter definitions and translations. 2019-08-03 13:58:50 -07:00
Virtually Nick
f017e805ee GUACAMOLE-514: Client-side fields and translations for VNC authentication. 2019-08-02 23:32:39 -04:00