Commit Graph

199 Commits

Author SHA1 Message Date
Nick Couchman
e996a5a299 GUACAMOLE-504: Avoid unnecessary use of instanceof. 2018-02-10 14:41:37 -05:00
Nick Couchman
ebd897421d GUACAMOLE-504: Fix-up style issues. 2018-02-09 13:17:08 -05:00
Nick Couchman
ffc4c7bcad GUACAMOLE-504: Allow exceptions to pass WebSocket status to closeConnection. 2018-02-09 13:17:08 -05:00
Nick Couchman
0dc5306fe1 GUACAMOLE-504: Don't reveal internals in sendError method. 2018-02-09 13:17:08 -05:00
Nick Couchman
5aaea07b5e GUACAMOLE-504: Rework HTTP Tunnel to use exception getHttpStatusCode() 2018-02-09 13:17:08 -05:00
Nick Couchman
0c5b3012ac GUACAMOLE-504: Add method for WebSocket status, and reconfigure REST API to use new HTTP method. 2018-02-09 13:17:08 -05:00
Nick Couchman
5239a83acc GUACAMOLE-504: Clean up getHttpStatusCode(). 2018-02-09 13:17:08 -05:00
Nick Couchman
68e101f58a GUACAMOLE-504: Add getHttpStatusCode() method to GuacamoleException class. 2018-02-09 13:17:08 -05:00
Michael Jumper
3d9310dbe7 GUACAMOLE-495: Remove guacamole-common's GuacamoleSession class, deprecated since 0.9.9 (b3a49da). 2018-02-01 22:28:56 -08:00
Michael Jumper
ad3fcb59ca GUACAMOLE-267: Narrow concerns of FailoverGuacamoleSocket to a single connection. Throw exceptions directly from constructor if upstream errors are encountered. 2017-04-20 22:37:08 -07:00
Michael Jumper
3f38880a12 GUACAMOLE-267: Avoid unnecessarily rebuilding the Guacamole protocol form of a GuacamoleInstruction. 2017-04-20 22:37:08 -07:00
Michael Jumper
798f06ee0a GUACAMOLE-267: Implement FailoverGuacamoleSocket. 2017-04-20 22:37:08 -07:00
Michael Jumper
32610e9af2 GUACAMOLE-208: Define missing exception for the RESOURCE_CLOSED status code. 2017-04-16 23:13:03 -07:00
Michael Jumper
bfc2f2e7eb GUACAMOLE-208: Define exceptions for the new SESSION_CLOSED, SESSION_CONFLICT, and SESSION_TIMEOUT status codes. 2017-04-16 23:13:03 -07:00
Michael Jumper
82e9967a13 GUACAMOLE-208: Define exceptions for the new UPSTREAM_NOT_FOUND and UPSTREAM_UNAVAILABLE status codes. 2017-04-16 23:13:03 -07:00
James Muehlner
f8877304e0 GUACAMOLE-224: Merge removal of @author tags. 2017-02-28 10:06:28 -08:00
Michael Jumper
dec73c8457 GUACAMOLE-224: Remove @author tags from codebase. 2017-02-27 23:20:30 -08:00
Michael Jumper
3835eaef47 GUACAMOLE-208: Define and document missing RESOURCE_CLOSED status code. 2017-02-15 21:24:53 -08:00
Michael Jumper
bc97fc8246 GUACAMOLE-208: Define and document new status codes. 2017-02-15 21:24:39 -08:00
Michael Jumper
12abb3c59c GUACAMOLE-67: Always clean up the connection upon WebSocket error. 2016-07-29 22:39:26 -07:00
Michael Jumper
2bb5260144 GUACAMOLE-44: Provide for direct translation of status codes into GuacamoleStatus values. 2016-06-05 16:03:12 -07:00
Michael Jumper
d398509660 GUACAMOLE-44: Expose tunnel UUID to JavaScript. Document allowed internal use of the empty opcode. 2016-06-02 12:50:50 -07:00
Michael Jumper
1810ec971f GUACAMOLE-1: Relicense C and JavaScript files. 2016-03-28 20:50:18 -07:00
Michael Jumper
6990344697 GUACAMOLE-1: Refactor org.glyptodon package/groupId to org.apache. 2016-03-28 20:43:49 -07:00
Michael Jumper
002ec0c50e GUAC-1427: Favor ConcurrentHashMap over Collections.synchronizedMap(). Keeping sessions/tunnels in order is not worth the extreme overhead of a map-wide lock. 2015-12-16 20:48:50 -08:00
Michael Jumper
df385a1a64 GUAC-1427: Do not invoke createTunnel() within WebSocket tunnels unless close() is guaranteed to eventually run. 2015-12-14 20:28:26 -08:00
Michael Jumper
e1a256b1c1 GUAC-1427: Migrate HTTP tunnel storage to GuacamoleHTTPTunnelMap. 2015-12-11 14:37:04 -08:00
Michael Jumper
5b780fc8cf GUAC-1427: Implement automatic tracking and expiration of HTTP tunnels, independent of explicit read/write requests. 2015-12-11 14:37:00 -08:00
Michael Jumper
b3a49dae05 GUAC-1427: Deprecate and remove use of guacamole-common's GuacamoleSession, storing tunnels directly within GuacamoleHTTPTunnelServlet instead. 2015-12-10 16:13:45 -08:00
Michael Jumper
e1003b56ba GUAC-1305: Add image mimetypes to Guacamole protocol handshake. 2015-09-20 16:16:10 -07:00
Michael Jumper
8d80854eec GUAC-1096: Properly close() and cleanup HTTP tunnel when end-of-stream is encountered. 2015-04-13 16:17:15 -07:00
Michael Jumper
e1155c0303 GUAC-1132: Remove unnecessary public declarations. 2015-03-17 16:48:19 -07:00
Michael Jumper
d55de3e869 GUAC-1132: Refactor much of SynchronizedGuacamoleTunnel into AbstractGuacamaoleTunnel. Rename to SimpleGuacamoleTunnel. 2015-03-17 15:52:45 -07:00
Michael Jumper
a345ee7385 GUAC-1132: Add missing @Override annotations. 2015-03-17 15:40:19 -07:00
Michael Jumper
b33e515895 GUAC-1132: Associate tunnels with records, not sockets. Provide tunnel for connect(). 2015-03-17 13:21:05 -07:00
Michael Jumper
46fd8119b9 GUAC-969: Test filters can be static. 2014-12-27 14:08:27 -08:00
Michael Jumper
2ea28fd877 GUAC-932: Add getParameters() and setParameters() to GuacamoleConfiguration. Use where reasonable. 2014-12-18 20:48:20 -08:00
Michael Jumper
48382b8285 GUAC-915: Clean up all log messages within Guacamole. 2014-10-30 17:12:54 -07:00
Michael Jumper
c20adb46a9 GUAC-907: Log source address, using X-Forwarded-For if available (after validation). 2014-10-27 15:38:48 -07:00
Michael Jumper
6f81584aed GUAC-909: Log full exceptions only in debug level. Rephrase log messages. 2014-10-27 13:03:20 -07:00
Michael Jumper
b83c83c324 GUAC-906: Implement GuacamoleConnectionClosedException. Throw when read/write fails due to closure. 2014-10-26 15:14:35 -07:00
Michael Jumper
721d9125ab GUAC-904: Implement copy constructor for GuacamoleConfiguration. 2014-10-25 19:28:39 -07:00
Michael Jumper
8b13bfdb80 GUAC-442: Move base JSR implementation of WebSocket tunnel to guacamole-common. 2014-10-09 21:06:07 -07:00
Michael Jumper
5141c5e063 GUAC-868: Implement FilteredGuacamoleSocket, to make it easy to send all socket I/O through filters. 2014-09-28 00:20:17 -07:00
Michael Jumper
0bbfc4eb95 GUAC-868: Implement FilteredGuacamoleWriter and test. 2014-09-28 00:17:24 -07:00
Michael Jumper
28075b86c1 GUAC-868: Add GuacamoleFilter interface. Implemented corresponding FilteredGuacamoleReader and test. 2014-09-27 23:49:42 -07:00
Michael Jumper
e838817bff GUAC-868: Add test for ReaderGuacamoleReader. 2014-09-27 23:07:46 -07:00
Michael Jumper
600f2a4278 GUAC-868: Add test for GuacamoleParser. Depend on JUnit 4. 2014-09-27 20:10:07 -07:00
Michael Jumper
c26751239a GUAC-868: Port Guacamole parser from libguac. Add GuacamoleInstruction constructor which takes a List. 2014-09-27 20:09:27 -07:00
Michael Jumper
61e2eabdb3 GUAC-746: Allow connection IDs to be sent during handshake. 2014-09-05 11:05:38 -07:00