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
Brian Federle
744cd902d1
Localize domains section
2012-02-13 15:11:11 -08:00
Brian Federle
fbf47f2f4c
IE7 list view/table fixes
2012-02-10 15:52:12 -08:00
Brian Federle
4c05adaac0
Error appearance for notifications corner alert
2012-02-10 15:00:29 -08:00
Brian Federle
0625839920
multiEdit localization
2012-02-09 16:04:33 -08:00
Brian Federle
6fed8f102a
Localization for network->networks section
2012-02-09 15:58:00 -08:00
Brian Federle
2f26cf87b6
Fix some message labels
2012-02-09 14:52:15 -08:00
Brian Federle
9d4437e089
UI localization for core.js
2012-02-09 11:49:31 -08: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
c094c1a6db
bug 13115
...
Show project name in header when project is active
status 13115: resolved fixed
2012-02-07 16:14:39 -08:00
bfederle
e30c346017
Better handling for list view header actions
2012-02-07 12:36:15 -08:00
bfederle
093d37ddf9
Don't hide thead
2012-02-07 12:15:54 -08:00
bfederle
995589b479
Add invitation check; dialog for pending invites; misc. fixes
2012-02-06 16:50:08 -08:00
bfederle
99fe55e385
Add updated invite form
2012-02-06 16:05:11 -08:00
bfederle
572b44fb29
UI form dialog fix
...
Fix form elements not being removed from DOM after closing dialog on
save/cancel -- this may cause issues with conditional fields if
re-launching the form dialog.
2012-02-06 09:23:15 -08:00
bfederle
b57c72d98b
Fix detail view UI destroy action
2012-02-03 15:41:27 -08:00
bfederle
701fff934d
Fix detail view action if no args are present
2012-02-02 16:14:23 -08:00