Commit Graph

4851 Commits

Author SHA1 Message Date
Rohit Yadav 7b912ca4e7 metrics: complete instances metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-16 17:01:03 +05:30
Rohit Yadav c9d1c4d037 metrics: make state column compact with no labels but tooltip
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-16 15:47:49 +05:30
Rohit Yadav 9bea76a2ac metrics: refactor all labels under label.metrics namespace
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-16 14:49:51 +05:30
Rohit Yadav 29fc9dd1bd metrics: complete zone, cluster, host metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-15 15:58:47 +05:30
Rohit Yadav 759021ece4 metrics: complete cluster metrics view with data formating
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-14 21:36:14 +05:30
Rohit Yadav 5f954ffea7 metrics: remove custom metrics refresh logic from each metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-14 21:35:29 +05:30
Rohit Yadav 7c01c86d8a metrics: add a generic refresh button logic across all metrics
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-14 21:34:50 +05:30
Rohit Yadav 06102f9b0e metrics: add supercolumn on quick-view column in metrics widget
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-14 21:34:17 +05:30
Rohit Yadav 64858ebc38 metrics: add method in cloudBrowser to remove the last panel
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-14 21:33:44 +05:30
Rohit Yadav 246acb6b6e metrics: add thresholds to zone metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:52 +05:30
Rohit Yadav 889eb1c640 metrics: fix clusters metrics view for threshold colorings
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:52 +05:30
Rohit Yadav 15a2004456 metrics: add listview widget support for threshold colorings
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:52 +05:30
Rohit Yadav 6d7663593f metrics: enhance collapsible columns with tooltip and show 3 chars of label
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:51 +05:30
Rohit Yadav 50c7894533 metrics: fix danglish infinite scrolling bug
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:51 +05:30
Rohit Yadav 983520342f metrics: add quick action view/column for clusters, hosts and instances
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:50 +05:30
Rohit Yadav 1611c068f9 metrics: check object key in system.js, before accessing it
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:50 +05:30
Rohit Yadav 54df2db295 metrics: add instances metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:50 +05:30
Rohit Yadav 5b7e2d24e8 metrics: add metrics sub-nav and filtering, zone->clusters->hosts
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:49 +05:30
Rohit Yadav 9cebd92db3 metrics: add metrics framework support for browsable sub-metrics
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:49 +05:30
Rohit Yadav 9f653300bb metrics: add zone and host metrics views
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:49 +05:30
Rohit Yadav 634c3bcc48 metrics: fix metrics widget to display resource specific breadcrumb label
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:48 +05:30
Rohit Yadav df8625bda3 metrics: make karet larger
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:48 +05:30
Rohit Yadav 6b05fb9fd2 metrics: cluster metrics view implement
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:48 +05:30
Rohit Yadav 69b2262fe2 metrics: add support for collapsible column in listView widget
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:47 +05:30
Rohit Yadav fa32e60c0a metrics: don't resize collapsible column in datatable widget
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:47 +05:30
Rohit Yadav 2fddb9fde5 metrics: add labels for cluster metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:46 +05:30
Rohit Yadav 4a130be174 metrics: add groupable column support to listview table
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:46 +05:30
Rohit Yadav c2b1393f2d metrics: make table widget horizontly scrollable, keep tbody/thead in same table
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:46 +05:30
Rohit Yadav 1bd7ef6b73 metrics: show metrics table if it shoots off horizontal x axis
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:45 +05:30
Rohit Yadav 5c37238042 metrics: cluster view table model/api wip
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:45 +05:30
Rohit Yadav 218468b8c1 metrics: work in progress cluster resource metrics view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:45 +05:30
Rohit Yadav 4643e5609d metrics: implement a general refresh metrics framework
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:44 +05:30
Rohit Yadav c0db096c79 metrics: implement cluster table header
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:44 +05:30
Rohit Yadav 4175c25229 metrics: implement horizontal scrollbar for metrics tables
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:44 +05:30
Rohit Yadav 992693b67e metrics: work in progress list views
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:44 +05:30
Rohit Yadav 62bccb08d4 metrics: fix button string, as it causes other elements to spill out
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:43 +05:30
Rohit Yadav e88249829b metrics: render resource specific listViews
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:43 +05:30
Rohit Yadav e8f9920211 metrics: add metrics listView module, include js files in index.jsp
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:43 +05:30
Rohit Yadav 5a1662500f metrics: add view metrics button across resources
resouces: zones, clusters, hosts, primary storage, vms and volumes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:42 +05:30
Rohit Yadav b8b28568ae ui/scripts/system: work in progress zone metrics view button
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:42 +05:30
Rohit Yadav 11f10fe664 ui/widgets: enable sortability of the data-table
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-01 22:32:41 +05:30
Rohit Yadav 069e3f92ad CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal iso/template listing
Due to aggregation of templates and isos on the UI/client side, it could result
that for each page we could end up having lesser templates/isos listed to have
the scroll shown that triggers infinite scrolling. In theory, there
is still a chance if there are several zones with the same template being listed
resulting in only one aggregated template which could cause the scroll to not
get shown; but in practice I believe this fix should work for most users.

