mergify[bot]
4d4e51989d
Merge pull request #14993 from kennethsequeira/dis-eps
...
fix: Disable EPS by default
2021-11-17 11:45:36 +00:00
Ankush Menat
673c8baa2a
test: fix EPS test after changing default value
2021-11-17 15:53:46 +05:30
Ankush Menat
3be669ed69
feat(ux): option to disable EPS notifications ( #14992 )
2021-11-17 14:07:20 +05:30
Kenneth Sequeira
6ec6fbaa8d
chore: disable eps by default
2021-11-16 23:28:19 +05:30
Ankush Menat
7aa8688a09
perf: remove "track changes" from log-like doctypes
...
Removed "Track Changes" from:
- Activity Log
- Error Log
- Error Snapshot
- Scheduled Job Log
- View Log
- Notification Log
- Route History
- Energy Point Log
- Web Page View
These documents dont change and even if they did it's useless to keep
track of it IMO. Removing this speeds up insertion and saves storage.
2021-10-29 12:20:13 +05:30
Gavin D'souza
3446026555
chore: Update header: license.txt => LICENSE
...
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Gavin D'souza
ebc220db39
refactor(tests): frappe.db.delete > frappe.db.sql
...
Use frappe.db.delete wherever possible. Get rid of all the frappe.db.sql ;)
This commit focuses on the tests written under the doctype specific
tests
2021-08-19 19:50:48 +05:30
Suraj Shetty
bd91a33bb9
test: Add test case to validate EP for disabled user
2021-07-14 21:35:04 +05:30
Suraj Shetty
bd854bb368
fix: Do not create energy points for disabled users
2021-07-14 18:16:50 +05:30
Gavin D'souza
e407b78506
chore: Drop dead and deprecated code
...
* Remove six for PY2 compatability since our dependencies are not, PY2
is legacy.
* Removed usages of utils from future/past libraries since they are
deprecated. This includes 'from __future__ ...' and 'from past...'
statements.
* Removed compatibility imports for PY2, switched from six imports to
standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Ankush Menat
7933b9c825
chore: replace assertNotEquals with assertNotEqual
2021-05-06 21:23:04 +05:30
Sagar Vora
497ea861f4
feat: frappe.whitelist for class methods
2021-03-30 13:07:58 +05:30
Parth J. Kharwar
9e5ca78d78
feat: enables, disables and deletes notification settings when a user is modified [CU-j8wutt] ( #9 )
2021-02-26 13:06:04 +05:30
Suraj Shetty
e6aa5394b8
feat: Add avatars for top performers
2021-01-21 11:18:59 +05:30
Rushabh Mehta
54cee87826
fix(minor): tests + routing
2020-12-24 14:48:40 +05:30
Shivam Mishra
dea1063c3e
chore: remove print statement
2020-11-18 14:25:40 +05:30
Rushabh Mehta
75fe8a615a
feat(app): move /desk to /app
2020-11-11 16:31:47 +05:30
Michelle Alva
00ee7f27b0
fix: Allow creation of Energy Point Log ( #11651 )
...
* fix: Enable in_create for Energy Point Log
* fix: enable in_create
* fix: remove in_create
2020-10-06 16:16:08 +00:00
Rushabh Mehta
b92b97fd9a
fix(minor): clear cache for maps
2020-08-17 09:41:54 +05:30
Rushabh Mehta
b09beb9147
fix(tests): cleanup
2020-08-17 09:41:54 +05:30
Himanshu Warekar
59d1c29c98
fix: test cases
2020-05-18 12:54:26 +05:30
Suraj Shetty
d53b88a72f
perf: Make tests faster ( #10307 )
...
* feat: Ignore versions for test
* test: Do not ignore version where needed
* perf: Use frappe.db.get_single_value to leverage caching
- frappe.get_cached_value does not support single value caching
* style: Fix sider issue
2020-05-12 22:34:10 +05:30
mergify[bot]
adf56260c3
Merge pull request #10269 from Mangesh-Khairnar/fix-reviews-section
...
fix: remove reviews label on disabling energy points settings
2020-05-08 08:58:14 +00:00
Mangesh-Khairnar
bae02075d6
fix: remove reviews label on disabling energy points settings
2020-05-08 12:30:52 +05:30
Deepesh Garg
e4dbbfd13f
fix: Ignore energy point log perm on doc cancel
2020-05-05 19:24:34 +05:30
prssanna
379ecf5952
fix: don't send energy points summary if email notifications for energy points are disabled
2020-04-03 13:03:55 +05:30
Himanshu Warekar
062ea3cb4c
revert: " fix(EPS): parse email address for eps"
2020-03-23 23:13:47 +05:30
Himanshu
01c6cd5c8f
fix(EPS): parse email address for eps ( #9764 )
2020-03-23 21:25:00 +05:30
Shivam Mishra
8627cce88e
feat: added in_setup_wizard flag
2020-02-19 12:45:04 +05:30
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