3573 Commits

Author SHA1 Message Date
Pranav Saxena
5d8e1f0dff Enabling Egress Rules Feature on the UI 2013-01-31 20:39:09 +05:30
Jessica Wang
0f130e15c7 CLOUDSTACK-355: cloudstack UI - Infrastructure menu - restore total number of zone on UI since performance issue of listZones API has been fixed on server-side. 2013-01-30 15:42:02 -08:00
Jessica Wang
867cb4aa81 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - step 5 - when total number of selected sg networks is greater than 0 and total number of selected networks is greater than 1, pop up client-side validation error message "Can't create a vm with multiple networks one of which is Security Group enabled". 2013-01-29 16:44:58 -08:00
Jessica Wang
c02801b7b7 CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - fix a bug that networkID was not passed to API call when selected networks don't include security group service. 2013-01-29 16:41:14 -08:00
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