Commit Graph

3196 Commits

Author SHA1 Message Date
Jessica Wang f59d5d8dd1 CS-15885: cloudstack 3.0 UI - autoscale - add UI-side validation - at least one condition is required in Scale Up/Down Policy. 2012-08-08 16:44:49 -07:00
Jessica Wang 5d5d8b2d67 CS-15825: cloudstack 3.0 UI - VPC - Tier - detailView - allow all actions for regular-user and domain-admin since server-side doesn't have restriction. 2012-08-08 16:07:06 -07:00
Jessica Wang f2b73d86c2 CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:50:08 -07:00
Jessica Wang 8327719d2c CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:50:08 -07:00
Jessica Wang a4ca478df5 cloudstack 3.0 UI - autoscale - add validation that scale policy duration can not be less than Polling Interval. 2012-08-08 14:36:28 -07:00
Jessica Wang 5a9dbcf187 cloudstack 3.0 UI - autoscale -fix a bug that action bar was not refreshed after action was complete. 2012-08-08 13:56:13 -07:00
Brian Federle deb7ffa031 Autoscale UI actions: Support passing new actionFilter on complete 2012-08-08 10:23:20 -07:00
Pranav Saxena 29cbd5ea42 CS-15900:InterVlan - UI - Confirmation Note on Acquisition of a Public IP Address to a VPC should mention this VPC instead of this Network 2012-08-08 20:24:14 +05:30
Pranav Saxena ee22f88578 CS-15900:InterVlan - UI - Confirmation Note on Acquisition of a Public IP Address to a VPC should mention this VPC instead of this Network 2012-08-08 20:14:11 +05:30
Pranav Saxena fc14cead15 CS-15851:Intervlan - VMware - Enable Static NAT > if no tier selected> Apply> Status should display 'Please select a tier' 2012-08-08 18:05:47 +05:30
Pranav Saxena 4c6421abf7 CS-15901:InterVlan - UI - Site-to-Site VPN Gateway - Confirmation Message should mention Site-to-Site VPN Gateway instead of just VPN Gateway 2012-08-08 14:57:35 +05:30
Pranav Saxena 88bad6cbcb CS-15903:Detail page of vpn connection miss ike/esp lifetime 2012-08-08 13:52:42 +05:30
Pranav Saxena 9da438b24c Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-08-08 10:59:57 +05:30
Pranav Saxena 65edf654e2 CS-15898:Change drop down options in vm tier for vpc 2012-08-08 10:58:02 +05:30
Jessica Wang 2e6aeee9af cloudstack 3.0 UI - autoscale - implement enableAutoScaleVmGroup API, disableAutoScaleVmGroup API. 2012-08-07 16:33:39 -07:00
Brian Federle 4618f5f449 CS-15890: ACL multiEdit: Change 'Source CIDR' -> 'CIDR' 2012-08-07 15:57:57 -07:00
Brian Federle ff29e4f02f CS-15891: Add view console action to VPC instances list view 2012-08-07 15:53:19 -07:00
Brian Federle f541d85fce List view: support external link actions
Support actions which point to an external link, primary to support
launching the console proxy.

Example:

