Commit Graph
100 Commits
Author SHA1 Message Date
Michael Jumper 7e240f8cce It is a security error to request a config that does not exist. 2012-03-25 23:05:50 -07:00
Michael Jumper 757ddec1ae Add default connection name, do not hide cursor after error, remove old classes. 2012-03-24 22:57:40 -07:00
Michael Jumper 50d8e4c319 Remove use of X-Guacamole-Error-Message header, return null rather than throwing exception when config not found. 2012-03-24 22:48:29 -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 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 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 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
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
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
Michael Jumper 0752436d4a Removed unused AGPL logo. 2012-01-24 21:17:50 -08:00
Michael Jumper a38d65f63a Determine size of viewport using element stretched to fit view. 2012-01-24 21:05:01 -08:00
Michael Jumper 8559494a9b Removed bold from status text. 2012-01-24 18:27:10 -08:00
Michael Jumper 7120581e10 Removed unused images. 2012-01-24 18:24:38 -08:00
Michael Jumper 66f11d5c57 Open menu on long-press. 2012-01-24 18:24:05 -08:00
Michael Jumper db69e717a0 Combine menu status and error dialog into central status text. 2012-01-24 15:52:16 -08:00
Michael Jumper f3254dfaa0 Colorize active numsym. 2012-01-24 10:10:49 -08:00
Michael Jumper e4b82bee3a Use new onkeydown / onkeyup. 2012-01-23 15:15:03 -08:00
Michael Jumper ae06e08a31 Added DTD. 2012-01-23 13:29:34 -08:00
Michael Jumper e4ba210020 Experimental auto-scroll of UI when mouse goes offscreen. 2012-01-23 12:06:46 -08:00
Michael Jumper 0e351933bd Outset/inset borders for keys. 2012-01-23 10:47:40 -08:00
Michael Jumper 9d1b845962 Control appearance of shift key depending on status of modifier. 2012-01-23 10:42:07 -08:00
Michael Jumper 4681dd2ad3 Use background/border of keys. 2012-01-23 10:09:00 -08:00
Michael Jumper 0beb9165f4 Experimental mobile-friendly keyboard layout. 2012-01-23 10:05:01 -08:00
Michael Jumper 274da988ce Reformat + improved docs. 2012-01-21 12:55:30 -08:00
Michael Jumper bfdb5a1caa Better classes (required by OSK), control visibility of caps based on modifiers. 2012-01-21 12:07:08 -08:00
Michael Jumper 1cc7d192c2 Move on-screen keyboard out of display. 2012-01-20 22:43:54 -08:00
Michael Jumper 017a8b444e Refactored CSS to new requirements from OSK changes. 2012-01-20 22:33:48 -08:00
Michael Jumper 2f697d33ff Removed arrow keys and ins/home/etc. for space (important on mobile). 2012-01-20 21:30:23 -08:00
Michael Jumper 4917995ce7 Keyboard style improvements. 2012-01-20 01:29:04 -08:00
Michael Jumper 24d22cc7a9 Add gaps to layout, remove padding. 2012-01-20 01:10:37 -08:00
Michael Jumper c6a0109667 Add viewport meta tags. 2012-01-19 16:51:16 -08:00
Michael Jumper 05318c490a Set size in keyboard layout, migrate to new on-screen keyboard API, update keyboard style. 2012-01-19 15:33:59 -08:00
Michael Jumper 532bbbd107 No need to create Map if user not valid. 2011-12-21 00:09:51 -08:00
Michael Jumper 19fe9dcc9b Should return null if user is not valid. 2011-12-21 00:09:18 -08:00
Michael Jumper cc2e57e1d6 auth-provider property should be required. 2011-12-20 21:43:16 -08:00
Michael Jumper 0439f0043e If AuthenticationProvider property not provided, parseValue() should return null. 2011-12-20 21:42:26 -08:00
Michael Jumper 8481bc4f0c Changed 'No authorized configurations' message to something more reasonable. 2011-12-20 00:00:39 -08:00
Michael Jumper 6e3ff98b5a Cleaned up menu shading code. 2011-12-19 17:01:41 -08:00
Michael Jumper 5048d171d5 Improved menu hiding behavior and style. 2011-12-19 16:45:23 -08:00
Michael Jumper 6cfde7df70 Initial fixes for buggy menu hiding feature. 2011-12-19 15:56:12 -08:00
Michael Jumper f34e577082 Fixed comments. 2011-12-18 21:33:51 -08:00
Michael Jumper 256e9675c9 Added README 2011-12-18 20:36:02 -08:00
Michael Jumper e9224ff110 Added changelog 2011-12-18 20:35:54 -08:00
Michael Jumper 3544842514 Fixed confusing "Idle" error handling, improved scoping of UI elements and behavior. 2011-12-12 20:21:04 -08:00
Michael Jumper 06189b65bd Removed unused retrieval of auth provider. 2011-12-10 15:21:26 -08:00
Michael Jumper 94590d847f Fix ticket #66 - XMLReader.parse() can throw an exception if string given is a path and not a URI. Using Reader as InputSource, forcing interpretation of string as local path. 2011-12-08 23:36:38 -08:00
Michael Jumper cd7ffd4e63 Hide menu on connect, remove rounded edges of clipboard, separate menu hide/show code into own file. 2011-11-19 23:05:12 -08:00
Michael Jumper 8aa228a290 Connection icons, initial autohiding menu implementation. 2011-11-19 22:16:05 -08:00
Michael Jumper 0b93ea05a7 Further style improvements. 2011-11-08 12:33:30 -08:00
Michael Jumper 57a95042e2 Style improvements, moved connection-related JavaScript code to own file. 2011-11-08 12:28:46 -08:00