Page size set based on experimental data:
https://github.com/apache/cloudstack/pull/751#issuecomment-135661968

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-28 13:06:13 +05:30
Rohit Yadav 26700fbe76 CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal template listing
Uses listViewDataProvider to implement pagination for listing templates and ISOs
in the zones tab. Dedupes isos and templates in the list views.

This closes #739

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-26 12:41:31 +05:30
Milamber 9866e9707c Add missing localization for some labels in Web UI - on the zone configuration wizard for the "Next" button - on templates, Shared, extratable and Dynamically Scalable - Improve some French translations ("Téléverser" for "Upload") - update French messages properties from transifex (4.5 branch)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #687
2015-08-14 14:11:11 +05:30
Rohit Yadav 1065661cd5 CLOUDSTACK-8701: Allow SAML users to switch accounts
SAML authorized accounts might be across various domains, this allows for
switching of accounts only in case of SAML authenticated user accounts across
other accounts with the same SAML uid/username.

Moves the previous switch account logic to its own ui-custom module

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-14 11:55:14 +05:30
Rohit Yadav 17366f2b18 CLOUDSTACK-8301: Enable configuring local storage use for system VMs at zone level
Backported from #263 for 4.5 branch, original bugfix by @koushik-das et al

More information on:
https://issues.apache.org/jira/browse/CLOUDSTACK-8301
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enable+configuring+local+storage+use+for+system+VMs+at+zone+level

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #661
2015-08-08 22:41:52 +05:30
Boris Schrijver 56522fda67 CLOUDSTACK-8642: SSO Method not allowed bug fix. Due to CLOUDSTACK-8505 and commit 1c81b241e7
Signed-off-by: Daan Hoogland <daan@onecht.net>

This closes #598

(cherry picked from commit b1e5906923)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-16 21:44:58 +05:30
Rohit Yadav c7a6623cac CLOUDSTACK-8457: SAML UI Dialog fixes to use local $form
This uses local selector to access the DOM elements, the previous commit
would find a global element which is not in the context and fail changing the
element in the opened dialog.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #583

(cherry picked from commit 47d2d07eb9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-15 18:37:27 +05:30
Rohit Yadav 7d11c7bc70 CLOUDSTACK-8457: SAML UI enhancements
Add option to authorize SAML SSO for user when adding user. Appends a domain to
user/account name if global setting is enabled, useful in case of multiple IDP
server. By default the setting is set to false (keep as it is).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #575
2015-07-14 10:20:00 +05:30
Rohit Yadav 12edad3e20 CLOUDSTACK-8622: Reinstate working sessions in browser
- Login is based on sessionkey HttpOnly Cookie
- ApiServlet does login verification using sessionKey from both the request cookies
  and the API parameters. In both cases, if either or both are passed they should
  match the sessionKey stored in the current session of the HttpRequest
- UI: it no longer needs to read or set sessionkey cookie
- UI: it no longer needs to return g_sessionKey value in the API requests, though
  to support a sso mechanism g_sessionKey is still passed in the API is not null
- Secure jsessionid cookie is set to be HttpOnly and Secure
- SAML login should also set HttpOnly cookie before redirecting to UI
- SAML: listIdps & getSPMetadata APIs are readonly now, won't log out a logged in user

Performed tests (login, saml login if applicable, page refreshes, opening
multiple tabs, logout) with following combinations:
- SAML disabled, normal auth as admin, domain-admin and user
- SAML enabled, normal auth as admin, domain-admin and user; and saml sso as
  admin, domain-admin and user

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #574
This closes #308
2015-07-10 17:27:34 +05:30