Commit Graph
5067 Commits
Author SHA1 Message Date
Michael Jumper aa7c16f67d Improved handling of no tunnel. 2012-03-24 22:19:24 -07:00
Michael Jumper 36f4d68991 JavaDoc. 2012-03-24 22:06:15 -07:00
Michael Jumper 9b36638bf3 Use appropriate exceptions where possible, turn exceptions into appropriate error codes. 2012-03-24 22:03:52 -07:00
Michael Jumper f42fe962e2 Distinct client/server exceptions. 2012-03-24 20:16:05 -07:00
Michael Jumper d2198016c0 Added three new exception types. 2012-03-24 20:09:12 -07:00
Michael Jumper b80ede52a4 Generic error messages from status codes. 2012-03-24 19:13:32 -07:00
Michael Jumper e6249fbf5b Do not use X-Guacamole-Error-Message - use status code only. 2012-03-24 16:57:58 -07:00
Michael Jumper 0f2c1c01aa Cleaned up styling slightly, fixed display of reconnect button. 2012-03-23 23:48:19 -07:00
Michael Jumper 356f7d79b0 Need overflow: hidden for software-cursor, otherwise the cursor exiting the side of the display actually extends the display, and the mouse pointer can be moved off the display entirely if moved slowly enough. 2012-03-23 23:33:08 -07:00
Michael Jumper be0a0a0226 No need for constant "GUAC" or reselection. Added oninput handler such that voice input, etc. will also work! 2012-03-23 23:18:41 -07:00
Michael Jumper 497552bbf6 Removed unused import. 2012-03-23 22:41:37 -07:00
Michael Jumper 55639817b4 Read event listeners from properties. 2012-03-23 17:34:24 -07:00
Michael Jumper fa10dba566 Automatically attach tunnel. 2012-03-23 16:03:36 -07:00
Michael Jumper f903b22fe9 Rename attribute following convention. 2012-03-23 16:01:35 -07:00
Michael Jumper 2bf18676ad Add tunnel connect/close notification. 2012-03-23 16:01:07 -07:00
Michael Jumper 0285fe371a Rename attach/detach listeners to connect/close. 2012-03-23 15:31:03 -07:00
Michael Jumper 32741e87c1 Get credentials and configs from AuthenticatingHttpServlet, allow main HTTP tunnel servlet to take care of attach(). 2012-03-23 15:24:36 -07:00
Michael Jumper c2eb0744ac Monitoring connect/close rather than attach/detach (as attach/detach is too low level, buried within the base HTTP tunnel implementation). 2012-03-23 15:21:44 -07:00
Michael Jumper 8a27a79a6b Use final Strings for attribute names. 2012-03-23 15:10:55 -07:00
Michael Jumper 2cf91df11e Cache credentials in session, provide getters for retrieving configs and credentials from session. 2012-03-23 15:08:21 -07:00
Michael Jumper d831969322 Added missing constructors. 2012-03-23 14:04:03 -07:00
Michael Jumper 022e711f32 Added calls to any authentication success/fail hooks. 2012-03-23 13:53:17 -07:00
Michael Jumper 54b763742b Implemented SessionListenerCollection - a simple auto-populating collection of instances of all available listeners. 2012-03-23 13:45:06 -07:00
Michael Jumper a979a7d9de Migrate to guacamole-ext. 2012-03-23 13:33:24 -07:00
Michael Jumper 837614800d Allow listeners to throw exceptions from within hooks. 2012-03-23 12:13:54 -07:00
Michael Jumper fc6750da00 Tunnel attach and detach listeners. 2012-03-23 12:09:24 -07:00
Michael Jumper e13b62a993 Tunnel attach and detach events. 2012-03-23 12:04:08 -07:00
Michael Jumper fe7de5201a TunnelEvent interface. 2012-03-23 12:00:37 -07:00
Michael Jumper d99d38a9b6 Authentication success event and listener. 2012-03-23 11:57:05 -07:00
Michael Jumper e9fcab10b1 Renamed hook function. 2012-03-23 11:54:18 -07:00
Michael Jumper 0b1011364d Add AuthenticationFailureListener. 2012-03-23 11:06:09 -07:00
Michael Jumper 898cee122f Create CredentialEvent interface for generic credentials-related events. Implemented AuthenticationFailureEvent. 2012-03-23 11:02:47 -07:00
Michael Jumper e58a4fc52b Renamed to guacamole-ext. 2012-03-23 11:02:08 -07:00
Michael Jumper 6bcb4aa2d5 Parameters must be passed along to configs servlet. Connection URLs need not contain authentication parameters, as they will already have been passed to the configs servlet. Forward parameters along to login servlet if available. 2012-03-23 01:29:49 -07:00
Michael Jumper 00bbfe71f3 Fix URLs in connection list, add getClientURL() function for constructing the URL for a client connected to an arbitrary connection. Pass any GET parameters along. 2012-03-23 01:17:08 -07:00
Michael Jumper 12d206e73d Pass ALL parameters through connect, allowing arbitrary additional parameters to be used for authentication. Previously, only an "id" parameter was passed to connect, and the contents of that parameter was the entire query string. 2012-03-23 01:00:43 -07:00
Michael Jumper 2d15986886 Include generic error header when authentication fails. 2012-03-23 00:54:02 -07:00
Michael Jumper 7f027a71f2 Fixed comments. 2012-03-22 23:40:45 -07:00
Michael Jumper 7520ba1f98 Refactored as implementations of AuthenticatingHttpServlet. 2012-03-22 23:33:34 -07:00
Michael Jumper 19ddc917f2 Fixed log message. 2012-03-22 23:33:05 -07:00
Michael Jumper da16d7ae78 Implemented AuthenticatingHttpServlet which automatically authenticates the requesting user (if possible), only allowing the request through if authentication succeeded. 2012-03-22 23:31:38 -07:00
Michael Jumper 194784809d Rename from guacamole-default-webapp to guacamole, migrate to guacamole-auth. 2012-03-22 22:44:39 -07:00
Michael Jumper 697c4601da Use truly generic HTTP-based credentials object, rename project to guacamole-auth (truly, this is a basic framework for extending Guacamole, a single webapp, NOT part of guacamole-common, which is the basis of the Guacamole webapp and potentially others). 2012-03-22 22:44:02 -07:00
Michael Jumper 8ad557cf31 Use screenX/screenY for touch. 2012-03-22 17:28:24 -07:00
Michael Jumper 6b4d49d697 Use screenX/screenY for touch. 2012-03-22 17:28:17 -07:00
Michael Jumper 2ac866ad32 Add constants for previously hard-coded values. 2012-03-22 14:02:44 -07:00
Michael Jumper 6c124ccb71 Add movement threshold for long-press cancel, move handling of menu close on mouse movement to better place. Handle mouse close on touch separately. 2012-03-22 13:46:11 -07:00
Michael Jumper 2ef57e248f Include status in title. 2012-03-22 13:01:15 -07:00
Michael Jumper 41e7bc7834 Second press of "Show Keyboard" should show the guac OSK if the native OSK is already in use. 2012-03-21 23:14:47 -07:00
Michael Jumper 0c48a7898a Rename assumeNativeOSK to nativeOSK, automatically reset nativeOSK to false if menu open initiated by mouse. 2012-03-21 22:09:13 -07:00