listView: {
  actions: {
    viewConsole: {
      label: 'label.view.console',
      action: {
        externalLink: {
          url: function(args) {
            return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
          },
          title: function(args) {
            return args.context.vpcTierInstances[0].id.substr(0,8);
          },
          width: 820,
          height: 640
        }
      }
    }
  }
}
2012-08-07 15:53:19 -07:00
Brian Federle 5c850c9b4c CS-15892: Tier detail view: Show 'tier details' instead of 'details' 2012-08-07 15:53:19 -07:00
Jessica Wang db3692e448 cloudstack 3.0 UI - autoscale - configure AutoScale - resolve an error returned by updateAutoScaleVmGroup API "Only scaleup policies can be specified in scaleuppolicyids". 2012-08-07 15:31:56 -07:00
Jessica Wang 698097a3ce cloudstack 3.0 UI - autoscale - configure AutoScale - fix a bug when root-admin tried to update an AutoScale created by regular-user or domain-admin, users dropdown was not correctly populated (should be populated with users under owner account instead of users under current login account). 2012-08-07 15:17:08 -07:00
Jessica Wang 0cd51eafc3 CS-15836: cloudstack 3.0 UI - autoscale - existing LB - configure AutoScale - fix a bug that root-admin was unable to see autoscale created by regular-user or domain-admin. 2012-08-07 14:33:16 -07:00
Jessica Wang 15d1e57b92 cloudstack 3.0 UI - autoscale - existing LB - configure AutoScale - fix a JS bug "otherdeployparams is undefined". 2012-08-07 14:10:12 -07:00
Brian Federle 38a269c1bf CS-15861: Validate form fields before showing autoscale UI
--only applies to new LB rule form, not existing LB rules.
2012-08-07 13:46:32 -07:00
Brian Federle 365e8803cd multiEdit: support validate on custom action
If requireValidation: true is set for a custom action, then only
perform action if multiEdit's form fields are valid. This does not
apply to clicking on existing rules' action buttons.

Syntax:

multiEdit: {
  fields: {
    testField: {
      custom: {
        requireValidation: true,
        ...
      },
      ...
    },
    ...
  }
}
2012-08-07 13:46:32 -07:00
Jessica Wang fa2d392ba2 cloudstack 3.0 UI - autoscale - for regular user - fix a bug that createAutoScaleVmProfile API fails because autoscaleuserid is undefined. 2012-08-07 13:21:26 -07:00
Brian Federle 98b4f598be 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-08-07 13:19:35 -07:00
Jessica Wang 530fb65278 cloudstack 3.0 UI - VPC - private gateways - preCheck() should not call args.response.success(). 2012-08-07 11:48:36 -07:00
Jessica Wang 9f707a6b7d cloudstack 3.0 UI - site to site VPN - create VPN connection - fix a bug that wrong vpnGatewayId is passed to API command where there are multiple VPN gateways are present in one account. 2012-08-07 11:27:45 -07:00
Jessica Wang b8e3a20ba0 cloudstack 3.0 UI - VPC - IP Address page - configuration tab - fix a bug that root-admin was unable to see LB service of IP Address owned by regular-user or domain-admin. 2012-08-07 10:45:58 -07:00
Jessica Wang 25bb243a6f cloudstack 3.0 UI - infrastructure - Virtual Routers - detailView - add Reboot action to VPC Virtual Router. 2012-08-06 16:36:53 -07:00
Jessica Wang da9603cfe6 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - detailView - add Reboot action. 2012-08-06 16:28:23 -07:00
Jessica Wang 9edbc70e5b cloudstack 3.0 UI - infrastructure - Virtual Routers - detailView - add ChangeService action to VPC Virtual Router. 2012-08-06 15:45:31 -07:00
Jessica Wang 5ec9cf3081 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - detailView - add ChangeService action. 2012-08-06 15:39:29 -07:00
Jessica Wang 6620020477 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - Virtual Router - Instances tab - exclude VPC Virtual Router here. 2012-08-06 14:41:46 -07:00
Brian Federle ad132d43b0 CS-15518: Fix password field garbling on login screen.
From ASF master @ b10a619635
2012-08-06 14:34:48 -07:00
Brian Federle 31fbc7bf80 multiEdit: better handling for tag widget
Place tagging widget in a separate action and dialog class; it is
indicated by a 'tag' icon for better clarity.

