Commit Graph

4681 Commits

Author SHA1 Message Date
Brian Federle 36e5cc2b6a Fix for non-grouped detail view
Fix issue where non-grouped detail page (i.e., instances stats page)
doesn't load due to the fields being passed as an object, not an array.
2014-07-14 15:49:07 -07:00
Jessica Wang 87effa40ea UI > IP Address > hide EnableVPN option on acquired IP. 2014-07-11 13:46:29 -07:00
Brian Federle ab8036b766 List view: View subselect on infinite scrolling
Fixes issue where outdated context is passed to subselect's data provider
when infinite scroll event loads more data items. Now, context is derived
from DOM data directly instead of in the args.
2014-07-10 16:43:31 -07:00
Brian Federle ad051e8504 List view: Fix infinite scrolling
Fixes condition where, on 'refresh' of list view, infinite scrolling no longer
works due to leftover state prior to refresh. Now page # and end-of-list
indicator are stores in DOM object, for easier cleanup
2014-07-02 16:02:52 -07:00
Brian Federle 667347d17e List view: Fix issue with multiple selection actions
Fixes issue where duplicate and/or incorrect list view entries were
being passed due to list view object not being referenced relatively for
multi-select actions, causing more than one list being passed at times.
2014-07-01 11:44:38 -07:00
Mike Tutkowski e6f8833b95 Allow commas in the input of bytes and IOPS when editing a storage pool 2014-06-30 10:39:21 -06:00
seif 9a27f201b0 Enable primary storage to be added that is based on non-default storage plug-ins 2014-06-26 23:49:23 -06:00
Gabor Apati-Nagy 5c36fe84b6 CLOUDSTACK-6732: Fix:[OVS][UI] Network Service Providers page displays two ovs providers 2014-06-26 11:40:35 -07:00
Mike Tutkowski 06d3043954 Submitted on behalf of Vetri for Review Request 23008 2014-06-26 10:54:27 -06:00
Mike Tutkowski c344693e48 Inform the applicable storage plug-in's life cycle that capacity (bytes and/or IOPS) can be updated 2014-06-24 14:39:57 -06:00
Daan Hoogland c79ab570b0 Revert "CLOUDSTACK-6967: Initial OVM3 drop"
This reverts commit 8a485b9b59.
2014-06-24 10:24:01 +02:00
Funs 8a485b9b59 CLOUDSTACK-6967: Initial OVM3 drop
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit ed47763e25)

Conflicts:
	api/src/com/cloud/network/NetworkService.java
	api/src/org/apache/cloudstack/api/ApiConstants.java
	api/src/org/apache/cloudstack/api/command/admin/usage/AddTrafficTypeCmd.java
	engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/SnapshotObject.java
	plugins/pom.xml
	server/src/com/cloud/network/NetworkServiceImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/test/com/cloud/vpc/MockNetworkManagerImpl.java
	ui/scripts/docs.js
2014-06-23 12:39:10 +02:00
Brian Federle bc4be5272b Detail view: support per-action filtering
Adds support for adding preFilter on a per-action basis, to assist in
plugin development. If action.preFilter function is passed, and returns
true/false, the action is shown/hidden. If no preFilter is specified,
then the action will be passed through the detail view's standard filter.

Example:

