Commit Graph

4575 Commits

Author SHA1 Message Date
Brian Federle e1e554277a UI Dialog: Was passing wrong field data for makeFields event 2014-03-05 13:34:48 -08:00
Mike Tutkowski b06e66c50a CLOUDSTACK-6170 2014-03-05 13:55:12 -07:00
Brian Federle 8b0e04be61 Dialog: Trigger event when createform fields are being drawn
Trigger new event 'cloudStack.createForm.makeFields'
before field params are being passed to createForm for rendering.

This allows plugins to change and intepret fields before they are drawn.
2014-03-04 16:11:26 -08:00
Jessica Wang d71483f771 BUG-ID: CS-19426: UI > VPC > VM Wizard > change to send ipToNetworkList parameter instead of networkIds parameter to deployVM API.
Reviewed-by: Brian
2014-03-03 11:49:42 -08:00
Brian Federle 0d688fec73 VM wizard: Add specify IP field when in VPC flow 2014-03-03 10:52:53 -08:00
Gabor Apati-Nagy 477902379e Fix CLOUDSTACK-4563: Initial zone wizard UI label issue 2014-03-03 10:19:03 -08:00
Jessica Wang d5dc6aab61 CLOUDSTACK-6190: UI > VM Wizard > select network step > support specifying IP Address for every network. Change to use ipToNetworkList parameter instead of networkIds parameter of deployVM API. 2014-02-28 14:58:18 -08:00
Brian Federle c93b2fa605 UI dialog: Add event trigger on form creation, to aid in plugin development 2014-02-28 14:21:59 -08:00
Brian Federle d896aedccd LDAP Account Wizard: cleanup layout
-Fix table column sizing
-Add ellipses/alt tags to fields to help overflow
2014-02-28 08:36:25 -08:00
Brian Federle 56684a52bc UI: VM wizard: Fix specify IP field when new network is unchecked 2014-02-27 14:50:03 -08:00
Brian Federle ecdd0e1027 UI: VM wizard: Add specify IP field to new network area 2014-02-27 14:16:32 -08:00
Brian Federle 4dad376f98 UI: Make sure notification box is removed on session expire 2014-02-27 13:26:32 -08:00
Brian Federle 9769ab329d UI support for specify IP in VM wizard 2014-02-27 13:15:21 -08:00
Jessica Wang d5aed69c29 CLOUDSTACK-6162: UI > zone > physical network > service provider > OVS > match provider name "Ovs" in listNetworkServiceProviders API response. 2014-02-27 11:54:13 -08:00
Jessica Wang f52b98b063 CLOUDSTACK-6148: UI > IP Address > load balancing > Send multiple VMs + mutliple NIC Secondary IP to new parameter "vmidipmap" of assignToLoadBalancerRule API.
Comment this part out until API change is in.
2014-02-26 15:08:33 -08:00
Jessica Wang 80738cce05 BUG-ID: CLOUDSTACK-6162: UI > zone > physical network > service provider > add OVS.
Reviewed-by: Brian
2014-02-25 12:13:31 -08:00
Niels de Vos c02197ae86 Add Gluster to the list of protocols in the Management Server
Gluster can now be used for Primary Storage just like NFS. This change adds the
Gluster protocol to the Management Server:

    Infrastructure -> Primary Storage -> Add Primary Storage

And also add the option to create Primary Storage on Gluster when
following the 'Add Zone' wizard from:

    Infrastructure -> Zones -> Add Zone

