Commit Graph

25655 Commits

Author SHA1 Message Date
Abhinandan Prateek ec830d459b Quota: future credit netries should be incorporated when the balance is
calculated
2015-12-08 17:21:00 +05:30
Abhinandan Prateek 53ce8c0b68 QUOTA: Brazilian translations 2015-12-08 11:40:00 +05:30
Abhinandan Prateek d928c0dfa5 QUOTA: ENSURING THAT THE DATES DISPLAYED ARE AS PER USER EXPECTATIONS
When querying db we use start of next day to query quota usage for
    today, but while displaying it to user we still need to show it as
    todays date
2015-12-08 09:59:06 +05:30
Abhinandan Prateek 068f97ad60 QUOTA: On a rerun the last balance is now getting added 2015-12-07 22:26:56 +05:30
Abhinandan Prateek 07fce097fe quota review fixes 2015-12-07 15:45:09 +05:30
Abhinandan Prateek 88266eb221 quota review fixes 2015-12-07 15:45:01 +05:30
Abhinandan Prateek 6716c9ab58 Quota review fixes 2015-12-07 13:43:07 +05:30
Abhinandan Prateek 58b3769590 QUOTA REVIEW FIXES
Removing tests for start and stop as there is no logic there to test
2015-12-07 12:26:57 +05:30
Abhinandan Prateek f08a3ee824 QUOTA REVIEW FIXES
1. reveiw fixes
       2. cleaning hardcoded text from quota.js
       3. fixed test cases
2015-12-07 12:04:35 +05:30
Abhinandan Prateek 0151cda7dd CLOUDSTACK-8592: optimization and fixes
1. Process usage entries that have greater than 0 usage
    2. Process quota entries only if tariff is non zero
    3. If there are credit entries but no balance entry create a dummy
    balance entry
    4. Remove any credit entries that are before the last balance entry
    when displaying balance statement
    5. Bug: write the balance entry, boundary condition
2015-12-05 17:37:11 +05:30
Rohit Yadav 517baf954b metrics: fix instance count
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-12-04 00:14:41 +05:30
Abhinandan Prateek 35bbd4b692 CLOUDSTACK-8592: making API more UI friendly 2015-12-03 17:13:26 +05:30
Abhinandan Prateek e56c0a09fc CLOUDSTACK-8592: disable quota UI if quota service is disabled 2015-12-03 14:03:45 +05:30
Abhinandan Prateek 1e8dc864e9 CLOUDSTACK-8592: adding summary, full listing and enforce quota fix 2015-12-03 12:04:38 +05:30
Abhinandan Prateek 785a2a16ad CLOUDSTACK-8592: fix misc UI and authorization issues 2015-12-02 14:26:01 +05:30
Abhinandan Prateek df5788eab8 CLOUDSTACK-8592: 1. Fixing boundary condition when there is no summary in
database, the UI hangs;
2. Tariff edit accounting for bad values and putting limits of date
picker
2015-12-01 15:41:48 +05:30
Abhinandan Prateek 98c8862a75 CLOUDSTACK-8592: merge fixes 2015-11-27 18:22:20 +05:30
Abhinandan Prateek 9deb531b47 CLOUDSTACK-8592: defining additonal labels 2015-11-23 17:43:34 +05:30
Abhinandan Prateek 16502fd345 CLOUDSTACK-8592: disable future dates from date picker 2015-11-20 11:48:58 +05:30
Abhinandan Prateek 9eb57e1765 CLOUDSTACK-8592: account and domain search added in javascript 2015-11-19 15:11:16 +05:30
Abhinandan Prateek 837a822ea5 CLOUDSTACK-8592: display negative balance in red 2015-11-19 14:50:29 +05:30
Abhinandan Prateek 0b3fc1bf5a CLOUDSTACK-8592: adding currency, page refreshes after update and credit
form
2015-11-18 21:46:37 +05:30
Abhinandan Prateek 40c95da664 CLOUDSTACK-8592: quota UI with summary page linked to quota usage and
quota balance
2015-11-18 15:08:39 +05:30
Abhinandan Prateek a05e5c5a5a CLOUDSTACK-8592: Updated Quota UI with Quota Summary report 2015-11-16 15:35:46 +05:30
Abhinandan Prateek 9de4211f5a CLOUDSTACK-8592: add start and end date with each quota entry 2015-11-16 09:54:19 +05:30
Abhinandan Prateek ecd6b2084e CLOUDSTACK-8592: code review fix for empty check on lists 2015-11-16 09:52:00 +05:30
Abhinandan Prateek 363cd8c9d8 CLOUDSTACK-8592: add dummy quota entry of 0 quota use if no quota entries exist for a period 2015-11-16 09:42:25 +05:30
Abhinandan Prateek 8308aa8851 CLOUDSTACK-8592: in case of no quota values available for a period
return 0 quota usage and 0 balance, instead of throwing invalid param
exception on dates
2015-11-10 14:48:13 +05:30
Abhinandan Prateek 9b2cf8a2f7 CLOUDSTACK-8592: defined quota labels 2015-11-10 13:29:17 +05:30
Rohit Yadav d4415f1d87 CLOUDSTACK-9020: Increase UI container width by 200px
Based on suggestion from Lucian (Nux), this patch increases the UI's container
width by 200px as most modern resolutions on desktop/laptops/workstations are
at least 1400px wide. By increasing the width and adjusting css properties
throughout the UI, we get more space to show information. This also gets
rid of horizontal scrollbar in case of metrics views. This also, fixes the UI
logos to include our mascot 'cloudmonkey'.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit f7b64726d9ad4ac53c19fb47378068433cf86ae3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 0d73788464)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-09 21:32:16 +05:30
Rohit Yadav 4c50474ab4 CLOUDSTACK-9020: add ipaddress in instances view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit edc74aebbffc3f8fb4853de3cf6740eee83c78fd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 1391f476f1)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-09 21:32:11 +05:30
Rohit Yadav 8deb9142f7 CLOUDSTACK-9020: add instances count in host view, ip address in instances view
Add minor features based on community discussions

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b4d1fed849aa7873af870b7e583ac91dd1ca4cc6)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 14940a3c9a)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-09 21:32:02 +05:30
Rohit Yadav 0d7fe1e311 CLOUDSTACK-9020: Metrics views for CloudStack UI
Implements following:
- A metrics table widget that is:
  - vertically and horizontally scrollable with pagination/infinite scrolling
  - sortable columns (client side)
  - groupable/collapsible columns
  - alternate row coloring
  - refresh button to refresh views
  - threshold table cell coloring
  - panel/breadcrumb navigation
  - quick view action column
  - translatable labels
