Commit Graph

363 Commits

Author SHA1 Message Date
Michael Jumper
d891b90f67 Assume text inserted in eventTarget at end (cannot rely on selectionStart or selectionEnd). Reset eventTarget value when focus gained. 2012-03-30 22:10:20 -07:00
Michael Jumper
21db2579a8 Turn "autocorrect" and "autocapitalize" off via JS, use CSS transform to translate menu (not top/left), use state tracking of keyboard. 2012-03-30 00:02:40 -07:00
Michael Jumper
c1831f3db0 Cancel ALL keyboard events if the event target is not focused. If the event target IS focused, only cancel events which will not result in typed characters. 2012-03-29 17:51:49 -07:00
Michael Jumper
2e7603bf11 Only cancel key events if they are non-typable. Track key states to avoid doubling of keystrokes via oninput. Do not reset value of eventTarget. (All necessary to avoid resetting the state of mobile keyboards when typing into eventTarget) 2012-03-29 10:51:12 -07:00
Michael Jumper
022c66c31f Fixed project URL. 2012-03-26 18:51:36 -07:00
Michael Jumper
3086c081dd Get ClassLoader within doPrivileged(). 2012-03-26 12:34:04 -07:00
Michael Jumper
fae54e2cca Removed unused error string. 2012-03-26 11:59:53 -07:00
Michael Jumper
1c7a82c286 Include exceptions in logger errors. 2012-03-26 11:52:22 -07:00
Michael Jumper
e476350314 Fixed logger usage. 2012-03-26 11:51:14 -07:00
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
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