Commit Graph

212 Commits

Author SHA1 Message Date
Kris McQueen 2fde826a77 fix up a few merge conflicts from the big merge master->2.1.refactor that were overlooked 2010-09-28 16:35:15 -07:00
Kris McQueen 848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00
Jessica Wang e6c2f7fa0b new UI - volumes page - snapshot tab - implement create volume action. 2010-09-23 20:49:20 -07:00
Jessica Wang 5e36d7ed35 new UI - volumes page - snapshot tab - implement delete snapshot action. 2010-09-23 20:32:19 -07:00
Jessica Wang 8604f70d71 new UI - volumes page - snapshot tab - build action list. 2010-09-23 20:21:19 -07:00
Jessica Wang 96fd242feb new UI - Volumes page - add Snapshot tab that list all snapshots under this volume. 2010-09-23 19:48:51 -07:00
Jessica Wang c3abad736c new UI - after subgrid item action is finished, show message in 1st grid row in the subgrid. 2010-09-23 18:45:25 -07:00
NIKITA 4ba08d0fa4 UI change for Actions dropdown 2010-09-23 18:40:11 -07:00
Jessica Wang 97eeee7677 new UI - after details tab action is finished, show success/fail message on the top of right panel instead of showing a dialog covering action panel. 2010-09-23 18:03:23 -07:00
Kris McQueen 2a4ddac41a Change getResponse() to return a ResponseObject so that the caller can choose how to serialize. This in in preparation for serializing the async commands to the database with class information and deserializing them into the ResponseObject itself when queryAsyncJobResult is called. Once the ResponseObject is deserialized, the proper string can be returned to the caller.
The previous behavior had the JSON response from the command embedded into the queryAsyncJobResult response as a string rather than a JSON object which prevented the client from being able to read the response.  With this new behavior an actual JSON object should be returned which can then be parsed on the client side.
2010-09-23 17:34:28 -07:00
Jessica Wang 5999da510c new UI - fix a bug - instances page's middle menu action list is empty. 2010-09-23 17:32:17 -07:00
NIKITA ea1c90388e Left menu icons added for IP Address, Network Group, Snapshots and Volume 2010-09-23 17:19:31 -07:00
Jessica Wang ea5d33315d new UI - snapshots page - implement create template from snapshot action. 2010-09-23 17:15:49 -07:00
Jessica Wang e8a16e052c new UI - snapshots page - implement delete snapshot action. 2010-09-23 16:59:19 -07:00
Jessica Wang e583473252 new UI - snapshots page - implement create volume action. 2010-09-23 16:44:20 -07:00
Jessica Wang a6ca920452 for bug 6163 - change direct tagged IP range to no longer restrict it to an account. 2010-09-23 15:25:42 -07:00
Jessica Wang 87fb6acd05 new UI - templates page - create VM from template - add "no disk offering" option. 2010-09-23 11:39:57 -07:00
NIKITA a70b5046a6 Left icons changed for Dashboard and Host 2010-09-23 11:36:50 -07:00
Jessica Wang 7b8218af7b fix bug 6160 - "No disk offering" option is missing when creating VM from templates tab. 2010-09-23 10:57:00 -07:00
Jessica Wang df82d0bac6 fix bug 6154 - port forwarding should show user-assigned VM name instead of system-assigned VM name. 2010-09-21 20:11:35 -07:00
Jessica Wang 2e98f2c41d for bug 6153 - prevent startIP being passed twice to UpdatePod API. 2010-09-21 19:37:32 -07:00
Jessica Wang d117da5f7d fix bug 6153 - when editing a private IP range, just modifying the ending of the IP range will throw an error. 2010-09-21 19:30:39 -07:00
Jessica Wang e5cd44c6fb new UI - volumes page - implement attach disk action. 2010-09-21 19:11:18 -07:00
Kris McQueen 50da0d918f The sanitizeXSS function only sanitizes strings and leaves other types unchanged. 2010-09-21 18:23:40 -07:00
Jessica Wang 23bb32dcde fix bug 6130 - when attaching volume, running and stopped VMs not displayed consistently. 2010-09-21 18:11:10 -07:00
Jessica Wang 039cb78173 fix bug 6127 - change text on confirmation box on VM destroy. 2010-09-21 17:55:40 -07:00
Jessica Wang 4e9b1239ce cross-site scripting - sanitize only value whose type is string. 2010-09-21 17:42:26 -07:00
NIKITA 272d419d3a Width of action dropdown has been increased 2010-09-21 17:41:02 -07:00
Jessica Wang 57c099a647 new UI - volumes page - implement add volume action. 2010-09-21 16:57:41 -07:00
Kris McQueen 5a3f4af638 AddHost and AddSecondaryStorage have different required parameters, so avoid subclassing these commands and just call a common method in the agent manager. Fix the response name for listAccounts. CreateUser returns one user, so don't always get response.user[0] since that's pointless. A secondary storage host does not have a pod id (NfsSecondaryStorageResource) so make sure not to dereference variables that will be null. 2010-09-21 16:28:31 -07:00
Jessica Wang 67cfa3582e new UI - volume page - implement Recurring Snapshot action. 2010-09-21 16:18:40 -07:00
Jessica Wang f89e11bb21 new UI - volume page - implement take snapshot action. 2010-09-21 15:37:47 -07:00
Jessica Wang 3f9b58bc73 new UI - volume page - hide actions when volume state is "Creating" or "Corrupted" or volume is attaching to a VM. 2010-09-21 14:55:27 -07:00
Jessica Wang 8dcea8c07e new UI - clear right panel after deleting a volume. 2010-09-21 14:49:23 -07:00
Jessica Wang 0435d99247 new UI - volume page - implement delete volume action. 2010-09-21 11:55:12 -07:00
Jessica Wang 7a13f1afe2 new UI - instances page - fix a bug that volume tab showed nothing. 2010-09-21 10:50:11 -07:00
Kris McQueen ebd06ae6f3 List clusters was using the name of the command rather than the name of the cluster to search for clusters, which was resulting in no clusters returned. Fixed. CreateStoragePool was returning an array of one pool every time, simplified it to just return the pool and changed the UI to expect one pool rather than an array. Fixed the backend code for creating a storage pool to (a) generate a UUID based on host name, path, and a timestamp and (b) to list only active storage pools when checking for duplicates. This allows a storage pool to be create with the same path as a pool that had previously been deleted. 2010-09-20 19:08:52 -07:00
NIKITA 33d97d32c7 Title Icon for Router 2010-09-20 15:06:05 -07:00
NIKITA 207cee40a7 UI for Advanced Search Popup 2010-09-20 13:13:39 -07:00
NIKITA b0fb42460f Title icon for Alerts 2010-09-20 11:36:11 -07:00
Jessica Wang 53cd82027f new UI - IP address page - hide port forwarding tab and load balancer tab to non-manageable IP (i.e. IP of System VM) 2010-09-19 23:22:23 -07:00
Jessica Wang 385f14e9ae new UI - port forwarding - display vmname and vmdisplayname (defined by user). 2010-09-19 12:36:31 -07:00
Jessica Wang ccc8485942 new UI - load balancer - collapse vm management area when deleting a load balancer rule. 2010-09-19 12:05:36 -07:00
Jessica Wang ed6fbfa958 new UI - load balancer page - fix a bug that new template was attched to wrong grid. 2010-09-19 11:55:08 -07:00
Jessica Wang 5db0b651ec new UI - implement delete balancer rule. 2010-09-19 11:36:05 -07:00
Jessica Wang 3d3d2f5836 new UI - implement update load balancer rule. 2010-09-19 11:10:13 -07:00
Jessica Wang ac9335d9d7 new UI - implement remove VM instance from load balancer rule. 2010-09-19 10:39:27 -07:00
Jessica Wang b687871463 new UI - implement assign VM instance to load balancer rule. 2010-09-19 10:32:08 -07:00
Jessica Wang c49eada7bd rename JSP file (to be consistent with javascript file) 2010-09-19 08:00:39 -07:00
Jessica Wang ea4062ca0a new UI - load balancer - implement manage link. Clicking manage link will expand a subgrid of instances assigned to this load balancer policy. 2010-09-19 00:00:00 -07:00