-- This removes the requirement to specify a dummy 'edit' action on
multi-rules; instead, the separate tag action will appear automatically
as long as 'tags' is specified under the multiEdit's properties.
2012-08-06 14:14:30 -07:00
Jessica Wang ba5a72d73e cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - add Type to listView (System, VPC or Project). 2012-08-06 14:05:35 -07:00
Jessica Wang 9b1dff54d6 cloudstack 3.0 UI - site to site VPN - Edit mode - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 13:04:55 -07:00
Jessica Wang a8db3c98b2 cloudstack 3.0 UI - site to site VPN - listView - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 11:58:12 -07:00
Jessica Wang fa653ebe02 cloudstack 3.0 UI - site to site VPN - Create action - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 11:15:37 -07:00
Pranav Saxena edf747495b Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-08-06 16:00:12 +05:30
Pranav Saxena f62b96125f CS-15844:InterVlan - UI - Remove ACL Icon is not displayed properly for ACL Rules 2012-08-06 15:59:15 +05:30
Koushik Das 32c577ef7d Fix CS-15834
Added storage type in list disk offerings response
Reviewed-by: Abhi, Nitin
2012-08-06 15:24:01 +05:30
Brian Federle 7492f4f67f CS-15842: VPC gateway create form: Put 'VLAN' field at the top 2012-08-03 12:29:37 -07:00
Brian Federle 015078b499 CS-15841: Better add VPC gateway flow
- Because only 1 gateway can exist per VPC, remove 'add' button from
  list view and immediately show create form on click if no gateway is
  present; show list view on successful creation. If there is a
  gateway, go to list view immediately.

- Rename "Gateways" -> "Private Gateway"
2012-08-03 12:26:18 -07:00
Brian Federle 98e8303187 VPC details: Display 'restart required' field 2012-08-03 12:03:46 -07:00
Brian Federle 06a83e0c1c CS-15802: Add VPC filter to instance wizard network select
Adds drop-down select to filter networks by VPC.

-If no VPC is selected, only show non-VPC isolated networks

-If VPC is selected, show tiers from specified VPC. Note that only one
 tier/network can be checked at a time in this mode, and 'add network'
 text field is hidden
2012-08-03 11:21:48 -07:00
Brian Federle dc32b71de9 CS-15809: Show account/domain fields on VPC detail view 2012-08-03 11:12:31 -07:00
Brian Federle 24885b64d8 CS-15793: Fix static NAT select when in a VPC network 2012-08-03 11:03:56 -07:00
Pranav Saxena 44c067cd10 CS-15793:Enable static NAT for the public IP address screen is not showing VMs 2012-08-03 15:49:26 +05:30
Jessica Wang c5a849e9d2 cloudstack 3.0 UI - site to site VPN - VPN customer gateway - implement Edit mode. 2012-08-02 15:04:50 -07:00
Brian Federle eb93ebf6a1 CS-15798: Support editing of VPC resource limits 2012-08-02 14:22:20 -07:00
Jessica Wang 1f7b273dcc cloudstack 3.0 UI - site to site VPN - (1) implement Add VPN connection action in VPN connection listView. (2) remove Add VPN connection action from VPN customer gateway detailView. 2012-08-02 11:58:49 -07:00
Brian Federle bf77446f15 VPC: Update site-to-site VPN creation flow
If no VPN gateway exists for a VPC, then immediately show a dialog box
asking if user wants to add. If so, create VPN gateway and show list
view afterwards.

- This removes the 'add' button from the list view, moving the code up
  a level in the object to siteToSiteVPN.add

- In addition there is a new function, siteToSiteVPN.preCheck, which
  returns true/false. If true, then show list view immediately; if
  false, show dialog and go through creation process, showing list
  view afterwards.