- Sortable column for all CloudStack tables (client side)
- Configurable UI pagesize for list API calls, 'default.ui.page.size'
- Metrics views: Zones, Clusters, Hosts, Instances, Storage pools, Volumes
- Resource filtering/navigation: Zones->Clusters->Hosts->Instances->Volumes, Storage Pool->Volumes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d34da5aa8f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-09 21:31:57 +05:30
Rohit Yadav 84d5aeb7a5 ui/quota: implement a better quota UI plugin
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-09 21:30:12 +05:30
Rohit Yadav 662b54b2e1 ui/widget: make framework changes to allow for text area input in edit views
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-09 21:30:12 +05:30
Abhinandan Prateek 4b249bde43 CLOUDSTACK-8592: quota alert test cases are moved to QuotaAlertManagerImplTest 2015-11-09 11:35:37 +05:30
Abhinandan Prateek 9c99d036b6 CLOUDSTACK-8592: initial ui changes 2015-11-06 14:54:28 +05:30
Abhinandan Prateek db3c1bbd79 CLOUDSTACK-8592: Report quotaSummary command returns quota balance, quota usage and
state for all account.
2015-11-05 14:19:16 +05:30
Abhinandan Prateek d9e3b4c922 CLOUDSTACK-8592: adding quotaUpdateCmd that refreshes quota balances,
and, sends alerts and statements
2015-11-05 10:25:48 +05:30
Abhinandan Prateek 42c8cbf6b1 CLOUDSTACK-8592: changing default email templates to reflect the fact that exhausted quota may not result in a locked account 2015-11-05 10:24:42 +05:30
Abhinandan Prateek b4462dc3fd CLOUDSTACK-8592: adding balance summary report 2015-11-04 17:41:20 +05:30
Abhinandan Prateek 625406b48f CLOUDSTACK-8592: adding more test, fine tuning 0 quota conditions. 2015-11-04 11:23:13 +05:30
Abhinandan Prateek 3102dbc59f CLOUDSTACK-8592: Making statement period configurable 2015-11-03 20:35:47 +05:30
Abhinandan Prateek c4c7609667 CLOUDSTACK-8592: Restructuring 2015-11-03 20:35:41 +05:30
Abhinandan Prateek c79a2f6f84 CLOUDSTACK-8592: quota framework test fixes 2015-10-30 13:12:49 +05:30
Abhinandan Prateek fa2c3024e3 CLOUDSTACK-8592: test fixes 2015-10-30 13:01:02 +05:30
Rohit Yadav 8f816e70f0 quotatypes: fix NPE issue
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-30 12:23:49 +05:30
Rohit Yadav b63778c4b2 quota: fix pom version, causes build failures
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-30 11:57:46 +05:30
Rohit Yadav 323e29bd93 CLOUDSTACK-8701: Add administrative contact block as per SAML IDP expectations
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-30 10:38:39 +05:30
Rohit Yadav 24cf1917b9 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>
(cherry picked from commit f28287b66c)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-10-30 10:38:02 +05:30