7054 Commits

Author SHA1 Message Date
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
0285fe371a Rename attach/detach listeners to connect/close. 2012-03-23 15:31:03 -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
c2eb0744ac Monitoring connect/close rather than attach/detach (as attach/detach is too low level, buried within the base HTTP tunnel implementation). 2012-03-23 15:21:44 -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
d831969322 Added missing constructors. 2012-03-23 14:04:03 -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
837614800d Allow listeners to throw exceptions from within hooks. 2012-03-23 12:13:54 -07:00
Michael Jumper
fc6750da00 Tunnel attach and detach listeners. 2012-03-23 12:09:24 -07:00
Michael Jumper
e13b62a993 Tunnel attach and detach events. 2012-03-23 12:04:08 -07:00
Michael Jumper
fe7de5201a TunnelEvent interface. 2012-03-23 12:00:37 -07:00
Michael Jumper
d99d38a9b6 Authentication success event and listener. 2012-03-23 11:57:05 -07:00
Michael Jumper
e9fcab10b1 Renamed hook function. 2012-03-23 11:54:18 -07:00
Michael Jumper
0b1011364d Add AuthenticationFailureListener. 2012-03-23 11:06:09 -07:00
Michael Jumper
898cee122f Create CredentialEvent interface for generic credentials-related events. Implemented AuthenticationFailureEvent. 2012-03-23 11:02:47 -07:00
Michael Jumper
e58a4fc52b Renamed to guacamole-ext. 2012-03-23 11:02:08 -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
7f027a71f2 Fixed comments. 2012-03-22 23:40:45 -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
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). 2012-03-22 22:44:02 -07:00
Michael Jumper
8ad557cf31 Use screenX/screenY for touch. 2012-03-22 17:28:24 -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
7522c3a853 Fix ticket #114 - mouse position calculated incorrectly. 2012-03-20 10:14:49 -07:00
Michael Jumper
fccfe52a19 In chained tunnel, clear handlers in old tunnel when new tunnel is taking over. 2012-03-19 15:11:05 -07:00
Michael Jumper
4d768a708c Bumping version to 0.6.0. 2012-03-15 15:53:32 -07:00
Michael Jumper
451a09873d Bumping version to 0.6.0. 2012-03-15 15:53:13 -07:00
Michael Jumper
f084f7fbea Bumping version to 0.6.0. 2012-03-15 15:53:06 -07:00
Michael Jumper
431d38d21f Properly handle errors on write as well as read. 2012-03-14 16:18:11 -07:00