Commit Graph

5197 Commits

Author SHA1 Message Date
Virtually Nick
ce106d6426 GUACAMOLE-815: Merge remove duplicated "timezone" field definitions and translations. 2019-06-15 17:15:13 -04:00
Virtually Nick
15bb363de3 Merge 1.1.0 changes back to master. 2019-06-15 17:11:13 -04:00
Virtually Nick
8b239aec76 GUACAMOLE-422: Merge use consistent mechanism for locale preferences. 2019-06-15 17:09:53 -04:00
Michael Jumper
48ce083ad7 GUACAMOLE-815: Remove duplicated "timezone" field definitions and translations. 2019-06-15 14:00:32 -07:00
Michael Jumper
78977ae4fc GUACAMOLE-422: Use the same display mechanism and structure (the guacForm directive) for all locale preferences, not just the time zone. 2019-06-15 13:43:28 -07:00
Michael Jumper
ec963dd036 GUACAMOLE-422: Define field type which represents the ID of any supported language. 2019-06-15 13:40:16 -07:00
Virtually Nick
6dad3b249c Merge 1.1.0 changes back to master. 2019-06-08 17:45:42 -04:00
Virtually Nick
28833f3792 GUACAMOLE-422: Merge allow arbitrary versions of the Guacamole protocol to be represented. 2019-06-08 17:44:42 -04:00
Virtually Nick
ee6a79933e Merge 1.1.0 changes bcak to master. 2019-06-08 17:34:11 -04:00
Virtually Nick
203c4d9b58 GUACAMOLE-422: Merge correct non-short-circuit logic in null check. 2019-06-08 17:32:41 -04:00
Michael Jumper
092657aa79 GUACAMOLE-422: Replace non-short-circuit logic in null check (&) with proper short-circuit logic (&&).
Checking `timezone != null & !timezone.isEmpty()` will result in a
`NullPointerException` when `timezone` is null, as the `&` ensures
`timezone.isEmpty()` will run in all cases.
2019-06-08 13:44:45 -07:00
Michael Jumper
1e676559a5 GUACAMOLE-422: Correct toString() for GuacamoleProtocolVersion (must be manually implemented after migrating away from enum). Add unit test for verifying toString(). 2019-06-08 13:37:28 -07:00
Michael Jumper
84bbbc4fa0 GUACAMOLE-422: Add unit test for verifying GuacamoleProtocolVersion. 2019-06-08 13:23:47 -07:00
Michael Jumper
df9a0b1662 GUACAMOLE-422: Implement equals() and hashCode() for GuacamoleProtocolVersion. 2019-06-08 12:55:17 -07:00
Michael Jumper
dc66f84d71 GUACAMOLE-422: Clarify behavior of atLeast(). 2019-06-08 12:51:08 -07:00
Michael Jumper
8aff7b6f5b GUACAMOLE-422: Correct logic error in atLeast() - this version should be compared against otherVersion. 2019-06-08 12:48:01 -07:00
Michael Jumper
9d1b264417 GUACAMOLE-422: Clarify meaning of protocol capabilities. 2019-06-08 12:44:00 -07:00
Michael Jumper
a247ec1edc GUACAMOLE-422: Add getter for retrieving the protocol version negotiated by ConfiguredGuacamoleSocket. 2019-06-08 12:34:34 -07:00
Michael Jumper
001918e2d7 GUACAMOLE-422: Allow arbitrary protocol versions to be represented. Remove API-level assumption that protocol capabilities will have a minimum base version and remain present from that point forward. 2019-06-08 12:34:03 -07:00
Michael Jumper
4df22ce67b Merge 1.1.0 changes back to master. 2019-06-07 09:01:40 -07:00
Mike Jumper
f2ae848b1b GUACAMOLE-422: Merge support for forwarding client timezone at Guacamole protocol level. 2019-06-07 08:53:49 -07:00
Virtually Nick
a78186ee2e Merge 1.1.0 changes back to master. 2019-06-07 11:49:13 -04:00
Virtually Nick
4f340d9c6e GUACAMOLE-807: Merge correct handling of parameter tokens within LDAP. 2019-06-07 11:46:09 -04:00
Michael Jumper
1c1fac700c GUACAMOLE-807: Correct handling of parameter tokens within LDAP.
Parameter tokens are intended to be interpreted by the connections
stored within LDAP. This was previously done through explicitly using a
TokenFilter and the StandardTokens class, however usage of
StandardTokens is now deprecated and the values of tokens to be applied
are now expected to be received through connect(). Usage of
StandardTokens was removed from LDAP with commit 1210d56, but this is
insufficient. An additional parameter must also be provided to the
SimpleConnection constructor to enable its automatic token handling
behavior.
2019-06-07 08:39:30 -07:00
Virtually Nick
0344ef30e4 GUACAMOLE-805: Merge more robust handling of OpenID "id_token" parameter 2019-06-02 20:18:53 -04:00
Virtually Nick
1e13bdd319 GUACAMOLE-422: Implement retrieval of most compatible version. 2019-06-02 20:03:40 -04:00
Michael Jumper
fe7ef19851 GUACAMOLE-805: Only reformat a URL fragment that appears to be from OpenID Connect if the fragment is not already in a format consumable by AngularJS ("#?..." or "#/?..."). 2019-06-02 17:01:49 -07:00
Michael Jumper
21f1ee6ac3 GUACAMOLE-805: Handle OpenID Connect "id_token" parameter regardless of location within URL fragment. 2019-06-02 16:10:22 -07:00
Virtually Nick
2362cfcabe GUACAMOLE-742: Merge use "data-disabled" instead of "disabled" for directive attributes. 2019-05-17 06:46:19 -04:00
Michael Jumper
1a57088bfb GUACAMOLE-742: Use "data-disabled" instead of "disabled" for directive attributes.
Internet Explorer 11 interprets the "disabled" attribute on all HTML
elements, even unknown elements like AngularJS directives, disabling any
input fields that end up on the DOM tree within those elements. This
breaks the login form.

