Commit Graph

16 Commits

Author SHA1 Message Date
Jessica Wang f62791a4a2 CLOUDSTACK-3344: UI > util > _s() should not include ampersand. 2013-08-01 11:42:25 -07:00
Ian Duffy ad69bc8da3 Format JS 2013-07-18 12:34:20 -04:00
Brian Federle f15a7c3f8e Code cleanup 2013-06-10 10:43:31 -07:00
Brian Federle c61156e965 Providing invalid values for gateway, netmask etc in the zoneWizard blocks the VLAN container to load , throwing an error 2013-02-05 11:47:20 +05:30
David Nalley 9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
Brian Federle 418c900c87 CS-14715
Concatenate long user names, to prevent header bar from wrapping
2012-05-14 12:42:59 -07:00
Jessica Wang 08daf9eee0 cloudstack 3.0 UI - XSS - detailView in Edit mode - fix it to show original value instead of HTML-encoding value. 2012-04-23 22:33:18 +01:00
Brian Federle fc0327677a Cleanup whitespace + indentation for UI widgets 2012-04-03 15:35:36 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -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
Jessica Wang c4c68e2995 cloudstack 3.0 UI - fix a JS error "str.replace is undefined". 2012-03-14 14:36:44 -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
Brian Federle d2284e4439 UI: localization
-Put localization wrappers around listView, detailView widgets

-Add initial localization for instances section
2012-02-09 10:39:59 -08:00
bfederle 24c14006d2 Updated zone wizard / details
Rework zone wizard:

-Support creation of multiple physical networks via drag-and-drop UI

-Support configuration of traffic types

-Allow creation of complete zone resources -- pods, clusters, hosts,
 storage -- in a similar fashion to the quick install

-Add requirements to support elastic load balancer

Rework zone details page:

-Convert old zone chart into a regular zone details pane, split into
 multiple tabs

-Add zone-specific resources dashboard

-Allow display of multiple physical networks
2012-01-23 10:53:36 -08:00
Brian Federle 29f510772c Add new UI; move old UI to old/ 2011-11-03 10:59:57 -07:00