Commit Graph

3444 Commits

Author SHA1 Message Date
Jessica Wang a22bfd7e7b CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - API has been chagned. Here is related UI change: not pass networkID to deployVirtualMachine API. 2013-01-16 15:10:24 -08:00
Jessica Wang eeb3f1725d CS-17074: cloudstack UI - Advanced SG-enabled zone - Infrastructure menu - create guest network - scope dropdown - add option "All". 2013-01-16 15:06:27 -08:00
Pranav Saxena a69e7f9bf6 CLOUDSTACK-972:The template will disappear after reordering in template section 2013-01-17 00:02:11 +05:30
Pranav Saxena 8d0091d7e2 CLOUDSTACK-978:TypeError: instance.displayname is undefined while adding VM's to the LB rule 2013-01-15 21:12:10 +05:30
Pranav Saxena c06218d32f CLOUDSTACK-971:Error Dialog is empty 2013-01-14 16:49:42 +05:30
Sanjay Tripathi fd8607d41e CLOUDSTACK-819:Changing GET request to POST while creating account/user to hide the passwords in the access logs 2013-01-07 22:29:28 +05:30
Pranav Saxena 569ca6d7a3 CLOUDSTACK-725:UI-Error when the Egress rules tab is selected for a network:Hiding the egress rules tab 2013-01-05 04:19:48 +05:30
Brian Federle a81f8b73e8 Merge branch 'master' into ui-plugins 2013-01-04 14:47:23 -08:00
Isaac Chiang 6ce01c46fc UI: add generate key button to appropriate roles 2013-01-03 10:58:13 -08:00
Brian Federle d1166e6b8b Add plugin detail view on click 2013-01-02 16:57:07 -08:00
Brian Federle 8c1b3404ea Merge branch 'master' into ui-plugins 2012-12-27 13:48:04 -08:00
Brian Federle 1b533f2354 List view UI: Add alt tag to table cells 2012-12-27 11:58:50 -08:00
Isaac Chiang 5aefd77f77 Fix for CloudStack-648
Signed-off-by: Gavin Lee <gavin.lxh@gmail.com>
2012-12-26 00:00:58 +08:00
Brian Federle 1a3ea28243 UI plugins API: addSection method
Adds 'addSection' method to UI plugins, which will add a new top-level
section. It follows the same syntax used by the existing sections in
the UI.
2012-12-20 13:27:37 -08:00
Brian Federle 977123be36 UI sections: Support per-section pre-filter
In addition to the main sectionPreFilter in the cloudStack UI, allow a
per-section 'preFilter' which is called if the navigation section is
not returned in sectionPreFilter. This is used primarily to support
plugin sections which will not be displayed by default.
2012-12-20 13:26:28 -08:00
Brian Federle 347ac311a0 UI Plugin: Use new format
Define plugins as namespaced objects instead of as function calls. This
is easier to implement and manage by the framework.

New format changes for defining plugins:

Now create 2 JS files in plugin folder:
  -config.js
  -[pluginName].js

plugins.js (listing) format:

  cloudStack.plugins = [
    'testPlugin'
  ];

config.js format:

  cloudStack.plugins.testPlugin.config = {
    title: 'Test Plugin',
    desc: 'Sample plugin'
  };

[pluginName].js format:

  cloudStack.plugins.testPlugin = function(plugin) {
    //
    // Plugin code goes here
    //
  };
2012-12-20 11:55:44 -08:00
Brian Federle 59c77b4850 Add plugin loading functionality and basic framework
Dynamically load UI plugins via require.js

Plugin code uses the following format:

