Commit Graph

1631 Commits

Author SHA1 Message Date
Michael Jumper
ac61c798e5 GUAC-569: Bump version numbers of guacamole-client components to 0.9.0. 2014-03-25 10:38:02 -07:00
Michael Jumper
e993e96752 GUAC-565: Remove experimental code from master (it will be restored in a branch for the corresponding epic). 2014-03-24 22:23:58 -07:00
Michael Jumper
d112a747b6 GUAC-562: Send 403 for UNAUTHORIZED, even though 401 seems more appropriate. To do otherwise causes problems when HTTP authorize headers are present in the request (see: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). 2014-03-24 19:49:23 -07:00
Michael Jumper
b6ce30318a GUAC-545: Automatically reconnect if appropriate for the error encountered. 2014-03-24 13:09:00 -07:00
Michael Jumper
5ad5afe4b0 GUAC-545: Add reconnect button and countdown. 2014-03-24 12:52:53 -07:00
Michael Jumper
7d56352876 GUAC-544: Implement reconnect via GuacUI.Client.connect() function. Can be called again to reinitialize the UI and reconnect. 2014-03-24 11:58:06 -07:00
Michael Jumper
18369f277f GUAC-559: Notify when tunnel is disconnected. Ignore explicit disconnection status from Guacamole.Client. 2014-03-23 18:34:30 -07:00
Michael Jumper
adff91af2b GUAC-561: Reword tunnel errors to describe UPSTREAM_TIMEOUT properly. 2014-03-23 13:12:31 -07:00
Michael Jumper
5ad6d77ef6 GUAC-561: Close tunnel with timeout error code if data not received from server. 2014-03-23 12:48:07 -07:00
Michael Jumper
03dbfa088e GUAC-561: Throw timeout exception when socket times out. 2014-03-22 15:27:54 -07:00
Michael Jumper
6d4a83ce33 GUAC-558: Add separate error strings for tunnel errors. 2014-03-21 19:46:01 -07:00
Michael Jumper
11b8e3673a GUAC-558: Send proper error when unable to connect due to lack of context. 2014-03-21 19:35:04 -07:00
Michael Jumper
28711720f7 GUAC-558: Use same error handling function throughout HTTP tunnel. Ignore RESOURCE_NOT_FOUND for connected HTTP tunnels as that actually signals end-of-stream. 2014-03-21 19:28:17 -07:00
Michael Jumper
7cb933c9c1 GUAC-558: Ensure state/error handlers are called ONLY on the last tunnel. Rewrite to clean program flow. 2014-03-21 18:54:04 -07:00
Michael Jumper
f183e29586 GUAC-558: Fix calls to onerror handler, switch to corresponding close_tunnel() prototype. 2014-03-21 18:22:12 -07:00
Michael Jumper
c5573f9811 GUAC-558: Do NOT make initial request if connect failed. 2014-03-21 18:10:27 -07:00
Michael Jumper
7dbb1b1ac0 GUAC-558: Do not send pending messages if tunnel is closed. 2014-03-21 18:06:59 -07:00
Michael Jumper
627271953d GUAC-558: Add specific handler for tunnel state change. Add state property and values. Clean up warnings. 2014-03-21 16:46:55 -07:00
Michael Jumper
af4de98277 GUAC-558: Do not trigger client onerror for tunnel onerror. 2014-03-21 11:19:07 -07:00
Michael Jumper
1289c16869 GUAC-558: Send status along WebSocket when end-of-stream is received. 2014-03-21 11:06:31 -07:00
Michael Jumper
ec614c2f83 GUAC-556: Fix JavaScript definitions of UPSTREAM_TIMEOUT and UPSTREAM_ERROR - they were swapped. 2014-03-19 22:12:16 -07:00
Michael Jumper
b976cd3a29 GUAC-549: Restore use of original all.min.js (should not have been committed as all.js). 2014-03-19 16:08:59 -07:00
Michael Jumper
a1aba4d2a7 GUAC-549: Use new onerror/onack handlers. Translate Guacamole.Status codes to human-readable messages. 2014-03-19 15:43:36 -07:00
Michael Jumper
6a70dd5582 GUAC-549: Use Guacamole.Status for ack messages. 2014-03-19 14:35:31 -07:00
Michael Jumper
d4a6fd21f7 GUAC-549: Throw status instead of error for connect() in tunnel and client. Pass status instead of message/code parameters for onerror event handlers. 2014-03-19 13:58:52 -07:00
Michael Jumper
52395f6c2e GUAC-549: Add status code object and enum. 2014-03-19 13:54:13 -07:00
Michael Jumper
5eb84053cd GUAC-553: Send Guacamole status code as sole content of WebSocket close frame. 2014-03-19 11:26:09 -07:00
Michael Jumper
c69da31af9 GUAC-553: Map Guacamole error status to nearest WebSocket error status. 2014-03-19 10:50:33 -07:00
Michael Jumper
78f7eb415d GUAC-550: Use appropriate exceptions for error cases. Report when resources cannot be used because they are locked, exhausted, etc. 2014-03-18 22:27:20 -07:00
Michael Jumper
1a4ddb5660 GUAC-547: Send status code as header. Use status code wherever GuacamoleExceptions are handled. 2014-03-18 17:23:16 -07:00
Michael Jumper
377d8b62d0 GUAC-547: Implement exceptions for remaining status codes. 2014-03-18 17:05:01 -07:00
Michael Jumper
494e611008 GUAC-547: Define status for server exception - avoid future problems when generic error status changes. 2014-03-18 16:54:04 -07:00
Michael Jumper
ac288916b8 GUAC-547: Associate a GuacamoleStatus with all GuacamoleExceptions. 2014-03-18 16:44:19 -07:00
Michael Jumper
4f3f55d0e0 GUAC-547: Add GuacamoleStatus object which enumerates all possible status codes, associating them with roughly-corresponding HTTP error codes. 2014-03-18 16:40:49 -07:00
Michael Jumper
390ddcd694 Synchronize on getContents() as well, for sake of consistency and predictability. 2014-03-06 10:43:42 -08:00
Michael Jumper
e4f67e5aff Fix possible NPE in MonitoringGuacamoleReader read() and readInstruction(). 2014-03-06 10:42:25 -08:00
Michael Jumper
4851ba8b5c Fix movement calculations. 2014-03-05 01:10:03 -08:00
Michael Jumper
bacc5406ec Handle start/end of gestures more cleanly. 2014-03-04 16:56:12 -08:00
Michael Jumper
462525c08c Further cleanup. Implement long-press for right click. 2014-03-04 16:31:46 -08:00
Michael Jumper
e54d164113 Use tap+hold for click+drag. 2014-03-04 15:14:56 -08:00
Michael Jumper
6d1c9ba550 Modify Guacamole.Touchscreen to play nicely with other gesture-handling objects. Send click only on touchend. Move mouse only if related to a drag. 2014-03-04 13:42:14 -08:00
Michael Jumper
f0c62ff82a Clean up Mouse.js a bit. 2014-03-04 13:08:29 -08:00
Michael Jumper
6502cd61a0 Add static channel parameter for RDP. 2014-03-04 11:23:52 -08:00
Michael Jumper
3c8d72653e Add controlling enable-clipboard-integration property. 2014-03-03 09:48:32 -08:00
Michael Jumper
65451a37f8 Use monitor to wait for changes, rather than universally waiting for entire timeout period. 2014-03-03 09:48:32 -08:00
Michael Jumper
4334cf7d76 Use servlet to retrieve clipboard state. 2014-03-03 09:48:31 -08:00
Michael Jumper
2a178d11fc Move to clipboard state tracking, rather than events. 2014-03-03 09:48:31 -08:00
Michael Jumper
fb1bc0f5e4 Integrate clipboard paste. Add stubs for copy/cut. 2014-03-03 09:48:30 -08:00
Michael Jumper
cc72cba29a Allow default action of key events to be manually enabled. 2014-03-03 09:48:30 -08:00
Michael Jumper
893a3f0d84 Route all instructions through monitoring reader. 2014-03-03 09:48:29 -08:00