109 Commits

Author SHA1 Message Date
Jessica Wang
4b4fb1ac90 CLOUDSTACK-6852: UI - attach volume action - VM dropdown - populate options based on whether module is included and whether service is enabled. 2014-06-05 13:49:19 -07:00
Chris Suich
ea29adb7b9 CLOUDSTACK-5785: VM display name cell not updated upon detaching volume from VM 2014-04-10 22:27:41 -04:00
Marcus Sorensen
11f5bdd78d CLOUDSTACK-6191 Add support for specifying volume provisioning
type (thin, sparse, fat) in disk/compute offerings.

Submitted-by: Yoshikazu Nojima <mail@ynojima.net>
Reviewed-by: Marcus Sorensen, Mike Tutowski
2014-04-10 09:23:04 -06:00
vetrivelc
182c31899b Externalized the hardcodedstrings from UI JAVASCRIPT files. 2014-03-05 14:11:51 -08:00
Jessica Wang
5adc778d88 CLOUDSTACK-5831: UI > Volumes > take snapshot > get "quiescevm" property from listVolumes API instead of listStoragePools API since regular-user/domain-admin don't have access to listStoragePools API. 2014-01-10 16:27:37 -08:00
Jessica Wang
598628f517 CLOUDSTACK-5840: UI > Snapshots > create volume from snapshot dialog > add zone dropdown if region-wide secondary storage exists. 2014-01-10 10:49:18 -08:00
Brian Federle
08a69b0053 CLOUDSTACK-5544: Snapshot action filter: Remove check on volume state
Removes conditional check of volume state for snapshot action filter,
since it causes a null pointer when trying to access view outside the storage
section. Now only '.revertable' attribute is checked. Storage state should now
be verified at the API level only.
2013-12-20 13:48:21 -08:00
Brian Federle
34174bbcbb Add missing strings for quiesce VM, SMB fields 2013-12-18 13:10:15 -08:00
Brian Federle
a9258ae807 Volumes page: Hide add/upload action if instance selected, to reduce confusion. 2013-12-10 15:20:39 -08:00
Jessica Wang
1db19c3d52 CLOUDSTACK-4428: KVMsnapshoteanbled property in listCapabilities API response has been renamed. Here is corresponding UI change. 2013-12-09 15:21:47 -08:00
Chris Suich
782bd4d9bc Fixed issue with quiescevm param on snapshot UI
CLOUDSTACK-5388
2013-12-06 13:09:59 -08:00
Chris Suich
06344db330 Added quiescevm option to volume snapshot dialog when storage supports it
CLOUDSTACK-5388
2013-12-06 13:09:55 -08:00
Wei Zhou
64c03dbc31 [UI] kvm vm snapshot not shown if kvm.snapshot.enabled is set to false 2013-11-28 10:47:37 +01:00
Jessica Wang
8ce6d5271c CLOUDSTACK-4428: UI > volume > take snapshot action, recurring snapshot action > for volumes whose hypervisor is KVM and whose VM is not Running, always show the 2 actions regardless value of "kvm.snapshot.enabled". 2013-11-26 15:05:13 -08:00
Jessica Wang
5d41d79802 CLOUDSTACK-4428: UI > volume page > when hypervisor is KVM and kvm.snapshot.enabled is false, still show Take Snapshot on a detached volume. 2013-11-12 11:41:50 -08:00
Chris Suich
0ed7ebd7e7 Squashed & merged commit of the following:
commit c9ee0d12e191e803fb341f3f96e95ca434a36f6c
Author: Wei Zhou <w.zhou@leaseweb.com>
Date:   Wed Oct 23 16:55:10 2013 +0200

    CLOUDSTACK-4931, CLOUDSTACK-4937: setDetails to user VMs only
    (cherry picked from commit a94acc5a43aeaf5f18f1912e2653a92f6041a6e5)

commit fe1586c71377bc6d219db2dcf088c40b65dd1fc4
Author: Anthony Xu <anthony.xu@citrix.com>
Date:   Tue Oct 22 11:20:27 2013 -0700

    CLOUDSTACK-4649:
            vm sync tracks the pv driver version for xenserver

     Anthony

commit 56a218f66eda540b4b4b04030ee71fc6863f8532
Author: Anthony Xu <anthony.xu@citrix.com>
Date:   Mon Oct 21 16:10:07 2013 -0700

    CLOUDSTACK-4649:
        xs 6.1/6.2 introduce the new virtual platform, so there are two virtual platforms, windows PV driver version must match virtual platforms,
    this patch tracks PV driver versions in vm details and template details.

    Anthony

