Commit Graph

59 Commits

Author SHA1 Message Date
Abhinandan Prateek 3b18d74be6 CLOUDSTACK-9174: A deleted account results in NPE
When an account is deleted from cloudstack for which quota is still
being calculated and if the quota reaches minimum threshold then
quota service will try to alert the user. This results in NPE and is
fixed by excluding such accounts from alerting and other quota related
mechanisms.
2015-12-17 11:12:25 +05:30
Abhinandan Prateek 134ea17396 Quota: remove comments 2015-12-09 17:44:07 +05:30
Abhinandan Prateek 128be3a05b CLOUDSTACK-9131: Create a new API to check if the plugin is enabled. 2015-12-09 17:11:18 +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 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 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 9b2cf8a2f7 CLOUDSTACK-8592: defined quota labels 2015-11-10 13:29:17 +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
Abhinandan Prateek 9c99d036b6 CLOUDSTACK-8592: initial ui changes 2015-11-06 14:54:28 +05:30
Abhinandan Prateek c3364324e6 CLOUDSTACK-8592: further review fixes 2015-10-21 14:27:05 +05:30
Rohit Yadav 74c34d797a quota;e2etesting
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-07 10:58:36 +05:30
Rohit Yadav e2c2e0696d quota: show ui balance if start/end balance are defined (any values)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-04 10:39:21 +05:30
Rohit Yadav 57bc5cb904 quota: minor credits ui fixes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-03 15:33:48 +05:30
Rohit Yadav a39b6cddc9 quota ui: add min threshold and checkbox to enforce locking
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-03 11:36:37 +05:30
Rohit Yadav 40914ed0bb quota: improve css and element usage; align inputs below labels
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-30 17:31:02 +05:30
Rohit Yadav 53f3b3c304 quota: fix css of the ui, make element similar to other cloudstack UI elements
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-30 17:31:02 +05:30
Rohit Yadav 8483c4a3ce quota: add currency in case of users too
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-30 14:35:54 +05:30
Rohit Yadav 60125d3a4e quota: add quota monthly statement email template
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-29 12:04:23 +05:30
Rohit Yadav b2dd5e1374 quota: fix ui to grab currency from the response
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-29 11:45:31 +05:30
Rohit Yadav 7b562b0696 quota: add new template for sending unlocked email account 2015-07-29 11:26:59 +05:30
Rohit Yadav a4e8301941 quota ui: grab current date in the browser's tariff
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-28 17:10:23 +05:30
Rohit Yadav 247e539b6e ui: fix UI, API usage and display rendering; fix template saving to use POST
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-27 13:24:22 +05:30
Rohit Yadav 7617182294 quota: fix ui - statement, tariff and templates
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-24 14:35:09 +05:30
Rohit Yadav 355b2e6330 quota: implement quota email alert methods/classes and template engine to substitute variable options
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-24 12:40:33 +05:30
Rohit Yadav 6fedff6053 quota: fix UI's escaping quotes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-23 18:51:36 +05:30
Rohit Yadav 6b11c83fca quota: add email template UI
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-23 18:45:19 +05:30
Rohit Yadav e2ab24a7bc ui: add effective from date in tariff list/table, add error handling dialogs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-22 15:12:04 +05:30
Rohit Yadav 5c7befbd95 quota: assume start/end date in the balance API will be returned
enhances UI, to reflect balance api changes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-21 15:37:52 +05:30
Rohit Yadav e38cd4566a quota: re-order date vs domain/account checking
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-21 15:24:30 +05:30
Rohit Yadav ab68f38fd1 quota: remove invalid ui code, add additional checks
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-21 14:24:02 +05:30
Rohit Yadav 02234778d7 quota: add quota balance/credit statement in the statement tab
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-21 12:34:59 +05:30
Rohit Yadav b3eeb6ce57 quota: remove console.log statement
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-21 11:37:23 +05:30
Rohit Yadav a9e8ceccdd quota: add quota currency on tarriff table
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-21 11:36:26 +05:30
Rohit Yadav 5397fc21c6 quota: add credit management in the ui
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-21 11:17:50 +05:30
Rohit Yadav 6f1736404e quota: fix quota statement api, db schema and implement UI tab for statement generation
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-20 17:21:01 +05:30
Rohit Yadav b13d2b955e quota: UI view for quota tariff
listing and editing supported; global settings removed

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-16 18:24:48 +05:30
Rohit Yadav 82b176b47d quota-ui: fix settings view
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-14 17:15:55 +05:30
Rohit Yadav 0b64910e09 ui/plugins: Add initial Quota plugin
- Adds a stub
- Adds a Quota tab on the user's page

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-14 11:35:52 +05:30
Rohit Yadav dec8928749 ui: Allow plugins to be shown on navigation bar, if they want to
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-14 11:35:52 +05:30
Brian Federle 1a23d6ebab Remove file added by accident in previous commit. 2013-09-30 10:08:16 -07:00
Chris Suich 58f287c62f Commiting multi select stuff for inital review 2013-09-27 16:57:44 -07:00
Rohit Yadav 4364cb9784 rat: Fix license for file from recent ui-plugins merge
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-14 17:18:22 +05:30