2012-08-02 11:32:02 -07:00
Jessica Wang 0b1b8adf30 cloudstack 3.0 UI - site to site VPN - VPN customer gateway - add name field. 2012-08-02 11:13:42 -07:00
Pranav Saxena 160d71fe38 CS-15318:Do not allow user to stop a VM when it is in Starting state 2012-08-02 14:17:58 +05:30
Pranav Saxena 0f302f9e42 CS-15807 :No network label for OVM is available in UI 2012-08-02 13:48:13 +05:30
Jessica Wang db489d018a cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API even id parameter is passed. 2012-08-01 16:45:32 -07:00
Jessica Wang 32c295aa6c cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API. 2012-08-01 16:36:08 -07:00
Brian Federle 63b3b92176 listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:54:07 -07:00
Jessica Wang 541bb95d63 CS-15792: cloudstack 3.0 UI - VPC - pass domainid+account instead of listAll to all listNetworks API calls under VPC section. 2012-08-01 15:50:56 -07:00
Pranav Saxena 6cc7cda9ce CS:15792- S2S VPN : A tier created in VPC from a domain-admin account does not show up in the VPC configuration page. Instead, it is seen in the guest networks page 2012-08-02 02:59:30 +05:30
Brian Federle 505a9ad982 CS-15740: Show 'please select a tier' instead of blank default option
For VPC enable static NAT dialog, a tier always needs to be selected
-- this is now indicated in the default option select.
2012-08-01 14:28:07 -07:00
Brian Federle f6cc891831 cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 13:24:51 -07:00
Jessica Wang ea9fe42c50 cloudstack 3.0 UI - autoscale - edit mode - update autoscaleVmGroup. 2012-08-01 12:18:29 -07:00
Jessica Wang 301a3be8ec cloudstack 3.0 UI - autoscale - edit mode - disable autoscaleVmGroup before calling other updateXXXXXXX APIs and enable it back afterwards. 2012-08-01 10:19:50 -07:00
Jessica Wang 9d23cd672e cloudstack 3.0 UI - autoscale - edit mode - API calls end after updating VM profile. 2012-08-01 09:39:44 -07:00
Pranav Saxena e51076af3f CS-14907:download volume option should be present only in READY state since it has moved to primary storage 2012-08-01 10:54:48 +05:30
Jessica Wang 1dc3a3910c cloudstack 3.0 UI - autoscale - add validation that LB name, public port, private port field have to be filled before creating autoscale. 2012-07-31 18:02:48 -07:00
Jessica Wang cedf4f4c47 cloudstack 3.0 UI - autoscale - service offering, disk offering, security group can not be changed after autosccale is created. So, disable the 3 dropdowns in edit mode. 2012-07-31 17:45:22 -07:00
Jessica Wang cee948681f cloudstack 3.0 UI - autoscale is not supported in VPC. So, hide autoscale button in LB listing in IP Addresses under VPC. 2012-07-31 16:45:22 -07:00
Jessica Wang ced94b532b cloudstack 3.0 UI - autoscale - edit mode - pass id parameter to updateAutoScaleVmProfile API. 2012-07-31 16:02:18 -07:00
Jessica Wang efc16fd99d cloudstack 3.0 UI - autoscale - edit mode - fix a bug that counter column in Scale Up Policy/Scale Down Policy was shown as UUID instead of name. 2012-07-31 15:21:18 -07:00
Jessica Wang d218641559 cloudstack 3.0 UI - autoscale - rename add action to apply action since the action is used by both creation mode and edit mode now. 2012-07-31 15:03:30 -07:00
Jessica Wang 0320fc1b65 cloudstack 3.0 UI - autoscale - implement edit mode. 2012-07-31 14:21:45 -07:00
Brian Federle 85ec574348 CS-15761: Show type of router in list view
Adds a 'type' column to virtual router list views, which is labeled
either 'VPC,' 'Project,' or 'System' [default router].