(function (cloudStack) {
  var testPlugin1 = function(plugin) {
    // Plugin code goes here
  };

  cloudStack.plugin({
    id: 'testPlugin1',
    title: 'Test Plugin 1',
    desc: 'Sample plugin 1',
    load: testPlugin1
  });
}(cloudStack));
2012-12-19 15:47:25 -08:00
Brian Federle f0a6e86e14 Add/style basic plugin listing 2012-12-19 15:04:47 -08:00
Brian Federle bd9bedac8a Fix path for plugins.js 2012-12-19 14:03:31 -08:00
Brian Federle eae7d43c2c Merge branch 'master' into ui-plugins 2012-12-19 14:00:28 -08:00
Brian Federle 9b1c74e7f5 Add plugins section 2012-12-19 14:00:20 -08:00
Brian Federle 368a8e2bda Egress UI: Rename 'CIDR' -> 'Source CIDR' 2012-12-18 11:05:16 -08:00
Jessica Wang d6694abf4d CLOUDSTACK-656: cloudstack UI - network menu - guest network section - detailView - should have only one preFilter(). Consolidate 2 preFilter() into 1. 2012-12-17 11:03:49 -08:00
John Kinsella 5658fc4249 CLOUDSTACK-646: Cleaning up Citrix/eula/CloudPlatform references
Tried to remove any references to license agreements, EULA, Citrix,
or CloudPlatform. Tested through devcloud, didn't see decreased UI
functionality.
2012-12-16 20:39:03 -08:00
Jessica Wang b7181bb426 CLOUDSTACK-642: cloudstack UI - Add Host step in zone wizard, Add Host diaog in hosts listView - call addHost API by type POST instead of type GET, remove parameters from URL. 2012-12-14 14:22:38 -08:00
Edison Su 5df88d42c8 ix the add primary storage dialog so that when changing the protocol from RBD to another protocol the RBD fields will be removed. 2012-12-13 23:32:29 -08:00
Edison Su b70c1a5a84 Backs NFS-based secondary storage with an S3-compatible object store. Periodically, a reaper thread synchronizes templates and ISOs stored on a NFS secondary storage mount with a configured S3 object store. It also pushes snapshots to the object store when they are created and downloads them in other zones on-demand. In addition to permitting the use of commodity or IaaS storage solutions for static assets, it provides a means of automatically synchronizing template and ISO assets across multiple zones. 2012-12-13 23:18:37 -08:00
Jessica Wang c8926de018 CS-17074: cloudstack UI - Advanced SG-enabled zone - Zone Wizard - When Advanced option is selected and Security Groups checkbox is checked, hypervisor dropdown will list only KVM option (if KVM is in listHypervisors API response). 2012-12-12 14:47:55 -08:00
Pranav Saxena cb35d83b85 CLOUDSTACK-604:When editting pod/cluster in UI, there's no save button: A generic issue with the widget where the content from another tab to the adjacent one gets appended :resolved by making the detailsView widget change 2012-12-11 04:22:09 +05:30
Brian Federle 5b7b47048b Add missing tooltips
Add missing doc tooltips for the following dialogs:

-Add VPN customer gateway

-Add ISO

-Enter project token

-Add compute offering

-Add system offering

-Add network offering
2012-12-07 13:19:37 -08:00
Brian Federle cd238b4aab Don't show egress rules tab for SRX-based networks 2012-12-06 14:35:30 -08:00
Brian Federle 75e51a03aa Egress UI: Fix columns
-If startport or endport are blank, still show the blank columns to
 keep alignment correct.
2012-12-06 14:35:30 -08:00
Jessica Wang 391e873bd9 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - zone wizard - cluster dropdown - Make "KVM" the 1st option in dropdown. 2012-12-06 10:43:50 -08:00
Pranav Saxena 30dd34d258 CLOUDSTACK-588:restoreVirtualMachine api functionality on the UI while the VMs are in running or stopped state 2012-12-06 02:35:49 +05:30
Brian Federle 1321141797 Fix updateZone fail if guest CIDR field is blank 2012-12-04 11:33:43 -08:00
Brian Federle 5f1f1e7534 Don't show egress tab for advanced SG zones 2012-12-04 11:22:52 -08:00
Brian Federle 4bab97be3e Hide acquire new IP button if in advanced SG zone 2012-12-04 11:06:35 -08:00
Brian Federle 2514b92e4b Add VPC: Don't list SG-enabled zones
Conflicts:
	ui/scripts/network.js
