Brian Federle
6ef16cb79f
bug 14351: Show VM name in PF, instead of UUID
2012-03-21 10:26:48 -07:00
Brian Federle
a1099e34c2
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:40 -07:00
Brian Federle
f9a7619ae5
Error handling for multiEdit remove action
2012-03-21 09:28:50 -07:00
Jessica Wang
9e352d5928
cloudstack 3.0 UI - listView widget - remove action - remove the corresponding row after action completes.
2012-03-20 15:15:27 -07:00
Jessica Wang
b8dae7c57c
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:12:23 -07:00
Jessica Wang
31274387fc
cloudstack 3.0 UI - XSS - listView - editable field - fix a bug that editable field sanitized value twice.
2012-03-16 11:53:42 -07:00
Jessica Wang
8e2fc79174
cloudStack 3.0 UI - validation - apply new method "disallowSpecialCharacters" to all textfields in dialog widget.
2012-03-15 15:31:30 -07:00
Jessica Wang
f0cb103a98
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:47:33 -07:00
bfederle
0b28b02e5e
Sanitize input for domain section/tree view
2012-03-15 10:30:28 -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
bfederle
504e90b7cc
Sanitize input for multi-edit, notification widgets
2012-03-14 16:11:22 -07:00
Jessica Wang
7f14bb70c5
cloudstack 3.0 UI - XSS - listView - fix it to show correct value.
2012-03-14 16:11:04 -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
dd55f8ab99
Sanitize createForm input
2012-03-14 13:32:19 -07:00
bfederle
d28de139b8
Sanitize detail view input rendering
2012-03-14 12:32:42 -07:00
bfederle
2c2e0accdd
Sanitize list view input rendering
2012-03-14 12:19:38 -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) = '<script>Hello</script>My String'
2012-03-14 10:54:41 -07:00
Jessica Wang
008fcb8a27
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:48:14 -08:00
Jessica Wang
078cd90ad9
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:52 -08:00
bfederle
35765419d1
Disable notification interval if in 'debug' mode (for unit tests)
2012-03-09 11:27:39 -08:00
Jessica Wang
595b7e5c04
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:26:06 -08:00
Jessica Wang
4761b9ec58
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:30:06 -08:00
Jessica Wang
a601ef4c11
bug 14023: extend dialog widget to support textarea field.
2012-03-07 10:04:17 -08:00
Brian Federle
c0c80432a8
Add field ID to list view <th>s
2012-03-06 14:58:00 -08:00
Jessica Wang
6cf6820a3f
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.
2012-03-01 16:31:55 -08:00
Jessica Wang
41cab515ee
cloudstack 3.0 UI - After destroy action is finished, remove the row from listView.
2012-03-01 15:36:03 -08:00
Jessica Wang
26e45b2b24
fix a JS error: $detailView.data("list-view-row") is undefined
2012-03-01 10:13:18 -08:00
Jessica Wang
389b981532
cloudstack 3.0 UI - detailView widget - refresh embedded data in corresponding list view row when dataProvider is called.
2012-02-29 17:23:36 -08:00
Brian Federle
541b18a0f4
Add tests for navigation and homepage; basic fixes
2012-02-29 11:54:40 -08:00
Brian Federle
6d9928ba32
Only show invitations if projects UI is initialized
2012-02-29 10:33:05 -08:00
Brian Federle
7f6d6c6b87
bug 13974
...
Fix table not including reorder column when switching filter
2012-02-23 16:17:14 -08:00
Brian Federle
db435eb324
Domain/tree view UI fix
...
Render details only after panel is fully transitioned in, to prevent
lag from server calls while animation is happening.
2012-02-22 12:14:15 -08:00
Brian Federle
84b18473e7
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
2012-02-22 12:04:18 -08:00
Brian Federle
99b49117b9
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-02-21 16:20:44 -08:00
Brian Federle
a16f5a1237
Use newer format for addPanel for nav items
2012-02-21 16:20:44 -08:00
Brian Federle
dcd7ebe8f1
bug 13828
...
Fix add VM button disappearing if no VMs are present under LB rule
2012-02-21 15:22:27 -08:00
Brian Federle
9d954fa815
bug 13675
...
Hide unused text fields for ICMP vs TCP selection
2012-02-21 13:44:34 -08:00
Jessica Wang
65d9b60d42
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.
2012-02-20 14:44:57 -08:00
Brian Federle
ab16c765a7
UI: fix broken multiEdit context on actions
2012-02-17 15:03:06 -08:00
Jessica Wang
dd62086b4b
bug 13862: change detailView widget to show error text returned in API response.
2012-02-17 14:00:47 -08:00
Brian Federle
380689be88
bug 12253: Allow editing of LB rule name/algorithm
...
-- This also introduced a new capability -- edit rule -- into the
multiEdit widget. If isEditable: true is set for any fields, then a
dialog will popup allowing editing of those properties.
status 12253: resolved fixed
2012-02-17 13:39:20 -08:00
Brian Federle
2e82439a53
Hide Citrix logo if no EULA is present (i.e., is OSS version)
2012-02-16 16:22:23 -08:00
Brian Federle
667d8188e2
More UI widget localization
2012-02-14 16:00:52 -08:00
Brian Federle
c1e976cba4
bug 13717
...
Rename 'Cancel' -> 'No' for confirm dialog
status 13717: resolved fixed
2012-02-14 14:46:20 -08:00
Brian Federle
53126cdf9d
Localize header bar drop-down
2012-02-14 13:06:43 -08:00
Brian Federle
c721344752
Missing detail view widget localization
2012-02-14 12:54:39 -08:00
Brian Federle
6136a598e7
Add missing labels to list view widget
2012-02-14 12:01:05 -08:00
Brian Federle
b8757034b4
Add missing localization for dialogs
2012-02-14 12:01:04 -08:00
Brian Federle
8246aff812
Add missing localization for notifications labels
2012-02-14 12:01:04 -08:00