mergify[bot]
8ebc251394
Merge pull request #13065 from gavindsouza/api-updates
...
fix: Evaluate boolean values better via /api/resource/<doctype>
2021-05-26 04:41:55 +00:00
Kenneth Sequeira
6632b5876a
feat(minor): add number format parameter in fmt_money ( #13255 )
...
* feat: add number format parameter in fmt_money
* review fix: move new parameter at the end
Co-authored-by: Kenneth Sequeira <kenneth@Kenneths-MacBook-Air.local>
2021-05-24 16:14:56 +00:00
Gavin D'souza
10fe05da29
Merge branch 'develop' into api-updates
2021-05-20 17:11:43 +05:30
Suraj Shetty
0f94407e6d
Merge pull request #12969 from surajshetty3416/fix-sqli-report-get
2021-05-12 12:57:17 +05:30
leela
72ca7e9753
refactor: remove six dependency
2021-05-07 07:42:04 +05:30
Gavin D'souza
724a5b2536
fix: Evaluate boolean values better via /api/resource/<doctype>
...
`GET /api/resource/ToDo?limit=10&debug=False&as_dict=0` would be received by the resource handler as debug="False" and as_dict="0" which are both truthy values.
So, even though you requested for a list of lists response without debugging on, you'd get the exact opposite; debug on and a list of dicts.
- Evaluate boolean values for `GET /api/resource/<doctype>`
- Added `limit` parameter as an alias for `limit_page_length`
- Added `frappe.utils.data.sbool` that converts strings to bool values if applicable.
- Added some seemingly stupid comments for the sake of consistency.
2021-04-30 21:18:38 +05:30
Suraj Shetty
d8e91cae32
fix: Strip comments before sanitizing column_name
2021-04-23 01:20:47 +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