Commit Graph

393 Commits

Author SHA1 Message Date
Jessica Wang a6c6f4851b revert 12ca1d9102 since it's a partial UI change. 2013-08-10 13:26:48 -07:00
Brian Federle 4c89be144a CLOUDSTACK-4089: (WIP) Add new fields to zone wizard for configuring traffic type for VMware 2013-08-05 12:08:28 -07:00
Ian Duffy 25e8e9b85f General cleanup, source formatting, remove whitespace
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 14:20:47 +05:30
Ian Duffy 532e04db1a Disable password changing when ldap is enabled
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-02 14:20:47 +05:30
Ian Duffy ec064b3077 New LDAP UI
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2013-07-29 05:58:00 -04:00
Brian Federle 1c2362c163 Instance wizard: Fix logic preventing VPC network from being unchecked 2013-07-26 14:30:48 -07:00
Ian Duffy eaa4143371 Merge LDAPPlugin
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-25 17:54:52 +05:30
Brian Federle dfdbf20b67 Add disallowSpecialCharacters to some fields 2013-07-23 15:12:58 -07:00
Brian Federle 4aa9e0a696 CLOUDSTACK-2162: Fix missing provider field on secondary storage step 2013-07-22 11:19:13 -07:00
Ian Duffy ad69bc8da3 Format JS 2013-07-18 12:34:20 -04:00
Brian Federle b41ed8a3ec CLOUDSTACK-3475: Fix tier id not being passed to autoscale UI 2013-07-17 13:46:47 -07:00
Brian Federle 59e65e8406 CLOUDSTACK-2864: Fix duplicate message on affinity group
Fixes issue where text on affinity group step of instance wizard is
duplicated, when going back a step and making changes.
2013-07-12 12:05:10 -07:00
Wei Zhou d2a751fb1e CLOUDSTACK-3362: use POST instead of GET and encode/decode cert/key in uploadCustomCertificate 2013-07-11 16:06:21 +02:00
Brian Federle 7ce0bd69a8 UI plugin framework: Fix load order
Fixes potential issue where plugins could load after cloudStack UI is initialized,
preventing their functionality from showing up.

Now, the main UI is only loaded after all plugins have loaded; this is via
'cloudStack.pluginReady' event.
2013-07-10 11:18:27 -07:00
Jessica Wang 40678a27da CLOUDSTACK UI - remove obsolete code (window.name is no longer used). 2013-07-09 15:25:40 -07:00
Brian Federle 70c4a97eaa UI: Add initial UCS section to infrastructure page 2013-07-09 13:48:48 -07:00
Pranav Saxena 1fb9c8e788 CLOUDSTACK-2162: Scope parameter for adding primary storage for a basic zone set up 2013-07-03 14:48:32 +05:30
Hiroaki KAWAI 09626337ab CLOUDSTACK-1194: fix that isolation method does not show in Firefox.
zoneWizard.js puts field name and value twice where we need only
and css padding overflows in some browser rendering. The result is
that isolation method pull down menu will be pushed down and hidden
under the next box element.
2013-06-25 15:50:30 +09:00
Hiroaki KAWAI 2d6369c826 CLOUDSTACK-2756: Stratosphere SSP plugin
Stratosphere SSP is an SDN solution which creates virtual L2
networks backed by vxlan and vlan. SSP will ask hypervisor to set a
specific vlan, then SSP will interact with openflow switches and
put vxlan/vlan translation flow rules.

This plugin provides SSP as "connctivity" service provider.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-06-25 15:31:40 +09:00
Brian Federle 5b5d3d0be2 Zone chart: Update secondary storage link to show both sub-sections
-Show both 'secondary storage' and 'image stores' via dropdown on link
 to list view