testAction: {
    label: 'Test Action',
    ...
    preFilter: function(args) {
        return false; // Action will be hidden
    },
    ...
}
2014-06-18 14:02:16 -07:00
Jessica Wang dbbc6d42fd CLOUDSTACK-6936: UI - (1)dialog widget > dropdown field > provide a blank option if there is no data for option(s) in a dropdown field. (2) Add Primary Storage dialog - cluster dropdown field - still calls args.response.success() when there is no data for option(s). 2014-06-18 12:23:10 -07:00
Brian Federle 6fcd4fbe7b List view: Pass ID to action pre-filters 2014-06-18 11:52:06 -07:00
Brian Federle 04b1e31682 List view, multiSelect: Fix issue where $listView isn't always referenced 2014-06-16 14:11:56 -07:00
Brian Federle 8cf5192a6f List view, multiselect: Only reference elements relative to $listView 2014-06-16 14:07:29 -07:00
Jessica Wang 3a3a3902b7 UI - modules - replace addExtraPropertiesIfDrModuleIncluded() with cloudStack.dr.sharedFunctions.addExtraProperties(). 2014-06-13 16:44:15 -07:00
Jessica Wang 3acebf230c CLOUDSTACK-6852: UI - modules - remove variable drModuleIncluded. 2014-06-13 15:21:16 -07:00
Anshul Gangwar 7ea3930ae9 CLOUDSTACK-6867: Added option to upload the volume in VHDX format 2014-06-13 13:26:16 +05:30
Brian Federle cd17061916 Detail view: Cleanup old tab content on change
Add event handler on tab change to remove all old tab content. This prevents
potential conflicts with referencing widget data caused by old content laying
around.
2014-06-12 13:33:21 -07:00
Jessica Wang 37aabd1998 CLOUDSTACK-6602: UI - VPC - createNetworkACL - fix a bug that caused wrong value being passed to action parameter in API call. 2014-06-11 16:10:56 -07:00
Jessica Wang fa3bda143f CLOUDSTACK-6889: UI - create network offering - to reduce API call size, not pass any parameter whose value entered on UI happens to be the same as its default value at server-side. 2014-06-11 11:18:38 -07:00
Jessica Wang 9334f26084 CLOUDSTACK-6889: UI - create network offering - remove non-needed parameters from API call whose size might exceed limit in some cases. 2014-06-10 14:29:19 -07:00
Jessica Wang 044c5e0eee CLOUDSTACK-6852: UI - modules - add DR fields to volume detailView, network detailView, zone detailView. 2014-06-09 11:43:20 -07:00
Tim Mackey a8212d9ef4 Cleanup of Xen and XenServer terms. Cloned xen plugin creating a xenserver plugin, then removed xen plugin
Signed-off-by: Tim Mackey <tmackey@gmail.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:50:23 -04:00
Jessica Wang 36ec16e4f5 CLOUDSTACK-6852: UI - modules - (1) add new shared function addExtraPropertiesIfDrModuleIncluded(). (2) add DR fields to Instances detailView. 2014-06-06 15:18:46 -07:00
Jessica Wang ea196a4ffc CLOUDSTACK-6858: UI - remove obsolete variable rootAccountId whose value is no longer 1. 2014-06-06 13:30:13 -07:00
Jessica Wang a8a853e322 CLOUDSTACK-6852: UI - modules - add global variable drModuleIncluded. 2014-06-06 13:29:53 -07:00
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
Jessica Wang f2a8082a43 CLOUDSTACK-6852: UI - add sharedFunction isModuleIncluded(). 2014-06-05 13:48:51 -07:00
Brian Federle 2ac0013505 List view: multi-select actions: Show loading icon during action 2014-06-05 12:29:20 -07:00
Brian Federle c312aa95c2 List view->Detail view: Add new parameter 'noPanelView'
Adds 'noPanelView' option for detail view connected to list view. When
specified, don't support opening the detail view in a new browser pane (i.e.,
only render quickview).
2014-06-03 11:25:57 -07:00
Brian Federle 0b5163f8cf Tree view: Add event hook on sub-item removal 2014-05-29 14:02:47 -07:00
Jessica Wang 9f4d464640 CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character. 2014-05-29 12:58:47 -07:00
Brian Federle e656fd67a0 Tree view: Add event hook on sub-item creation 2014-05-29 12:53:36 -07:00
Brian Federle 8a6926606e Treeview widget: Fix condition where browser is not present 2014-05-28 14:55:37 -07:00
Brian Federle 53ba037f86 Detail view: Fix case where view all link referenced wrong details object 2014-05-28 11:41:51 -07:00
Jessica Wang 021a604493 CLOUDSTACK-6789: UI > User page > fix a bug that a domain-admin was unable to delete other domain-admin in the same domain. 2014-05-27 15:45:53 -07:00
Jessica Wang af8e83b410 CLOUDSTACK-6744 > UI > zone wizard > baremetal hypervisor > support EIP ELB feature.
This reverts commit d36c731f79.
2014-05-27 11:41:11 -07:00
Gabor Apati-Nagy 9fa9e3aaff CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs 2014-05-23 10:58:17 -07:00
Brian Federle c769b32e70 List view: Support rendering data cells as a list
If array is passed in field data, render the table cell as a list.

