Commit Graph

2635 Commits

Author SHA1 Message Date
Jessica Wang 61545ca965 cloudstack 3.0 UI - physical network page - Network Service Providers - Virtual Router - get supported services from API call instead of hard-coding. 2012-04-10 11:48:32 -07:00
Jessica Wang 770ea00d2b cloudstack 3.0 UI - physical network page - Network Service Providers - Virtual Router - implement Refresh button. 2012-04-09 16:56:48 -07:00
Jessica Wang c56925451d cloudstack 3.0 UI - physical network page - guest traffic type - networks tab (guest networks) - implement Refresh button. 2012-04-09 16:17:16 -07:00
Jessica Wang 4164a6f165 cloudstack 3.0 UI - physical network page - guest traffic type - implement Refresh button. 2012-04-09 15:33:19 -07:00
Jessica Wang ba7237c6cd cloudstack 3.0 UI - System VM page - implement Refresh button. 2012-04-09 15:04:30 -07:00
Brian Federle 454982dec4 Add 'view all' shortcuts for common zone resources
On the physical resources dashboard, add a button to view all
resources for pods, clusters, and hosts. This will compile a
list view containing the resources across all zones.

In order to be able to add resources when in this zone-inspecific mode,
a zone drop-down had to be added to the create forms for
pods, clusters, and hosts.
2012-04-09 13:31:59 -07:00
Jessica Wang 82cbd46d99 bug 14539: cloudstack 3.0 UI - system VM page - add "change service offering" action which shows when systemVM state is Stopped. 2012-04-06 15:48:09 -07:00
Jessica Wang b7644e2895 cloudstack 3.0 UI - Add Network Offering dialog - compute offering (service offering) dropdown - populate only service offerings for domain router. 2012-04-06 10:22:23 -07:00
Brian Federle 60c1fccd75 UI: detail view
Support dynamically updating context on detail view load, to support cases
where certain context items are required by other elements loaded, but may not
be present in the browser history.
2012-04-05 15:45:16 -07:00
Brian Federle f38f7a9a4d Projects UI: fix dialog
Remove closeOnEscape from $(':ui-dialog') option calls, as they cause
JS errors breaking the projects UI. closeOnEscape is already defined
when the dialog is initialized, so these don't need to be defined
again.
2012-04-05 13:40:11 -07:00
Pranav Saxena 724835e75c Bug : 13582 UI freezes because of pressing Escape key 2012-04-05 13:40:11 -07:00
Brian Federle 22221ece16 Projects UI
Fix issue where removing project didn't remove detail view
2012-04-05 13:25:45 -07:00
Brian Federle efb02c8687 bug 14411: Add 'None' option for no host OS preference 2012-04-05 11:54:05 -07:00
Jessica Wang 8d3aa61a6b cloudstack 3.0 UI - system service offering page - (1) add System VM Type dropdown in Add Service Offering dialog. (2) add System VM Type in detailView. 2012-04-04 16:35:46 -07:00
Jessica Wang 898b6fdc80 bug 14591: cloudstack 3.0 UI - remove Change Service option from router page. 2012-04-04 15:04:32 -07:00
Brian Federle 03e206edfc bug 14603
-Disable display of public traffic icon for basic zone, non-EIP/ELB

-Show public traffic icon as 'required' for basic zone in EIP/ELB
2012-04-04 14:53:07 -07:00
Brian Federle d48cb95d94 Cleanup whitespace + indentation for UI widgets 2012-04-03 15:48:49 -07:00
Brian Federle d2128d7a1c Use newer format for addPanel for nav items 2012-04-03 15:48:23 -07:00
Brian Federle 686d899bb7 Only show invitations if projects UI is initialized 2012-04-03 15:47:52 -07:00
Pranav Saxena b91f8e1b02 Bug 12343: Multiple Clicks on View More buttons adding extra tab in the bread crum bar
status 12343: resolved fixed
reviewed-by: brian
2012-04-03 15:30:28 -07:00
Brian Federle b5d0d41f83 Detail view UI fix
Fix case where detail view data does not update, after async action
2012-04-03 14:51:58 -07:00
Jessica Wang 4b4a1531e7 cloudstack 3.0 UI - global settings page - fix a bug that "value" column turned blank when Save button is being clicked. 2012-04-03 14:13:15 -07:00
Brian Federle f45314746c bug 14569
Always show 'change service' action, even when VM is running. When VM
is running, show a popup indicating user to stop VM, and do not
perform action.

