Jessica Wang
03b7db2d99
bug 12688: fix a bug in listView widget that didn't pass correct filterBy object to loadBody().
2012-04-16 14:57:10 -07:00
Jessica Wang
730d7441a4
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 15:20:05 -07:00
Brian Federle
0991652f4a
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.
Conflicts:
ui/tests/test.detailView.js
2012-04-09 13:45:35 -07:00
Jessica Wang
5f16b2e40c
cloudstack 3.0 UI - global settings page - fix a bug that "value" column turned blank when Save button is being clicked.
2012-04-04 11:34:09 -07:00
Brian Federle
83fe014040
Use newer format for addPanel for nav items
2012-04-04 11:01:55 -07:00
Brian Federle
5dd36a5ab3
Only show invitations if projects UI is initialized
2012-04-04 11:01:51 -07:00
Brian Federle
aa086a9ef6
Detail view UI fix
...
Fix case where detail view data does not update, after async action
2012-04-04 11:01:46 -07:00
frank
f0acbfe807
switch to Apache license 2
...
reviewed-by: frank myself
2012-04-02 22:47:06 -07:00
Jessica Wang
2245402615
bug 14586: cloudstack 3.0 UI - fix a bug that Download Template action didn't pop up a dialog box showing download URL. [reviewed-by: Brian]
2012-04-02 16:22:15 -07:00
Jessica Wang
e2196dd961
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" [reviewed-by: Brian]
2012-03-30 17:21:55 -07:00
Jessica Wang
f137cf43cd
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. [reviewed-by: Brian]
2012-03-30 13:30:05 -07:00
Brian Federle
12c3397c4f
Bug 14476: ESC causes UI to freeze
...
status 14476: resolved fixed
reviewed-by: brian
2012-03-28 12:43:22 -07:00
Jessica Wang
bba101f7de
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:53:57 -07:00
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) = '<script>Hello</script>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
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
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
6c1294b443
bug 14023: extend dialog widget to support textarea field. [reviewed-by: Brian]
2012-03-07 10:03:19 -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
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
Brian Federle
6795f3ed11
bug 13974
...
Fix table not including reorder column when switching filter
status 13974: resolved fixed
reviewed-by: jessica
2012-02-23 16:18:11 -08:00
Brian Federle
15ace5fe26
Domain/tree view UI fix
...
Render details only after panel is fully transitioned in, to prevent
lag from server calls while animation is happening.
reviewed-by: sonny
2012-02-22 12:14:36 -08:00
Brian Federle
30f968e137
bug 13922
...
-Fix enable static NAT never completing if detail view was not visible
-- caused by JS error in widget
-If detail view isn't visible anymore, don't show post-enable/disable
NAT dialog which refreshes list view
status 13922: resolved fixed
reviewed-by: jessica
2012-02-22 12:06:38 -08:00
Brian Federle
f8927349c2
bug 13828
...
Fix add VM button disappearing if no VMs are present under LB rule
status 13828: resolved fixed
reviewed-by: jessica
2012-02-21 15:23:04 -08:00
Brian Federle
97cd66e532
bug 13675
...
Hide unused text fields for ICMP vs TCP selection
status 13675: resolved fixed
reviewed-by: jessica
2012-02-21 13:45:23 -08:00
Jessica Wang
0de40a6963
bug 13648: fix a bug in listView widget - $listView.length is 0 after calling $(window).trigger('cloudStack.fullRefresh'), calling $listView.listView will encounter an error when $listView.length is 0. [reviewed-by: Brian]
2012-02-20 14:43:56 -08:00