Commit Graph

4071 Commits

Author SHA1 Message Date
Jessica Wang 85b251cb52 new UI - instance page - statistics tab - reset statistics info when clicking through different VMs 2010-11-05 11:43:49 -07:00
Jessica Wang 1aad87622c new UI - instance page - statistics tab - implement bar chart. 2010-11-05 11:30:21 -07:00
Jessica Wang 7ccf28e03d new UI - IP address page - rename function name. 2010-11-05 10:16:13 -07:00
Jessica Wang 853f6610c2 new UI - change function names since the 2 functions are not only used by details tab, but also other tabs (e.g. resource limits tab). 2010-11-05 10:14:11 -07:00
will 70b4c4d181 Bug 6988: addVpnUser did not camel case the "username" which resulted in that particular value not being returned. 2010-11-04 20:56:23 -07:00
Jessica Wang 861b8f76ae new UI - instance page - implement statistics tab 2010-11-04 19:49:14 -07:00
Jessica Wang d1e2fc21a2 new UI - VM - console proxy screen - only request thumbnail when mouse is over console proxy icon. When mouse is out of console proxy icon, stop requesting thumbnail. 2010-11-04 19:02:35 -07:00
Jessica Wang 82f97b6de9 new UI - zone page - implement Delete VLAN action. 2010-11-04 18:15:07 -07:00
Jessica Wang 8eab360171 new UI - host page - fix a bug that update OS preference after the 1st time was not working. 2010-11-04 17:45:49 -07:00
Jessica Wang 1eef924c6c new UI - domain admin and user shouldn't see alert menu. 2010-11-04 16:39:39 -07:00
Chiradeep Vittal 4f4bc3dd9e send password instead of username as password 2010-11-04 16:27:58 -07:00
Jessica Wang c67a62bb3b new UI - create disk offering - add a dropdown "custom disk size" 2010-11-04 16:23:54 -07:00
Jessica Wang d2764bad8c new UI - disk offering - change text. 2010-11-04 15:14:48 -07:00
Jessica Wang 01f19ea995 new UI - VM wizard - fix a bug that customized disk size didn't show in last step if blank template (ISO) is selected. 2010-11-04 15:00:58 -07:00
Jessica Wang 8dbd701b13 new UI - create disk offering - validate disk size, but make it optional. 2010-11-04 14:51:31 -07:00
Jessica Wang daef9b076d new UI - disk offering page - fix a bug that disk size is displayed in wrong unit. 2010-11-04 14:37:20 -07:00
Jessica Wang 0e9147a249 new UI - disk offering page - show "will be specified during VM creation" on diskSize row when the disk offering is customizable. 2010-11-04 14:21:37 -07:00
Jessica Wang 3999621086 new UI - VM creation - fix a bug that last step showed "[object]" in disk offering. 2010-11-04 14:11:50 -07:00
Jessica Wang 821dd88729 new UI - disk offering page - add "Customizable during VM creation" row. 2010-11-04 14:01:46 -07:00
Jessica Wang b8b4911233 new UI - corresponding UI change after bug 6955 is fixed. 2010-11-04 13:33:04 -07:00
Jessica Wang cc6ee7adde remove an obsolete function. 2010-11-04 13:12:03 -07:00
Jessica Wang 2195b5b75c new UI - domain page -resource limits tab - remove Edit button, add Edit Resource Limits link and implement it. 2010-11-04 13:04:10 -07:00
Jessica Wang 01154ebf0f new UI - add grid header on details tab and resource tab. 2010-11-04 11:28:12 -07:00
Jessica Wang fec75973db new UI - Edit VM - not to hide editable field and show readonly field until action returns success. 2010-11-04 11:03:23 -07:00
Jessica Wang 39d7e65180 new UI - Edit ISO - not to hide editable field and show readonly field until action returns success. 2010-11-04 11:00:11 -07:00
Jessica Wang 2b28450565 new UI - Edit Template - not to hide editable field and show readonly field until action returns success. 2010-11-04 10:57:20 -07:00
Jessica Wang a298d57d75 new UI - Edit Global Settings- not to hide editable field and show readonly field until action returns success. 2010-11-04 10:51:43 -07:00
Jessica Wang 07cb63b82e new UI - allow update isPublic field of ISO. 2010-11-04 10:34:16 -07:00
Jessica Wang 7bc9f66482 new UI - ISO page - add isPublic row. 2010-11-04 10:06:56 -07:00
Jessica Wang 7118f72c68 remove debugger 2010-11-04 09:57:38 -07:00
Jessica Wang 58b7c8f4e5 new UI - #5855 - primary storage page - display state. 2010-11-04 09:56:19 -07:00
will f907e370d1 - Added the rest of the VPN UI feature with the exception of displaying the preshared key.
- AddVpnUserCmd will now return the embedded object.
- Fixed RemoteAccssVpnResponse to return "iprange" instead of "ipRange"
2010-11-03 22:24:22 -07:00
Jessica Wang 352cd83b2a new UI - zone page - add domain in details tab. 2010-11-03 22:22:45 -07:00
Jessica Wang 9424e0c655 new UI - deployvirtualmachine - what API returns have been changed. This is corresponding UI chagne. 2010-11-03 21:28:55 -07:00
Jessica Wang f02eedddd8 new UI - VM Wizard - get customized disk offering from database instead of hardcoding it. 2010-11-03 21:22:08 -07:00
Jessica Wang 3f63a8d76c new UI - Edit Disk Offering, Edit Service Offering - not to hide editable field and show readonly field until action returns success. 2010-11-03 21:22:08 -07:00
Jessica Wang 67312e7eb4 new UI - Edit zone - not to hide editable field and show readonly field until action returns success. 2010-11-03 19:55:56 -07:00
Jessica Wang f6d3aff25e new UI - update pod - embedded object was just added in API return. This is corresponding UI change. 2010-11-03 19:48:35 -07:00
Jessica Wang d8defa8093 new UI - create disk offering - check if disksize has value before passing it to API. 2010-11-03 18:25:02 -07:00
Jessica Wang 2d0964f166 new UI - create disk offering - disk size is optional. 2010-11-03 18:21:20 -07:00
Jessica Wang f813808817 new UI - view console - remove temporary code that made view console work under newui folder before. 2010-11-03 17:29:42 -07:00
Jessica Wang f9f40d3a4c new UI - implement Edit Pod action. 2010-11-03 17:01:29 -07:00
Jessica Wang 01d849192f new UI - volume page - fix a bug that device ID column doesn't get refreshed correctly when clicking between different volumes. 2010-11-03 14:18:24 -07:00
Jessica Wang 0e40e829c9 new UI - update port forwarding rule - fix a bug "items is null". 2010-11-03 14:15:43 -07:00
Jessica Wang b73e79d716 new UI - update load balancer rule - fix a bug "items is not found" 2010-11-03 14:11:47 -07:00
Jessica Wang fd5e263f78 new UI - #5855(UI for storage maintenance mode) - primary storage page - add "Enable Maintenance Mode", "Cancel Maintenace Mode" 2010-11-03 13:55:15 -07:00
Jessica Wang cb6a3d627e new UI - #4774 (support public ISOs) - Add ISO dialog - add public dropdown field. 2010-11-03 12:42:45 -07:00
Jessica Wang 8409578d1d new UI - #3386 - allocate dedicated zones to domains 2010-11-03 11:41:05 -07:00
will 4072fb2554 Adding New UI support for VPN. Missing component include the listing of the users that have access to the VPN. 2010-11-02 20:59:58 -07:00
will 8cb6218480 Removed version from the jquery js files. 2010-11-02 18:29:11 -07:00
will 410d423a5e bug 5190: Integrated update cert command with the new UI 2010-11-02 18:12:50 -07:00
will 33fc23d903 Adding Dialog to allow admins to upload SSL certificates into the console proxy. 2010-11-02 18:12:49 -07:00
Jessica Wang 2aefa86d18 new UI - implement Edit Zone action. 2010-11-02 17:14:36 -07:00
Jessica Wang 5b879096d7 new UI - add grid header title. 2010-11-02 16:08:03 -07:00
Jessica Wang 95c99a5c6e new UI - if adding primary storage on a closed pod node (not showing cluster node under), pod node will be expanded and cluster node will be clicked after action succeeds. 2010-11-02 16:00:01 -07:00
Jessica Wang 33d620cf2c new UI - add host - default cluster dropdown to host's cluster or primary storage's cluster (depending on which page you are on). 2010-11-02 14:32:43 -07:00
Jessica Wang b8e2c8c86d new UI - add primary storage - default cluster dropdown to host's cluster or primary storage's cluster. 2010-11-02 14:25:59 -07:00
Jessica Wang 686928aef7 new UI - add primary storage - if on cluster node, add newly created primary storage to middle menu and remove "no items available" if there is. 2010-11-02 13:31:42 -07:00
will ca2baddbf4 New UI - Fixed session timeout dialog 2010-11-02 13:13:23 -07:00
edison b0ab0df4fe fix rpm build 2010-11-01 23:19:12 -07:00
will 4fdd71c799 Sigh. Renaming the jquery scripts back so RPM build doesn't break. 2010-11-01 22:57:26 -07:00
will 034ec649a0 Did some renaming of the javascript files in new 2.2 UI. 2010-11-01 22:52:12 -07:00
will 287c1da1b5 Making the new 2.2 UI to be the default UI.
2.1 UI can still be accessed by http://<mgmt_url>:8080/client/2.1
2010-11-01 21:43:37 -07:00
Kris McQueen 7531525252 Add commented code out for the old style (2.1.x) JSON async job responses. The XML responses are still a TODO. In order to get this to fully revert back to 2.1.x style responses, some commands will need to be modified to set the responseName to be something like getResultObjectName(), and there's an example of this in StopVMCmd. 2010-10-28 14:32:13 -07:00
Kris McQueen 8fafc892d3 bug 6730: if a volume was never attached to a VM, then the poolId will be null and this will be flagged as not on shared storage. Since the code was deleting detached volumes only on shared storage, the never-attached volume was in an undeletable state. Instead, allow deletion of any detached volume, regardless of storage pool until some technical reason limits this from happening.
Also, the UI was not allowing volumes to be deleted due to a bug in looking at the vmname property of the volume.  The 'if' conditional always returned true that the volume was attached to a VM to due a boolean logic error.

