Commit Graph
100 Commits
Author SHA1 Message Date
Michael Jumper 787dde88a9 In admin screen, limit groups to organizational groups or balancing groups we have admin privileges for, and limit connections to those we have admin/update for. 2013-08-17 15:31:48 -07:00
Michael Jumper 7334e76679 Allow GroupView to be filtered via arbitrary functions. 2013-08-17 15:31:48 -07:00
Michael Jumper 5fb3352d1d Render groups as if they were connections if they are balancing and lack visible contents. 2013-08-15 03:18:58 -07:00
Michael Jumper 54d952d6bc Style balancing groups differently. 2013-08-15 03:15:31 -07:00
Michael Jumper 5ecf224e09 Add "empty" class if group is empty. 2013-08-15 03:07:35 -07:00
Michael Jumper 9de0d7a299 Expand root if shown. 2013-08-15 02:58:57 -07:00
Michael Jumper 738f3397b7 Allow specific group to be selected. 2013-08-15 02:56:43 -07:00
Michael Jumper 27eb3066f2 Implement SHOW_ROOT_GROUP flag for GroupView. Use said flag for dropdown group selector. 2013-08-15 02:42:46 -07:00
Michael Jumper 65215720c0 Render group selector as dropdown menu. 2013-08-15 02:18:24 -07:00
Michael Jumper 402bdaee34 Do not attempt to list groups unless we can expect to have the rights to do so. 2013-08-15 01:19:50 -07:00
Michael Jumper 68fff285ff Monitor group checkboxes for changes and update perms. 2013-08-15 00:28:08 -07:00
Michael Jumper cd222e1dcf Add support for connecting to groups. 2013-08-15 00:10:19 -07:00
Michael Jumper 06c242ec42 Populate group type field. 2013-08-15 00:10:19 -07:00
Michael Jumper 542947eaa0 System permission names should be compared with equals(), not startsWith(). 2013-08-14 22:59:57 -07:00
Michael Jumper 5fab1ea8d2 Add missing "connection group creation" permission. 2013-08-14 22:59:31 -07:00
Michael Jumper 5dcbd24206 Set parent when creating. 2013-08-14 18:59:33 -07:00
Michael Jumper 7c2ce7d8eb Remove unnecessary parentID parameter. 2013-08-14 18:17:26 -07:00
Michael Jumper 62df60e210 Remove unnecessary set of parent. 2013-08-14 18:16:50 -07:00
Michael Jumper 4fc8daa916 Call move if object's location changed. 2013-08-14 18:12:44 -07:00
Michael Jumper dd04d849d6 Add support for move. 2013-08-14 18:09:54 -07:00
Michael Jumper ac5050f0f7 Prevent accidental addition of cycles. 2013-08-14 17:44:41 -07:00
Michael Jumper 940539b097 Implement group selector. Show when location clicked. Save location. 2013-08-14 17:43:52 -07:00
Michael Jumper 908d79f06e Require stub connection/group for creation. 2013-08-14 17:43:52 -07:00
Michael Jumper dfb833190e Add location field placeholder and styles. 2013-08-14 17:43:52 -07:00
Michael Jumper bb0d41ae01 Allow GroupViews to be controlled by flags. Implement MULTISELECT and SHOW_CONNECTIONS flags. 2013-08-14 17:43:52 -07:00
Michael Jumper 386c56840b Ensure parent is set for newly-created connections and groups (for now). Need to actually implement connection/group move. 2013-08-14 14:33:29 -07:00
Michael Jumper 0127aec1b9 Add parentID to service calls. 2013-08-14 14:22:28 -07:00
Michael Jumper 8f328d68f9 Store parent group in Connection and ConnectionGroup. 2013-08-14 14:16:54 -07:00
Michael Jumper 18ef0d2f77 Remove connection name textbox. Add separate buttons for connection and group creation. 2013-08-14 13:43:45 -07:00
Michael Jumper 63288f45ee Update regarding new permissions. Set checkboxes of groups in GroupView appropriately. 2013-08-14 13:35:40 -07:00
Michael Jumper 476a20897b Add support for new permissions. 2013-08-14 13:33:06 -07:00
Michael Jumper ee06c0a5ca Track list of all groups by ID within GroupView. Soft fail when set*() called on group or connection that isn't present in GroupView. 2013-08-14 13:29:21 -07:00
Michael Jumper 990f56c373 Fix copy-paste error. 2013-08-14 12:53:49 -07:00
Michael Jumper e92f0b0df5 Implement renaming. 2013-08-14 12:46:12 -07:00
Michael Jumper a995af3f77 DOCUMENT creation mode for ConnectionEditor and ConnectionGroupEditor. 2013-08-14 12:31:38 -07:00
Michael Jumper c91202aa65 Add creation mode for ConnectionEditor and ConnectionGroupEditor. 2013-08-14 12:29:44 -07:00
Michael Jumper 7a970a4289 Implement ConnectionGroupEditor. 2013-08-14 10:35:22 -07:00
Michael Jumper ae0fb1efb0 Add service calls for connection groups. 2013-08-14 10:33:45 -07:00
Michael Jumper e66b06056a Pre-select connections which the selected user can read. Do not allow connections to be altered if which we lack admin permissions. 2013-08-13 17:19:59 -07:00
Michael Jumper cde56a6a34 Add ability to enable/disable groups and connections (controls whether they are selectable). 2013-08-13 17:19:08 -07:00
Michael Jumper 79b30cad29 Add ability to set current selected value of groups and connections. 2013-08-13 17:01:06 -07:00
Michael Jumper 22b1702318 Implement change events for group view when multiselect is on. 2013-08-13 16:42:58 -07:00
Michael Jumper c3a6c42b4c Add checkboxes for multiselect group view. 2013-08-13 16:27:38 -07:00
Michael Jumper 9b72179d2a Implement GuacAdmin.ConnectionEditor. 2013-08-13 15:42:26 -07:00
Michael Jumper cb2f0c445c Move parameter retrieval to common namespaced variable. Add handlers for connection click events. 2013-08-13 15:28:04 -07:00
Michael Jumper 9f62d25de3 Add onclick events for GuacUI.ListGroup and GuacUI.Connection. Implement GuacUI.openConnection(), replacing GuacamoleService.Connection.open(). 2013-08-13 15:27:26 -07:00
Michael Jumper 4e5e401168 Add GuacamoleService.Connection.open() 2013-08-13 15:08:32 -07:00
Michael Jumper ab74d341b8 Fix recent connections list. 2013-08-13 14:53:05 -07:00
Michael Jumper 6698fc10e2 Hide dialog when complete. 2013-08-13 14:32:58 -07:00
Michael Jumper e9361d6f12 Fix styling of user list. 2013-08-13 14:28:59 -07:00
Michael Jumper 7aa5feb745 Fix rendering of h2. 2013-08-13 12:46:21 -07:00
Michael Jumper 0c94ba2907 Partially migrate to GuacUI.Dialog for user editing (via new GuacAdmin.UserEditor). Modify styles to support GuacUI.Dialog. 2013-08-13 12:30:03 -07:00
Michael Jumper 53a00ca39d Add multiselect and event placeholders. Add GuacUI.Dialog implementation. 2013-08-13 12:28:45 -07:00
Michael Jumper 035565f3c9 Unify styles, add placeholder multiselect constructor parameter for GroupView. 2013-08-12 21:07:53 -07:00
Michael Jumper 068eda8a76 Implement GuacUI.GroupView component for easy viewing of groups/connections. 2013-08-12 14:21:35 -07:00
Michael Jumper 937e143aff Type attribute is "type", not "name". 2013-08-12 10:54:38 -07:00
Michael Jumper af0c2fd417 Use name of current group, not parent group. 2013-08-12 02:04:34 -07:00
Michael Jumper c00eaa49b6 Connection groups should return directories of their children, not their parent's children. 2013-08-12 02:03:16 -07:00
Michael Jumper 03ff6edbf4 Migrate to root group rather than connection list. 2013-08-12 01:45:51 -07:00
Michael Jumper 6688220522 Implement GuacamoleService.ConnectionGroup. Migrate GuacamoleService.Connections.list to new XML format. 2013-08-12 01:45:36 -07:00
Michael Jumper b4d128c12c Add support for groups to the connection list XML. 2013-08-11 13:13:40 -07:00
Michael Jumper 701368a7fe Initial stab at fixing the CRUD servlets and service JS. 2013-08-10 15:43:33 -07:00
Michael Jumper ea36b4f556 Restore caching of credentials in session. Update credentials when context is updated. Add credentials to events. 2013-08-08 11:52:39 -07:00
Michael Jumper 49ea114780 Send parameters where possible. 2013-08-07 17:36:41 -07:00
Michael Jumper 28001c42bb Only log successful auth when initially creating context. 2013-08-07 16:48:16 -07:00
Michael Jumper 5310d3531c Fix semantics of update and events now that we know when credentials are present. 2013-08-07 16:34:20 -07:00
Michael Jumper c60d810c9c Revert changes to Credentials. 2013-08-07 16:21:17 -07:00
Michael Jumper 7be306f1f4 Add hasNewCredentials() function to avoid uselessly hammering on auth logic. 2013-08-07 16:15:54 -07:00
Michael Jumper 857bd540dc Add getQueryParameters() function. 2013-08-07 15:30:52 -07:00
Michael Jumper e7911bc63a Simplify authentication code. 2013-08-07 15:11:06 -07:00
Michael Jumper c325f443a5 Update user context appropriately. Use UserContext for events. 2013-08-07 14:51:14 -07:00
Michael Jumper e8ec136c29 Decode name and value of parameters. 2013-08-07 13:42:43 -07:00
Michael Jumper 7d3c78bb58 Implement getQueryParameter() function on Credentials (to provide an option for those needing parameters within context updates). Do not read parameters within AuthenticatingHttpServlet. 2013-08-07 13:25:00 -07:00
Michael Jumper 11bc2d7c68 Add updateUserContext() function. 2013-08-07 13:22:35 -07:00
Michael Jumper 4550a73db1 Style groups like connections. 2013-08-06 15:25:20 -07:00
Michael Jumper 6be704647c Add basic styling for groups. 2013-08-06 15:24:48 -07:00
Michael Jumper e7de54bdf4 Handle connection paths, add groups/connections as necessary when building root UI connection list. 2013-08-06 15:23:58 -07:00
Michael Jumper 6aaf7563e8 Implement GuacUI.ListGroup. Fix handling of click events. 2013-08-06 15:10:10 -07:00
Michael Jumper 0cf513afa4 Add handy functions for path and name parsing from the connection ID. 2013-08-06 15:09:33 -07:00
Michael Jumper 737c206950 Add icons for group expand/collapse. 2013-08-06 15:08:39 -07:00
Michael Jumper 80ef9586a8 Improve scroll handling by paying attention to scroll amount. 2013-07-28 19:41:49 -07:00
Michael Jumper 8f94b1000f Do not automatically flush layers. Add flush() function. Flush automatically on sync. 2013-07-28 00:50:24 -07:00
Michael Jumper 0dabb09923 Fix copy/paste error. 2013-07-23 09:32:40 -07:00
Michael Jumper 3c72eaaf32 Implement SSLGuacamoleSocket. Add guacd-ssl parameter. Modify guacamole-auth-mysql and simple auth to support it. 2013-07-23 00:52:49 -07:00
Michael Jumper ac8222430c Use assembly plugin 2.4, add missing ID. 2013-07-17 15:10:53 -07:00
Michael Jumper 219a210ff4 Bump version to 0.8.1. 2013-07-15 10:18:21 -07:00
Michael Jumper 58ebd5fad1 Merge branch 'unstable' of git://github.com/glyptodon/guacamole-client into unstable 2013-07-13 19:36:27 -07:00
Michael Jumper e8e7a6b3a2 Add README. 2013-07-13 19:33:54 -07:00
Michael Jumper e2a0bdf53b Automatically build source archive in package phase. 2013-07-13 19:14:38 -07:00
Michael Jumper 88d4a5004b Add .gitignore, bump version to 0.8.2. 2013-07-13 17:38:40 -07:00
Michael Jumper b44faacbae Bump versions. 2013-07-02 17:08:27 -07:00
Michael Jumper b1681dada2 Update ChangeLogs. 2013-07-02 17:07:29 -07:00
Michael Jumper 8a223956aa Add enable-printing parameter to rdp.xml. 2013-07-02 10:49:29 -07:00
Michael Jumper a022c42b99 Merge branch 'master' into unstable 2013-07-02 10:13:43 -07:00
Michael Jumper 202fbc8b79 Add guacamole-example, modified to work with 0.8.* 2013-07-02 10:13:17 -07:00
Michael Jumper 1391f628a8 Use Blob.js and FileSaver.js for providing file downloads across platforms lacking blob and HTML5 download links. 2013-07-01 15:01:13 -07:00
Michael Jumper 984ab06100 Add close button to notifications. Improve styling. 2013-07-01 15:01:13 -07:00
Michael Jumper e8cdc9c5b7 Better styling and alignment of notifications. 2013-07-01 15:01:13 -07:00
Michael Jumper 6f33d188fd Add notification area. Preload images that would otherwise be loaded later, as such a load may fail due to resource starvation. 2013-07-01 15:01:13 -07:00
Michael Jumper 6efb7b8bde Used fixed notation, rather than the classic Math.round() rounding idiom. 2013-07-01 15:01:12 -07:00