Example:

dataProvider: function(args) {
    args.response.success({ data: [ fieldA: ['i1', 'i2', ...] ] })
}
2014-05-22 15:10:33 -07:00
Jessica Wang d36c731f79 CLOUDSTACK-6744 > UI > zone wizard > baremetal hypervisor > support EIP ELB feature. 2014-05-21 17:22:15 -07:00
Jessica Wang 96f092a0a9 CLOUDSTACK-6729: UI - create compute offering/create disk offering - determine whether to pass certain data to API comamnd upon isCustomized checkbox/isPublic checkbox's value. 2014-05-20 15:51:35 -07:00
Brian Federle 2c54e5e2c5 Detail view: Slice (clone) fields array to prevent duplicate fields 2014-05-16 08:27:03 -07:00
Brian Federle 3ab526433c Detail view: Add event hook on field creation 2014-05-16 08:20:48 -07:00
Sanjay Tripathi 35cd61c463 CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 15:05:28 +05:30
Jessica Wang d7291e5200 CLOUDSTACK-6379: UI > fix a bug that domain admin failed to be created when current login doesn't have visibility to root domain object. 2014-05-12 15:37:42 -07:00
Gabor Apati-Nagy 58d913c25d CLOUDSTACK-6606: Fixed: create network offering dailog box has greyed out (not selectable) providers for the connectivity service. 2014-05-12 13:56:05 -07:00
Jessica Wang 7ae8dc8fbd Revert "CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs"
This reverts commit 348fb7bcb6.
2014-05-12 12:26:37 -07:00
Gabor Apati-Nagy 348fb7bcb6 CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs 2014-05-12 11:40:24 -07:00
Jessica Wang f2d9d71844 CLOUDSTACK-6626: UI - fix a bug that g_userid was not declared. 2014-05-09 13:19:35 -07:00
Jessica Wang 23c7a893e3 CLOUDSTACK-6589: UI > update ssl certificate > correct typo in success message - correct it from "Update SSL Certiciate succeeded" to "Update SSL Certificate succeeded" 2014-05-06 18:18:31 -07:00
Jessica Wang c2c99dc1f6 CLOUDSTACK-6483: UI > Load Balancing > "VM+IP" listing > After removing a "VM+IP" under a LB rule, AddVMs dialog should reflect the change (i.e. show the removed IP in IP dropdown in AddVMs dialog) 2014-05-05 13:47:01 -07:00
Dariusz Nejbauer 41684505d6 CLOUDSTACK-3932: UI: Fix Truncation issue in secondary storage URL
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-05-05 12:15:37 -07:00
Sanjay Tripathi 6c44c0661d CLOUDSTACK-6479: Strict and Preferred modes should only be allowed in Implict Dedication Planner Service Offerings. 2014-05-05 14:26:44 +05:30
Brian Federle 4f45c972c3 CLOUDSTACK-6438: Filter out existing IPs in dropdown 2014-05-01 15:40:47 -07:00
Brian Federle 9885cf4fb0 CLOUDSTACK-6438: WIP: Add filtering to check against existing IPs 2014-05-01 15:40:47 -07:00
Brian Federle 1ad532f57e CLOUDSTACK-6438: WIP: If VM has additional IPs, keep showing in add screen 2014-05-01 15:40:47 -07:00
Rajani Karuturi f4779b4d0c Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack account
Conflicts:
	api/src/com/cloud/user/AccountService.java
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java

Signed-off-by: Koushik Das <koushik@apache.org>
2014-04-29 14:49:06 +05:30
Nitin Mehta 1d45b75298 CLOUDSTACK-6499:
Made changes so that uploading custom certificate works for ssvm.
    1. Reboot ssvm only when private key is passed meaning the server cert is passed. This is because while uploading the server cert is the last to be uploaded. And we want to propagate the entire chain once uploading is done.
    2. Change the SecStorageSetupCommand sent to ssvm so that it also carries the root cert apart from having the chain and the server cert and key.
    3. Change ssvm agent code to be able to configure root cert to the java key store.
    4. Change ssvm configure ssl script to insert the chain certs correctly.
    5. Fix order of chain certificates for apache webserver in SSVM
    6. Remove double encoding and decoding for uploadCustomCertificate API from UI and server code respectively, so that API call without UI works fine
    7. Java 1.7 - disable using SNI since copyTemplate doesnt work for SSL.