2012-12-04 10:49:38 -08:00
Brian Federle 1aecd7b42a Egress UI: Make ICMP type/code optional 2012-12-04 10:49:35 -08:00
Brian Federle 77f80ab72d Egress UI: Make start/end port optional 2012-11-30 11:40:10 -08:00
Jessica Wang 8819ec6ea7 CLOUDSTACK-571: cloudstack UI - network menu - guest network section - network detailView - edit action - network offering upgrade is not allowed in Shared network. 2012-11-30 09:35:38 -08:00
Jessica Wang ec40aff931 CLOUDSTACK-459: cloudstack UI - create network offering - When capability ElasticIp=true is passed to API, if capability associatePublicIP=true/false is not passed to API, cloudStack API will assume associatePublicIP=true. So, UI has to explicitly pass associatePublicIP=false to API if its checkbox is unchecked. 2012-11-29 13:11:37 -08:00
Jessica Wang fefec372a2 CLOUDSTACK-565: cloudstack UI - EIP/ELB Basic Zone - Network menu > Guest Network Section > Network detailView > Add Load Balancer tab > Add VMs button: pass current login's domainId and account to listVirtualMachines API. 2012-11-29 11:02:34 -08:00
Jessica Wang 6d8cd9f5c0 CLOUDSTACK-564: cloudstack UI - EIP/ELB Basic Zone - Network menu - Guest Network section - network detailView - Add Load Balancer tab - use jobid from assignToLoadBalancerRule instead of createLoadBalancerRule. 2012-11-29 10:55:51 -08:00
Pranav Saxena 46b16e5917 CLOUDSTACK-557:For createFirewallRule API startport and endport are optional arguments but in UI ports are not optional 2012-11-29 18:26:35 +05:30
Pranav Saxena a526460195 CLOUDSTACK-556:Erratic window behavior in Quick View tooltip 2012-11-29 04:50:08 +05:30
Brian Federle 66e04c9bf9 Re-enable network-level egress UI
-Adds complete egress rules tab to the network detail view

-Updated server calls per functional spec