status 6730: resolved fixed
2010-10-26 14:56:44 -07:00
Kris McQueen 365ac7501f bug 6672: Fix up volume commands. For createVolume, the command is supposed to create a database object, but not assign it to a storage pool until the user first attaches it to a vm instance. That allows the volume to start off hypervisor agnostic. For attachVolume, detachVolume, and listVolumes, the responses had minor issues (sourceType could be null, for example) in either the response generation, or the response handling by the UI.
status 6672: resolved fixed
2010-10-21 15:15:01 -07:00
Kris McQueen d01d2c01f4 fix a problem listing load balancer rules, the ip address for a vm has been standardized to ipaddress rather than a mix of ipaddress/privateip 2010-10-20 16:48:20 -07:00
Kris McQueen 2bd5b6a29e bug 6654: virtualmachinename should be serialized as vmname, fix handling of the createPortForwardingRule response
status 6654: resolved fixed
2010-10-19 15:59:37 -07:00
Kris McQueen 0267a306c8 bug 6649: when listing domains, accept -1 as 'list all.' Fix listDomainChildren response to return haschild, handle haschild as a boolean rather than a string.
status 6649: resolved fixed
2010-10-19 13:49:00 -07:00
Kris McQueen 0143cbc1e1 changeServiceForVirtualMachine is not an async command since it merely does a database update for the VMs service offering. Change the UI to reflect this. 2010-10-18 11:51:34 -07:00
Kris McQueen 3be625ca6e The stopVirtualMachine API should return the vm instance rather than a boolean indicating success. The response for async jobs is now under the jobresult property of the JSON response, handle the start/stop virtual machine responses using data from the jobresult rather than expecting some embedded object. 2010-10-18 11:15:07 -07:00
Kris McQueen 2740ba6c40 final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
Kris McQueen 9c593352d0 Fixing events for async jobs so that there's a scheduled event recorded with appropriate type/description whenever the API framework schedules the async command to run. A few miscellaneous fixes as well uncovered during regression testing (router response was not parsed correctly by UI, etc.) 2010-10-05 20:26:18 -07:00
Jessica Wang ef67728cea new UI - instance page - reset password - after action succeeds, show new password in middle menu and details tab when middle menu item is clicked. 2010-10-05 16:59:22 -07:00
Jessica Wang 4fa53720c6 new UI - add shared function enableMultipleSelectionInMiddleMenu(), disableMultipleSelectionInMiddleMenu(). 2010-10-05 14:23:18 -07:00
Jessica Wang 426767f9f1 Primary Storage page, Host page - decode text. 2010-10-04 20:08:12 -07:00
Jessica Wang 0763037d5f decode text returned from API. encode text passed to API. 2010-10-04 19:38:22 -07:00
Jessica Wang b45b23b50a Storage page - encode API parameters 2010-10-04 18:17:25 -07:00
Jessica Wang 7ab6a24876 decode text before it displays on UI. 2010-10-04 14:56:44 -07:00
Jessica Wang ec71530d49 for bug 6381 - add primary storage - shows cluster option when hypervisor is KVM. 2010-10-01 18:36:51 -07:00
Jessica Wang 1924556caf template page, ISO page - apply shared function todb(), fromdb(). 2010-09-30 16:22:56 -07:00
Jessica Wang e0542260eb Use shared function todb(), fromdb(). 2010-09-30 15:49:44 -07:00
Jessica Wang 9e0fa5abd3 fix bug 6330 - instance page action menu not displaying correctly on IE7. 2010-09-30 11:14:29 -07:00
edison 6fc7528809 create data volume is splitted into two stage:
1. create a volume entry in the database,
2. when user attaching the volume to a VM, then actually create the volume on storage pool.
2010-09-29 18:41:54 -07:00
will 031c6fc280 Adding support to indicate hypervisor when registering ISOs 2010-09-29 18:41:54 -07:00
will 3570322ef5 Forgot to add listing of templates by hypervisor 2010-09-29 18:40:51 -07:00
will 67cc587603 Adding some prelim UI to support multiple hypervisors in the hybrid branch 2010-09-29 18:40:51 -07:00
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 f08ef8c6d4 fix a bug - Zones page - Direct VLAN IP Range - account field appears twice in view mode. 2010-09-28 15:07:36 -07:00
Jessica Wang 9a4ceb64c0 fix bug 6287 - decode string before displaying on UI. 2010-09-28 10:46:14 -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 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 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
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
Jessica Wang 67cfa3582e new UI - volume page - implement Recurring Snapshot action. 2010-09-21 16:18:40 -07:00
Jessica Wang 0435d99247 new UI - volume page - implement delete volume action. 2010-09-21 11:55:12 -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
Jessica Wang 74bd85a3c0 current UI - create disk offering - minimum size of disk offering changes from 1 to 0 2010-09-17 15:39:59 -07:00
Jessica Wang 4c78c6304d current UI - add host - send clustername parameter when calling addHost API 2010-09-17 10:19:06 -07:00
edison d933f19d35 bug 5800: add cluster for KVM
TODO: need to make sure the host cpu is from the same vender in a cluster
2010-09-10 16:00:36 -07:00
Jessica Wang 37d82c8aa7 new UI - instance page - volume tab - show different action link for each volume depending on volume type and vm state. 2010-09-10 11:40:37 -07:00
Jessica Wang 87820eeb98 new UI - instance page - volume tab - add action links (detach disk, create template). 2010-09-09 17:47:37 -07:00
jessica 91e3f8e89e fix bug 6050 - extend pagesize to 500 2010-08-31 11:37:13 -07:00
jessica 01508aa6b3 Issue #: 5945 - replace all content/tab_xxxxxxx.html with jsp/tab_xxxxxxx.jsp 2010-08-26 11:53:10 -07:00
jessica 111f88a1dc Issue #: 5953 - show remove link when host status is disconnected 2010-08-25 16:48:16 -07:00
jessica 3c92e52886 Issue #: 5785 - support non-ascii character like euro character 2010-08-25 15:51:01 -07:00
jessica c17cda2a37 resolve failed merge markers 2010-08-20 18:15:24 -07:00
Jessica Wang 65b9f29941 Issue #: 5975
(1) API-side: make listDomains, ListDomainChildren return all items

(2) UI-side: make domains page show all domains by specifying pageSize=-1
2010-08-20 17:39:40 -07:00
Jessica Wang 275785404c Add Host - vlidate cluster section only if xenserver is xenserver 2010-08-18 11:30:01 -07:00
Jessica Wang 1849d4a6b1 Issue #: 5894
Create Template from Snapshot dialog - add password dropdown field
2010-08-17 14:25:54 -07:00
Jessica Wang 66ccd6f7ad (1) When hypervisor.type is kvm, allow option to add host in UI.
(2) When when hypervisor.type is kvm, hide cluster section in add host dialog.
2010-08-13 18:19:55 -07:00
Manuel Amador (Rudd-O) 14ae76781e Committing Kris' big merge 2010-08-11 16:02:57 -07:00
Manuel Amador (Rudd-O) ac730ec496 Branch 2.1.refactor committed 2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O) 05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00