2014-04-24 17:27:02 -07:00
Gabor Apati-Nagy 156b08af5f CLOUDSTACK-6255
UI for supporting region level VPC, distributed routing enabled VPC and
stretched L2 neworks
2014-04-24 15:05:59 -07:00
Brian Federle 5335ae7753 List view, dialog VM select: Widen name field to better fit IP subselect box 2014-04-24 11:30:20 -07:00
Jessica Wang aabe6f2baf CLOUDSTACK-6487: UI > Add LDAP Account - fix a bug that a LDAP account that does not have email and all LDAP accounts below it are missing from the listing. 2014-04-23 17:07:00 -07:00
Jessica Wang ee461f0c68 CLOUDSTACK-6477: UI - Load Balancing - add VMs => fix error 'Unable to decode parameter vmidipmap[0].vmip[]; if specifying an object array, please use parameter[index].field=XXX, ~ ' 2014-04-23 15:00:13 -07:00
Sanjay Tripathi 5eaf3be44a CLOUDSTACK-6447: Grid K120Q and K220Q vGPU types are missing in create service offering menu. 2014-04-18 13:49:26 +05:30
Brian Federle 4c4cfe5e13 Create form: Store passed JSON object in select options, for plugin use 2014-04-17 15:52:56 -07:00
Mihaela Stoica f3cf85bb62 CLOUDSTACK-6233: Add new tab "GPU" in Host detailView for gpu enabled hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Sanjay Tripathi <sanjay.tripathi@citrix.com>
2014-04-16 16:09:41 +05:30
Mihaela Stoica 3fbac14aa9 CLOUDSTACK-6393: Add gpu details in Compute Offering detail view
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Sanjay Tripathi <sanjay.tripathi@citrix.com>
2014-04-16 16:09:41 +05:30
Mihaela Stoica 7c02a996f7 CLOUDSTACK-6394: Add gpu details in "Add Compute Offering”
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Sanjay Tripathi <sanjay.tripathi@citrix.com>
2014-04-16 16:09:40 +05:30
Brian Federle e35bec515f CLOUDSTACK-6342: UI changes for secondary IP on LB rules
This is front-end only; API call changes still need to be done.
2014-04-15 14:42:11 -07:00
Chris Suich a3bfda1350 Fixed issue with labels being displayed in dialog
CLOUDSTACK-6368
2014-04-12 11:17:30 -04:00
Chris Suich 8bca77580a Fixed 'label.path' being displayed in zone wizard
CLOUDSTACK-6372
2014-04-12 11:17:30 -04: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
Jessica Wang afcf6d041d CLOUDSTACK-6380: UI > hosts page > add new action "Disable Host", "Enable Host". 2014-04-10 13:58:10 -07: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
Jessica Wang ad60eed4a9 CLOUDSTACK-6342: UI - Load Balancing page - LB rules - VM + IP Address - fix a bug that vmidipmap was not sent to API. 2014-04-08 15:37:31 -07:00
Jessica Wang b80a71ccb9 CLOUDSTACK-6342: UI - Load Balancing page - LB rules - VM + IP Address - remove action - pass vmidipmap instead of virtualmachineids to removeFromLoadBalancerRule API where IP Address is specified for this VM under this LB rule. 2014-04-08 14:05:22 -07:00
Jessica Wang 14f27997dc CLOUDSTACK-6342: UI - Load Balancing - LB rule listing - pass lbvmips=true to listLoadBalancerRuleInstances API and display "VM + IP Address" under each LB rule. 2014-04-08 11:13:09 -07:00
Sanjay Tripathi 2ae9da8d47 CLOUDSTACK-6357: Not able to select GPU card in case of GPU-passthrough. 2014-04-08 22:10:09 +05:30
Jessica Wang 781b7eec3f CLOUDSTACK-6342: UI changes for feature use secondary IP address of NIC in Load balancing. 2014-04-04 15:32:43 -07:00
Brian Federle 28aa9001c5 Instance wizard UI: Pass data for multi-disk service offerings 2014-04-03 14:52:33 -07:00
Jessica Wang c6190a1c62 CLOUDSTACK-6335: UI - Acquire IP dialog - show/hide "cross zones" checkbox upon portableipserviceenabled property of the current region instead of Local region. 2014-04-03 14:36:16 -07:00
Brian Federle e812b7551d Remove commented-out-code 2014-04-03 14:00:24 -07:00
Brian Federle a82a1299ec WIP: Instance wizard UI: Support multi-disk offerings
Adds front-end support to instance wizard UI for service offerings
supporting multiple disks.

