Commit graph

168 commits

Author SHA1 Message Date
Faris Ansari
db225c7c69 fix: Dont apply energy points during import 2019-11-19 17:34:01 +05:30
Suraj Shetty
f4fb04c4b2 style: Fix deepsource 2019-11-15 11:15:53 +05:30
Suraj Shetty
96715b10f4 style: Fix codacy 2019-11-15 11:00:05 +05:30
Suraj Shetty
4bfbeb2c1b refactor: Move revert functionality to controller 2019-11-15 10:50:52 +05:30
Suraj Shetty
3b01712341 test: Check allowance of new log over reverted log 2019-11-15 10:50:40 +05:30
Suraj Shetty
b51ff98f73 fix: Allow creation of new point log if old logs were reverted 2019-11-15 10:37:41 +05:30
Saurabh
cc2797a08e 1. do not run server side script if site is in migrate state
2. do not process enegery points if site is in migrate state
2019-11-07 12:36:38 +05:30
mergify[bot]
c57961e931
Merge pull request #8694 from surajshetty3416/apply-rule-only-once
feat(EPS): Apply rule only once
2019-10-29 08:53:13 +00:00
Suraj Shetty
5a67279f59 test: Replace assertEquals with assetEqual
Since assertEquals will be eventually depricated
2019-10-29 11:19:48 +05:30
Suraj Shetty
bebf7535e8 test: Fix test 2019-10-29 10:37:51 +05:30
Prssanna Desai
70f49546c1 fix(Notifications): Improvements for Notifications (#8671)
* fix: seen notification logic

* fix: rename upcoming events to today's events, fix padding

* fix: truncate title

* fix: don't allow self notifications

* fix: don't check for same  user for energy point notifications

* fix: codacy

* fix: truncate title client side

* fix: use data-action to mark as seen

* fix: don't send emails for auto energy points
2019-10-28 16:13:40 +00:00
Suraj Shetty
359c5fc411 test: Add test to check "Apply Only Once" condition 2019-10-28 14:33:14 +05:30
Suraj Shetty
c52f88d4d3 feat: Ability to apply Energy Point Rule only once 2019-10-28 14:32:26 +05:30
Faris Ansari
340c3635ae fix: enqueue_create_notification
- Enqueue one call instead of multiple
- Remove email content argument
2019-10-21 12:39:42 +05:30
prssanna
75b624e7a2 fix: move notifications to desk, refactor notifications.js 2019-10-09 16:23:26 +05:30
prssanna
91d7c79ab0 fix: notification email style and fully clickable links 2019-10-09 16:22:58 +05:30
prssanna
9973e505e0 fix: doctype notification log labels 2019-10-09 16:22:58 +05:30
prssanna
70ca45c293 fix: translated strings 2019-10-09 16:22:58 +05:30
prssanna
47e59753dd fix: enqueue notification creation 2019-10-09 16:22:58 +05:30
prssanna
b1cd456729 fix: remove unused imports 2019-10-09 16:22:57 +05:30
prssanna
e648e13970 fix: common email template for notifications and added document sharing notification 2019-10-09 16:22:57 +05:30
prssanna
730d9d91cf fix: remove unused imports 2019-10-09 16:22:57 +05:30
prssanna
2073fd1f91 fix: remove notifications code 2019-10-09 16:22:57 +05:30
prssanna
bae5049683 feat(Notifications): Add integrated notifications 2019-10-09 16:22:57 +05:30
mergify[bot]
5f33dd17c6
Merge pull request #8489 from prssanna/leaderboard-refactor
feat(Leaderboard): Add Energy Points Leaderboard to Leaderboard
2019-09-30 09:47:09 +00:00
mergify[bot]
99b0906f16
Merge pull request #8492 from surajshetty3416/feat-value-change-detection
feat: EP rule based on value change in the ref. document
2019-09-24 16:20:41 +00:00
Suraj Shetty
227d27f254 fix: Duplicate review point allocation (#8485) 2019-09-24 10:40:43 +00:00
Suraj Shetty
7bb2ab622c fix: Add optionally mandatory field validation 2019-09-24 15:32:30 +05:30
Suraj Shetty
66468d2670 fix: Re-organise EP rule form 2019-09-24 15:26:12 +05:30
Suraj Shetty
669690c856 fix: Add code to set options for field_to_check 2019-09-24 15:25:42 +05:30
Suraj Shetty
97a65ceca4 Merge branch 'develop' of https://github.com/frappe/frappe into feat-value-change-detection 2019-09-24 14:59:41 +05:30
Suraj Shetty
c61de730d9 feat: Option to detect field change from EP rule 2019-09-24 14:54:02 +05:30
prssanna
6489bda5ad refactor(Leaderboard): Use API to get leaderboards from ERPNext and add Energy Point Leaderboard 2019-09-24 13:03:04 +05:30
Suraj Shetty
b07b87392d fix: Add field description and remove mandatory constraint 2019-09-23 16:18:22 +05:30
Suraj Shetty
eee41cac31 test: Add test for point allocation based on assignment 2019-09-23 16:17:08 +05:30
Suraj Shetty
ac1c242a14 feat: Energy Points for assigned users on a document 2019-09-19 17:55:34 +05:30
Suraj Shetty
2242146c82 fix: Rename Reference DocType -> Reference Document Type 2019-09-05 15:47:40 +05:30
prssanna
2553ba5664 feat: add energy points to leaderboard 2019-09-02 23:47:39 +05:30
rohitwaghchaure
684d3887ab
Merge pull request #8235 from rohitwaghchaure/unknown_column_seen_in_database
fix: Unknown column seen in field list
2019-08-22 12:13:15 +05:30
Rohit Waghchaure
06c8503142 fix: Unknow column seen in field list 2019-08-22 12:11:46 +05:30
Suraj Shetty
ad28a6aefe fix: Remove checkbox instead add select option with doc events
- Add options for special Doc Events like New, Submit and Cancel
2019-08-21 12:52:15 +05:30
Suraj Shetty
f6d69e2fc8 fix: Add description for maximum point field 2019-08-20 11:23:29 +05:30
Suraj Shetty
2463cbcc98 style: Remove unused variable 'created_todo' 2019-08-16 15:06:05 +05:30
Suraj Shetty
85c0de2a2d test: Add test cases for document creation point and max_point limit 2019-08-16 13:11:00 +05:30
Suraj Shetty
080e5c463c feat: Ability to make point rule for document creation
- Add max point field (This will be used to restrict max point
 allowed after getting multiplied with multiplier field value)
2019-08-16 13:10:18 +05:30
Aditya Hase
9591d71ab1
Revert "feat: Allow utils inside Energy Point Rule condition " 2019-08-09 13:25:53 +05:30
Suraj Shetty
137e1c9262 style: fix quotes 2019-08-08 18:37:47 +05:30
Suraj Shetty
c0951b78fe fix: Add complete utils instead 2019-08-08 18:36:48 +05:30
Suraj Shetty
35e78707dd fix: Pass correct getdate method 2019-08-08 18:30:05 +05:30
Suraj Shetty
fe67796130 feat: Allow getdate for Energy Point Rule condition 2019-08-08 18:27:44 +05:30