status 14569: resolved fixed
2012-04-03 11:45:38 -07:00
frank 72d284de7d Switch to Apache license 2012-04-03 04:54:14 -07:00
Jessica Wang 066678ebe6 bug 14585: cloudstack 3.0 UI - systemVM page - after destroy action completes, close detailView and remove it from listView. 2012-04-02 17:03:28 -07:00
Jessica Wang 04e030b86e bug 14586: cloudstack 3.0 UI - fix a bug that Download Template action didn't pop up a dialog box showing download URL. 2012-04-02 16:23:50 -07:00
Jessica Wang 92ec10e35b cloudstack 3.0 UI - domain page - fix a JS error that appears after a new domain is created - "context[$detailView.data('view-args').section] is undefined" 2012-03-30 17:25:21 -07:00
Jessica Wang 4c7871cc58 bug 12421: cloudstack 3.0 UI - infrastructure page - cluster section - add an extra property ("state" property) to cluster object from API call. "state" property is not returned by API call. "state" property's value is determined by "managestate" property and "allocation" property returned by API call. 2012-03-30 16:15:06 -07:00
Jessica Wang e629744fc0 bug 12421: cloudstack 3.0 UI - detailView widget - fix a bug that updated data returned by API call got lost, so failed to update detailView with updated data. 2012-03-30 15:07:47 -07:00
Brian Federle a3e945f93e Add missing page + pageSize params to network provider list views 2012-03-30 15:04:48 -07:00
Brian Federle c15f58624e bug 14556: Add missing page + pageSize params to PF/LB list view 2012-03-30 14:54:05 -07:00
bfederle 8b9a8e36c1 Instance wizard: show loading overlay on launch
When clicking the launch VM button, immediately show a loading overlay,
preventing multple clicks which can accidentally launch multiple VMs.
2012-03-29 13:51:12 -07:00
Jessica Wang 07466f8c53 bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - configuration - clicking Firewall - show Firewall multiEdit screen instead of NAT Port Range screen because createIpForwardingRule/deleteIpForwardingRule/listIpForwardingRules API are obsolete in cloudstack 3.0 2012-03-29 11:52:24 -07:00
Jessica Wang 4d014786b6 Revert - bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - NAT Port Range - protocol dropdown - add ICMP option 2012-03-28 20:24:52 -07:00
Jessica Wang aff92112c2 bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - NAT Port Range - protocol dropdown - add ICMP option 2012-03-28 19:31:51 -07:00
Jessica Wang 4a742c73a7 bug 14525: cloudstack 3.0 UI - Instance page - attach ISO action - populate ISO dropdown by 3 listISOs API call with 3 different isofilter parameter. 2012-03-28 15:42:29 -07:00
Brian Federle 5e0f81bdc6 bug 14519
Show separate message for basic zone setup physical network UI

Conflicts:

	client/WEB-INF/classes/resources/messages.properties