--This also fixes an issue where project routers were never listed
2012-07-31 14:20:10 -07:00
Brian Federle 0793e07ada CS-15760
Don't show Configuration tab for VPC static NAT
2012-07-31 13:44:23 -07:00
Sanjay Tripathi 376e3fd2b9 CS-15775:Creation of Auto scale configuration through UI fails while creating autoscale profile due to args.context.ipAddresses is undefined 2012-07-31 23:34:13 +05:30
Sanjay Tripathi b448412148 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-31 21:53:26 +05:30
Sanjay Tripathi a17e0117e5 CS-15775:Creation of Auto scale configuration through UI fails while creating autoscale profile due to args.context.ipAddresses is undefined 2012-07-31 21:51:31 +05:30
Pranav Saxena c1b746a4f1 CS-15770:Dedicated option should not be displayed when Basic EIP/ELB is chosen as Network Offering 2012-07-31 16:38:33 +05:30
Pranav Saxena a8c6855229 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-31 16:22:32 +05:30
Pranav Saxena 2785e4e7e8 CS-15724:S2S vpn- Customer vpn gateway page does not display all the configured parameters 2012-07-31 16:21:09 +05:30
Sanjay Tripathi d253d2e84d CS-15698: No option to update customer vpn gateway details through UI 2012-07-31 14:22:43 +05:30
Sanjay Tripathi 1c1ecff0f0 CS-15698: No option to update customer vpn gateway details through UI 2012-07-31 13:28:35 +05:30
Jessica Wang fcb1a817a5 cloudstack 3.0 UI - autoscale - set disk offering dropdown, security group dropdown when popping up autoscale dialog from an exisitng LB rule. 2012-07-30 20:03:20 -07:00
Jessica Wang 849ac1be3f cloudstack 3.0 UI - autoscale - set user dropdown when popping up autoscale dialog from an exisitng LB rule. 2012-07-30 18:49:23 -07:00
Jessica Wang 2bbbb60d8f cloudstack 3.0 UI - autoscale - populate autoscale dialog if it opens from an existing LB rule. 2012-07-30 18:01:38 -07:00
Brian Federle 441600f409 multiEdit widget: Support field pre-filter
If adding a 'fieldPreFilter' option to a multiEdit, the returned array
specifies field IDs to be hidden.
2012-07-30 16:08:41 -07:00
Brian Federle 33d0e943eb CS-15620
Fix edit instance 'displayname' parameter not being sent over, even if
content was updated.
2012-07-30 15:16:43 -07:00
Brian Federle 431b8fe708 CS-15753:
Re-enable 'view all ip addresses' link on tier details.

--this was disabled previously due to a bug in the VPC widget, which
  is also fixed with this commit.
2012-07-30 15:10:48 -07:00
Brian Federle c10850e434 Add license header to tagger widget 2012-07-30 14:32:14 -07:00
Brian Federle 587189e302 CS-15726: Use custom validation for tagger widget
Show a generic dialog box for tagger validation, instead of using
jQuery validate

--it conflicted with the detail view's edit fields and prevented
submission unless the key and value fields were filled out.
2012-07-30 14:29:55 -07:00
Pranav Saxena 07344c7643 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-31 02:06:04 +05:30
Pranav Saxena 2388bd8f82 CS-15044:API changes to provide UI option to view the list of instances which are part of the guestnetwork is not availble 2012-07-31 02:02:17 +05:30
Brian Federle 665829703f Clean up indentation/whitespace for autoscaler UI code 2012-07-30 11:08:04 -07:00
Brian Federle c11aab3c7e 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-07-30 11:08:04 -07:00
Pranav Saxena 691dc9066f Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-30 17:54:08 +05:30
Pranav Saxena ac3dca4f6a CS-15746: S2S VPN: vpn connection details page does not show the vpn connection state 2012-07-30 17:51:31 +05:30
Koushik Das bb17d09e01 Support for local data disk (part 2)
- Zone level config to enable/disable local storage usage for service and disk offerings.
- Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
- Deploy VM command validates service and disk offerings based on local storage config.
- Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.

