Commit Graph

2722 Commits

Author SHA1 Message Date
Michael Jumper
2f1d46aa86 GUACAMOLE-724: Provide separate, client-specific notifications for each tiled client. 2021-06-17 20:32:53 -07:00
Michael Jumper
fbdb692444 GUACAMOLE-724: Remove unused arbitrary parameters from client route (the webapp tunnel doesn't use these). 2021-06-16 11:28:35 -07:00
Michael Jumper
85d01ba730 GUACAMOLE-724: Implement base support for displaying multiple connections in a tiled grid. 2021-06-16 11:28:35 -07:00
Virtually Nick
e550b244f8 GUACAMOLE-680: Merge do not immediately re-authenticate after logout. 2021-06-15 17:22:29 -04:00
Michael Jumper
2aa6a5b628 GUACAMOLE-1364: Ensure extension resources are included in defined order. 2021-06-15 00:21:56 -07:00
Michael Jumper
6a6cae0e30 GUACAMOLE-1364: Add "extension-priority" property for overriding extension load order. 2021-06-15 00:21:56 -07:00
Michael Jumper
85bc4ac52b GUACAMOLE-680: Correct grammar of authenticationService documentation.
"promise succeeds" should be "promise that succeeds".
2021-06-14 15:48:52 -07:00
Michael Jumper
ef590d2b3b GUACAMOLE-680: Display logged-out status as notification. 2021-06-13 22:26:42 -07:00
Michael Jumper
b29c0a03ea GUACAMOLE-680: Use common styling for all dialogs/notifications. 2021-06-13 22:26:42 -07:00
Michael Jumper
529e19729b GUACAMOLE-680: Ensure the "guacLogout" event is specific to manual logouts. 2021-06-13 22:26:42 -07:00
Michael Jumper
823970eb7f GUACAMOLE-680: Display status message upon logout (rather than immediately reauthenticating).
The former behavior (immediately reauthenticating) typically results in
the login screen appearing, but will also instantly sign the user back
in if a single sign-on solution is being used. This results in the
logout action appearing to have no effect when SSO is involved.
2021-06-13 22:24:14 -07:00
Michael Jumper
581a7cb47a GUACAMOLE-680: Refactor repeated modal structures to common directive. 2021-06-13 22:24:14 -07:00
Michael Jumper
a8aa3bef52 GUACAMOLE-773: Restore missing static template/layout files.
The on-screen keyboard layouts and AngularJS templates were previously
part of the Java webapp build, but are now part of the NPM/Webpack
build. Those files were incorrectly left out of the Webpack config,
causing the on-screen keyboard and automatic display resize to fail.

Display of the on-screen keyboard fails without these files as it relies
on loading the on-screen keyboard layouts dynamically via HTTP. Handling
of automatic display resize fails because this relies on a hidden
<object> element containing a blank HTML document, with that document
served statically over HTTP.
2021-06-04 02:08:54 -07:00
Michael Jumper
b90a083fe1 GUACAMOLE-773: Use caret version notation for JavaScript dependencies where appropriate.
The default caret version notation that is already well-established in
the NPM community should be used except where there is reason not to.
Here, it makes sense to use the caret for all dependencies except:

1. "google-closure-compiler", which does not use semantic versioning
   and does not guarantee a compatible API. We cannot know that a new
   release is expected to be compatible and thus must specify an exact
   version.

2. "blob-polyfill", which does not use semantic versioning BUT must
   provide a compatible API by its own nature (it is a polyfill for an
   API defined by a W3C standard). Any current, stable release should be
   OK for "blob-polyfill", hence ">=".
2021-06-02 20:37:52 -07:00
Michael Jumper
3ec578edce GUACAMOLE-773: Remove angular-touch (no longer applicable).
Previously, the angular-touch library provided by AngularJS was used to
allow click interactions with UI components to work on touch devices
without an uncomfortable ~300ms delay. From AngularJS 1.7.x onward, this
feature of angular-touch is no longer present:

https://docs.angularjs.org/guide/migration#ngtouch

This should be OK - modern browsers will now recognize applications
aimed at touch support via the use of the "viewport" meta tag (which we
use), removing our original need for angular-touch. The same goes for
IE10+.
2021-06-02 20:37:52 -07:00
Michael Jumper
82161ae712 GUACAMOLE-773: Consider Pickr available only if initialization has completed.
In previous versions of Pickr, catching exceptions during Pickr creation
was sufficient to detect whether Pickr can be used with the current
browser. This is no longer the case, and we must instead rely on the
lack of an "init" event.
2021-06-02 20:37:52 -07:00
Michael Jumper
700e2023af GUACAMOLE-773: Remove use of XHTML-style self-closing tags from normal HTML.
This is particularly important for AngularJS 1.8.x and jQuery 3.5.0+,
which will no longer correct this automatically with their HTML
prefilters, resulting in unexpected nesting of tags when the browser
interprets something like "<div/>" as "<div>" (older versions of jQuery
would have corrected "<div/>" to "<div></div>").

See:

 * https://docs.angularjs.org/guide/migration#migrating-from-1-7-to-1-8
 * https://jquery.com/upgrade-guide/3.5/
2021-06-02 20:37:52 -07:00
Michael Jumper
e93d0faa22 GUACAMOLE-773: Update Pickr to version 1.8.1. 2021-06-02 20:37:52 -07:00
Michael Jumper
5587213183 GUACAMOLE-773: Include required polyfills for Blob and datalist. 2021-06-02 20:37:52 -07:00
Michael Jumper
c546545c5e GUACAMOLE-773: Include NPM dependencies when considering generated LICENSE. 2021-06-02 20:37:52 -07:00
Michael Jumper
5340e392c6 GUACAMOLE-773: Update to more recent version of "ssri" as suggested by npm audit. 2021-06-02 20:37:52 -07:00
Michael Jumper
503332270c GUACAMOLE-773: Remove unused messageformat dependency (it's bundled with angular-translate's messageformat support). 2021-06-02 20:37:52 -07:00
Michael Jumper
e99e304eed GUACAMOLE-773: Update to latest version of frontend-maven-plugin (properly deals with STDERR as not necessarily 100% errors). 2021-06-02 20:37:52 -07:00
Michael Jumper
9131fdbbfb GUACAMOLE-773: Automatically generate dependencies for NPM modules. 2021-06-02 20:37:52 -07:00
Michael Jumper
28cfa2b8b0 GUACAMOLE-773: Update to latest versions of all JavaScript dependencies. 2021-06-02 12:48:57 -07:00
Michael Jumper
53d3e517cc GUACAMOLE-773: Upgrade (temporarily) to angular-translate 2.17.1 to satisfy Closure Compiler.
See: https://github.com/angular-translate/angular-translate/commit/fe47ae7
2021-06-02 12:48:57 -07:00
Michael Jumper
5f0ab7b3f3 GUACAMOLE-773: Use Webpack rather than Webpack+Gulp. 2021-06-02 12:48:57 -07:00
Michael Jumper
1ef61687d8 GUACAMOLE-773: Migrate to NPM for AngularJS portion of webapp build. 2021-06-02 12:48:57 -07:00
Virtually Nick
f1c81460f5 GUACAMOLE-1204: Merge migrate Guacamole.Mouse from legacy event handlers to the new event stack. 2021-05-30 21:43:17 -04:00
Virtually Nick
a9f0e55958 GUACAMOLE-641: Merge expand extension API to allow properties to be retrieved from key vaults. 2021-05-30 21:28:08 -04:00
Michael Jumper
8d63277ba7 GUACAMOLE-1204: Migrate Guacamole.Mouse to new event stack. 2021-05-30 17:37:17 -07:00
Mike Jumper
3ec0bdbc57 GUACAMOLE-1355: Merge missing Korean translations. 2021-05-28 00:59:10 -07:00
Moon Sungjoon
49d1ad5e34 GUACAMOLE-1355: Add missing korean translation that reference others.
Lines that reference other lines on korean translation have been added.
2021-05-26 01:02:59 +09:00
Michael Jumper
4dd2a80c84 GUACAMOLE-641: Log primary sources of configuration information. 2021-05-20 16:54:45 -07:00
Michael Jumper
4d65105695 GUACAMOLE-641: Migrate existing extensions to singleton LocalEnvironment. 2021-05-20 16:54:45 -07:00
Michael Jumper
3a24b2f556 GUACAMOLE-641: Revert support for passing Environment via extension constructors.
This reverts commit 1f0b855ea4a39f4c41979ad9d59297f02f188b82.
2021-05-20 16:47:04 -07:00
Michael Jumper
fc7c7b7966 GUACAMOLE-641: Leverage singleton instance of LocalEnvironment. 2021-05-20 16:47:02 -07:00
Michael Jumper
61a3ec1331 GUACAMOLE-641: Allow extensions to add arbitrary sources of Guacamole properties. 2021-05-20 16:45:38 -07:00
Michael Jumper
9d7b979195 GUACAMOLE-641: Allow extensions to receive Environment via constructors. 2021-05-20 16:42:39 -07:00
Mike Jumper
6644955fff GUACAMOLE-1245: Merge parameter definitions for WoL UDP port. 2021-05-19 16:04:42 -07:00
Victor Cleaner
e1e60ae4c0 GUACAMOLE-781: Corrections and additions to Czech translation 2021-05-19 12:05:39 +02:00
Virtually Nick
c3812b52ee GUACAMOLE-1245: Add client parameters for specifying WoL port. 2021-05-13 16:55:30 -04:00
Virtually Nick
899fff76da GUACAMOLE-1291: Merge Korean language support 2021-05-13 14:47:38 -04:00
Moon Sungjoon
0181ed1037 GUACAMOLE-1291: Add Korean language support
Add translation files for the webapp and the following extensions:

      - guacamole-auth-cas
      - guacamole-auth-duo
      - guacamole-auth-jdbc
      - guacamole-auth-openid
      - guacamole-auth-quickconnect
      - guacamole-auth-saml
      - guacamole-auth-totp

Co-authored-by: hwjdghks <5832120@naver.com>
Co-authored-by: JueunPark <josojoso0702@gmail.com>
Co-authored-by: from97 <skm1104@daum.net>
Co-authored-by: Eomhyunjun <zzp1318@gmail.com>
2021-05-14 03:24:40 +09:00
Mike Jumper
cde84724e8 GUACAMOLE-1339: Merge updates and corrections to Spanish translation strings. 2021-05-09 15:27:55 -07:00
djrm05
0b4c4f46a2 GUACAMOLE-1339: Add missing Spanish translations for client 1.3.0
fix some translations
2021-05-09 19:38:31 +02:00
Virtually Nick
7eed39a88e GUACAMOLE-773: Merge update all Java dependencies to latest available stable versions. 2021-05-07 11:02:58 -04:00
Virtually Nick
cb41446097 GUACAMOLE-1337: Merge remove unnecessary trailing whitespace from webapp translation files 2021-04-30 08:55:49 -04:00
OctopusET
beebf265ad GUACAMOLE-1337: Remove unnessery trailing whitespaces
Following files had unnessery trailing whitespaces.

    guacamole/src/main/webapp/translations/ca.json
    guacamole/src/main/webapp/translations/en.json
    guacamole/src/main/webapp/translations/pt.json
    guacamole/src/main/webapp/translations/zh.json
2021-04-30 21:24:08 +09:00
Michael Jumper
aaa07115ba GUACAMOLE-773: Add exclusions as necessary to force correct dependency versions. Remove exclusions that are no longer necessary. 2021-04-03 12:10:10 -07:00