Commit Graph
337 Commits
Author SHA1 Message Date
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 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 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 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 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
Michael Jumper a10a7886a9 Going back to the old 0-0-0-0-0 method of hiding the text area... as doing otherwise causes issues with focus and "Enter" on Android. 2012-03-21 19:19:04 -07:00
Michael Jumper eb71eb305f Do not restrict width of hidden text area (can cause bumping of the screen as the screen scrolls to follow the cursor as it wraps to a new line in the zero-width area). Hide off bottom right (instead of upper left). 2012-03-21 18:58:12 -07:00
Michael Jumper 21b46e7bdf Locate event target off screen, in case platform doesn't support opacity of text areas (Android 4, for example). 2012-03-21 18:25:04 -07:00
Michael Jumper 94d0b001bb Automatically reset text area on keyboard events if native OSK is enabled/assumed. Hide text area via CSS. 2012-03-21 16:42:01 -07:00
Michael Jumper 0c4c47ecc4 Add text field event target, focus event target if "Show Keyboard" is clicked and use exposed the menu via long-press. Ensure backspace always sends a key event by always keeping text within the event target. 2012-03-21 16:10:49 -07:00
Michael Jumper 8a7905e605 Style logout button like the rest of the buttons in guac. 2012-03-20 11:08:37 -07:00
Michael Jumper 0226d26993 Removed obviously completed TODO comment. 2012-03-20 10:27:01 -07:00
Michael Jumper 4d768a708c Bumping version to 0.6.0. 2012-03-15 15:53:32 -07:00
Michael Jumper 64248bb181 Fade out display on error. 2012-03-13 21:45:01 -07:00
Matt Hortman b549968e60 Highlight the modifier keys when they're toggled. 2012-03-12 12:34:51 -07:00
Michael Jumper 5953e8f140 Use Guacamole.ChainedTunnel when WebSocket is available (to safely fall back to HTTP if WebSocket fails). 2012-03-09 16:12:49 -08:00
Michael Jumper 6a52434b12 Test for WebSocket, default to HTTP. 2012-03-09 12:42:56 -08:00
Michael Jumper f9d6830ab5 Merge branch 'loadable-websocket-support' into unstable 2012-03-09 12:33:37 -08:00
Michael Jumper 7a266eb6b0 Using WebSocket tunnnel for connection (HTTP Tunnel temporarily disabled - need support detection) 2012-03-08 08:14:18 -08:00
Matt Hortman c524ba4914 fixed keysym for right Alt key 2012-03-08 09:59:45 -05:00
Michael Jumper b2704ffcad Use logger, fix JavaDoc. 2012-03-07 20:29:41 -08:00
Michael Jumper 7dbbf9fa55 Merge branch 'unstable' into loadable-websocket-support 2012-03-07 19:48:28 -08:00
Michael Jumper 64b8bb0295 Do not require classList. 2012-03-01 12:56:21 -08:00
Michael Jumper 612b1c19ef Menu button styling. 2012-03-01 12:55:50 -08:00
Michael Jumper 0dcaed693e Hint to browser that configuration list should not be cached. 2012-02-29 00:10:21 -08:00
Michael Jumper a0d81dbbba Showing menu whenever mouse leaves document is too aggressive ... just using menuControl for now (see #94). 2012-02-23 15:46:11 -08:00
Michael Jumper 2e0ff46d6b Bumped version to 0.6.0 2012-02-23 13:28:59 -08:00
Michael Jumper 29cb34d2a1 Move mouse events to new display. 2012-02-16 21:41:17 -08:00
Michael Jumper ca851827a4 Only actual client display should have hidden cursor, not main display div. 2012-02-15 10:28:17 -08:00
Michael Jumper 3e29da3665 Hide cursor. Fix positioning regression. 2012-02-15 10:17:43 -08:00
Michael Jumper cbb6490129 Refactor supporting recent changes to guacamole-common-js (removal of getLayers() from Guacamole.Client, changes to Guacamole.Client constructor prototype, and addition of Guacamole.Client.getDisplay()). 2012-02-14 23:02:09 -08:00
Michael Jumper 82cb28062d Reduced duration of long-press detect from 1 second to 800 milliseconds (Thanks, Luca) 2012-01-31 21:12:40 -08:00
Michael Jumper d7f488c896 Firefox < 9.0.1 does not call document.body.onload ... we must use window.onload instead. 2012-01-27 15:31:17 -08:00
Michael Jumper ebb75a3494 Hackish support for loadable websocket servlets. 2012-01-25 18:34:56 -08:00
Michael Jumper f1dec42496 Respaced init code. 2012-01-25 12:06:00 -08:00
Michael Jumper ff12dcd416 Start UI and connection only after control returns from body onload (otherwise, browser will always thing page is loading). 2012-01-24 23:43:19 -08:00