Commit Graph

2515 Commits

Author SHA1 Message Date
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
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