Reviewed-by: Abhi, Nitin
2012-07-30 13:59:14 +05:30
Pranav Saxena 05f4690807 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-30 10:34:34 +05:30
Pranav Saxena 8ac846dcb3 CS-15720:S2S VPN: Adding vpn conenction is on customer gateway rather than in vpn connection page 2012-07-30 10:31:51 +05:30
Sanjay Tripathi 4afd85a930 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-27 17:52:29 +05:30
Sanjay Tripathi a2e71a1add CS-15700: Not able to view Guest Network unable to view or add guest IPs from UI 2012-07-27 17:46:29 +05:30
Pranav Saxena a37e2d461c CS-15720 :S2S VPN Front end development: Adding vpn connection is on customer gateway rather than in vpn connection page 2012-07-27 17:44:01 +05:30
Brian Federle 5bde60743b VPC UI: IP address configuration fix
After acquiring a new IP, immeditaly clicking on its configuration tab
will show an enabled firewall, which is incorrect. This fix always
disables the firewall if in a VPC network.
2012-07-26 16:13:35 -07:00
Jessica Wang f9edca800c CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-07-26 16:01:46 -07:00
Brian Federle f8bfead038 Cleanup formatting/whitespace 2012-07-26 15:38:56 -07:00
Brian Federle 099af7c283 Disable listView filters for PF/LB/Static NAT 2012-07-26 15:36:53 -07:00
Brian Federle 3d8f17119e Networks section: Only show VPC dropdown for Advanced zones 2012-07-26 15:21:52 -07:00
Brian Federle 3d2d1a2efc VPC tier UI: Fix loading state for other actions
Fix actions other than the add VM action, whose loading state was
never removed
2012-07-26 14:41:53 -07:00
Brian Federle dafbdcb838 VPC UI: Better launch VM loading state for tiers
When launching a VM via the 'add VM' button on a VPC tier, show
loading icon to the side of the VM count, so that the tier area isn't
blocked, allowing the user to add more VMs or do other actions to the
tier.
2012-07-26 14:32:10 -07:00
Koushik Das 266b8e5ee8 Support for local data disk (part 1)
Following changes are made:
- Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
- Create/delete of data volume on local storage
- Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
- Migration of VM instance is not supported if it uses local root or data volumes.
- Migrate is not supported for local volumes.

Reviewed-by: Abhi
2012-07-25 15:16:42 +05:30
Brian Federle d202a491b6 Add tags to FW rule multi-edit 2012-07-24 15:21:54 -07:00
Pranav Saxena 17268517bb Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-25 03:12:28 +05:30
Pranav Saxena 109490c406 TAGS feature implementation throughout CloudStack UI 2012-07-25 03:11:30 +05:30
Brian Federle c30eb2fd75 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.
2012-07-24 14:02:48 -07:00
Brian Federle eb68b40e7f Add tag UI support for VPC resource types:
-        Vpc,
-        NetworkACL,
-        StaticRoute
2012-07-24 13:58:07 -07:00
Brian Federle c67ca89abc Fix tag widget being appended to all dialogs 2012-07-24 13:58:07 -07:00
Brian Federle 7b05172473 Fix tag notification messages 2012-07-24 12:18:41 -07:00
Brian Federle c9b8d3a080 Add tags to edit PF dialog 2012-07-24 12:12:09 -07:00
Brian Federle fe3454bb61 Add tag edit to LB rule 2012-07-24 11:50:33 -07:00
Brian Federle cca7a2010c multiEdit: Pass context to tagger widget 2012-07-24 11:50:33 -07:00
Brian Federle 7ca481f4ea Always make tags editable 2012-07-24 11:21:58 -07:00
Brian Federle e2750d8c76 Pass projectId to listTags, when viewing a project resource 2012-07-24 11:16:49 -07:00
bfederle 622206bf44 Implement tags for project detail view 2012-07-23 15:05:00 -07:00
bfederle dc93651547 UI: Add tag API call generator
Adds a helper to return an object to pass to the 'tagger' widget,
including all required data and action functions.

Syntax is as follows, just include anywhere were the tags widget is
supported:

tags: cloudStack.api.tags({
  resourceType: 'Project',
  contextId: 'projects'
})
2012-07-23 15:04:43 -07:00
bfederle 9d3c694601 Tag UI: Make sure data is passed to remove action 2012-07-23 15:03:03 -07:00
bfederle d23a829c2e Fix tags widget overlap with long detail views 2012-07-23 13:59:20 -07:00
bfederle ebabb15105 Implement tag UI widget
Create UI for handling new tag API. This currently supports the detail view and multi-edit

To enable tags UI, add a 'tags' object to each detailView/multiEdit configuration:

