Commit Graph

182 Commits

Author SHA1 Message Date
Brian Federle 296f52e3af CS-13861: Fix 'isChecked: false' not working on IE 2012-05-17 12:34:45 -07:00
Brian Federle d879d370e0 UI proprietary build: rename 'CloudStack' -> 'CloudPlatform'
When EULA is present for a proprietary build, show 'CloudPlatform'
instead of 'CloudStack' in the logo for the login form and top header.
2012-05-16 10:43:56 -07:00
Brian Federle d7cdd71ada CS-14715
Concatenate long user names, to prevent header bar from wrapping

Conflicts:

	ui/scripts/ui/utils.js
2012-05-14 12:44:00 -07:00
Jessica Wang 092b87aebe CS-14116: cloudstack 3.0 UI - (1) add guest network dialog: make vlan/gateway/netmask required when network offering is "Shared". (2) dialog widget: be able to change field to required or not-required after createForm is rendered. 2012-05-04 15:05:49 -07:00
Jessica Wang 92dc870f3e cloudstack 3.0 UI - dialog widget - add new function cloudStack.dialog.createFormField.validation.required.add(), cloudStack.dialog.createFormField.validation.required.remove() 2012-05-02 14:02:03 -07:00
Salvatore Orlando 4643e403ff Finishing merge with 3.0.x 2012-05-01 15:08:51 +01:00
Brian Federle 19ffa64980 Add field ID to list view <th>s 2012-05-01 13:48:41 +01:00
Brian Federle 0f4f1049a7 Add tests for navigation and homepage; basic fixes 2012-05-01 13:47:23 +01:00
Brian Federle 33a066def4 Only show invitations if projects UI is initialized 2012-05-01 13:47:20 +01:00
Brian Federle 94dea8aadb UI: Browser widget fix
Fix elems.undefined error, which happens when destroyed panel
continues to animate.

-- This happened particularly in the domain section, when clicking
to/from another section while the details panel was sliding in.
2012-05-01 13:13:02 +01:00
Brian Federle 10d3dffd94 Hide Citrix logo if no EULA is present (i.e., is OSS version) 2012-05-01 13:07:35 +01:00
Brian Federle ec3ec924b6 Missing detail view widget localization 2012-05-01 11:59:08 +01:00
Jessica Wang b55ccc10fb bug 12688: fix a bug in listView widget that didn't pass correct filterBy object to loadBody(). 2012-04-16 14:58:28 -07:00
Jessica Wang ac5626619c cloudstack 3.0 UI - dialog widget - remove a line that produced a bug that change event is trigger before data is populated in this dropdown in selectFn($.extend(selectArgs, dependsOnArgs)). Besides, selectFn($.extend(selectArgs, dependsOnArgs)) includes the line, $input.trigger('change'), already. 2012-04-12 16:22:47 -07:00
Brian Federle 60c1fccd75 UI: detail view
Support dynamically updating context on detail view load, to support cases
where certain context items are required by other elements loaded, but may not
be present in the browser history.
2012-04-05 15:45:16 -07:00
Brian Federle d48cb95d94 Cleanup whitespace + indentation for UI widgets 2012-04-03 15:48:49 -07:00
Brian Federle d2128d7a1c Use newer format for addPanel for nav items 2012-04-03 15:48:23 -07:00
Brian Federle 686d899bb7 Only show invitations if projects UI is initialized 2012-04-03 15:47:52 -07:00
Brian Federle b5d0d41f83 Detail view UI fix
Fix case where detail view data does not update, after async action
2012-04-03 14:51:58 -07:00
Jessica Wang 4b4a1531e7 cloudstack 3.0 UI - global settings page - fix a bug that "value" column turned blank when Save button is being clicked. 2012-04-03 14:13:15 -07:00
frank 72d284de7d Switch to Apache license 2012-04-03 04:54:14 -07:00
Jessica Wang 04e030b86e bug 14586: cloudstack 3.0 UI - fix a bug that Download Template action didn't pop up a dialog box showing download URL. 2012-04-02 16:23:50 -07:00
Jessica Wang 92ec10e35b cloudstack 3.0 UI - domain page - fix a JS error that appears after a new domain is created - "context[$detailView.data('view-args').section] is undefined" 2012-03-30 17:25:21 -07:00
Jessica Wang e629744fc0 bug 12421: cloudstack 3.0 UI - detailView widget - fix a bug that updated data returned by API call got lost, so failed to update detailView with updated data. 2012-03-30 15:07:47 -07:00
Pranav Saxena 8d9f24cdaa Bug 14476: ESC causes UI to freeze 2012-03-28 12:42:27 -07:00
Jessica Wang 58546e9a06 bug 14488 - multiEdit widget - itemData[0] does not always have data. Only retrieve data when itemData[0] is not an empty object. [reviewed-by: Brian] 2012-03-26 10:54:55 -07:00
Sanjay Tripathi fbf77f5f8f Bug 14067: Global config - clicking on Edit button twice gives javaScript error args.callback is not a function. 2012-03-26 13:24:49 +05:30
Brian Federle 7a97c23bec 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.

status 14240: resolved fixed
2012-03-21 12:15:02 -07:00
Brian Federle 5473eef6b4 bug 14380: Add cancel button to detail view edit action
status 14380: resolved fixed
2012-03-21 11:44:20 -07:00
Jessica Wang 02bbcf0687 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:19:16 -07:00
Brian Federle 7367ad785e Fix multi-edit when item data is not present 2012-03-21 11:04:14 -07:00
Brian Federle 643f54c127 bug 14351: Show VM name in PF, instead of UUID
status 14351: resolved fixed
2012-03-21 10:27:29 -07:00
Brian Federle 0d3b8191b4 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:33 -07:00
Brian Federle 207ef1116a Error handling for multiEdit remove action 2012-03-21 09:29:01 -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 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
Jessica Wang d0b306ce05 cloudstack 3.0 UI - fix a JS error "str.replace is undefined". 2012-03-14 14:35:48 -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 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