2013-06-20 14:40:00 -07:00
Brian Federle bd84005b4e Infrastructure UI: Fix list views with sub-sections 2013-06-19 12:24:58 -07:00
Brian Federle 1eab817a96 Update projects UI validation 2013-06-10 11:02:08 -07:00
Brian Federle f15a7c3f8e Code cleanup 2013-06-10 10:43:31 -07:00
Isaac Chiang 202da411fa CLOUDSTACK-2855: UI - project view
1.Dynamically add newly created project to dropdown list
2.Return to default view if a user deletes the same project in project view

Modified:   ui/scripts/projects.js
Modified:   ui/scripts/ui-custom/projects.js
2013-06-05 20:14:21 +08:00
Brian Federle 55148d90a8 CLOUDSTACK-2185: Display VM IP on static NAT detail page 2013-06-04 14:16:00 -07:00
Brian Federle f92db64c78 Install wizard UI: Add preinstall hook
For fresh install, adds hook to install wizard UI to show a custom
'step' before the initial welcome screen.

Pre-install specified by providing 'cloudStack.preInstall,' which
returns a jQuery object to be displayed. It passes args.complete,
which when called will proceed to the first step of the install
wizard.
2013-05-23 15:59:03 -07:00
Nitin Mehta c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Brian Federle e04430302d Merge branch 'master' into ui-mixed-zone-management 2013-04-18 15:18:43 -07:00
Brian Federle fca7b3ef22 Rename widget 'plugins' to 'pluginListing'
For better clarity on its function, rename the 'plugins' widget to 'pluginListing,'
as it does not handle the actual plugin logic.
2013-04-18 10:49:45 -07:00
Brian Federle 5891f09d8c Merge branch 'ui-new-project-switcher' into ui-mixed-zone-management
Conflicts:
	ui/scripts/ui-custom/projectSelect.js
2013-04-16 11:47:19 -07:00
Brian Federle 5d05e49fa6 Merge branch 'master' into ui-mixed-zone-management 2013-04-16 11:45:05 -07:00
Brian Federle d529eba941 Project selector UI functionality 2013-04-16 11:44:00 -07:00
Brian Federle a7489889f2 Merge branch 'master' into ui-new-project-switcher 2013-04-16 11:02:14 -07:00
Jessica Wang 5f8a278196 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - make loginCmdText local. 2013-04-11 13:39:04 -07:00
Brian Federle c529c5a18d Project switcher: Add label 2013-04-10 14:43:52 -07:00
Brian Federle fa8b83581b Zone type switcher: Style, add functionality
- Add top label to zone switcher, add more styling

- Implement zone switching functionality, which on change sets
  cloudStack.context.zoneType to the relevant filter option, or null
  for 'All' zone types
2013-04-10 14:43:42 -07:00
Brian Federle 50140735c7 Project switcher: Add label 2013-04-10 14:42:22 -07:00
Brian Federle f51ccfcfb9 Merge branch 'ui-new-project-switcher' into ui-mixed-zone-management 2013-04-10 13:36:20 -07:00
Brian Federle aa5ed0a0fb Layout new project selector (only dummy data for now) 2013-04-10 13:34:25 -07:00
Brian Federle 4b853ccdc7 Add zone filter drop-down to header (needs styling) 2013-04-10 13:09:43 -07:00
Pranav Saxena c51587396a CLOUDSTACK-1893:[AWS Style Health Checks] UI hangs when one tries to create health check policy on a LB rule with VR as LB service provider 2013-04-09 13:51:33 +05:30
Jessica Wang b1ef74737a CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - when switching region, set location without parameters. 2013-04-07 00:14:18 -07:00
Brian Federle d6e8701cae Regions UI: Change loading state text to 'Loading...' 2013-03-26 10:19:02 -07:00
Brian Federle 16250f8e4b Instance wizard: Fix checkbox selection
Fix where VPC network is uncheckable if only VPC networks are present,
and 'add network' form is visible and checked.
2013-03-25 11:37:15 -07:00
Jessica Wang 8ecdbd8537 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - allow user to delete region whose end point matches the current URL, but set region button on top menu to blank after the region is deleted. 2013-03-22 12:02:27 -07:00
Brian Federle c9f4e51300 Regions UI: Add 'redirecting to region' text during login loading 2013-03-21 15:57:05 -07:00
Brian Federle 0fbf1b91b0 Regions single-sign-on: Hide login form on redirect
If login URL is passed to management server on load, show loading
screen in place of login form.
2013-03-21 15:27:44 -07:00
Jessica Wang 5a9ccce0f3 LOUDSTACK-1065: cloudstack UI - AWS Style Regions - handle the case that document.location.href includes bookmark # that doesn't match region's end point completely. 2013-03-20 16:41:26 -07:00
Jessica Wang 75a6e009b9 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - remove region action - removing the region that you are currently in is not allowed. 2013-03-20 15:19:36 -07:00
Jessica Wang ae7e5b025e CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - set current region (whose end point matches current URL) to region button and region dropdown on top menu. 2013-03-20 14:34:37 -07:00
Jessica Wang 918a7c7481 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - implement region switching action triggered by region dropdown on top menu. 2013-03-20 11:58:57 -07:00
Pranav Saxena 6ba0ef1a17 Removing the test tooltip from Pingpath variable 2013-03-18 18:15:59 +05:30
Brian Federle 9ca7b82baa Merge branch 'master' into Health-Check-UI
Conflicts:
	ui/css/cloudstack3.css