-Add localization labels
2012-11-28 11:57:22 -08:00
Pranav Saxena 936f84bb7b CLOUDSTACK-555:Uncaught TypeError: Cannot read property 0 of undefined in UI while navigating to ipAddresses section under VPC 2012-11-29 00:41:54 +05:30
Pranav Saxena fb9c62ff1c CLOUDSTACK-555:Uncaught TypeError: Cannot read property 0 of undefined in UI while navigating to ipAddresses section under VPC 2012-11-29 00:32:18 +05:30
Pranav Saxena 1d0a1adb8e CLOUDSTACK-546:Guest vms which are in expunging state should be displayed 2012-11-28 15:34:28 +05:30
Pranav Saxena 0979e5a0d0 CLOUDSTACK-553:SRX - When adding SRX device make Public Network - default to untrusted and Private Network - default to trusted as un-editable fields 2012-11-28 07:22:52 +05:30
Jessica Wang 687d76b5e3 CLOUDSTACK-551: cloudstack UI - deployVM - select security groups step - show DefaultSecurityGroup option because backend has been changed to not always add DefaultSecurityGroup unless specified in DeployVirtualMachine API. 2012-11-27 15:47:07 -08:00
Jessica Wang 46cec7342a CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Instance menu - instance detailView - show SecurityGroups tab for Advanced SG-Enabled zone. 2012-11-27 15:09:55 -08:00
Jessica Wang d15f5a7512 CLOUDSTACK-459: cloudstack UI - create network offering dialog - show "Associate Public IP" checkbox only when "Elastic IP" Checkbox is checked. 2012-11-27 13:40:06 -08:00
Jessica Wang 2e3bedda10 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest network section - fix an JS error "advSgDisabledZones is undefined". 2012-11-27 11:06:34 -08:00
Pranav Saxena ed5bd846e8 CLOUDSTACK-550:Getting TypeError: items is undefined error in UI when we click on Instances tab while no instances are launched yet:Handling the null case for items 2012-11-27 17:29:50 +05:30
Pranav Saxena 2149b82b36 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-11-27 07:23:28 +05:30
Pranav Saxena 8d4400946d CLOUDSTACK-546:Guest vms which are in expunging state should not be displayed in UI:Fixed by changing the response to blank in case of an expunging state 2012-11-27 07:23:20 +05:30
Jessica Wang 8c76baa054 CLOUDSTACK-459: cloudstack UI - create network offering dialog - fix a bug that associatePublicIP parameter was passed to createNetworkOffering API incorrectly. Fix it to pass associatePublicIP parameter as part of servicecapabilitylist. 2012-11-26 16:58:24 -08:00
Jessica Wang 163779200f CLOUDSTACK-544: cloudstack UI - template page, ISO page - edit, copy, download action is available if template/ISO and the login user is under the same project. 2012-11-26 16:13:01 -08:00
Jessica Wang e113556023 CLOUDSTACK-543: cloudstack UI - create network offering dialog - disable Redundant router capability checkbox, Conserve Mode checkbox (still visible, but can't be selected) when Guest Type is selected as Shared. 2012-11-26 15:29:52 -08:00
Jessica Wang c0d39ebbfe CLOUDSTACK-542: cloudtack UI - create network offering dialog - hide NetworkACL service field when Guest Type is selected as Shared. 2012-11-26 15:26:15 -08:00
Jessica Wang 08bd175d56 CLOUDSTACK-541: cloudstack UI - Network menu - Guest Network section - network detailPanel - show "View IP Addresses" icon regardless of having SourceNAT service or not. 2012-11-26 14:05:26 -08:00
Jessica Wang 7f40eef920 CLOUDSTACK-538: cloudstack UI - IP Addresses page - Acquire New IP button - If it's under a Basic zone, check whether its network offering is EIP ELB. If yes, show the button. If no, hide the button. 2012-11-26 13:52:19 -08:00
Jessica Wang 1fb80fc6ce CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest network section - (1) hide create network button if there is no Advacned SG-disabled zones. (2) create network dialog - zone dropdown - populate only Advacned SG-disabled zones. 2012-11-26 13:12:41 -08:00
Jessica Wang b949813438 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Infrastructure menu - zone detail - physical network - guest - network tab - crate network dailog - scope dropdown - list only Accounts option if it's for an Advanced SG-enabled zone. 2012-11-26 13:10:44 -08:00
Jessica Wang 080a2dc9c5 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - network offering dropdown - exclude network offerings that include EIP, ELB service. 2012-11-26 13:08:30 -08:00
Jessica Wang 811c904fc3 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - network offering dropdown - populate only network offerings that include SecurityGroup service. 2012-11-26 13:06:30 -08:00
Jessica Wang af79da5d80 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - VM wizard - (1) step 5 - Show Security Groups instead of networks. (2) When Launch button is hit, Programmatically find a Shared network with Security Group in the selected zone, then pass it to deployVirtualMachine API. 2012-11-26 13:03:27 -08:00
Jessica Wang 7d89d928d9 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - physical network step - remove public traffic from droppable container. 2012-11-26 12:45:47 -08:00
Jessica Wang 759d434ba3 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - hide public traffic step. 2012-11-26 11:59:52 -08:00
Jessica Wang f97f9631d8 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - zone wizard - skip configuring public traffic type. 2012-11-26 11:57:55 -08:00
Jessica Wang 36d175126d CLOUDSTACK-537: cloudstack UI - zone wizard - (1) Advanced SG-Enabled zone: enable VirtualRouter and SecurityGroup provider. (2) Advanced SG-Disabled zone: enable VirtualRouter and VpcVirtualRouter provider. 2012-11-26 11:55:41 -08:00
Jessica Wang d9ac544b06 CLOUDSTACK-537: cloudstack UI - zone wizard - create default guest network - Only pass gateway/netmask/startIp/endIp/VlanId to CreateNetwork API if it's an Advanced zone with SG. Do not pass them to CreateNetwork API if it's a Basic zone. 2012-11-26 11:23:48 -08:00
Jessica Wang e5ced5e4f4 CLOUDSTACK-537: cloudstack UI - zone wizard - Advanced zone with SG enabled - show Guest Traffic step with 5 fields (gateway, netmask, startIp, endIp, VLAN ID) and pass them to CreateNetwork API when creating default guest network. 2012-11-26 11:18:49 -08:00
Pranav Saxena ecbd0e91aa CLOUDSTACK-523:When adding Vms to an LB rule , when there are vms with display name that were provided by user and autogenearated uuid , the list vm screen extends beyond the frames original width: Fixed by associating a class with the dialog box 2012-11-20 12:56:14 +05:30
Brian Federle fa1696e3e6 CS-16822: multi-edit UI: Fix blank fields on add item
When adding an item, show all returned fields if noSelect is
true. This prevents hidden conditional form fields from having their
row data hidden, such as if an ICMP rule is added and the TCP
start/end port form fields are hidden due to space constraints.
2012-11-16 08:50:17 -08:00
Pranav Saxena 8d5c78e3d4 CS-16209,CS-16262:AutoScale server side changes for Supporting network element independent counter parameters in AutoScaleVmProfile 2012-11-16 11:06:44 +05:30
Vijay Venkatachalam affc162556 AutoScale: Fixing issues that occurred during rebase with master 2012-11-16 11:04:37 +05:30
Jessica Wang 8fdd0a469a CS-16459: cloudstack UI - network page - When creating Lb rules for a network that is not using netscaler for LB service, AutoScale button is hidden. 2012-11-16 10:57:00 +05:30
Jessica Wang e88ca00eb4 CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-11-16 10:57:00 +05:30
Pranav Saxena 8c681746b9 CS-16211:Autoscale UI should display Enable/Disable Autoscale as the tooltip message instead of specifying VM group 2012-11-16 10:56:56 +05:30
Jessica Wang 3785d52b90 cloudstack 3.0 UI - basic zone - elastic IP - Add Load Balancer tab - Add VMs button - add a comment to specify code area. (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang ccc2368969 CS-16134: cloudstack 3.0 UI - autoscale - basic zone of elastic IP - Add Load Balancer tab - pass domainid and account to createLoadBalancerRule API since IP Address is not available. (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang f35d2c23f1 CS-15955: cloudstack 3.0 UI - autoscale - validation - convert type of scale policy duration and polling interval when comparing them (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang 193a8c4edb CS-15863: cloudstack 3.0 UI - autoscale - LB listing - VM listing - hide delete button based on vm displayname instead of vm name (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
Jessica Wang 9365e5403b CS-16096: cloudstack 3.0 UI - autoscale - fix a regression caused by a server-server side change: ad6ac9b449 (CS-15617. Changed CounterResponse to a List as queryAsyncJob expects it.) (Reviewed-by: Brian) 2012-11-16 10:56:54 +05:30
Pranav Saxena e20f599a23 CS-15927:Filter to hide the autoscale VM's through a Regular expression for a Basic Zone 2012-11-16 10:56:54 +05:30
Pranav Saxena 373d4045c2 CS-15927:Filter to display only Non AutoscaleVMs (name to displayname property change) 2012-11-16 10:56:54 +05:30
Pranav Saxena c26cb9d069 CS-16078:AutoScale UI development- adding sec to Duration field 2012-11-16 10:56:53 +05:30
Pranav Saxena b8bb6f483e CS-15927:Filter to hide the autoscale VM's through a Regular expression for a load balancer Rule 2012-11-16 10:56:53 +05:30
Jessica Wang ce8fe90aae CS-15863: cloudstack 3.0 UI - (1) extend multiEdit widget to be able to hide actions upon an each item's properties.
(2) IP Addresses page - load balancer listing - VM listing - hide destroy action for autoscale VM.
2012-11-16 10:56:53 +05:30
Pranav Saxena 8bd0012e33 CS-16004:LB rule name , ports validation missing under the load balancers tab for a basic zone autoscale configuration 2012-11-16 10:56:52 +05:30
Jessica Wang bcaa02fe09 CS-15956: cloudstack 3.0 UI - autoscale - create/update autoscale vm profile - change how data is passed to API. 2012-11-16 10:56:52 +05:30
Pranav Saxena 95738990a5 CS-15981:Add Load Balancer page inside Guest networks is blank 2012-11-16 10:56:52 +05:30
Jessica Wang 8b5ee6414d CS-15955: cloudstack 3.0 UI - autoscale - change validation error message of comparison of scale policy duration and polling interval. 2012-11-16 10:56:52 +05:30
Jessica Wang 6dddd2d7ae CS-15953: cloudstack 3.0 UI - autoscale - add UI validation to validate value in those fields is a number: Min Instances, Max Instances, Polling Interval, Quiet Time, Destroy VM grace period, SNMP Port, Scale Up Policy duration, Scale Down Policy duration. 2012-11-16 10:56:51 +05:30
Jessica Wang 52a9d0e64b cloudstack 3.0 UI - autoscale - LB rules - (1) hide AddVMs button on LB rules created by Autoscale. (2) hide Autoscale button on LB rules created by AddVMs. 2012-11-16 10:56:51 +05:30
Brian Federle a7508c12c6 Add sample _hideFields to loadBalancer 2012-11-16 10:56:51 +05:30
Brian Federle 2ffc381ea1 multiEdit: support hiding fields dynamically via dataProvider
If 'hideFields' array is passed to .success(), then hide the field IDs
specified.
2012-11-16 10:56:50 +05:30