The alternative "data-disabled" attribute form supported by AngularJS
allows things to work without interference.
2019-05-16 14:21:47 -07:00
Virtually Nick
3b60f135b9 Merge 1.1.0 changes to master. 2019-05-13 21:37:17 -04:00
Virtually Nick
65a7802a5f GUACAMOLE-422: Merge switch to TIMEZONE field type for RDP/SSH "timezone" parameter. 2019-05-13 21:34:43 -04:00
Michael Jumper
fb34512833 GUACAMOLE-422: Use TIMEZONE rather than TEXT fields for RDP/SSH "timezone" parameter.
It has been confirmed that the TIMEZONE field does indeed represent IANA
time zone database IDs, as required by the "timezone" parameter.
2019-05-13 18:26:01 -07:00
Michael Jumper
5be810ec6b GUACAMOLE-422: Remove "Canada/East-Saskatchewan" time zone, which was removed from the IANA database in release 2017c of the database.
From http://mm.icann.org/pipermail/tz-announce/2017-October/000047.html:

>
> Remove Canada/East-Saskatchewan from the 'backward' file, as it
> exceeded the 14-character limit and was an unused misnomer anyway.
>
2019-05-13 18:24:37 -07:00
Michael Jumper
803ff27468 GUACAMOLE-422: Update TIMEZONE field documentation to reference IANA time zone database. 2019-05-13 18:21:38 -07:00
Virtually Nick
3c1f64ec61 GUACAMOLE-422: Update timezone format comments in AngularJS component. 2019-05-10 12:41:43 -04:00
Virtually Nick
b0698585f0 GUACAMOLE-422: Resolve commit conflict due to translation updates. 2019-05-10 12:37:56 -04:00
Virtually Nick
dd9062a841 GUACAMOLE-422: Update comments and internals of protocol methods. 2019-05-10 12:33:59 -04:00
Virtually Nick
06315a88b3 GUACAMOLE-422: Fix JSTZ license information, round 2. 2019-05-10 12:09:06 -04:00
Virtually Nick
786041668e GUACAMOLE-422: Fix JSTZ license information. 2019-05-10 12:08:19 -04:00
Virtually Nick
e02dcf8c84 Merge 1.1.0 changes back to master. 2019-05-10 11:04:19 -04:00
Virtually Nick
863147eb50 GUACAMOLE-422: Merge add definitions and translations for the RDP/SSH "timezone" parameter. 2019-05-10 10:59:48 -04:00
Virtually Nick
d61203c5ed Merge 1.1.0 changes back to master. 2019-05-10 10:09:23 -04:00
Virtually Nick
4f550018a5 GUACAMOLE-649: Merge add definition and translation for SSH "locale" parameter. 2019-05-10 10:07:45 -04:00
Michael Jumper
212a39b025 GUACAMOLE-422: Add definitions and translations for the RDP/SSH "timezone" parameter. 2019-05-09 18:39:18 -07:00
Michael Jumper
b5c5fa39ca GUACAMOLE-649: Add definition and translation for SSH "locale" parameter. 2019-05-09 18:25:23 -07:00
Virtually Nick
12ea1cb5dd GUACAMOLE-422: Document valid timezone values for setting timezone. 2019-05-06 16:29:03 -04:00
Virtually Nick
f4b41e8b19 GUACAMOLE-422: Use null exclusively for missing timezone. 2019-05-06 16:25:08 -04:00
Nick Couchman
74c07c893a GUACAMOLE-422: Implement GuacamoleProtocolCapability enum. 2019-05-06 12:18:52 -04:00
Nick Couchman
ed7a99a11b GUACAMOLE-422: More documentation updates. 2019-05-06 11:58:59 -04:00