Akhil Narang
26ae0f3460
fix: ruff fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
barredterra
2f7b9f8a5a
fix: get users for leaderboard
2023-12-11 18:07:30 +01:00
barredterra
b553ed98d8
refactor: inline immediately returned variable
...
Inline a variable to a return in the case when the
variable being declared is immediately returned
2023-08-08 18:09:49 +02:00
Ankush Menat
2eec621e95
chore: db.get_all -> get_all
...
Reduces 1 pointless function call.
Function calls are also not "super cheap" in python.
2022-08-22 11:35:14 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +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
prssanna
aecc43fcd5
fix: user profile link in leaderboard
2021-03-18 12:43:06 +05:30
prssanna
3cfb57cec1
fix: don't show disabled users in leaderboard
2021-03-02 18:35:59 +05:30
prssanna
c8334420b9
feat: icons in leaderboard sidebar
2020-10-16 11:31:30 +05:30
prssanna
59a1ee6a82
feat: date range in leaderboard
2020-06-04 18:49:01 +05:30
prssanna
c093518ecd
fix: show only enabled system users in EP leaderboard
2019-10-28 17:54:25 +05:30
Suraj Shetty
b4e616c0de
fix: Rename "Energy Point Log" with "User"
...
Because it's user's leaderboard
2019-09-30 13:21:03 +05:30
prssanna
da8ad36cde
fix: call leaderboard methods directly from config
2019-09-30 11:13:07 +05:30
prssanna
782f1cf098
fix: full name in energy point leaderboard chart
2019-09-27 17:49:34 +05:30
prssanna
3870f40367
fix: refactor leaderboard formatting
2019-09-27 16:13:31 +05:30
prssanna
14ec2e1ddb
fix: formatting
2019-09-26 13:46:03 +05:30
prssanna
8bc843d26b
fix: remove erpnext doctypes from leaderboard.js
2019-09-25 17:39:15 +05:30
prssanna
e0d1da6346
fix: formatting
2019-09-24 14:48:23 +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