Commit graph

109 commits

Author SHA1 Message Date
Suraj Shetty
93f07e61d4 fix: Deduct a month instead of 30 days for accurate month range 2019-06-12 09:44:26 +05:30
Rushabh Mehta
200cc87677 fix(energy-point-log): fix filename 2019-06-05 19:24:31 +05:30
Rushabh Mehta
39bda1749c fix(linting) 2019-06-05 12:03:11 +05:30
Rushabh Mehta
538195de21 fix(energy-point-list): use standard list view 2019-06-05 11:29:54 +05:30
Suraj Shetty
5af58d429c fix(energy point): Negative values for review point in leaderboard (#7577)
* fix: Show available review points

* style: Simplify formatting
2019-05-29 10:09:40 +05:30
Suraj Shetty
1fe6f7ceaa fix: Show "1 point" instead of "1 points" (#7489)
* fix: Show "1 point" instead of "1 points"

* fix: Make text translatable

* fix: Format string twice to avoid duplicate code

- First formatting to add points text
- Second formatting to add variables aftter translation

* fix(energy point): Alert messages translation
2019-05-21 13:18:51 +05:30
Suraj Shetty
6daaa02fcc fix: use .get to avoid attribute error 2019-05-08 00:50:17 +05:30
Suraj Shetty
b62a92694a fix: Skip log creation if user from the rule comes out to be Admin 2019-05-07 11:37:35 +05:30
Suraj Shetty
8948a014d2 fix: Skip energy point for admin 2019-05-06 08:26:24 +05:30
Suraj Shetty
9d96d707af feat: Append modified_field to the user_feilds of energy point rule 2019-05-06 07:42:44 +05:30
Rushabh Mehta
f72e74d8e8 fix: route history and allow longer energy point reviews 2019-05-02 15:51:57 +05:30
Rushabh Mehta
3ab2850b74 feat: allow addition of buttons in list 2019-04-24 17:02:47 +05:30
Rushabh Mehta
01242afc8f
Merge pull request #7304 from rmehta/milestone-tracker
feat: Milestone Tracker. Track document lifecycle with milestones
2019-04-22 11:08:49 +05:30
Rushabh Mehta
7402f495d5 feat: Milestone Tracker. Track document lifecycle with milestones 2019-04-17 18:00:03 +05:30
Suraj Shetty
58e520a3f8 fix: Ignore permission while saving revert doc
- Since on system manager can revert points
2019-04-16 10:55:35 +05:30
Suraj Shetty
c6304a19ed
Merge pull request #7277 from surajshetty3416/fix-summary-query
fix: get_user_energy_and_review_points query condition
2019-04-14 22:00:28 +05:30
Suraj Shetty
df61ed3ebe fix: Condition of get_user_energy_and_review_points query 2019-04-14 21:36:03 +05:30
Deepesh Garg
095205d10b
Merge pull request #7262 from surajshetty3416/fix-doctype-ux
feat: Make reference_name in Energy Point Log clickable
2019-04-12 14:50:22 +05:30
Suraj Shetty
fe65359b95 fix: Add key to energy_point_history for auto refresh on point value change 2019-04-12 13:48:30 +05:30
Suraj Shetty
d9ad5093fb feat: Make reference_name clickable 2019-04-11 17:21:01 +05:30
Suraj Shetty
14bc903603 fix: Show top 10 users 2019-04-10 11:53:59 +05:30
Suraj Shetty
9a2495e421 feat: Add weekly and monthly point summary report 2019-04-10 11:32:29 +05:30
Suraj Shetty
2439a7eb0d feat: Send mail to users when someone reviews them 2019-04-10 11:32:29 +05:30
Suraj Shetty
0c31d9c814 fix: Allow revert for logs only with type auto 2019-04-05 22:00:53 +05:30
Suraj Shetty
520a6b8020 feat: Add revert dialog to get the reason of revert
- Show type and doctype in list view
- Track changes for energy point logs
2019-04-05 21:07:33 +05:30
Suraj Shetty
d1cc18b508 feat: Init revert point system 2019-04-05 19:48:15 +05:30
Suraj Shetty
44da34b4b4 feat: Show Indicator for with energy point alert 2019-04-05 14:11:51 +05:30
Suraj Shetty
1746d089a8 Merge branch 'develop' of https://github.com/frappe/frappe into energy-points-enhancements 2019-04-05 13:11:19 +05:30
Suraj Shetty
48e16de859 fix: Return review doc on new review creation 2019-04-05 13:00:05 +05:30
Suraj Shetty
8059573d9e fix: Make "Energy Point Rule" fields mandatory (#7195) 2019-04-05 10:58:16 +05:30
Suraj Shetty
d971268c53 feat: Enable toolbar for energy point rule 2019-04-05 09:08:22 +05:30
Suraj Shetty
6e2c6269f7 fix: Return if user_field is set empty (#7181)
* fix: Return if user_field is set empty

- fix log_error usage

* fix: log complete traceback
2019-04-04 12:02:59 +05:30
Suraj Shetty
91926a4698 feat: Add docperm to make Energy Point Log readable to all 2019-03-31 19:42:18 +05:30
Suraj Shetty
15ef216dcb feat: Update points realtime 2019-03-31 19:42:17 +05:30
Suraj Shetty
eae217eaa9 fix: Energy point UX (#7164)
- Make user mandatory
- Allow data fieldtype for user_field
- Change fieldtype of user selection from select to autocomplete
- Put create_energy_points_log inside try catch to avoid document save failure
2019-03-31 16:42:45 +05:30
Suraj Shetty
17e424707c feat: Ability to directly give review points from settings 2019-03-29 11:04:14 +05:30
Suraj Shetty
c578df5347 feat: Link review log with the energy point log created during review
- This will help us to track the reason for review point deduction
2019-03-29 11:01:58 +05:30
Suraj Shetty
afceb1f99d test: Fix test for float multiplier 2019-03-29 10:58:04 +05:30
Suraj Shetty
fd9d1142c3 feat: Allow float multipliers 2019-03-29 10:57:26 +05:30
Suraj Shetty
c79ab1279d test: Add test for review 2019-03-29 09:28:37 +05:30
Suraj Shetty
bef48d4268 fix: Use as_dict of doc if exist
- User can send doc instance instead of object
2019-03-29 09:28:20 +05:30
Suraj Shetty
b385d91fb0 style: fix formatting
- remove print statements
2019-03-29 08:38:25 +05:30
Suraj Shetty
aaf046f23f fix: comment out caching code 2019-03-29 07:45:49 +05:30
Suraj Shetty
6958c46d6e chore: Add print statements to check the reason for test failure 2019-03-28 17:21:38 +05:30
Suraj Shetty
091b7c0ad1 feat: Improve alert message
- Add document link
- Separate get_alert_message code
2019-03-28 10:35:36 +05:30
Suraj Shetty
9ef406bf31 test: Reset current user as admin in teardown 2019-03-28 07:38:11 +05:30
Suraj Shetty
355b8e3868 fix: Comment out caching code to fix test
- Remove debug flag
2019-03-27 23:58:44 +05:30
Suraj Shetty
843d6cc69a test: fix code to get energy_point from points dict 2019-03-27 23:57:39 +05:30
Suraj Shetty
eff958da52 perf: Index frequently queried fields in Energy Point Log 2019-03-27 23:54:14 +05:30
Suraj Shetty
db39160192 chore: Remove unused import 2019-03-27 17:38:25 +05:30