2012-03-28 15:06:16 -07:00
Jessica Wang dad7ffc642 bug 14514: cloudstack 3.0 UI - volume page - show download volume option when a volume's attached VM is stopped or when a volume is detached from a VM. 2012-03-28 14:24:18 -07:00
Jessica Wang 98bd43520a bug 13313: cloudstack 3.0 UI - Add Zone wizard - Skip addHost step when cluster dropdown is selected as VMWare in AddZone step. 2012-03-28 13:30:14 -07:00
Pranav Saxena 8d9f24cdaa Bug 14476: ESC causes UI to freeze 2012-03-28 12:42:27 -07:00
Brian Federle a35eafa3f6 bug 14507
Fix typo in title field for change password dialog
2012-03-28 10:50:42 -07:00
Brian Federle 1445acd7e7 bug 14098
Always allow edit guest network action, for both basic and advanced
zones.
2012-03-28 10:36:55 -07:00
bfederle b208abd9ff bug 14057
Rename 'label' -> 'traffic label' in configure traffic type dialog.
2012-03-28 10:25:26 -07:00
Jessica Wang 68ce66ef78 bug 14482: IP Address page - remove IP action - after action is finished, remove the IP from listView and close detailView. 2012-03-26 15:05:56 -07:00
Jessica Wang 90b452f9c1 cloudstack 3.0 UI - infrastructure - service providers - SRX list view - remove a wrong field, add another 2 fields. 2012-03-26 14:52:01 -07:00
Jessica Wang 952b803943 cloudstack 3.0 UI - infrastructure - service providers - security group provider detail view - correct view all from view security groups to view rules. 2012-03-26 14:10:07 -07:00
Jessica Wang f77430f160 cloudstack 3.0 UI - infrastructure - service provider detail view - correct view all label from view provider to view devices. 2012-03-26 12:46:50 -07:00
Jessica Wang b19a1b5052 cloudstack 3.0 UI - service provider detail view - show service provider info instead of physical network info. [reviewed-by: Brian] 2012-03-26 11:57:35 -07:00
Jessica Wang 58546e9a06 bug 14488 - multiEdit widget - itemData[0] does not always have data. Only retrieve data when itemData[0] is not an empty object. [reviewed-by: Brian] 2012-03-26 10:54:55 -07:00
Sanjay Tripathi fbf77f5f8f Bug 14067: Global config - clicking on Edit button twice gives javaScript error args.callback is not a function. 2012-03-26 13:24:49 +05:30
Jessica Wang 00c48f985b bug 14481: cloudstack 3.0 UI - instance page - after a regular user destroys a VM, listVirtualMachines API will no longer returns this destroyed VM to the regular user. So, add additional code in dataProvider() to handle this case. 2012-03-23 15:58:15 -07:00
Brian Federle 25b9807945 bug 14191
Correctly filter domain drop-down on add account dialog if accessed
via a specific domain.
2012-03-23 14:50:11 -07:00
Jessica Wang 6467dc486b bug 14474: cloudstack 3.0 UI - network page - configuration - Load Balancer, Port Forwarding - "instancename" is not returned by API for normal user and domain admin. Should use "displayname" returned by API instead. 2012-03-23 12:15:34 -07:00
Jessica Wang 590f2791f5 remove obsolete code since we don't display the individual providers on the system chart anymore. 2012-03-22 16:35:42 -07:00
Jessica Wang 03bb51014a bug 14451: cloudstack 3.0 UI - volume page - remove the "Migrate Volume" option for regular user and domain admin. [reviewed-by: Brian] 2012-03-22 10:31:44 -07:00
Jessica Wang f486cef0d6 cloudstack 3.0 UI - network page - detail view - pass listAll=true for now until API is fixed. 2012-03-21 16:31:01 -07:00
Jessica Wang f29bb12486 bug 14202: cloudstack 3.0 UI - DeployVM wizard - select ISO step - only populate ISOs that are bootable. 2012-03-21 14:13:06 -07:00
Brian Federle 7a97c23bec bug 14240
Add VM details to name in PF/LB rule on click.

Note that the details panel now maximizes, to prevent additional panels
from accumulating by the user trying to click on multiple VMs when the
detail pane is present.

status 14240: resolved fixed
2012-03-21 12:15:02 -07:00
Brian Federle 5473eef6b4 bug 14380: Add cancel button to detail view edit action
status 14380: resolved fixed
2012-03-21 11:44:20 -07:00
Jessica Wang 02bbcf0687 cloudstack 3.0 UI - listView - fix a bug that table row was not removed from listView after Remove action on listView completed. 2012-03-21 11:19:16 -07:00
Brian Federle d54d16683c bug 14375
Use 'Management IP Addresses' in place of 'Private IP Addresses' for
label on system dashboards

