Commit Graph
495 Commits
Author SHA1 Message Date
Michael Jumper 22bcc1b78e GUACAMOLE-341: Automatically pull GUAC_USERNAME token from AuthenticatedUser's identifier if there is no username provided via Credentials (closes #174). 2017-09-26 12:10:35 -07:00
Michael Jumper 3cd7f453c0 GUACAMOLE-394: Add getLastActive() function, returning the time that a user/connection was last logged-in / used. 2017-09-25 12:50:52 -07:00
Michael Jumper b61f14e4db GUACAMOLE-394: Add history list at User object level (similar to Connection). 2017-09-25 12:49:43 -07:00
Michael Jumper 700005e823 GUACAMOLE-394: Remove UserRecord interface - recording historical auth tokens doesn't make sense, and removing that turns UserRecord into an empty interface. 2017-09-25 12:49:12 -07:00
Michael Jumper 5340f55361 GUACAMOLE-394: Add API support for user login/logout records. 2017-09-25 12:48:37 -07:00
Michael Jumper 26122ebc3e GUACAMOLE-394: Deprecate ConnectionRecordSet. Refactor accordingly. 2017-09-25 12:30:03 -07:00
Nick Couchman b64247dfb2 GUACAMOLE-393: Merge add extension logout/shutdown hooks 2017-09-25 15:12:45 -04:00
Michael Jumper 2c587e5f9f GUACAMOLE-393: Add AuthenticationProvider shutdown hook. 2017-09-25 11:47:44 -07:00
Michael Jumper 45adf2fd93 GUACAMOLE-393: Add session invalidation hooks to UserContext. 2017-09-25 11:47:37 -07:00
Michael Jumper c20457f89b GUACAMOLE-393: Add session invalidation hooks to AuthenticatedUser. 2017-09-25 11:47:25 -07:00
Michael Jumper 22760b5d0b GUACAMOLE-395: Populate "expired" property of Guacamole users defined via MySQL / MariaDB. 2017-09-25 11:39:03 -07:00
Michael Jumper 0338048c2e GUACAMOLE-345: Replace hexadecimal literals with decode() function calls. 2017-07-22 21:42:17 -07:00
Michael Jumper 0ad7e4e1a3 GUACAMOLE-345: Name all PostgreSQL indexes. 2017-07-22 21:41:58 -07:00
Nick Couchman 8b71e30c71 GUACAMOLE-339: Bump up field size to 256 to support full DNS names. 2017-07-16 22:43:50 -04:00
Nick Couchman f2120c8d14 GUACAMOLE-339: Add remote host field to database and populate appropriately. 2017-07-16 21:58:28 -04:00
Nick Couchman 5d1399413b Merge 0.9.13-incubating changes back to master. 2017-06-28 08:10:19 -04:00
Michael Jumper f7e648787e GUACAMOLE-320: Ensure blank values for the new text attributes of users and connections are properly interpreted. 2017-06-27 16:31:29 -07:00
Nick Couchman 18effb247c GUACAMOLE-317: Merge Add support for failover-only connections. 2017-06-15 21:05:36 -04:00
Michael Jumper 06a090d7d6 GUACAMOLE-317: Add missing comma to MySQL ConnectionMapper.xml. 2017-06-13 22:39:50 -07:00
James Muehlner 728d9b937c GUACAMOLE-284: Merge database account restrictions when users required. 2017-06-06 20:06:28 -07:00
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
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