commit 4e85d28c678a6f96b5b70d8d33fc60f9d1ea3df6
Author: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Date:   Mon Oct 21 21:17:33 2013 +0200

    removed unused static field

    - s_httpClientManager was not used

    Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>

commit d4121fa26023db236f7396cea455ef090672ae9a
Author: Chris Suich <chris.suich@netapp.com>
Date:   Tue Oct 22 10:45:22 2013 -0400

    Updated DataMotionServiceImpl and ApiResponseHelper based on review feedback.

commit aaf026e1e4204d405bcda2ae4f1a01b1d0f7e7cb
Author: Chris Suich <chris.suich@netapp.com>
Date:   Thu Oct 17 14:27:12 2013 -0400

    Added context to strategy sorting error responses
    Added TODOs for DRYing out pickStrategy() overloading

commit a221f4aa3fb2ddc255bc35cf753f98f88f5bf44e
Author: Chris Suich <chris.suich@netapp.com>
Date:   Wed Oct 16 09:57:28 2013 -0400

    Updated inefficient strategy sorting/selection
    Removed unnecessary canRevertSnapshot from PrimaryDataStoreDriver
    Other general cleaup and fixes from reviews

commit 7d58949c6a1b7e853e891b59387a9620e8cd7a91
Author: Chris Suich <chris.suich@netapp.com>
Date:   Mon Oct 14 14:01:22 2013 -0400

    Added volume snapshot revert capability to SnapshotResponse
    Updated UI to hide/show snapshot revert action per snapshot

Signed-off-by: Edison Su <sudison@gmail.com>
2013-10-23 12:21:43 -07:00
Chris Suich
350c94474b Updates to revertSnapshot API Added revertSnapshot API action to UI 2013-10-14 15:19:51 -07:00
Brian Federle
34c04a4546 UI code cleanup: Fix trailing commas in JS 2013-09-24 11:16:13 -07:00
Jessica Wang
dac66d74df CLOUDSTACK-4428: UI > volume > when hypervisor is KVM and kvm.snapshot.enabled configuration is false, still show Take Snapshot option if VM State is Stopped. 2013-08-21 16:42:29 -07:00
Jessica Wang
aa223e5786 CLOUDSTACK-4308: UI > volume page > if hypervisor is KVM, show/hide takeSnapshot, recurringSnapshot action upon KVMsnapshotenabled property returned by listCapabilities API. 2013-08-15 10:27:44 -07:00
Jessica Wang
48c0860d1a CLOUDSTACK-4188: UI > volumes > download volume action - do not decode URL returned from API call. 2013-08-11 21:05:35 -07:00
Brian Federle
7974dfe8db CLOUDSTACK-3660: Add isdynamicallyscalable field
Add isdynamicallyscalable field to storage -> create template dialog
2013-07-22 16:53:17 -07:00
Ian Duffy
ad69bc8da3 Format JS 2013-07-18 12:34:20 -04:00
Mike Tutkowski
99227f7b3e SolidFire plug-in and related changes
SolidFire plug-in

SolidFire plug-in related
2013-06-28 16:59:21 -06:00
Jessica Wang
7e8d19963d CLOUDSTACK-2842: UI - fix a JS error "elems is undefined" when popping up a dialog box that has zone dropdown and there is no zone created yet. 2013-06-04 14:22:47 -07:00
Nitin Mehta
c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Jessica Wang
d893ba881b CLOUDSTACK-2120: mixed zone management - (1) extend listVolumes API to to take in zonetype. (2) UI: populate Volumes list page with instances whose zonetype matches selected option in zone type dropdown on top menu. 2013-04-24 11:26:58 -07:00
Brian Federle
355b910173 Merge branch 'master' into ui-mixed-zone-management 2013-04-19 10:23:15 -07:00
Pranav Saxena
fc4f19f915 Storage Motion UI development 2013-04-19 18:27:07 +05:30
Jessica Wang
ba7e49f11c CLOUDSTACK-2038: cloudstack UI - mixed zone management - storage menu - volume section - Add volume action, Upload volume action - populate zone dropdown upon selected zone type on top menu. 2013-04-15 15:14:42 -07:00
Jessica Wang
86a153c595 CLOUDSTACK-1838: cloudstack UI - volume page - listView, detailView - hide hypervisor field when log in as regular-user/domain-admin. 2013-03-28 14:38:52 -07:00
Brian Federle
1ac86e96cb Quick view UI: Fix to support multiple quick links
There was previously a limitation in the detail view/quickview where
only 1 'view all' link was visible per page. Change this to show n
number of view all links, if an array is passed to 'viewAll.' This also
lowers the # of clicks necessary to navigate to some items.