status 14375: resolved fixed
2012-03-21 11:16:03 -07:00
Brian Federle 7367ad785e Fix multi-edit when item data is not present 2012-03-21 11:04:14 -07:00
Brian Federle 643f54c127 bug 14351: Show VM name in PF, instead of UUID
status 14351: resolved fixed
2012-03-21 10:27:29 -07:00
Brian Federle 49f0960de1 Remove trailing comma 2012-03-21 09:56:33 -07:00
Brian Federle 0d3b8191b4 UI: Better load balancer / multi-edit item naming
Currently, the items listed under the load balancer always use .name as
the field to display for the VM name.

Since 'instancename' is now used for the user-friendly name field,
_itemName metadata attribute can be specified in the rule's data
provider to tell which field should be rendered as the name field in the
list.
2012-03-21 09:56:33 -07:00
Brian Federle 52fcc20b59 Fix admin not being able to view users' network details 2012-03-21 09:56:33 -07:00
Brian Federle 4efb03114b bug 14231: Per-account public IP range support
Add UI support for associating IP ranges with specific account + domain;
this is accessible by going to the system network graph->public->IP
range edit, where clicking on 'Add user' button opens a dialog to
specify an account and domain.

Note that right now editing of existing IP ranges is not supported, so
in order to associate a range with another account, the IP range needs
to be dropped and re-created with the new account configuration.

status 14231: resolved fixed
2012-03-21 09:33:11 -07:00
Brian Federle 207ef1116a Error handling for multiEdit remove action 2012-03-21 09:29:01 -07:00
bfederle 2a653782db bug 14352: Fix LB instance naming
status 14352: resolved fixed
2012-03-20 16:29:16 -07:00
Jessica Wang 10f8b222ae bug 14425: cloudstack 3.0 UI - infrastructure page - create guest network - not pass subDomainAccess to createNetwork API when scope is Account. 2012-03-20 16:15:47 -07:00
Jessica Wang dbfcae550d bug 14422: infrastructure page - add guest network - Pass physical network ID to createNetwork API only when network offering's guestiptype is Shared. Not pass it if it's Isolated. 2012-03-20 16:03:14 -07:00
Jessica Wang 9074be2b3d cloudstack 3.0 UI - listView widget - remove action - remove the corresponding row after action completes. 2012-03-20 15:14:36 -07:00
Jessica Wang 3eaf4d4fb7 cloudstack 3.0 UI - infrastructure page - zone detail - rename "network" tab to "physical network" tab. 2012-03-20 14:38:35 -07:00
Jessica Wang 2e8705578a bug 14056: cloudstack 3.0 UI - infrastructure page - zone detail - physical network listView - provide delete action in listView. 2012-03-20 14:31:16 -07:00
bfederle 018d24c66b Always render physical networks as list view first 2012-03-20 13:58:10 -07:00
Jessica Wang 9ec3065e89 Revert "bug 14376: cloudstack 3.0 UI - Add Network Offering - compute offering(service offering) dropdown - only populate service offerings whose systemvmtype is domainrouter."
This reverts commit 076617fbff.
2012-03-20 13:39:13 -07:00
bfederle cae7caf468 UI: Zone wizard update
-Allow for editing of traffic labels within the zone wizard; visible
 by going to the create physical network(s) step and clicking the
 'edit' button under each traffic type.

-Make hypervisor selection part of the create zone step, instead of
 the add cluster step -- this is to allow the physical network UI to
 have the selected hypervisor for the edit traffic labels dialog.

-Show drag-and-drop UI for basic zone setup, so that user can edit
 traffic labels for a basic zone. Note that user can only have one
 physical network here.

-Allow creation of storage traffic in a basic zone configuration, by
 optionally dragging storage traffic type icon to first physical
 network

