Commit graph

281 commits

Author SHA1 Message Date
leela
72ca7e9753 refactor: remove six dependency 2021-05-07 07:42:04 +05:30
Syed Mujeer Hashmi
13a57d141e fix: timespan filter for next and last timespans
The timespan filter now considers calendar month, quarter,
half-year, and year for last and next timespans.

Signed-off-by: Syed Mujeer Hashmi <mujeerhashmi@4csolutions.in>
2021-03-16 21:12:07 +05:30
mergify[bot]
465404f66e
Merge pull request #12447 from adityahase/perf-cli
perf: Faster CLI
2021-02-25 01:44:36 +00:00
mergify[bot]
86407e5b48
Merge pull request #12446 from leela/login-attempt-tracker
refactor: Track consecutive login attempts
2021-02-24 10:11:04 +00:00
Saqib
d9737c1d25
Merge branch 'develop' into image-pf-fix 2021-02-24 12:45:21 +05:30
leela
6e5e0890f3 refactor: Cleaned authentication logic
Auth flow is changed to use login attempt tracker.
2021-02-22 21:11:18 +05:30
Aditya Hase
56d1954591
fix: Add missing imports 2021-02-22 11:53:26 +05:30
Aditya Hase
365ad34b40
perf: Remove six.moves.html_parser from import tree 2021-02-21 09:59:48 +05:30
Aditya Hase
0ba2fc0440
perf: Remove dateutil.parser from import tree 2021-02-21 09:59:12 +05:30
Aditya Hase
56deeafe00
perf: Remove dateutil from import tree 2021-02-21 09:46:44 +05:30
Aditya Hase
64517ef272
perf: Remove babel from import tree 2021-02-21 09:46:31 +05:30
Aditya Hase
e209722624
perf: Remove num2words from import tree 2021-02-21 09:45:24 +05:30
Aditya Hase
b35a63c05f
perf: Remove html2text from import tree 2021-02-21 09:44:07 +05:30
Aditya Hase
563e81c22c
perf: Remove markdown2 from import tree 2021-02-21 09:43:22 +05:30
Aditya Hase
2413f7e6ec
perf: Replace markdown2.UnicodeWithAttrs with frappe.utils.UnicodeWithAttrs 2021-02-21 09:41:10 +05:30
Ankush Menat
523112fd8b
docs: update docs of some most used functions
Update following function/methods:

BaseDocument.update
BaseDocument.append
utils.cint
utils.flt
utils.getdate

[skip travis]
2021-02-15 17:41:29 +05:30
Saqib Ansari
d008662f6d Merge branch 'develop' into image-pf-fix 2021-02-10 13:01:16 +05:30
Rushabh Mehta
bca3aecdaf fix(minor): fix routing and titles + added frappe.utils.markdown alias to frappe.utils.md_to_html 2021-01-31 18:18:47 +05:30
Saqib Ansari
3bc1648939 fix: broken image rendering in print format 2021-01-29 12:47:37 +05:30
Suraj Shetty
ce379bc200 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-28 19:56:54 +05:30
Suraj Shetty
b91e05d2d0 fix: Incorrect fix 2021-01-22 12:33:12 +05:30
Suraj Shetty
f468dd0c20 fix: Handle edge case in get_abbr method 2021-01-22 10:05:16 +05:30
Gavin D'souza
16f2b29cb3 style: Trim extra whitespace 2021-01-21 13:19:31 +05:30
Gavin D'souza
33ea496a8b feat: Added get_datetime_in_timezone in frappe.utils to get datetime in specific timezones
* Added util in safe_exec to access via Server Scripts and System
Console
2021-01-21 13:19:31 +05:30
Suraj Shetty
e4bdbed414 Merge branch 'rebrand-ui' of https://github.com/frappe/frappe into rebrand-ui 2021-01-21 11:20:18 +05:30
Suraj Shetty
e2c763c989 feat: Add avatar macro 2021-01-21 11:14:04 +05:30
prssanna
e54a1262b4 Merge branch 'rebrand-ui' of https://github.com/frappe/frappe into rebrand-ui 2021-01-20 17:57:46 +05:30
prssanna
f363863b8c fix: website fixes
-move modal and icon styles to common

primary navbar theme
2021-01-20 17:56:05 +05:30
Suraj Shetty
b94d5778a8 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-19 10:36:50 +05:30
Sagar Vora
54f9b894ed fix: add yesterday and tomorrow to timespan; optimise get_timespan_date_range 2021-01-07 21:24:23 +05:30
Rushabh Mehta
b2686e0623 fix(routing): removed /space from routing 2021-01-01 12:30:35 +05:30
Rushabh Mehta
90363f4ba9 fix(routes): minor fixes to route, favion, setup-wizard 2020-12-18 13:17:28 +05:30
Suraj Shetty
25dc9ee222 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-12-11 13:02:36 +05:30
Faris Ansari
6289d7dd59
Merge pull request #12056 from anupamvs/date-format
feat: added data format support DD-Mon-YY
2020-12-10 11:17:38 +05:30
Shivam Mishra
c5d0830553 fix: cint seconds before operations 2020-12-10 10:37:29 +05:30
Anupam
e197a6fd7f feat: added data format support DD-Mon-YY 2020-12-08 17:07:32 +05:30
Rushabh Mehta
ff71329b03 fix(merge): develop 2020-12-02 10:54:10 +05:30
Rushabh Mehta
75fe8a615a feat(app): move /desk to /app 2020-11-11 16:31:47 +05:30
prssanna
7f43169c4a refactor: reorganise date functions indashboard_chart.py 2020-10-28 00:11:43 +05:30
prssanna
969aa86e68 fix: calculate chart data from beginning of period
- show period as label
2020-10-27 17:59:56 +05:30
Rucha Mahabal
175c2fdb65
Merge branch 'develop' into fix-duration-control-import-export 2020-09-23 09:39:32 +05:30
Rushabh Mehta
70baf49c6e fix(data): dont try casting if doctype is missing 2020-09-21 10:28:11 +05:30
Rushabh Mehta
334ae82e52 fix(naming): added multiple rules for naming series 2020-09-21 10:28:11 +05:30
Faris Ansari
bbdbc0d947 Merge remote-tracking branch 'upstream/develop' into aaaa-website-enhancements-for-redesign 2020-09-18 16:17:15 +05:30
Rucha Mahabal
29fc0a8c0c fix: validate duration value while converting to seconds 2020-09-17 11:47:39 +05:30
Faris Ansari
627aff4bb8 fix: Handle jpe files in image_to_base64 2020-09-14 15:21:22 +00:00
Faris Ansari
cc9fdd690a fix: Check if file exists before generating base64 2020-09-11 19:22:34 +05:30
Faris Ansari
4a58f2224c fix: Ignore SVG images 2020-09-10 15:33:57 +05:30
Aditya Hase
3349c9f942
fix(minor): Prevent path traversal 2020-09-04 16:31:10 +05:30
Rushabh Mehta
8c8f7313f4
fix(minor): make utils explicit in safe_globals (#11408)
* fix(minor): make utils explicit in safe_globals

* fix(minor): import subprocess

* fix(minor): fix globals in safe_eval;

* fix(minor): import subprocess

* fix(minor): add test

* fix(minor): webhook.py

* fix(minor): document_type_mapping.py
2020-09-03 14:26:01 +05:30