2013-03-15 11:46:32 -07:00
Pranav Saxena e86ee12a78 Adjusting the CSS attr for the delete button 2013-03-15 17:23:04 +05:30
Pranav Saxena 3752f1c331 Health Check UI development 2013-03-15 12:35:28 +05:30
Pranav Saxena e6ac982d6c Adding the license header to the new file 2013-03-15 12:26:09 +05:30
Brian Federle 345114d0ca Dashboard UI: Fix line breaks
Move line break tags from API calls to widget code; otherwise they
were not rendering correctly due to sanitization process.
2013-03-14 15:54:37 -07:00
Brian Federle d6ce2af209 CLOUDSTACK-748: Support deployment of VM on Tier + network 2013-03-14 12:53:39 -07:00
Pranav Saxena a7e09c8648 Health-Check UI development 2013-03-14 17:21:03 +05:30
Pranav Saxena 2094ee682e Health-Check UI development 2013-03-14 17:13:27 +05:30
Brian Federle fd7ce8bb88 Pass VM guest IP to enable static NAT action 2013-03-08 14:38:37 -08:00
Jessica Wang f9e94873d8 CLOUDSTACK-452: cloudstack UI - IPv6 - quick installer - rename fields in quick installer to be consistent with fields in zone wizard. 2013-03-05 12:07:55 -08:00
Brian Federle 260669ad9e Regions UI: Show (Default) in header if no regions are available 2013-02-28 16:02:19 -08:00
Brian Federle 558b808a18 Regions UI: Show selected region name in header 2013-02-28 15:31:52 -08:00
Mice Xia 398b049327 add license header for a js file reported by rat 2013-02-28 11:50:07 +08:00
Brian Federle 289c433cb9 Regions UI: Highlight active region in selector 2013-02-27 09:12:25 -08:00
Brian Federle b9a459c24d Regions UI: Move to separate source file, add real data, update style
-Move region UI code to ui-custom/regions.js, to separate from core UI
 rendering

-Pull real data and endpoint URL on region select list, from data
 provider in scripts/regions.js

-Make region selector have same appearance as notifications box
2013-02-26 15:55:02 -08:00
Rohit Yadav 4364cb9784 rat: Fix license for file from recent ui-plugins merge
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-14 17:18:22 +05:30
Brian Federle dfaffcebad Merge branch 'master' into ui-plugins
Conflicts:
	ui/index.jsp
