Commit Graph
4646 Commits
Author SHA1 Message Date
Nick Couchman 044860c0ed Merge 0.9.14 changes back to master. 2017-12-12 14:08:25 -05:00
Nick Couchman ad87f10bce GUACAMOLE-363: Merge do not declare custom types as default "NOT NULL" 2017-12-12 14:07:02 -05:00
Nick Couchman 9a0df8e33c Merge 0.9.14 changes back to master. 2017-12-12 13:58:31 -05:00
Nick Couchman 64b2851f43 GUACAMOLE-363: Merge correct DOS-style newlines within SQL Server schema. 2017-12-12 13:56:06 -05:00
Michael Jumper 394a289879 GUACAMOLE-394: Use subquery for querying MAX() via SQL Server. 2017-12-11 23:51:57 -08:00
Michael Jumper dbd5b98250 GUACAMOLE-394: Cover both main object ID and "start_date" columns with an index for sake of correlated MAX(start_date) history queries. 2017-12-11 23:51:57 -08:00
Michael Jumper 58054719b3 GUACAMOLE-394: Disambiguate "user_id" column, now that connection query joins the connection history table. 2017-12-11 23:51:57 -08:00
Michael Jumper 28e7d215ac GUACAMOLE-394: Automatically update the end time of user history records upon logout. 2017-12-11 23:51:57 -08:00
Michael Jumper 3ccb4d4ac1 GUACAMOLE-394: No need to explicitly set ID - it's automatically pulled from the username. 2017-12-11 23:51:57 -08:00
Michael Jumper 446a9d0e12 GUACAMOLE-394: Automatically insert user history records upon login. 2017-12-11 23:51:57 -08:00
Michael Jumper 7e8accab62 GUACAMOLE-394: Implement full retrieval of user login history. 2017-12-11 23:51:57 -08:00
Michael Jumper 2414c9a245 GUACAMOLE-394: Separate core of ConnectionRecordSet into ModeledActivityRecordSet. 2017-12-11 23:51:57 -08:00
Michael Jumper adf016a005 GUACAMOLE-394: Map last active date for users to timestamp. 2017-12-11 23:51:57 -08:00
Michael Jumper 8694bc802a GUACAMOLE-394: Determine last active date for users based on history table. 2017-12-11 23:51:57 -08:00
Michael Jumper a3dd919940 GUACAMOLE-394: History must be LEFT JOINed when calculating last active date, or inactive connections will disappear entirely. 2017-12-11 23:51:57 -08:00
Michael Jumper 6f6b4e5d96 GUACAMOLE-394: Add mapper for user login records. 2017-12-11 23:51:57 -08:00
Michael Jumper 5aa2172eac GUACAMOLE-394: Add guacamole_user_history table to database schema. 2017-12-11 23:51:56 -08:00
Michael Jumper c991ea46bc GUACAMOLE-394: Split ConnectionRecord model and ModeledConnectionRecord into ActivityRecordModel and ModeledActivityRecord, etc. mirroring changes to guacamole-ext. 2017-12-11 23:51:56 -08:00
Michael Jumper 3d7b8ee89b GUACAMOLE-394: Pull connection last active time from history records. 2017-12-11 23:51:56 -08:00
Michael Jumper b0553d5f16 GUACAMOLE-363: Do not declare custom types as default "NOT NULL". Rely on column definitions for such semantics. 2017-12-11 23:47:23 -08:00
Michael Jumper 303bc49d7a GUACAMOLE-363: Correct DOS-style newlines within SQL Server schema before it's too late. 2017-12-11 22:53:19 -08:00
Michael Jumper 138ea40dc9 GUACAMOLE-394: List users in a table displaying last active time. 2017-12-11 20:44:28 -08:00
Michael Jumper 67fc77a1c7 GUACAMOLE-394: Expose "last active" time for connections and users via REST API. 2017-12-11 20:44:28 -08:00
Michael Jumper b8ce9c96e7 GUACAMOLE-394: Add history endpoint at user level (analogous to Connection). 2017-12-11 20:44:28 -08:00
Michael Jumper 2928472549 GUACAMOLE-394: Add user history REST endpoint. 2017-12-11 20:44:28 -08:00
Nick Couchman 4a9560358b GUACAMOLE-415: Merge include CAS login URI when requesting auth ticket. 2017-12-08 09:22:22 -05:00
Carl Harris 201f07abfd GUACAMOLE-457: include CAS login URI when requesting auth ticket 2017-12-07 17:51:41 -05:00
Nick Couchman 312e0bb1e3 Merge 0.9.14 changes back to master. 2017-12-06 10:12:32 -05:00
Nick Couchman 9df20f29bd GUACAMOLE-363: Merge bring SQL Server schema to parity with MySQL/PostgreSQL. 2017-12-06 10:11:02 -05:00
Nick Couchman 53d5bf184e Merge 0.9.14 changes back to master. 2017-12-06 09:50:42 -05:00
Nick Couchman f75786a688 GUACAMOLE-436: Merge remove incubator prefixes and DISCLAIMER. 2017-12-06 09:48:57 -05:00
Michael Jumper ce4cd11993 GUACAMOLE-423: Bump version numbers for all modified components to 0.9.14. 2017-12-06 00:12:43 -08:00
Michael Jumper 8d92e45227 GUACAMOLE-436: Remove old references to pre-Incubator project. 2017-12-06 00:08:11 -08:00
Michael Jumper 7c4223ce3e GUACAMOLE-436: Remove incubator prefix from repositories and URLs. 2017-12-06 00:02:33 -08:00
Michael Jumper 3df5b222a6 GUACAMOLE-436: Remove Incubator DISCLAIMER files. 2017-12-05 23:48:08 -08:00
Michael Jumper 1ec76b486a GUACAMOLE-363: Remove ALTER DATABASE CURRENT statements (not compatible with SQL Server 2008). 2017-11-26 13:45:45 -08:00
Michael Jumper 23084625ab GUACAMOLE-363: Do not take behind-the-scenes trigger operations into account when calculating the row counts for a query. 2017-11-26 13:01:48 -08:00
Michael Jumper 56da0b0c75 GUACAMOLE-363: Add triggers to handle cascading deletes/updates where SQL Server does not support doing so automatically via ON DELETE actions. 2017-11-26 13:01:48 -08:00
Michael Jumper 317c76b5c5 GUACAMOLE-363: Clean up and refactor SQL Server schema to closely match the MySQL and PostgreSQL schemas. Add missing types and indexes. 2017-11-26 13:01:48 -08:00
Nick Couchman 649fd8c036 GUACAMOLE-437: Merge fix extraHeaders scope and StaticHTTPTunnel 2017-11-20 22:58:07 -05:00
Ignasi Barrera e12d547973 GUACAMOLE-437: Fix extraHeaders in the StaticHTTPTunnel 2017-11-20 18:43:14 +01:00
Ignasi Barrera 227e41fbd9 GUACAMOLE-437: Fix extraHeaders scope 2017-11-20 18:41:43 +01:00
Michael Jumper ff2bd3d4f8 GUACAMOLE-437: Merge support for including custom headers within HTTP tunnel requests. 2017-11-19 14:25:17 -08:00
Ignasi Barrera 948b4e804c GUACAMOLE-437: Custom headers for Guacamole tunnel 2017-11-19 03:45:39 +01:00
Michael Jumper e2c8594b3a Merge 0.9.14-incubating changes back to master. 2017-11-12 18:30:39 -08:00
Michael Jumper 442fd3daa4 GUACAMOLE-243: Merge support for LDAP referrals. 2017-11-12 18:20:51 -08:00
Nick Couchman 5a6c47a9b2 GUACAMOLE-431: Merge Fix tunnel handling of CLOSED state. 2017-11-08 13:50:51 -05:00
Or Cohen 63f603ec9d GUACAMOLE-431: Fix tunnel stuck in CLOSED state
When the tunnel is closed and another `connect()` call is made, it stops
notifying about state changes (`onstatechanges`) if the connection continues
to fail.

This patch sets the state to `CONNECTING` when calling `connect()`.
2017-11-07 12:41:51 +02:00
Or Cohen d778ad7035 GUACAMOLE-431: Move setState to base Tunnel class
Move `setState()` to Tunnel class to avoid repetition.
2017-11-07 12:41:40 +02:00
Nick Couchman 124cf92358 GUACAMOLE-243: Clean up JavaDoc comments, fix error messages and exceptions. 2017-11-06 22:15:47 -05:00