Commit Graph

4139 Commits

Author SHA1 Message Date
Michael Jumper
1b35d43783 GUACAMOLE-317: Use failover-only connections for failover only. Do not balance to failover-only connections unless an upstream failure has occurred. 2017-06-06 17:32:38 -07:00
Michael Jumper
3e5c2ba8d8 GUACAMOLE-317: Always prefer non-failover connections relative to failover-only connections. 2017-06-06 17:32:38 -07:00
Michael Jumper
cdf823cc9f GUACAMOLE-317: Add convenience getter for failover-only attribute at Connection level. 2017-06-06 17:32:38 -07:00
Michael Jumper
31519061dc GUACAMOLE-317: Expose "failover-only" attribute for connections. 2017-06-06 17:32:38 -07:00
Michael Jumper
3c553b965c GUACAMOLE-317: Add "failover_only" column to database schema for Guacamole connections. 2017-06-06 17:32:38 -07:00
Michael Jumper
eb087ae290 GUACAMOLE-102: Merge support for weighted least-connections (WLC) balancing algorithm. 2017-06-06 17:30:47 -07:00
Nick Couchman
d8ba0f83ef GUACAMOLE-102: Cleaning up comment, because apparently tu-tus don't go with Guacamole! 2017-06-06 19:59:53 -04:00
Nick Couchman
5532819abf GUACAMOLE-102: Split out load balancing into a separate section/form. 2017-06-06 09:10:49 -04:00
Nick Couchman
166c7ccaed GUACAMOLE-102: Make field header consistent; add section header for new load balancing section. 2017-06-06 08:55:11 -04:00
Nick Couchman
2986c61690 GUACAMOLE-102: Code cleanup - remove unused default parameters; improve commentary and use more standard variable names. 2017-06-06 08:49:48 -04:00
Nick Couchman
06e27d30ff GUACAMOLE-102: Improve commentary around connection weight methods and variables. 2017-06-06 08:39:02 -04:00
Nick Couchman
955d5fb11f GUACAMOLE-102: Clarification for comments on weights less than 1. 2017-06-05 22:37:49 -04:00
Nick Couchman
91f7a3e8e9 GUACAMOLE-102: Corrections to comments in ConnectionModel class. 2017-06-05 22:29:28 -04:00
Nick Couchman
874b29bae3 GUACAMOLE-102: Correction to WLC algorithm to try to keep ratio no higher than configure weights. 2017-06-05 21:43:31 -04:00
Nick Couchman
25493a8355 GUACAMOLE-102: Woops...add MySQL module ConnectionMapper.xml updates. 2017-06-05 21:43:25 -04:00
Nick Couchman
6a4bc249a7 GUACAMOLE-102: Correct versions for database schema upgrade scripts 2017-06-05 21:43:23 -04:00
Nick Couchman
839f53ca96 GUACAMOLE-102: Clean up unused constants; minor comment corrections. 2017-06-05 21:43:21 -04:00
Nick Couchman
d2d543028f GUACAMOLE-102: Clean up code style issues, remove the unnecessary getDefaultConnectionWeight method. 2017-06-05 21:43:18 -04:00
Nick Couchman
f66bbd2e0f GUACAMOLE-102: Move null checking logic to ModeledConnection. 2017-06-05 21:43:05 -04:00
Nick Couchman
f77c50730d GUACAMOLE-102: Make getConnectionWeight return int, clean up compare code. 2017-06-05 15:34:21 -04:00
Nick Couchman
aa4c134922 GUACAMOLE-102: Remove unnecessary checks for weight value in the compare function. 2017-06-05 15:34:21 -04:00
Nick Couchman
58637818ca GUACAMOLE-102: Move null check for connection weight to the connection model. 2017-06-05 15:34:21 -04:00
Nick Couchman
4033e097c7 GUACAMOLE-102: Get rid of arbitary constant in compare method for WLC algorithm. 2017-06-05 15:34:21 -04:00
Nick Couchman
f22852721c GUACAMOLE-102: Clean up and simplify WLC sorting code. 2017-06-05 15:34:21 -04:00
Nick Couchman
56f6c4bb2f GUACAMOLE-102: Remove redundant iterations through connections. 2017-06-05 15:34:21 -04:00
Nick Couchman
075e880acc GUACAMOLE-102: Deal with weights of 0, and properly dispose of connections with negative weights. 2017-06-05 15:34:21 -04:00
Nick Couchman
2363c63e64 GUACAMOLE-102: Adding some commentary for changes in the RestrictedGuacamoleTunnelService class. 2017-06-05 15:34:21 -04:00
Nick Couchman
d1259ef8df GUACAMOLE-102: Continue to work on the load balancing code. 2017-06-05 15:34:21 -04:00
Nick Couchman
15869fef0d GUACAMOLE-102: Remove some extra debugging code, and continue to tweak the WLC algorithm. 2017-06-05 15:34:21 -04:00
Nick Couchman
83a8e8223e GUACAMOLE-102: Tweak algorithm for computing the WLC vlaues. 2017-06-05 15:34:21 -04:00
Nick Couchman
d0647ad6a4 GUACAMOLE-102: Initial stab at a WLC algorithm. 2017-06-05 15:34:21 -04:00
Nick Couchman
4aff2c1bb8 GUACAMOLE-102: Finish adding connection weight attribute. 2017-06-05 15:34:21 -04:00
Nick Couchman
025f77d1c4 GUACAMOLE-102: Initial addition of connection weight to JDBC authentication extension 2017-06-05 15:33:23 -04:00
James Muehlner
91920d0b2d Merge 0.9.13-incubating changes back to master. 2017-06-05 11:35:48 -07:00
James Muehlner
80b681e18d GUACAMOLE-189: Merge addition of guacd override columns to schema creation scripts. 2017-06-05 11:32:38 -07:00
James Muehlner
193089fb66 GUACAMOLE-314: Merge extension API sanity check version number bump. 2017-06-05 11:30:08 -07:00
Michael Jumper
862e2c398a GUACAMOLE-284: Clarify semantics of disabled user accounts. 2017-06-04 22:21:19 -07:00
Michael Jumper
f4fce6a07a GUACAMOLE-284: Add convenience methods for determining whether a user account is disabled/expired. 2017-06-04 22:21:19 -07:00
Michael Jumper
c87ec1bf5d GUACAMOLE-284: Reverse structure of restriction enforcement such that the default action is to deny access. 2017-06-04 22:21:19 -07:00
Michael Jumper
0eef629a9d GUACAMOLE-284: Move enforcement of account restrictions into AuthenticationProviderService. 2017-06-04 22:21:19 -07:00
Michael Jumper
45ee895044 GUACAMOLE-284: Veto authentication result if a database account is required but unavailable. 2017-06-04 22:21:18 -07:00
Michael Jumper
8286b21baa GUACAMOLE-189: Define guacd override columns for guacamole_connection table in main schema init script. 2017-06-04 16:06:16 -07:00
Michael Jumper
6c0957e7de GUACAMOLE-314: Update extension API version sanity check to include the correct, recently-bumped version number. 2017-06-04 13:18:57 -07:00
Nick Couchman
bedd09fc10 Merging 0.9.13-incubating changes back to master. 2017-06-03 23:01:50 -04:00
Nick Couchman
24708cf915 GUACAMOLE-314: Merge bump version to 0.9.13-incubating. 2017-06-03 19:41:24 -04:00
Michael Jumper
9236aea866 GUACAMOLE-314: Bump version numbers of all modified components to 0.9.13-incubating. 2017-06-01 23:05:53 -07:00
Nick Couchman
605ff4f615 GUACAMOLE-203: Add configuration option for SSH keepalives in SFTP connections. 2017-05-31 21:07:14 -04:00
Nick Couchman
5e9c2c6689 GUACAMOLE-203: Add support for configuring the server-alive-interval SSH parameter. 2017-05-31 08:27:07 -04:00
James Muehlner
3beedd10af GUACAMOLE-292: Merge user profile base support. 2017-05-28 11:01:47 -07:00
Michael Jumper
203afd1099 GUACAMOLE-292: Remove now-unnecessary valuesOnly attribute of guacForm (reverts 4d7841a). 2017-05-27 11:28:14 -07:00