This also adds more view all buttons to instances, storage, and system
resources.
2013-02-21 15:09:03 -08:00
Marcus Sorensen
4f274d0b8e Summary: resizeVolume needs to be available in UI
Detail: Adds UI element for resizing a volume

BUG-ID: CLOUDSTACK-644
Reported-by: hongtu_zang@tcloudcomputing.com
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360091087 -0700
2013-02-05 12:04:47 -07:00
Jessica Wang
d1493880f0 CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - apply action filter back. 2012-10-24 14:54:00 -07:00
Jessica Wang
145d0a7f76 CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - encode data passed to API call. 2012-10-24 14:53:42 -07:00
Jessica Wang
9372171af1 CS-16573: cloudstack UI - create volume - encode data passed to API call. 2012-10-24 14:50:46 -07:00
Brian Federle
8bb273de8f Add tooltips to form fields
-Adds tooltips to all dialog-based form fields, to describe what each
 field represents. The tooltip appears on focus of the field, and
 hides once the field is blurred.

-Documentation content is pulled from a new namespace
 'cloudStack.docs', under docs.js. A new attribute, 'docID' is then
 specified on each createForm field to link the field to a specific
 tooltip string.

-If no docID is specified, then no tooltip is rendered.

-This only applies to the 'generic' forms that are rendered using the
 createForm widget

-This still needs to be localized

Conflicts:
	ui/index.jsp
	ui/scripts/configuration.js
	ui/scripts/network.js
	ui/scripts/ui/dialog.js
	ui/scripts/vpc.js
2012-10-22 15:18:22 -07:00
Jessica Wang
7b1b9f8e95 cloudstack UI - advanced search - dropdown field - check API permission before making API call. 2012-10-04 17:17:28 -07:00
Jessica Wang
10d1a0cc6b cloudstack UI - advanced search on snapshot page - add domain dropdown, account text field. 2012-10-04 13:58:45 -07:00
Jessica Wang
90f608d216 cloudstack UI - advanced search on volume page - add domain dropdown, account text field. 2012-10-04 13:50:53 -07:00
Jessica Wang
18a09c9664 cloudstack UI - advanced search - implement advanced search on snapshot page. 2012-10-02 17:03:23 -07:00
Jessica Wang
c7c6d23762 cloudstack UI - advanced search - add a new shared function listViewDataProvider() to deal with data parameter passed to API call in listView. 2012-10-02 15:40:34 -07:00
Jessica Wang
71355c1941 cloudstack UI - advanced search - volume page - add domain dropdown, account field. 2012-10-02 15:40:00 -07:00
Jessica Wang
6266fcb8f7 cloudstack UI - advanced search - show advanced search icon on listView only when advSearch property is specified. 2012-10-02 15:39:14 -07:00
Jessica Wang
3187bc6d30 cloudstack UI - advanced search - add Tag Key field, Tag Value field in advanced search in volume page. 2012-10-01 16:58:33 -07:00
Saksham Srivastava
63f7c12333 no error message when we upload volume whose size is greater than storage.max.volume.upload.size value 2012-10-01 22:54:39 +05:30
Jessica Wang
45360b7a57 cloudstack UI - advanced search - introduce new property "advSearchFields" to lsitViewData. 2012-09-26 15:17:00 -07:00
Jessica Wang
d09b46751c cloudstack UI - advanced search - extend listView widget to pass data on Advanced Search Dialog to data provider. 2012-09-26 11:04:39 -07:00
Koushik Das
65eeeaf071 CS-14277
Support for local data disk. Currently enable/disable config is at zone level, in subsequent checkins it can be made more granular.
    Following changes are made:
    - Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
    - Create/delete of data volume on local storage
    - Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
    - Migration of VM instance is not supported if it uses local root or data volumes.
    - Migrate is not supported for local volumes.
    - Zone level config to enable/disable local storage usage for service and disk offerings.
    - Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
    - Deploy VM command validates service and disk offerings based on local storage config.
    - Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
(cherry picked from commit 62710aed37606168012a0ed255a876c8e7954010)
2012-09-11 17:22:43 +05:30
Pranav Saxena
250501c56d CS-14907:Download volume option to be present only if it is in READY state since it has moved to the primary storage 2012-08-01 10:58:22 +05:30