Some screenshots and verification:
- http://blog.nixpanic.net/2013/12/using-gluster-as-primary-storage-in.html
2014-02-25 12:08:46 +01:00
Jessica Wang c2fa24a24c CLOUDSTACK-6154: UI > compute offerings > memory field > check if value is undefined before converting it. 2014-02-21 13:23:19 -08:00
Jessica Wang e2b13a344a CLOUDSTACK-6120: UI > listView widget > reorder list > drap to new position > fix a JS error "map1 is undefined". 2014-02-20 13:35:52 -08:00
Jessica Wang e9460d23d5 CLOUDSTACK-6148: UI > IP Address > load balancing > add VM dialog > show NIC Secondary IP Address when VM is selected. 2014-02-20 12:01:38 -08:00
Jessica Wang c93b0967ef CLOUDSTACK-6140: UI - template - detailView - move fields that are used more often to the top. 2014-02-19 15:31:02 -08:00
Brian Federle b01720d936 listView: Fix 'addRow' event being triggered under wrong scope 2014-02-19 14:36:23 -08:00
Jessica Wang e1e16a2301 CLOUDSTACK-6120: UI > listView widget > sorting order > fire only one sorting API call(updateXXXXXXX&sortKey=n&id=UUID) for items who have the same UUID.
e.g. An Template/ISO of multiple zones have the same UUID.
2014-02-14 12:55:53 -08:00
vetrivelc e171cb181c Fixed-Hardcoding-Issues 2014-02-14 07:44:54 -08:00
Brian Federle 63c22a1508 Session expire: show overlay on dialog to prevent clicking in UI 2014-02-13 15:06:09 -08:00
Brian Federle 0ea93d6904 Form dialog UI: Support on cancel action
If args.cancel is passed to createForm widget, call it when cancel button is
clicked.

Example:

createForm: {
    cancel: function() { ... },
    ...
}
2014-02-13 14:33:53 -08:00
Brian Federle 13bf1ec5da Disable root disk size field -- not supported in backend 2014-02-10 11:53:07 -08:00
Devdeep Singh 306ffa0218 CLOUDSTACK-6053: While adding a primary or secondary of type smb the password wasn't
encoded. This cause createStoragePool or addImageStore command to fail if special
characters were present. Updated the code to pass user, password and domain as part
of details while adding primary or secondary. Also made changes on server side to
handle it.
2014-02-10 10:29:09 +05:30
Brian Federle 3384633834 Instances UI: Fix case where 'list host' is visible for stopped VM 2014-02-07 11:09:18 -08:00
Jessica Wang 04766c6d47 CLOUDSTACK-6048: UI > Infrastructure > socket > listing > (1) remove LXC, OVM.
(2) change XenServer label to differentiate XenServer version.
2014-02-06 16:55:39 -08:00
Brian Federle 916728634b CLOUDSTACK-6044: Primary storage list: truncate long values 2014-02-06 09:50:41 -08:00
Jessica Wang 75757e9425 CLOUDSTACK-6031: UI > infrastructure > count > pass listAll=true to all listXXXXXXX API for counting resource. 2014-02-05 14:38:16 -08:00
Brian Federle c2c7d33d8e Detail view UI: Fix embedded list view actions
Fixes case when detail view has an embedded list view with action, that
the action is handled by detail view instead of list view, causing
unexpected behavior
2014-02-05 11:47:04 -08:00
Jessica Wang 039b1c1594 CLOUDSTACK-6026: UI > create network offering > pass serviceofferingid parameter instead of systemOfferingForRouter parameter to API. 2014-02-04 16:18:44 -08:00
Jessica Wang d84a6937d7 CLOUDSTACK-5996: UI - In project view, the first listRotuers API(without projectid=-1) will return the same objects as the second listRouters API(with projectid=-1), because in project view, all API calls are appended with projectid=[projectID]. Therefore, we only call the second listRouters API(with projectid=-1) in non-project view. 2014-01-30 14:44:49 -08:00
Sanjay Tripathi 20fd2769a9 CLOUDSTACK-5660: Migrate vm live migration succeeds but throws error as ""Failed to migrate the system vm"". 2014-01-30 16:29:18 +05:30
Brian Federle 25d8e3d7db Browser UI: Fix broken breadcrumb navigation
Fix breadcrumb navigation becoming stuck when going back a couple
levels, due to previous panels not being removed from the DOM
2014-01-28 11:54:12 -08:00
Jessica Wang 23f3047e7d CLOUDSTACK-5970: UI > network menu > guest network section > select non-VPC isolated network with SourceNAT enabled > IP Address section > select sourceNAT IP > show Configuration tab. 2014-01-28 11:44:09 -08:00
Brian Federle 18a3d3c3b8 VM snapshots: If quiescevm is supported, make checkbox checked 2014-01-28 11:33:03 -08:00
Brian Federle ce0dc3b306 Enable static NAT dialog search: Use 'keyword' instead of 'name' 2014-01-27 13:41:11 -08:00
Brian Federle c4b3e4c0cc Enable static NAT dialog: Fix search filter not working 2014-01-27 13:38:02 -08:00
Brian Federle 9f18b075a9 List view: Fix advanced search not popping up with multiple panels 2014-01-27 13:33:12 -08:00
Brian Federle b7d6495892 Plugin API: Support multiple JS includes per plugin
For any plugin/module, allow including additional JS dependencies via
new plugin syntax.

