Commit Graph

  • ff20799b29 Provide means of retrieving scale. Michael Jumper 2012-04-01 18:52:06 -07:00
  • 818f081bb5 Set scroll and click thresholds relative to screen pixel density (if readable) and size of gesture. Michael Jumper 2012-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 Jumper 2012-04-01 01:07:14 -07:00
  • d31a137940 Allow multi-touch gestures to cancel long press detection. Michael Jumper 2012-03-30 23:15:53 -07:00
  • 5e2858a413 Move all thresholds into properties, implement scrollwheel via touch. Michael Jumper 2012-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 Jumper 2012-03-30 22:59:46 -07:00
  • ed3d12fbce Implement right and middle-click. Michael Jumper 2012-03-30 22:48:22 -07:00
  • d891b90f67 Assume text inserted in eventTarget at end (cannot rely on selectionStart or selectionEnd). Reset eventTarget value when focus gained. Michael Jumper 2012-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 Jumper 2012-03-30 00:02:40 -07:00
  • fa96143884 Move layers using translation via matrices - do not use CSS top/left. Michael Jumper 2012-03-29 23:48:45 -07:00
  • b0196b89f1 Partial cleanup, track and expose key and modifier states. Michael Jumper 2012-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 Jumper 2012-03-29 17:51:49 -07:00
  • 8c7b883d55 Fixed regression with key repeat. Michael Jumper 2012-03-29 17:42:34 -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 Jumper 2012-03-29 10:51:12 -07:00
  • eca34b24fb Allow user of API to decide whether keyboard events are canceled. Michael Jumper 2012-03-29 10:05:38 -07:00
  • 022c66c31f Fixed project URL. Michael Jumper 2012-03-26 18:51:36 -07:00
  • 34e0292e0e Fixed project URL. Michael Jumper 2012-03-26 18:51:23 -07:00
  • e8ee79a5b0 Fixed project URL. Michael Jumper 2012-03-26 18:51:16 -07:00
  • 57c5694142 Fixed project URL. Michael Jumper 2012-03-26 18:51:08 -07:00
  • 147829ad7c Should be able to retrieve the configuration associated with a socket. Michael Jumper 2012-03-26 13:46:20 -07:00
  • 8a17e6592e Make Credentials as serializable as possible. Michael Jumper 2012-03-26 12:34:36 -07:00
  • 3086c081dd Get ClassLoader within doPrivileged(). Michael Jumper 2012-03-26 12:34:04 -07:00
  • 5027be97bc Close guacamole.properties when done. Michael Jumper 2012-03-26 12:33:36 -07:00
  • 13d82c6a38 Removed unused field. Michael Jumper 2012-03-26 12:05:45 -07:00
  • fae54e2cca Removed unused error string. Michael Jumper 2012-03-26 11:59:53 -07:00
  • 1c7a82c286 Include exceptions in logger errors. Michael Jumper 2012-03-26 11:52:22 -07:00
  • e476350314 Fixed logger usage. Michael Jumper 2012-03-26 11:51:14 -07:00
  • 762c84f25f Add isOpen() to socket and tunnel. Add getSocket() to tunnel. Michael Jumper 2012-03-26 11:34:42 -07:00
  • 4b72a166ec Remove use of Apache Commons. Michael Jumper 2012-03-26 11:14:27 -07:00
  • fd4b4610ae Should send "403 - Forbidden" for security exceptions, not "401 - Unauthorized". Michael Jumper 2012-03-25 23:09:40 -07:00
  • 7e240f8cce It is a security error to request a config that does not exist. Michael Jumper 2012-03-25 23:05:50 -07:00
  • 631ec6120e Change "Connection does not exist" to more user-friendly error. Michael Jumper 2012-03-25 23:03:54 -07:00
  • 3b7b8382a3 Add error for status code of 0. Michael Jumper 2012-03-25 17:56:33 -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 Jumper 2012-03-25 13:36:01 -07:00
  • 757ddec1ae Add default connection name, do not hide cursor after error, remove old classes. Michael Jumper 2012-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 Jumper 2012-03-24 22:48:29 -07:00
  • fbec97f356 Actually send the error code specified... Michael Jumper 2012-03-24 22:45:47 -07:00
  • aa7c16f67d Improved handling of no tunnel. Michael Jumper 2012-03-24 22:19:24 -07:00
  • 36f4d68991 JavaDoc. Michael Jumper 2012-03-24 22:06:15 -07:00
  • 9b36638bf3 Use appropriate exceptions where possible, turn exceptions into appropriate error codes. Michael Jumper 2012-03-24 22:03:52 -07:00
  • f42fe962e2 Distinct client/server exceptions. Michael Jumper 2012-03-24 20:16:05 -07:00
  • d2198016c0 Added three new exception types. Michael Jumper 2012-03-24 20:09:12 -07:00
  • b80ede52a4 Generic error messages from status codes. Michael Jumper 2012-03-24 19:13:32 -07:00
  • e6249fbf5b Do not use X-Guacamole-Error-Message - use status code only. Michael Jumper 2012-03-24 16:57:58 -07:00
  • 0f2c1c01aa Cleaned up styling slightly, fixed display of reconnect button. Michael Jumper 2012-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 Jumper 2012-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 Jumper 2012-03-23 23:18:41 -07:00
  • 497552bbf6 Removed unused import. Michael Jumper 2012-03-23 22:41:37 -07:00
  • 55639817b4 Read event listeners from properties. Michael Jumper 2012-03-23 17:34:24 -07:00
  • fa10dba566 Automatically attach tunnel. Michael Jumper 2012-03-23 16:03:36 -07:00
  • f903b22fe9 Rename attribute following convention. Michael Jumper 2012-03-23 16:01:35 -07:00
  • 2bf18676ad Add tunnel connect/close notification. Michael Jumper 2012-03-23 16:01:07 -07:00
  • 0285fe371a Rename attach/detach listeners to connect/close. Michael Jumper 2012-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 Jumper 2012-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 Jumper 2012-03-23 15:21:44 -07:00
  • 8a27a79a6b Use final Strings for attribute names. Michael Jumper 2012-03-23 15:10:55 -07:00
  • 2cf91df11e Cache credentials in session, provide getters for retrieving configs and credentials from session. Michael Jumper 2012-03-23 15:08:21 -07:00
  • d831969322 Added missing constructors. Michael Jumper 2012-03-23 14:04:03 -07:00
  • 022e711f32 Added calls to any authentication success/fail hooks. Michael Jumper 2012-03-23 13:53:17 -07:00
  • 54b763742b Implemented SessionListenerCollection - a simple auto-populating collection of instances of all available listeners. Michael Jumper 2012-03-23 13:45:06 -07:00
  • a979a7d9de Migrate to guacamole-ext. Michael Jumper 2012-03-23 13:33:24 -07:00
  • 837614800d Allow listeners to throw exceptions from within hooks. Michael Jumper 2012-03-23 12:13:54 -07:00
  • fc6750da00 Tunnel attach and detach listeners. Michael Jumper 2012-03-23 12:09:24 -07:00
  • e13b62a993 Tunnel attach and detach events. Michael Jumper 2012-03-23 12:04:08 -07:00
  • fe7de5201a TunnelEvent interface. Michael Jumper 2012-03-23 12:00:37 -07:00
  • d99d38a9b6 Authentication success event and listener. Michael Jumper 2012-03-23 11:57:05 -07:00
  • e9fcab10b1 Renamed hook function. Michael Jumper 2012-03-23 11:54:18 -07:00
  • 0b1011364d Add AuthenticationFailureListener. Michael Jumper 2012-03-23 11:06:09 -07:00
  • 898cee122f Create CredentialEvent interface for generic credentials-related events. Implemented AuthenticationFailureEvent. Michael Jumper 2012-03-23 11:02:47 -07:00
  • e58a4fc52b Renamed to guacamole-ext. Michael Jumper 2012-03-23 11:02:08 -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 Jumper 2012-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 Jumper 2012-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 Jumper 2012-03-23 01:00:43 -07:00
  • 2d15986886 Include generic error header when authentication fails. Michael Jumper 2012-03-23 00:54:02 -07:00
  • 7f027a71f2 Fixed comments. Michael Jumper 2012-03-22 23:40:45 -07:00
  • 7520ba1f98 Refactored as implementations of AuthenticatingHttpServlet. Michael Jumper 2012-03-22 23:33:34 -07:00
  • 19ddc917f2 Fixed log message. Michael Jumper 2012-03-22 23:33:05 -07:00
  • da16d7ae78 Implemented AuthenticatingHttpServlet which automatically authenticates the requesting user (if possible), only allowing the request through if authentication succeeded. Michael Jumper 2012-03-22 23:31:38 -07:00
  • 194784809d Rename from guacamole-default-webapp to guacamole, migrate to guacamole-auth. Michael Jumper 2012-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 Jumper 2012-03-22 22:44:02 -07:00
  • 8ad557cf31 Use screenX/screenY for touch. Michael Jumper 2012-03-22 17:28:24 -07:00
  • 6b4d49d697 Use screenX/screenY for touch. Michael Jumper 2012-03-22 17:28:17 -07:00
  • 2ac866ad32 Add constants for previously hard-coded values. Michael Jumper 2012-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 Jumper 2012-03-22 13:46:11 -07:00
  • 2ef57e248f Include status in title. Michael Jumper 2012-03-22 13:01:15 -07:00
  • 41e7bc7834 Second press of "Show Keyboard" should show the guac OSK if the native OSK is already in use. Michael Jumper 2012-03-21 23:14:47 -07:00
  • 0c48a7898a Rename assumeNativeOSK to nativeOSK, automatically reset nativeOSK to false if menu open initiated by mouse. Michael Jumper 2012-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 Jumper 2012-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 Jumper 2012-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 Jumper 2012-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 Jumper 2012-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 Jumper 2012-03-21 16:10:49 -07:00
  • 8a7905e605 Style logout button like the rest of the buttons in guac. Michael Jumper 2012-03-20 11:08:37 -07:00
  • 0226d26993 Removed obviously completed TODO comment. Michael Jumper 2012-03-20 10:27:01 -07:00
  • 7522c3a853 Fix ticket #114 - mouse position calculated incorrectly. Michael Jumper 2012-03-20 10:14:49 -07:00
  • fccfe52a19 In chained tunnel, clear handlers in old tunnel when new tunnel is taking over. Michael Jumper 2012-03-19 15:11:05 -07:00
  • 4d768a708c Bumping version to 0.6.0. Michael Jumper 2012-03-15 15:53:32 -07:00
  • 451a09873d Bumping version to 0.6.0. Michael Jumper 2012-03-15 15:53:13 -07:00
  • f084f7fbea Bumping version to 0.6.0. Michael Jumper 2012-03-15 15:53:06 -07:00
  • 431d38d21f Properly handle errors on write as well as read. Michael Jumper 2012-03-14 16:18:11 -07:00