818f081bb5
Set scroll and click thresholds relative to screen pixel density (if readable) and size of gesture.
Michael Jumper2012-04-01 18:20:18 -07:00
dcf55cbd75
Add scale function, use bounding div for main display element, such that the display can be scaled independently of the surrounding div, which provides the layout.
Michael Jumper2012-04-01 01:07:14 -07:00
d31a137940
Allow multi-touch gestures to cancel long press detection.
Michael Jumper2012-03-30 23:15:53 -07:00
5e2858a413
Move all thresholds into properties, implement scrollwheel via touch.
Michael Jumper2012-03-30 23:12:19 -07:00
e22296bbff
Check for last touch by verifying touch length 0, not 1. Fix wrong use of max() (should be min).
Michael Jumper2012-03-30 22:59:46 -07:00
d891b90f67
Assume text inserted in eventTarget at end (cannot rely on selectionStart or selectionEnd). Reset eventTarget value when focus gained.
Michael Jumper2012-03-30 22:10:20 -07:00
21db2579a8
Turn "autocorrect" and "autocapitalize" off via JS, use CSS transform to translate menu (not top/left), use state tracking of keyboard.
Michael Jumper2012-03-30 00:02:40 -07:00
fa96143884
Move layers using translation via matrices - do not use CSS top/left.
Michael Jumper2012-03-29 23:48:45 -07:00
b0196b89f1
Partial cleanup, track and expose key and modifier states.
Michael Jumper2012-03-29 23:11:13 -07:00
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.
Michael Jumper2012-03-29 17:51:49 -07:00
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)
Michael Jumper2012-03-29 10:51:12 -07:00
eca34b24fb
Allow user of API to decide whether keyboard events are canceled.
Michael Jumper2012-03-29 10:05:38 -07:00
d4aabf013b
Assume space cap if blank (blank caps would otherwise not render, and IE trims the contents of XML tags, which breaks the OSK spacebar).
Michael Jumper2012-03-25 13:36:01 -07:00
757ddec1ae
Add default connection name, do not hide cursor after error, remove old classes.
Michael Jumper2012-03-24 22:57:40 -07:00
50d8e4c319
Remove use of X-Guacamole-Error-Message header, return null rather than throwing exception when config not found.
Michael Jumper2012-03-24 22:48:29 -07:00
e6249fbf5b
Do not use X-Guacamole-Error-Message - use status code only.
Michael Jumper2012-03-24 16:57:58 -07:00
0f2c1c01aa
Cleaned up styling slightly, fixed display of reconnect button.
Michael Jumper2012-03-23 23:48:19 -07:00
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.
Michael Jumper2012-03-23 23:33:08 -07:00
be0a0a0226
No need for constant "GUAC" or reselection. Added oninput handler such that voice input, etc. will also work!
Michael Jumper2012-03-23 23:18:41 -07:00
0285fe371a
Rename attach/detach listeners to connect/close.
Michael Jumper2012-03-23 15:31:03 -07:00
32741e87c1
Get credentials and configs from AuthenticatingHttpServlet, allow main HTTP tunnel servlet to take care of attach().
Michael Jumper2012-03-23 15:24:36 -07:00
c2eb0744ac
Monitoring connect/close rather than attach/detach (as attach/detach is too low level, buried within the base HTTP tunnel implementation).
Michael Jumper2012-03-23 15:21:44 -07:00
022e711f32
Added calls to any authentication success/fail hooks.
Michael Jumper2012-03-23 13:53:17 -07:00
54b763742b
Implemented SessionListenerCollection - a simple auto-populating collection of instances of all available listeners.
Michael Jumper2012-03-23 13:45:06 -07:00
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.
Michael Jumper2012-03-23 01:29:49 -07:00
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.
Michael Jumper2012-03-23 01:17:08 -07:00
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.
Michael Jumper2012-03-23 01:00:43 -07:00
2d15986886
Include generic error header when authentication fails.
Michael Jumper2012-03-23 00:54:02 -07:00
da16d7ae78
Implemented AuthenticatingHttpServlet which automatically authenticates the requesting user (if possible), only allowing the request through if authentication succeeded.
Michael Jumper2012-03-22 23:31:38 -07:00
194784809d
Rename from guacamole-default-webapp to guacamole, migrate to guacamole-auth.
Michael Jumper2012-03-22 22:44:39 -07:00
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).
Michael Jumper2012-03-22 22:44:02 -07:00
2ac866ad32
Add constants for previously hard-coded values.
Michael Jumper2012-03-22 14:02:44 -07:00
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.
Michael Jumper2012-03-22 13:46:11 -07:00
41e7bc7834
Second press of "Show Keyboard" should show the guac OSK if the native OSK is already in use.
Michael Jumper2012-03-21 23:14:47 -07:00
0c48a7898a
Rename assumeNativeOSK to nativeOSK, automatically reset nativeOSK to false if menu open initiated by mouse.
Michael Jumper2012-03-21 22:09:13 -07:00
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.
Michael Jumper2012-03-21 19:19:04 -07:00
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).
Michael Jumper2012-03-21 18:58:12 -07:00
21b46e7bdf
Locate event target off screen, in case platform doesn't support opacity of text areas (Android 4, for example).
Michael Jumper2012-03-21 18:25:04 -07:00
94d0b001bb
Automatically reset text area on keyboard events if native OSK is enabled/assumed. Hide text area via CSS.
Michael Jumper2012-03-21 16:42:01 -07:00
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.
Michael Jumper2012-03-21 16:10:49 -07:00
8a7905e605
Style logout button like the rest of the buttons in guac.
Michael Jumper2012-03-20 11:08:37 -07:00