To include JS files, instead of passing a function directly, pass an
array with the first element being a sub-list of the includes:

cloudStack.plugin.myPlugin = [
    ['file1', 'file2', 'fileN' ...], // These will be loaded before
                                     // plugin is executed
    function(plugin) { // The plugin entry point
        ...
    }
];

-- Where each item represents a JS file relative to the plugin folder
   and without the .js extension. Sub-folders are also supported, i.e.,
   'subfolder/file1'
2014-01-27 12:39:36 -08:00
Jessica Wang cb8cf1eb18 CLOUDSTACK-5614: UI - Infrastructure > Sockets > listView > (1) split "XenServer" into "XenServer 6.2.0" and "XenServer"(prior to 6.2.0).
(2) change label of Hyperv to Hyper-V.
2014-01-24 18:32:38 -08:00
Brian Federle 417b8e089f VM snapshots: Only show quiescevm checkbox if hypervisor is VMware 2014-01-24 11:04:11 -08:00
Jessica Wang 09fa6e5d83 CLOUDSTACK-5889: UI > Instances > (1) change service offering action: corresonding UI change for new change of scaleVirtualMachine API (that customparameter parameter has been renamed).
(2) detailView: add # of CPU Cores, CPU (in MHz), Memory (in MB).
2014-01-20 16:35:02 -08:00
Jessica Wang 36920a3a3b CLOUDSTACK-5656: UI > Network > IP Address > configuration tab > Firewall > add "State" column. 2014-01-17 12:13:06 -08:00
Jessica Wang 2e5e403e3c CLOUDSTACK-5656: UI > Network > IP Address > configuration tab > Load Balancing > add "State" column. 2014-01-17 11:52:21 -08:00
Saksham Srivastava 06f8c1de75 CLOUDSTACK-5692: obscure passwords when using cifs as storage 2014-01-17 14:00:24 +05:30
Jessica Wang 3f359bb641 CLOUDSTACK-5889: UI > VM Wizard > corresonding UI change for new change of deployVirtualMachine API (that customparameter parameter has been renamed) 2014-01-16 14:02:11 -08:00
Sachchidanand Vaidya 0bff705621 Add L3VPN isolation method for contrail plugin
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-14 13:55:35 -08:00
Brian Federle 4215d69753 Instances UI: Don't show 'view host' link if VM is stopped 2014-01-14 11:09:09 -08:00
Jessica Wang 6282e8e9ca CLOUDSTACK-5557: UI > Network > VPC > Router > Public IP Address > fix a bug that Configuration tab was wrongly hidden. 2014-01-14 10:56:06 -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 d76fccd8c9 CLOUDSTACK-5492: UI > Routers > Group by zone/pod/cluster/account > (1) fix a bug that requiresUpgrade wrongly showed"No" when it should show "Yes".
(2) detailView > add new field "Total of Virtual Routers that require upgrade".
2014-01-10 16:03:19 -08:00
Jessica Wang 96c6f6d15d CLOUDSTACK-5614: UI > Infrastructure > Sockets > show "N/A" in Socketes column for hypervisors that don't support socket info. 2014-01-10 14:18:46 -08:00
Jessica Wang 70180d99dd CLOUDSTACK-5614: UI > Hosts > detailView > add new field "The Number of CPU Sockets". 2014-01-10 11:27:37 -08:00
Jessica Wang 6fdebe592a CLOUDSTACK-5656: UI > network > IP Address > configuration tab > Port Forwarding > add "State" column. 2014-01-10 10:50:28 -08:00
Jessica Wang b090acacfa CLOUDSTACK-5557: UI > Network > Guest Network > IP Address > fix a bug that SourceNAT IP, VPC tier IP wrongly showed Configuration tab(firewall/portforwarding/loadbalancing).
SourceNAT IP, VPC tier IP should not show Configuration tab(firewall/portforwarding/loadbalancing).
2014-01-10 10:49:56 -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
Jessica Wang a2b3e3a60d CLOUDSTACK-5840: UI > Secondary Storages > remove "prepareObjectStoreMigration" action (since prepareSecondaryStorageForMigration API has been removed from server-side). 2014-01-10 10:45:19 -08:00
Jessica Wang 7003f0b0df CLOUDSTACK-5733: UI > Virtual Routers > group by zone/pod/cluster > remove redundant code. 2014-01-08 15:23:20 -08:00
Jessica Wang da260d17f1 CLOUDSTACK-5733: UI > Virtual Routers > group by zone/pod/cluster: fix a bug that "Total of Virtual Routers" in first row is blank. 2014-01-08 15:19:04 -08:00
Jessica Wang 9a9de59836 CLOUDSTACK-5732: UI > Affinity Group > implement search, send keyword parameter to listAffinityGroups API. 2014-01-08 13:48:04 -08:00
Brian Federle 766dab64e8 Instance list view: Truncate long names to prevent misalignment 2014-01-08 10:37:17 -08:00
Hugo Trippaers 612a41e3f5 Add UI interface for managing the OpenDaylight provider and controllers.
Fix several bugs in the code related to the api handling.

