Commit Graph

2507 Commits

Author SHA1 Message Date
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
bfederle 8e4ed4bfaf Fix case where str is not present 2012-03-14 13:33:25 -07:00
bfederle 2e1726cb5f 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 13:33:24 -07:00
Jessica Wang e980263c5f 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:55:34 -07:00
Jessica Wang 41352a5464 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:29:51 -07:00
Jessica Wang 9066e995d1 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:16:55 -07:00
Jessica Wang 315430785d cloudstack 3.0 UI - guest network - show Edit action for Isolated network. Show Restart action for all networks. 2012-03-13 15:15:18 -07:00
Jessica Wang 69218e8066 cloudstack 3.0 UI -infrastructure page - remove obsolete code. 2012-03-13 14:30:57 -07:00
Jessica Wang 6fab3a9d90 infrastructure page - zone detail - guest traffic type - networks tab - pass listAll=true to 2nd listNetworks API. 2012-03-12 14:48:11 -07:00
Jessica Wang 7ec7484662 cloudstack 3.0 UI - IP Address page - retrieving data for detailView - no need to pass listAll parameter to listPublicIpAddresses API. Passing id parameter is enough. 2012-03-12 14:12:26 -07:00
Jessica Wang f36ac54ebc bug 14238: create network offering dialog - remove traffic type dropdown since it includes only one choice. Hardcode it in API call. 2012-03-12 11:36:32 -07:00
Jessica Wang f346c4add6 cloudstack 3.0 UI - listView - when clicking fast between different rows, JS error "args.context.xxx is undefined" appears. e.g. "args.context.instances is undefined" appears when clicking fast between different rows in listView in instance page. Because when clicking fast, users might click another row before API response for this current row is back => which causes the JS error. The fix is to overlay the whole listView by loading image (spinning wheel image) until click-handling for this row is done (e.g. API response is back). 2012-03-09 16:47:28 -08:00
bfederle 90a999f4ab bug 14191
-Only show domains under logged in user's domain

-Allow domain admins to add accounts from 'Accounts' section

status 14191: resolved fixed
2012-03-09 14:13:37 -08:00
Jessica Wang 8dcaa7485e bug 13112: cloudstack 3.0 UI - host page - add Statistics tab. 2012-03-09 13:48:26 -08:00
Jessica Wang e2131f8e5f bug 14190: not refresh embedded data in corresponding list view row because data here is partial (e.g. if it's from Nics tab in instance page instead of details tab in instance page, data is just an array of Nic object, not an array of Instance object). 2012-03-09 13:02:13 -08:00
Jessica Wang df11681844 cloudstack 3.0 UI - delete zone, delete pod, delete clouster in detailView - after action is finished, remove detailView and remove corresponding row from listView. 2012-03-09 11:25:27 -08:00
Jessica Wang a04523e04f bug 14206: ISO page - listView - show name instead of description. 2012-03-08 15:05:46 -08:00
Jessica Wang faf1cf2639 bug 14196: infrastructure page - add guest network - pass subdomainaccess=false to API when Subdomain Access is unchecked. 2012-03-08 14:43:36 -08:00
Jessica Wang 13f01f3c5f cloudstack 3.0 UI - infrastructure page - update SSL Certificate - overlay loading image during action. 2012-03-08 14:10:43 -08:00
Jessica Wang 6721095a36 cloudstack 3.0 UI - (1) listView widget - add PreFilter() to exclude fields that shouldn't show upon conditions. (2) Instance page - add new field "Internal name" (e.g. "i-3-5-JW") that only shows for root-admin. 2012-03-08 13:28:58 -08:00
Jessica Wang 6962ad9c49 Network page - Add guest network dialog - network offering dropdown - pass guestiptype instead of type to listNetworkOfferings API. 2012-03-08 10:02:34 -08:00
Jessica Wang 570a9a33f5 bug 14194: Infrastructure page - guest traffic type - set traffic labels regardless of what vlan's value is. 2012-03-07 16:48:06 -08:00
Jessica Wang 535c51e90c Infrastructure page - guest traffic - details tab - move Tags field up from lower pane(traffic type) to upper pane (physical network) since tags is at physical network level, not at traffic type level. 2012-03-07 16:19:06 -08:00
Jessica Wang b025869775 bug 14193: system - guest traffic - edit action - not pass vlan to updatePhysicalNetwork when vlan field is blank. 2012-03-07 16:11:23 -08:00
Jessica Wang 6c1294b443 bug 14023: extend dialog widget to support textarea field. [reviewed-by: Brian] 2012-03-07 10:03:19 -08:00
Jessica Wang 308af59ecd bug 14023: add "update SSL Certificate" button in the first screen in Infrastructure page. [reviewed-by: Brian] 2012-03-06 15:59:17 -08:00
Brian Federle 7037679a4b bug 14124: Fix remove host confirm dialog
status 14124: resolved fixed
2012-03-06 14:09:03 -08:00
Brian Federle 18aa4caec5 bug 14093
Uncheck conditional fields to be hidden, to avoid hidden services from
accidentally being enabled

status 14093: resolved fixed
2012-03-06 13:59:25 -08:00
Brian Federle 3aa044bc8c bug 14088:
Fix Citrix log / EULA not rendering due to missing language cookie;
specify default language variable, set to English, if no 'lang' cookie
is present.

status 14088: resolved fixed
2012-03-05 16:13:48 -08:00