Commit Graph

3469 Commits

Author SHA1 Message Date
Brian Federle 690dd66d3e UI plugin: Show custom icon
Show custom icon '<pluginName>/icon.png' on side nav bar (if plugin
added new section), and on plugin listing.
2013-01-29 16:05:48 -08:00
Brian Federle 0f6eb2f53d UI plugins: Add localization strings 2013-01-29 15:36:02 -08:00
Brian Federle 22c351fabc UI plugins: Implement plugin detail page
Renders all metadata from plugin's config.js onto a detail page, on
click of the plugin row under the 'Plugins' main section.
2013-01-29 14:35:30 -08:00
Brian Federle b18bca651f UI Detail view: support external links
If externalLink is specified in detail view field attributes, then
render its value as <a> hyperlink.
2013-01-29 14:32:51 -08:00
Brian Federle 806105f9a1 UI plugins: Dynamically load CSS
Adds a CSS file <pluginName>.css to the plugin structure, which allows
developer to specify custom CSS to be loaded after their JS code.
2013-01-29 13:56:36 -08:00
Brian Federle bf2691c51a Merge branch 'master' into ui-plugins 2013-01-29 13:23:33 -08:00
Pranav Saxena cd10b994ae CLOUDSTACK-1082:UI doesn't throw any error message when trying to delete ip range from a network that is in use 2013-01-29 14:32:55 +05:30
Pranav Saxena 453f749785 The overlay still exists when the Recurring Snapshots dialog is cancelled by pressing the esc key 2013-01-28 11:13:06 +05:30
Pranav Saxena 1509a210ca Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-01-26 23:48:57 +05:30
Isaac Chiang 76b28805e6 CloudStack-965: When a detailview action is prohibited, the operation dialog box should not show up in the mean time 2013-01-26 23:46:44 +05:30
Brian Federle 8f11f631a4 Instance wizard: Fix back button state
Fix case where select SG step is shown on back, instead of select guest network.
2013-01-25 08:58:07 -08:00
Kishan Kavala 0ab39fd162 added missing bracket 2013-01-25 19:32:30 +05:30
Pranav Saxena 44ceff4224 CLOUDSTACK-1064:A type error occurs when trying to add account/register template: this is because of accounts conext being undefined 2013-01-25 16:42:42 +05:30
Pranav Saxena 9deea9bb55 CLOUDSTACK-1063:SG Enabled Advanced Zone -Add Guest Networks- When user tries to add a guest Network with scope as Account , he should NOT be presented with Offering for shared security group enabled 2013-01-25 15:49:29 +05:30
anthony d7201dfe1f CLOUDSTACK-737
add xenserver support in UI
     only XenServer and KVM clusters are allowed in security enabled zone.
     only shared security enabled networks are allowed in security enabled zone.
2013-01-24 17:26:51 -08:00
Brian Federle a2b2d45e40 Conditionally show select SG step
Only show select security group step if at least one guest network
with SecurityGroup service is selected.
2013-01-24 14:57:43 -08:00
Pranav Saxena f1aee2cc50 CLOUDSTACK-1029:Enter the token to specified project is malfunctioned 2013-01-24 14:13:53 +05:30
Jessica Wang 635ac34d06 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step5 - select network step - desc field - append '(sg)' if a network includes security group service. 2013-01-21 16:02:39 -08:00
Jessica Wang ff5477d1f1 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - remove obsolete variable(myNetworks), rename variable sharedNetworks to networkObjs. 2013-01-21 15:53:29 -08:00
Jessica Wang bfdec24de4 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - specify canusefordeploy parameter in listNetworks API when populating network list. 2013-01-21 15:52:10 -08:00
Brian Federle a4c413bc13 CLOUDSTACK-537: Fix for instance wizard
When using SG-enabled advanced zone, fix case where 'add guest
network' form shows up in select network step -- adding a guest
network via the wizard is not supported in this type of setup.
2013-01-21 14:30:56 -08:00
Jessica Wang 98a289020f CLOUDSTACK-652: cloudstack UI - create network offering dialog - for both Isolated network and Shared network, show Elastic IP dropdown when StaticNAT is checked and StaticNAT provider is Netscaler. 2013-01-18 16:03:33 -08:00
Jessica Wang d13d67bdd9 CLOUDSTACK-459: cloudstack UI - create network offering dialog - update comment in code. 2013-01-18 15:11:46 -08:00
Jessica Wang c9921ea077 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - show network list first, then security group list. reviewed-by: Brian 2013-01-18 10:44:44 -08:00
Jessica Wang 77bc04b90f CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - Instance wizard UI: Support advanced zone with security groups
For advanced zones with SG enabled, show both the add guest network
step as well as the add security group step.

reviewed-by: jessica
2013-01-18 10:38:38 -08:00
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