Conflicts:
	ui/scripts/system.js

ui
2014-01-08 17:08:37 +01:00
Hugo Trippaers e4cb9ce8bc Add opendaylight provider to system.js 2014-01-08 16:12:32 +01:00
Hugo Trippaers 57da2bc784 Apply two small fixes to system.js 2014-01-08 16:08:04 +01:00
Hugo Trippaers 0ba1abe262 Apply some formatting to system.js 2014-01-08 16:04:44 +01:00
Jessica Wang 4528a0c0ae CLOUDSTACK-5808: UI > SystemVMs page > pass details=min to listHosts API to reduce response time. 2014-01-06 14:22:42 -08:00
Jessica Wang e5283e966e CLOUDSTACK-5771: UI > Infrastructure > SystemVMs page > listView Search > fix a bug that UI kept spinning when there was no matching result. 2014-01-03 14:56:49 -08:00
Jessica Wang ab42f74470 CLOUDSTACK-5771: UI > Infrastructure > SystemVMs/PrimaryStorage/SecondaryStorage/Pod/Cluster/Hosts/CacheStorage page - pass keyword parameter instead of name parameter to listXXXXXXX API. 2014-01-03 14:24:32 -08:00
Jessica Wang 89945cd705 CLOUDSTACK-5527: UI > accounts page > support both "Add (non-LDAP) Account" and "Add LDAP Account" when LDAP is enabled. 2014-01-02 16:48:13 -08:00
Jessica Wang dc0420c633 CLOUDSTACK-5698: UI > VPC > configure > Router > Network ACL Lists > implement search (i.e. pass keyword parameter to listNetworkACLLists API) when input field is not blank. 2013-12-31 15:53:51 -08:00
Jessica Wang c1101eb695 CLOUDSTACK-5606: UI > copy template, copy ISO action > when a template/ISO to be copied is not associated with a specific zone, UI does not pass sourcezoneid parameter to API. 2013-12-30 14:52:27 -08:00
Sanjay Tripathi a782d17caa CLOUDSTACK-3806: OS Preference can not be set. 2013-12-30 20:01:06 +05:30
Jessica Wang 8f9342425d CLOUDSTACK-5345: UI > Virtual Routers > Group by account > pass listAll=true to listAccounts API. 2013-12-23 12:20:42 -08:00
Jessica Wang 1e0ed7d5f8 CLOUDSTACK-5606: UI > Copy Template action, Copy ISO action is now availble to region-wide secondary storage (S3, Swift). 2013-12-23 11:34:30 -08:00
Jessica Wang 2868f36dbd CLOUDSTACK-5612: UI > Network > Guest Networks > detailView > to distinguish between non-vpc network and vpc network(tier) easier, move VPC ID field up. 2013-12-23 10:56:12 -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 932758e2ef CLOUDSTACK-5551: Pass search 'name' field to listConfigurations UI
Passes search bar value (by 'name') for the settings in the following sections'
detail views:

