Commit Graph

2485 Commits

Author SHA1 Message Date
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
Jessica Wang 8a0e5d28f2 bug 13386: System page - Virtual Router page - hide Public IP field when its zone's network type is Basic. [reviewed-by: Brian] 2012-03-05 16:12:08 -08:00
Jessica Wang 9afb07540e ISO page - wrong value, "labelc.community", in Filter by dropdown [reviewed-by: Brian] 2012-03-05 15:03:30 -08:00
Jessica Wang 435c79cf77 cloudstack 3.0 UI - Make Account page/User page available to normal-user role. [reviewed-by: Brian] 2012-03-05 11:30:10 -08:00
Jessica Wang 94d47cee74 bug 12981: login screen - show explicit error messages when login fails. [reviewed-by: Brian] 2012-03-02 16:42:03 -08:00
Jessica Wang 1661d4cc61 Delete User action - fix a bug that loading image didn't disappear after action was finished. [reviewed-by: Brian] 2012-03-02 11:48:46 -08:00
Jessica Wang c30c15f086 Account page - account detail view - implement Refresh button. [reviewed-by: Brian] 2012-03-02 11:28:38 -08:00
Jessica Wang 856a49e88d delete template action, delete ISO action - use 'remove' instead of 'destroy' since their definitions have been switched. [reviewed-by: Brian] 2012-03-02 11:07:36 -08:00
bfederle 08bc9d0e44 UI: Networks section fix
Fix broken detail view when viewing other users' networks as admin
2012-03-02 11:07:12 -08:00
Jessica Wang 0441508e19 delete account, delete network offeirng, delete guest network - use 'remove' instead of 'destroy' since their definitions have been switched. [reviewed-by: Brian] 2012-03-01 16:58:57 -08:00
Jessica Wang 2608e30d39 delete volume action, delete snapshot action, delete router action - use 'remove' instead of 'destroy' since their definitions have been switched. [reviewed-by: Brian] 2012-03-01 16:41:04 -08:00
Jessica Wang 53c8e4fcad switch definition of 'destroy' action with definition of 'remove' action. i.e. 'remove' action will hide detailView and remove corresponding row from listView after action is done. [reviewed-by: Brian] 2012-03-01 16:30:59 -08:00
Jessica Wang a3666cb09b cloudstack 3.0 UI - After destroy action is finished, remove the row from listView. [reviewed-by: Brian] 2012-03-01 15:34:37 -08:00
Jessica Wang 23a5cf2570 Network page - detail view - make API call to refresh data when Refresh button is clicked. [reviewed-by: Brian] 2012-03-01 11:35:59 -08:00
Jessica Wang 717a863470 Snapshot page - detail view - make API call to refresh data when Refresh button is clicked. [reviewed-by: Brian] 2012-03-01 11:12:32 -08:00
Jessica Wang ee9d038320 Volume page - detail view - make API call to refresh data when Refresh button is clicked. [reviewed-by: Brian] 2012-03-01 10:57:57 -08:00
Jessica Wang 78a0c4fcbd fix a JS error: $detailView.data("list-view-row") is undefined [reviewed-by: Brian] 2012-03-01 10:12:00 -08:00
Jessica Wang 9b71b0890f cloudstack 3.0 UI - detailView widget - refresh embedded data in corresponding list view row when dataProvider is called. [reviewed-by: Brian] 2012-02-29 17:22:39 -08:00
Jessica Wang aa37ba0bee bug 14073: Quick Installer - make zones created from Quick Installer to be public (not dedicated to any domain) [reviewed-by: Brian] 2012-02-29 15:19:51 -08:00
Jessica Wang 1f18db42a5 cloudstack 3.0 new UI - support single-sign-on. [reviewed-by: Brian] 2012-02-28 14:53:19 -08:00
Jessica Wang 6ab9159ff9 remove g_type that is no longer in use. [reviewed-by: Brian] 2012-02-28 13:33:42 -08:00
bfederle 47ca27b1ed Use user.role instead of user.type
reviewed-by: jessica
2012-02-28 12:21:54 -08:00
Jessica Wang 1cfe296452 cloudstack 3.0 new UI - check whether session is valid or not before sending API request. If session is invalid, pop up "session expired" dialog instead of send API request. [reviewed-by: Brian] 2012-02-28 11:33:12 -08:00