2013-02-13 14:03:53 -08:00
Jessica Wang 4e7da0001d CLOUDSTACK-618: cloudstack UI - API request throttling - for async job action uploadCustomCertificate, make frequency of calling queryAsyncJobResult API based on listCapabilities response. 2013-02-13 11:55:59 -08:00
Jessica Wang ceb44aca30 CLOUDSTACK-1251: cloudstack UI - zBaremetal - zone wizard - when hypervisor is BareMetal, click Next button in Guest Traffic step will finish the whole process. 2013-02-13 11:55:05 -08:00
Brian Federle 2cb50b17fb Merge branch 'master' into ui-plugins 2013-02-07 12:03:35 -08:00
Jessica Wang 01d7fa4bed CLOUDSTACK-1166: cloudstack UI - dashboard - sanitize content before setting it to a HTML element. 2013-02-06 10:42:35 -08:00
Kanzhe Jiang 736b236eaf bigswitch controller support
Reviewed-by: Chiradeep Vittal <chiradeepv@gmail.com>

Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 12:42:04 +05:30
Brian Federle 894cb8f7d9 Advanced SG instance wizard: Fix back button
Fixes back button for select SG step, when using SG-enabled advanced
network.
2013-01-31 16:07:50 -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
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 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 bf2691c51a Merge branch 'master' into ui-plugins 2013-01-29 13:23:33 -08:00
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
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
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
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 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
Brian Federle d1166e6b8b Add plugin detail view on click 2013-01-02 16:57:07 -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
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 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 c26cb9d069 CS-16078:AutoScale UI development- adding sec to Duration field 2012-11-16 10:56:53 +05:30
Pranav Saxena 525912766a CS-15909:[Autoscale] UI: Autoscaler references to be replaced with Autoscale 2012-11-16 10:56:49 +05:30
Brian Federle 28513fa6c6 Autoscale UI actions: Support passing new actionFilter on complete
Conflicts:
	ui/scripts/ui-custom/autoscaler.js
2012-11-16 10:56:49 +05:30
Jessica Wang 08a73d1134 cloudstack 3.0 UI - autoscale -fix a bug that action bar was not refreshed after action was complete. 2012-11-16 10:56:48 +05:30
Jessica Wang f348fcfb0e cloudstack 3.0 UI - autoscale - implement enableAutoScaleVmGroup API, disableAutoScaleVmGroup API. 2012-11-16 10:56:48 +05:30
Brian Federle 2e4923a286 Autoscale UI: Add actions to top of dialog
Support performing actions via the autoscaler dialog. This adds
'autoscaleActions' and 'actionFilter' options to the autoscaler, which
specify and handle the actions appearing in the UI.

Performing these actions will cause a loading overlay to appear until
actions are finished, when the action bar is refreshed via the action
filter.
2012-11-16 10:56:46 +05:30
Jessica Wang 45891a9269 cloudstack 3.0 UI - autoscale - implement edit mode. 2012-11-16 10:56:46 +05:30
Brian Federle bbfb13a1d9 Merge Autoscaler UI implemetation
This change includes the new dialog box for the CloudStack Autoscaler
implementation. It is accessible by a button ('Autoscaler') that
appears under each LB rule.

This also contains changes to the multiEdit widget to support features
required for Autoscaler:

-Fixes context/data passing to custom button widgets
-Fixes data retrieval for select fields
2012-11-16 10:56:45 +05:30
Brian Federle 27fcb788e9 Instance wizard UI: Support conditional hide/show of add network box
Adds new function 'showAddNetwork' to instance wizard configuration,
which conditionally hides the 'add network form' on the select network
step. If it returns true, then show the box, otherwise false hides it.
2012-11-15 12:16:42 -08:00
Brian Federle 83229aa460 Zone wizard UI: Change isolation mode selection
-Remove VLAN + SG radio buttons; replace with 'Security groups'
checkbox

-Pass boolean 'zone.sgEnabled' to zoneWizard action handler, instead of
'zone.isolationMode' from before.
2012-11-15 11:42:00 -08:00