Commit Graph

2627 Commits

Author SHA1 Message Date
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
Michael Jumper
3f7d1346b3 GUACAMOLE-821: Use Japanese word for the Japanese language as the name of the Japanese translation. 2019-07-20 12:22:20 -07:00
Mike Jumper
0dee33bfe4 GUACAMOLE-821: Merge Japanese translation. 2019-07-19 23:40:10 -07:00
Virtually Nick
ba12003fd2 Merge 1.1.0 changes back to master. 2019-07-16 18:39:03 -04:00
Michael Jumper
c0d1ace629 GUACAMOLE-610: Add SSH/telnet parameter definitions for maximum scrollback size. 2019-07-16 12:11:21 -07:00
chisatohasimoto
1cf08cff8f GUACAMOLE-821:Add Japanese language support 2019-07-11 11:28:26 +09:00
P-Zs
991d0ea725 GUACAMOLE-837: Add Hungarian server layout (keyboard) option reference to en.json 2019-07-10 01:07:22 +02:00
chisatohasimoto
0cad9eef69 GUACAMOLE-821:Add Japanese language support 2019-07-08 13:28:03 +09:00
James Muehlner
02dccf148a GUACAMOLE-302: Merge $evalAsync() focus fix. 2019-06-25 20:18:03 -07:00
James Muehlner
da3da1fe10 GUACAMOLE-822: Merge fix for connection group identifiers. 2019-06-25 20:00:29 -07:00
Michael Jumper
acaa422992 GUACAMOLE-302: Do not rely on $evalAsync() for assigning focus.
$evalAsync() does not necessarily guarantee execution within a timer;
the provided function may well execute after the current $digest loop
without control returning to the browser. If we need a timer to ensure
focus() behaves reliably, we should explicitly use one via $timeout.
2019-06-25 14:15:18 -07:00
m-khan-glyptodon
68e5779592 GUACAMOLE-302: Make the binding of the guacFocus directive unidirectional.
There is an unassignable expression in the form directive that was being assinged a value by the guacFocus directive. The part that deals with this assigning is removed since no part of the app is relying upon this feature.
2019-06-25 12:00:59 -07:00
Mike Jumper
1818b6a7ee GUACAMOLE-302: Merge logic for automatically focusing relevant login fields. 2019-06-24 14:54:38 -07:00
m-khan-glyptodon
cfefd11e90 GUACAMOLE-302: Additions made to every remaining field (every field except username and password) so that they can now be manually focussed using the custom guacFocus directive. 2019-06-24 14:48:44 -07:00