Commit Graph

382 Commits

Author SHA1 Message Date
Michal Kotas
5508a5b393 Implement multiple authorized connections per user. 2012-04-18 12:02:23 -07:00
Michael Jumper
b701b0e6b0 Blur username/password on submit. 2012-04-09 15:35:46 -07:00
Michael Jumper
f0ac6f8969 Merge branch 'touch-toolbar' into unstable
Conflicts:
	src/main/webapp/scripts/interface.js
2012-04-08 17:50:53 -07:00
Michael Jumper
cc7d1df3ff Fix sizing of page due to touch menu. 2012-04-08 17:30:00 -07:00
Michael Jumper
0c1260aa32 Fix touch button rendering. 2012-04-08 17:17:38 -07:00
Michael Jumper
374284d833 Only handle onclick with menu buttons - touch start is not reliable for setting focus. 2012-04-08 16:51:09 -07:00
Michael Jumper
f8f48f551a Automatically reposition event target on focus in case browser automatically centers input fields. 2012-04-08 16:31:11 -07:00
Michael Jumper
1cdcae9281 Remove testing styles. 2012-04-08 16:30:39 -07:00
Michael Jumper
a3f411c126 Automatically reposition event target on scroll. 2012-04-08 16:24:52 -07:00
Michael Jumper
14ec0db8de Pop up menu in center, but do not rely on position: fixed. 2012-04-08 16:11:17 -07:00
Michael Jumper
5384de93e8 Implement touch-specific menu. 2012-04-08 15:56:11 -07:00
Michael Jumper
1f4af24ae6 Stop long press detection when scrolling. 2012-04-08 14:43:42 -07:00
Michael Jumper
877bcfea13 Reverted viewport fixes due to Android regression. 2012-04-06 13:20:46 -07:00
Michael Jumper
7fde111c1b Simplify autoscroll. 2012-04-06 13:07:46 -07:00
Michael Jumper
be4d86cfc2 Forgot to commit styles. 2012-04-06 11:56:18 -07:00
Michael Jumper
936e47911a Alter viewportClone into actual scrollable viewport, where all previously fixed elements are now absolute. Fixes issues on iPad and other tablets where reflowing of page did not reflow touch areas. Fixes issue where typing via native OSK automatically scrolled up to the top of the view. 2012-04-06 11:53:32 -07:00
Michael Jumper
aaf72463b1 Use larger image with background for devices which extract bookmark icon from "apple-touch-icon" meta tag. 2012-04-04 13:02:26 -07:00
Michael Jumper
b497d28c4f Set autocorrect and autocapitalize off for username/password. 2012-04-03 14:59:42 -07:00
Michael Jumper
d31a137940 Allow multi-touch gestures to cancel long press detection. 2012-03-30 23:15:53 -07:00
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