status 14057: resolved fixed
status 14098: resolved fixed
status 14101: resolved fixed
status 14132: resolved fixed
2012-03-20 13:33:23 -07:00
Jessica Wang 121db068dd cloudstack 3.0 UI - code optimization - seperate code of Enabling Security Group provider code, Adding Netscaler provider, Creating guest network to different functions (to avoid repeating code and to give individual message for each action) 2012-03-20 11:54:08 -07:00
bfederle 37a7c897bd Prevent dashboard from breaking if item value is null 2012-03-20 08:23:37 -07:00
Jessica Wang 076617fbff bug 14376: cloudstack 3.0 UI - Add Network Offering - compute offering(service offering) dropdown - only populate service offerings whose systemvmtype is domainrouter. 2012-03-19 16:30:24 -07:00
Jessica Wang f9f0c45030 bug 14377: cloudstack 3.0 UI - login - if login fails due to invalid username and password, show a generic error message instead of API returned error message. 2012-03-19 16:03:42 -07:00
Jessica Wang 4d3f81e6fb bug 14325: cloudstack 3.0 UI - add zone wizard - basic zone - cover the case that selected network offering has Netscaler provider, but no security group service. 2012-03-19 14:44:19 -07:00
Jessica Wang 8895c77ea7 bug 14325: cloudstack 3.0 UI - add zone wizard - basic zone - show netscaler tab if selected network offering's provider is Netscaler. Hide netscaler tab otherwise. 2012-03-19 12:03:52 -07:00
Jessica Wang ad9da6f3cb bug 14325: cloudstack 3.0 UI - add zone wizard - basic zone - retrieve provider of selected network offering 2012-03-19 10:47:40 -07:00
Jessica Wang f9e50307ad bug 14332: cloudstack 3.0 UI - Host page - make "Remove Host" action available when host state is Down, Alert, Disconnected or when resource state is Maintenance, Disabled. 2012-03-16 15:57:28 -07:00
Jessica Wang f21263364f cloudstack 3.0 UI - XSS - global setting page - fix a bug that notification got hacked after saving a value that has script tag (XSS attack). 2012-03-16 13:11:44 -07:00
Jessica Wang 7283591690 cloudstack 3.0 UI - XSS - listView - editable field - fix a bug that editable field sanitized value twice. 2012-03-16 11:52:58 -07:00
Jessica Wang 9003f6702b cloudStack 3.0 UI - validation - apply new method "disallowSpecialCharacters" to all textfields in dialog widget. 2012-03-15 15:30:21 -07:00
Jessica Wang 9d1d77ea77 cloudStack 3.0 UI - validation - add new method "disallowSpecialCharacters" which will disallow < and > (to prevent XSS attack) - apply this method in Add Domain dialog. 2012-03-15 14:46:05 -07:00
bfederle 2227f425cd Sanitize input for domain section/tree view 2012-03-15 10:30:39 -07:00
Jessica Wang 17bada6a62 cloudstack 3.0 UI - XSS - detailView in Edit mode - fix it to show original value instead of HTML-encoding value. 2012-03-14 16:44:21 -07:00
Jessica Wang 5d96f58814 cloudstack 3.0 UI - XSS - listView - fix it to show correct value. 2012-03-14 16:10:15 -07:00
bfederle 4861fa8011 Sanitize input for multi-edit, notification widgets 2012-03-14 16:07:57 -07:00
bfederle 0450a6c14c Add missing resource, max networks, to project resource tab 2012-03-14 16:07:15 -07:00
bfederle 8e9f418d85 Sanitize projects UI elements -- project selector, etc. 2012-03-14 14:59:41 -07:00
Jessica Wang d0b306ce05 cloudstack 3.0 UI - fix a JS error "str.replace is undefined". 2012-03-14 14:35:48 -07:00
Jessica Wang 3475d75486 cloudstack 3.0 UI - replace old sanitizeXSS() with new cloudStack.sanitize(). 2012-03-14 14:02:15 -07:00
bfederle 91dab6b9b1 Sanitize createForm input 2012-03-14 13:33:26 -07:00
bfederle 9e4bb2d0ac Sanitize detail view input rendering 2012-03-14 13:33:26 -07:00
bfederle 05a39953f4 Sanitize list view input rendering 2012-03-14 13:33:25 -07:00