2593 Commits

Author SHA1 Message Date
Jessica Wang
54b89c78d8 bug 14202: cloudstack 3.0 UI - DeployVM wizard - select ISO step - only populate ISOs that are bootable. 2012-03-21 14:13:51 -07:00
Brian Federle
76528f37f1 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.
2012-03-21 12:13:19 -07:00
Brian Federle
f82aa63815 bug 14380: Add cancel button to detail view edit action 2012-03-21 11:44:30 -07:00
Jessica Wang
995a338e3c 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:20:02 -07:00
Brian Federle
0db22e44e8 bug 14375
Use 'Management IP Addresses' in place of 'Private IP Addresses' for
label on system dashboards
2012-03-21 11:15:03 -07:00
Brian Federle
07f6c0b337 Fix multi-edit when item data is not present 2012-03-21 11:03:50 -07:00
Brian Federle
6ef16cb79f bug 14351: Show VM name in PF, instead of UUID 2012-03-21 10:26:48 -07:00
Brian Federle
a184660028 Remove trailing comma 2012-03-21 09:56:40 -07:00
Brian Federle
a1099e34c2 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:40 -07:00
Brian Federle
5333ee1549 Fix admin not being able to view users' network details 2012-03-21 09:56:40 -07:00
Brian Federle
e682d9a622 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.
2012-03-21 09:29:31 -07:00
Brian Federle
f9a7619ae5 Error handling for multiEdit remove action 2012-03-21 09:28:50 -07:00
bfederle
1a39682cd5 Fix case where LB instance list is empty 2012-03-20 16:29:34 -07:00
bfederle
b6b4c893f8 bug 14352
Show internal VM names instead of IDs for LB rule
2012-03-20 16:29:33 -07:00
Jessica Wang
7cb0351eaa 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:16:42 -07:00
Jessica Wang
ce8c58fda4 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:04:06 -07:00
Jessica Wang
9e352d5928 cloudstack 3.0 UI - listView widget - remove action - remove the corresponding row after action completes. 2012-03-20 15:15:27 -07:00
Jessica Wang
257997398e cloudstack 3.0 UI - infrastructure page - zone detail - rename "network" tab to "physical network" tab. 2012-03-20 14:39:27 -07:00
Jessica Wang
3d327c03be bug 14056: cloudstack 3.0 UI - infrastructure page - zone detail - physical network listView - provide delete action in listView. 2012-03-20 14:31:56 -07:00
bfederle
4a9155df1b Always render physical networks as list view first 2012-03-20 13:58:23 -07:00
Jessica Wang
464967294b 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 076617fbffb8160ad3f1d73885a6c809220b9aa8.
2012-03-20 13:41:01 -07:00
bfederle
c23f1b8882 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
2012-03-20 13:27:28 -07:00
Jessica Wang
59def829ca 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:55:09 -07:00
bfederle
8ec783866b Prevent dashboard from breaking if item value is null 2012-03-20 08:23:27 -07:00
Jessica Wang
a4c332766d 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:31:10 -07:00
Jessica Wang
20acc4d315 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:04:50 -07:00
Jessica Wang
794b0516a3 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:45:22 -07:00
Jessica Wang
04f54ed29e 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:05:08 -07:00
Jessica Wang
b867e3fe62 bug 14325: cloudstack 3.0 UI - add zone wizard - basic zone - retrieve provider of selected network offering 2012-03-19 10:48:54 -07:00
Jessica Wang
5079cb6a06 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:58:15 -07:00
Jessica Wang
b8dae7c57c 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:12:23 -07:00
Jessica Wang
31274387fc cloudstack 3.0 UI - XSS - listView - editable field - fix a bug that editable field sanitized value twice. 2012-03-16 11:53:42 -07:00
Jessica Wang
8e2fc79174 cloudStack 3.0 UI - validation - apply new method "disallowSpecialCharacters" to all textfields in dialog widget. 2012-03-15 15:31:30 -07:00
Jessica Wang
f0cb103a98 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:47:33 -07:00
bfederle
0b28b02e5e Sanitize input for domain section/tree view 2012-03-15 10:30:28 -07:00
Jessica Wang
4191d28753 cloudstack 3.0 UI - XSS - detailView in Edit mode - fix it to show original value instead of HTML-encoding value. 2012-03-14 16:45:22 -07:00
bfederle
504e90b7cc Sanitize input for multi-edit, notification widgets 2012-03-14 16:11:22 -07:00
bfederle
13864cc66a Add missing resource, max networks, to project resource tab 2012-03-14 16:11:22 -07:00
Jessica Wang
7f14bb70c5 cloudstack 3.0 UI - XSS - listView - fix it to show correct value. 2012-03-14 16:11:04 -07:00
bfederle
afbf97465a Sanitize projects UI elements -- project selector, etc. 2012-03-14 14:59:15 -07:00
Jessica Wang
c4c68e2995 cloudstack 3.0 UI - fix a JS error "str.replace is undefined". 2012-03-14 14:36:44 -07:00
Jessica Wang
4b4cba10c7 cloudstack 3.0 UI - replace old sanitizeXSS() with new cloudStack.sanitize(). 2012-03-14 14:03:28 -07:00
bfederle
dd55f8ab99 Sanitize createForm input 2012-03-14 13:32:19 -07:00
bfederle
d28de139b8 Sanitize detail view input rendering 2012-03-14 12:32:42 -07:00
bfederle
2c2e0accdd Sanitize list view input rendering 2012-03-14 12:19:38 -07:00
bfederle
c5e726be90 Fix case where str is not present 2012-03-14 11:51:41 -07:00
bfederle
f7524c22d4 Add helper function to sanitize user input strings
For any strings that require sanitization (i.e., strip
HTML/JavaScript), wrap the string around cloudStack.sanitize, or _s
for short. This currently will remove embedded HTML tags, which are
the main security issues present.

Example:

var str = '<script>Hello</script>My String';

_s(str) = '&lt;script&gt;Hello&lt;/script&gt;My String'
2012-03-14 10:54:41 -07:00
Jessica Wang
ad74b396dc cloudstack 3.0 UI - network page, infrastructure page - guest network - restart network action - Hide "clean up" checkbox if it's Basic zone. Show "clean up" checkbox if it's Advanced zone. 2012-03-13 16:56:08 -07:00
Jessica Wang
b46a2340be cloudstack 3.0 UI - network page - IP Address detail page - remove duplicate info - network name and network type are already in parent page (network page). 2012-03-13 16:30:25 -07:00
Jessica Wang
13a9a98ef4 cloudstack 3.0 UI - network page, infrastructure page - guest network - restart network action - uncheck and gray out "clean up" checkbox if it's Basic zone. Check and enable the checkbox if it's Advanced zone. 2012-03-13 16:17:40 -07:00