tabs: {
...
details: {
...

tags: {
  actions: {
    add: function(args) {
      setTimeout(function() {
        args.response.success({
          notification: {
            desc: 'Add tags for instance',
            poll: testData.notifications.testPoll
          }
        });
      }, 500);
    },

    remove: function(args) {
      args.response.success({
        notification: {
          desc: 'Remove tags for instance',
          poll: testData.notifications.testPoll
        }
      });
    }
  },
  dataProvider: function(args) {
    args.response.success({
      data: [
        {
          id: '1',
          key: 'user',
          value: 'brian'
        },
        {
          id: '2',
          key: 'region',
          value: 'usa'
        }
      ]
    });
  }
}

...
2012-07-23 13:59:20 -07:00
Jessica Wang 3133f8bf9b cloudstack 3.0 UI - VPN Customer Gateway - Create VPN Connection action - if selected VPC does not have a VPN gateway, action won't proceed. 2012-07-20 12:59:43 -07:00
Jessica Wang 9dfe6eaf53 cloudstack 3.0 UI - VPN Customer Gateway - detailView - add new action "Create VPN Connection". 2012-07-20 11:05:44 -07:00
Jessica Wang 8f11a882e0 cloudstack 3.0 UI - site to site VPN - VPN Gateway - implement Add VPN Gateway action. 2012-07-19 17:40:58 -07:00
Jessica Wang 1fc67e4990 cloudstack 3.0 UI - site to site VPN - VPN Gateway - implement Delete VPN Gateway action. 2012-07-19 16:55:44 -07:00
Jessica Wang 56bbb6c5ae cloudstack 3.0 UI - VPN Customer Gateway - implement Delete VPN Customer Gateway action. 2012-07-19 16:45:35 -07:00
Jessica Wang 343a587cfd cloudstack 3.0 UI - VPN Customer Gateway - implement Add VPN Customer Gateway action. 2012-07-19 16:37:05 -07:00
Jessica Wang b08e3a0fc4 cloudstack 3.0 UI - site to site VPN - VPN connection - when delete action is clicked, only call deleteVpnConnection API (no calling deleteVpnCustomerGateway any more). 2012-07-19 16:20:58 -07:00
Jessica Wang 4114b1cce7 cloudstack 3.0 UI - network page - add new section "VPN customer gateway". 2012-07-19 16:09:34 -07:00
Jessica Wang 7825e82260 cloudstack 3.0 UI - VPC - site to site VPN - add new section "Customer Gateway". 2012-07-19 15:36:42 -07:00
Brian Federle ce536daffa CS-15619: Concatenate long tier names, to prevent overlap 2012-07-19 14:31:23 -07:00
Jessica Wang bcaa706197 cloudstack 3.0 UI - call getExtaPropertiesForIpObj() to get extra properties for IP Address object when every time it's refreshed by listPublicIpAddresses API call. 2012-07-19 11:21:04 -07:00
Jessica Wang de4d5cdc94 cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default. 2012-07-18 11:40:09 -07:00
Jessica Wang a4f1ecff64 cloudstack 3.0 UI - Guest Network section - detailView - add VPC ID field. 2012-07-18 11:33:41 -07:00
bfederle c69da45217 UI: Implement tagging widget
Implement a special form on input text field, for handling tag-based
fields. This will tags as a set of list items, which can be removed
and added to. This is for any comma-delimited field.

Currently, this is only supported on detail view widgets, by adding
'isTag: true' as a new attribute for any tag field. Tags are modified
when clicking the 'edit' action.
2012-07-18 11:33:12 -07:00
Jessica Wang ba7d0ba4f9 cloudstack 3.0 UI - "listPublicIpAddresses&id=N" API has been fixed to return a record. Here is related UI change. 2012-07-18 11:13:13 -07:00
Jessica Wang 3c58197de2 cloudstack 3.0 UI - VPC - add LB rule - fix a JS error "args.context.networks is undefined" when configure stickiness. 2012-07-18 10:40:40 -07:00
Jessica Wang 86fee33b41 cloudstack 3.0 UI - bypass an error caused by "listPublicIpAddresses&id=N" API until it is fixed to correctly return a record. 2012-07-17 16:40:06 -07:00
Jessica Wang e1e7780efc cloudstack 3.0 UI - multiEdit widget - make headerFields shown as default for now until "listPublicIpAddresses&id=N" API is fixed to return an object. 2012-07-17 15:51:51 -07:00
Jessica Wang 140768c82b cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default. 2012-07-17 15:42:01 -07:00