-Account
-Primary storage
-Cluster
-Zone
2013-12-20 13:38:46 -08:00
Brian Federle 15a860d560 Add missing strings for LDAP section, S3 fields 2013-12-18 13:29:25 -08:00
Brian Federle 34174bbcbb Add missing strings for quiesce VM, SMB fields 2013-12-18 13:10:15 -08:00
Jessica Wang a71915c034 CLOUDSTACK-5486: UI > tags > listXXXXXXX API now returns tags property. So, use tags property in embedded object returned by listXXXXXXX API to populate tags in detailView in all pages (instead of calling extra API listTags). 2013-12-17 14:16:55 -08:00
Marcus Sorensen 95364a4022 CLOUDSTACK-5531
Initial support for vhd, raw, vmdk image formats on KVM. Tested all formats with local and CLVM.
2013-12-16 14:32:51 -07:00
Brian Federle 7e4407d3dd CLOUDSTACK-5532: Tag UI: Truncate long tag key/value 2013-12-17 11:15:41 -08:00
Jessica Wang f919441c34 CLOUDSTACK-5252: UI > Infrastructure > Virtual Routers > group by zone/pod/cluster > include project-related routers into calculation. 2013-12-16 16:30:51 -08:00
Brian Federle caba41747d Truncate event type column to prevent wrapping 2013-12-16 16:17:13 -08:00
Brian Federle 6ad0e4913e CLOUDSTACK-5276: Remove wrong select column from LB/PF list select 2013-12-16 14:04:53 -08:00
Jessica Wang 420e7aed1f CLOUDSTACK-5098: UI > VMware > during zone creation, after addVmwareDc succeeds, if addClsuter fails (e.g. because of wrong input value), zone detail page will show wrong button ("Add Vmware Datacenter") since listVmwareDcs is only called when a zone has a VMware cluster.
To resolve this specific use case, change UI to use listApis instead of listClusters to determine whether to call listVmwareDcs.
2013-12-13 15:51:11 -08:00
Jessica Wang 5dc1d46c6d CLOUDSTACK-5345: UI > Infrastructure > virtual routers > group by zone/pod/cluster/account > hide Upgrade Router to Use Newer Template action when upgrade is not required (i.e. all rouster under the zone/pod/cluster/account have latest version). 2013-12-13 14:00:14 -08:00
Brian Federle 44f71f06e2 CLOUDSTACK-5477: Fix view all link breaking detail view
Fixes issue where 'view all' link permanently writes properties to
cloudStack namespace, causing breakage when viewing detail view from
another location.
2013-12-13 10:37:40 -08:00
Brian Federle 8821d75442 CLOUDSTACK-5480: Fix broken password confirm validation
Properly destroy add account dialog on close, to fix password confirm
validation pointing to wrong dialog's field.
2013-12-13 08:48:22 -08:00
Wei Zhou 880c87e704 CLOUDSTACK-5481: fix ui bug when regular user add isolated network
(cherry picked from commit 5cec27c858)
2013-12-13 10:30:19 +01:00
Jessica Wang d5fcc6ef5a CLOUDSTACK-5345: UI > Infrastructure > virtual routers > no grouping > hide Upgrade Router to Use Newer Template action when a router has latest version (i.e. does not require upgrade). 2013-12-12 16:06:11 -08:00
Jessica Wang 9ed2c2e224 CLOUDSTACK-4793: UI > Virtual Routers > Select View > add "group by account". 2013-12-11 15:31:04 -08:00
Jessica Wang 28a4bfc559 CLOUDSTACK-5412: UI > Add Secondary Storage > NFS Server field > change label from "NFS Server" to "Server" since this field is also shown when provider "SMB/CIFS" is elected. 2013-12-10 16:07:15 -08:00
Jessica Wang 9ea949e80c CLOUDSTACK-5341: UI > Infrastructure > secondary storage > add secondary storage > Create NFS Secondary Staging Store checkbox > make this checkbox not disabled any more because NFS staging (of a zone) might already exist (from "NFS secondary storage => Prepare Object Store Migration => NFS staging") 2013-12-10 15:38:32 -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
Brian Federle 248195fcd7 List view: Fix context not being passed correctly to header actions pre-filter 2013-12-10 15:20:39 -08:00