The UI changes will show if a list 'multipleDisks: []' is passed with
the disk offering data options.
2014-04-02 16:28:15 -07:00
Gabor Apati-Nagy 883d7f17f7 Value of Global parameter "custom.diskoffering.size.min" is not reflected in UI during new instance creation.
Added fields to /api and /server classes for CustomDiskOfferingMinSize
to be available in CapabilitiesResponse. Fixed UI code in Instance
Wizard to have this config value as the minimum selectable option when
we are in custom disk size mode.
2014-04-01 10:57:36 -07:00
Anshul Gangwar 24820d20d3 CLOUDSTACK-6288: Changing default ImageFormat to vhdx for hyper-v and allowing registration of vhdx format templates.
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-04-01 14:00:24 +05:30
Brian Federle 9b16a6dfdc CLOUDSTACK-6227: Don't show API/secret key fields in quickview 2014-03-28 10:25:06 -07:00
Gabor Apati-Nagy e65d6bd3a8 CLOUDSTACK-6227 (Add copy-paste support for detail view fields):
DetailView widget now supports bool isCopyPaste property that can be set
for fields. If this is set to true, the text of this field is displayed
using ellipsis formatting* and a copy-paste icon is available right next
to it. On clicking this icon, the full text is displayed

*: tooltip is also enabled showing the original non-ellipsed value
2014-03-28 10:15:19 -07:00
Jessica Wang 8c8853e0e2 CLOUDSTACK-6296: UI > If an account's timezone is not set, show datetime field based on browser's timezoneoffset. 2014-03-27 14:12:19 -07:00
Brian Federle d60af6862c UI: Update tooltips for primary storage, upload volume fields 2014-03-27 11:00:12 -07:00
Anshul Gangwar e3e452625e CLOUDSTACK-6267: unblocking smb as zone wide primary storage for hyperv
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-03-27 16:24:40 +05:30
Brian Federle 93a2340516 Instances UI: Truncate name, displayname fields to prevent overflow 2014-03-25 15:49:07 -07:00
Mike Tutkowski 578e500bc2 CLOUDSTACK-6170 (when the "No Thanks" radio button is selected, remove controls related to custom size and custom IOPS) 2014-03-22 19:41:34 -06:00
Jessica Wang 7b817a2ad9 CLOUDSTACK-6272: UI > Instance > actions > replace internal action name "restore" with "recover", "reset" with "reinstall". 2014-03-21 14:49:33 -07:00
Brian Federle 15729f342c CLOUDSTACK-6272: Fix recover/restore VM actions
-Label recoverVirtualMachine as 'Recover VM'
-Label restoreVirtualMachine as 'Reinstall VM'
-Change confirmation text for restoreVirtualMachine to be more explicit
-Change restoreVirtualMachine icon to 'recycle' symbol, to avoid
 confusion with the reboot VM icon
2014-03-21 13:28:52 -07:00
Mihaela Stoica 7008f2713b UI: Applied localization function to labels on Zone Chart page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-03-20 10:57:06 -07:00
Brian Federle f34f001371 Fix incorrect context being passed to hosts->instances section
Fixes issue where, if an action is being performed from the quick view in the
'Instances' section, the old context will be passed when viewing instances in
the 'hosts' section, causing all instances to be displayed. This was caused
by the quickview tooltip still being in the DOM, even after closing it by
clicking an action.
2014-03-18 14:31:28 -07:00
Mike Tutkowski d55c4dd804 CLOUDSTACK-6170 2014-03-14 23:47:20 -06:00
Sanjay Tripathi bc4c8052fd findbugs: impossible cast in CreateServiceOfferingCmd file. 2014-03-13 15:04:18 +05:30