Commit Graph

5351 Commits

Author SHA1 Message Date
Virtually Nick
211f8e2b25 GUACAMOLE-966: Bump client version numbers to 1.2.0 2020-02-27 14:02:45 -05:00
Virtually Nick
bc83918fb3 GUACAMOLE-955: Merge provide default translation string for all untranslated messages. 2020-02-11 09:17:51 -05:00
Michael Jumper
ea8e181e2c GUACAMOLE-955: Provide default translation string for all untranslated messages. 2020-02-10 22:03:35 -08:00
Virtually Nick
b51d2a88b8 Merge staging/1.1.0 changes back to master. 2020-01-26 11:52:17 -05:00
Virtually Nick
ae4361ab70 GUACAMOLE-938: Merge unify bind/connect process for all LDAP connections. 2020-01-26 11:50:11 -05:00
Michael Jumper
a8b01895d8 GUACAMOLE-938: Correct typos in createLDAPConnection() documentation and copypasta repeating those typos. 2020-01-26 07:50:55 -08:00
Michael Jumper
fe7492292d GUACAMOLE-938: Use STARTTLS for "ldap://..." URLs if main LDAP connection uses STARTTLS. 2020-01-26 07:46:41 -08:00
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
Mike Jumper
9fdcccf79d GUACAMOLE-852: Merge support for selecting either MySQL or MariaDB JDBC drivers. 2020-01-25 22:06:13 -08:00
Michael Jumper
cb53b17afb GUACAMOLE-938: Refactor LDAP connect/bind process such that the same code is used for all LDAP connection attempts, including referrals. 2020-01-25 14:36:30 -08:00
Michael Jumper
15b631514d GUACAMOLE-938: Remove disconnect() utility function. Closing an LdapNetworkConnection cannot throw an IOException. 2020-01-24 22:52:17 -08:00
Virtually Nick
a9495628af Merge staging/1.1.0 changes back to master. 2020-01-24 04:51:57 -05:00
Virtually Nick
9c72a87c6a GUACAMOLE-936: Merge ensure LDAP connections for followed referrals are always closed 2020-01-24 04:51:35 -05:00
Michael Jumper
5c2f44ae3a GUACAMOLE-936: Clean up referral logic and logging. Ensure associated LDAP connections are always closed. 2020-01-24 01:12:00 -08:00
Virtually Nick
9dddfdb50c Merge staging/1.1.0 changes back to master. 2020-01-24 02:35:29 -05:00
Virtually Nick
67bd94b1f8 GUACAMOLE-937: Merge return null on bindAs() failures. 2020-01-24 02:31:26 -05:00
Michael Jumper
2cb0efeda6 GUACAMOLE-937: Return null on bindAs() failures. Rely on caller to interpret and handle failures.
Throwing GuacamoleInvalidCredentialsException breaks separation of
concerns (bindAs() shouldn't assume that it's being used during login
and that credentials given are the Guacamole user's credentials), and
has unintended side effects (throwing subclasses of
GuacamoleUnauthorizedException causes implicit session invalidation).
2020-01-23 23:24:47 -08:00
Virtually Nick
180253dad3 Merge staging/1.1.0 changes back to master. 2020-01-24 02:20:26 -05:00
Virtually Nick
3805a7527d GUACAMOLE-936: Merge LdapNetworkConnection must be closed 2020-01-24 02:18:12 -05:00
Michael Jumper
00327706b0 GUACAMOLE-936: Each LdapNetworkConnection must be closed or threads are leaked, causing Tomcat to fail to shutdown. 2020-01-22 22:07:11 -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
Virtually Nick
e2e5853991 GUACAMOLE-930: Merge remove unnecessary $scope.$apply(). 2020-01-20 03:33:56 -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
e450e201ec GUACAMOLE-905: Merge automatically resume AudioContext when recording starts. 2020-01-12 20:22:10 -05:00
Michael Jumper
e27fe504a9 GUACAMOLE-905: Automatically resume AudioContext when recording starts.
The AudioContext is paused by default in Google Chrome as a defense
against autoplay. It can be explicitly resumed with resume() as long as
there has been enough interaction with the page.
2020-01-12 17:19:18 -08:00
Virtually Nick
720c0bd43d GUACOMOLE-300: Merge support posixGroup in LDAP Authentication and Group-based Session Admission 2020-01-11 04:43:58 -05:00
Magnus Lewis-Smith
ac0b8a9865 GUACAMOLE-300: fix guac-style whitespace issues 2020-01-08 11:50:40 +00:00
Virtually Nick
b4fa40ad34 GUACAMOLE-852: Support either MySQL or MariaDB JDBC drivers. 2019-12-26 22:11:33 -05:00
Virtually Nick
a0bac666db GUACAMOLE-732: Merge retrieve audio stream via Promise for newer versions of getUserMedia(). 2019-12-24 01:26:27 -05:00
Michael Jumper
e93d3e00f2 GUACAMOLE-732: Retrieve audio stream via Promise for newer versions of getUserMedia(). 2019-12-23 20:40:34 -08: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
Magnus Lewis-Smith
41fec2793d GUACAMOLE-300: conform to guac-style style guidelines
https://guacamole.apache.org/guac-style/
2019-10-23 12:34:23 +01:00
Magnus Lewis-Smith
450af91be9 GUACAMOLE-300: Support posixGroup in LDAP Authentication and Group-based Session Admission
reset/rebase/squash a chaos of commits:
- implement user/group membership search using Apache Directory Ldap module instead of JLDAP
- Retrieve user's group membership if specified by username rather than DN
- New enum 'MemberAttributeType'
- New GuacamoleProperty 'MemberAttributeTypeProperty'
- New configuration property 'ldap-member-attribute-type'
    Specifies what the field specified by 'ldap-member-attribute' actually
    contains -- "dn" (default) or "uid" or ...
2019-10-23 11:10:20 +01:00
Virtually Nick
062edda07b GUACAMOLE-897: Merge add Docker support for restricting authentication to database users only 2019-10-22 10:34:20 -04:00
Stephen Cluff
1358eb002e GUACAMOLE-897: Docker support for restricting authentication to database users only 2019-10-21 21:11:01 -07:00
Michael Jumper
ff8fb55880 Merge 1.1.0 changes back to master. 2019-10-11 10:43:55 -07:00
Mike Jumper
51de21b745 GUACAOMLE-893: Merge fix for regression in LDAP filter generation. 2019-10-11 10:42:54 -07:00
Virtually Nick
a037146a87 GUACAMOLE-893: Fix issue where just checking for attribute presence. 2019-10-10 20:53:07 -04:00
Virtually Nick
32b106b982 GUACAMOLE-884: Merge Leverage createImageBitmap() for reading image data where supported 2019-10-09 15:52:09 -04:00
Virtually Nick
10b3adcd83 GUACAMOLE-893: Fix regression in LDAP causing null filter value to be sent. 2019-10-09 14:53:34 -04:00
Virtually Nick
344e6c1b46 GUACAMOLE-889: Fix mismatching attribute names 2019-10-04 13:33:57 -04:00
Inperpetuammemoriam
e1f4f8ab97 GUACAMOLE-889: Fix mismatching attribute names
This patch targets the following error message:

line 30 objectClass: AttributeType not found: "protocol"
2019-10-04 19:10:25 +02:00
Michael Jumper
1e9ddc2183 GUACAMOLE-884: Note that the drawImage() functions accept anything implementing the CanvasImageSource interface, not just Image. 2019-09-29 22:17:45 -07:00
Michael Jumper
6649c5d334 GUACAMOLE-884: Document implications of using drawStream() vs. the other drawing functions. 2019-09-29 22:13:19 -07:00
Michael Jumper
4e130d2afd GUACAMOLE-884: Leverage createImageBitmap() for reading image data where supported.
Some browsers suffer from a memory leak when reading image data
repeatedly using the Image object. Reading from Blobs does not exhibit
the same behavior. While reading from Blobs has previously been seen to
perform poorly compared to data URIs, this was observed when reading
using createObjectURL(). The createImageBitmap() function appears to
perform identically to reading data URIs using Image.
2019-09-29 21:57:05 -07:00
Virtually Nick
bad20e1a6c GUACAMOLE-817: Merge reset keyboard state on navigation and form submission. 2019-09-29 20:32:50 -04: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