Gavin D'souza
8622142d7d
fix: Use get_timedelta in cast, add to safe_exec list
...
* Return date and datetime objects for Date and Datetime field types
respectively if Falsy output is set
2021-08-31 13:06:10 +05:30
Gavin D'souza
3858e95e80
feat(utils): Add util get_timedelta
...
get_timedelta returns None in case of invalid or imparsable inputs. This
behaviour is consistent wrt other utils. The util, to_timedelta tries to
convert to timedelta objects only if str object is passed. It returns
the same object if not string, which is absurd...given its called
`to_timedelta`.
2021-08-31 12:57:05 +05:30
Gavin D'souza
8e96d8d522
test: Add tests for str fieldstypes cast
2021-08-31 12:55:31 +05:30
Gavin D'souza
be72397bca
test: Add tests for frappe.utils.data.cast
2021-08-30 18:51:36 +05:30
Gavin D'souza
7e2e8c87ff
Merge branch 'develop' into get-single-value-oof
2021-08-30 13:49:35 +05:30
Gavin D'souza
b8c51b13e2
fix: Revert to using cast_fieldtype in BaseDocument.cast
...
* reference: revert Breaking Change -
https://github.com/frappe/frappe/pull/13989#discussion_r695624003
* Show deprecation warning unless `show_warning` is unset
2021-08-30 13:45:30 +05:30
Suraj Shetty
93b7eb64ec
Merge pull request #14061 from ankush/gha_concurrency
2021-08-30 13:10:44 +05:30
mergify[bot]
e8623474da
Merge pull request #13973 from deepeshgarg007/auto_email_report_null_values
...
fix: Handle null values in auto email report rows for XLSX format
2021-08-30 06:51:57 +00:00
Suraj Shetty
8948eadaf5
Merge branch 'develop' into auto_email_report_null_values
2021-08-30 11:21:53 +05:30
mergify[bot]
f27d3acc1f
Merge pull request #13367 from kennethsequeira/get-frmt
...
feat: add number format parameter in doc.get_formatted
2021-08-30 04:33:31 +00:00
Suraj Shetty
37d3555f1e
Merge pull request #13532 from shariquerik/date-field-validation-fix
...
fix: datetime field form validation
2021-08-30 10:01:28 +05:30
Suraj Shetty
2150049821
Merge branch 'develop' into get-frmt
2021-08-30 09:52:49 +05:30
mergify[bot]
ecb06cd12f
Merge pull request #13905 from Komal-Saraf0609/folder-navigation
...
test: Navigating to folder nested inside 2 folders
2021-08-30 03:42:46 +00:00
Komal-Saraf0609
9df31cfed1
test: Corrected the selectors for clicking of a button to make it more readable
2021-08-28 01:55:46 +05:30
Komal-Saraf0609
9e90bf34c7
Merge branch 'frappe:develop' into folder-navigation
2021-08-28 01:50:16 +05:30
Ankush Menat
132864a776
ci: extend concurrency control to all long jobs
2021-08-27 23:08:09 +05:30
Ankush Menat
d0099985fc
ci: concurrency control for postgres
2021-08-27 23:05:09 +05:30
Ankush Menat
a5e9d1ef4d
ci: concurrency control for CI jobs
...
When same PR causes multiple CI triggers due to rapid addition of new
commits, this change will cancel previous CI jobs to save resources.
2021-08-27 22:50:44 +05:30
gavin
3c43e63544
Merge pull request #14059 from gavindsouza/gha-cond-job
...
fix(ci): Don't skip Coverage job unconditionally
2021-08-27 21:18:04 +05:30
Gavin D'souza
14d46f10de
chore: Add vue as extn to frontend code
2021-08-27 20:28:42 +05:30
Gavin D'souza
8412674f49
fix(ci): Don't skip Coverage job unconditionally
...
pls ;)
2021-08-27 19:31:06 +05:30
gavin
0e0b0dd086
chore: Update CODEOWNERS
2021-08-27 17:01:56 +05:30
mergify[bot]
0bb05c290d
Merge pull request #14013 from shariquerik/export-all-rows-fix
...
fix: Faulty Export All rows visibility condition
2021-08-27 07:41:37 +00:00
mergify[bot]
739ce9563c
Merge pull request #14011 from mituldavid/img-processing-changes
...
refactor: Image cropping and optimization
2021-08-27 07:32:06 +00:00
Suraj Shetty
a1c057bc2a
Merge branch 'develop' into export-all-rows-fix
2021-08-27 12:57:28 +05:30
MitulDavid
9b824684a9
test: Move tests for optimize_file to separate test case
2021-08-27 11:56:18 +05:30
mergify[bot]
1dbffc038d
Merge pull request #14046 from ankush/recorder_import_export
...
feat: import/export captured recorder requests
2021-08-27 05:46:24 +00:00
Suraj Shetty
30a09490b5
Merge branch 'develop' into get-frmt
2021-08-27 11:12:27 +05:30
mergify[bot]
0a7720c013
Merge pull request #13966 from hasnain2808/maxlines-argument-to-ace-editor
...
feat: max_lines option in ace editor
2021-08-27 05:35:11 +00:00
Mohammad Hasnain Mohsin Rajan
7ab7da5c65
fix: only enabled users in mentions ( #14017 )
...
* fix: only enabled users in mentions
* Update frappe/desk/search.py
Co-authored-by: gavin <gavin18d@gmail.com>
* test: add test cases to disallow disabled in mention
* test: pass roles as single values
* style: Remove extra space and line
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: gavin <gavin18d@gmail.com>
2021-08-27 05:09:40 +00:00
Suraj Shetty
0ad1779bc7
Merge branch 'develop' into date-field-validation-fix
2021-08-27 10:31:01 +05:30
Suraj Shetty
e134570d26
style: Remove extra space
2021-08-27 10:24:57 +05:30
Suraj Shetty
92cc141653
Merge pull request #14052 from surajshetty3416/fix-dashboard-report-link
...
fix: Dashboard report link
2021-08-27 09:46:31 +05:30
Suraj Shetty
d123d24d9f
test: Clear filters after visiting contact list
2021-08-26 22:08:41 +05:30
Ankush Menat
b940052cc0
fix(ux): add message for dropping file
...
Also minor refactor: v-else instead of using negation of same condition.
2021-08-26 19:55:58 +05:30
hasnain2808
2705498eef
Merge branch 'develop' into maxlines-argument-to-ace-editor
2021-08-26 16:06:52 +05:30
Suraj Shetty
610ea87ff1
fix: Dashbord item spacing
2021-08-26 14:23:03 +05:30
Suraj Shetty
ce0022d347
test: Add UI test to check report link in dashboard
2021-08-26 14:20:46 +05:30
Suraj Shetty
0695923df7
refactor: Move report link code to render_report_links function
2021-08-26 14:20:08 +05:30
Suraj Shetty
fed53c7ff3
Merge branch 'develop' of https://github.com/frappe/frappe into fix-dashboard-report-link
2021-08-26 11:52:11 +05:30
mergify[bot]
641c3141fd
Merge pull request #13921 from Komal-Saraf0609/dashboard-links
...
test: Added test script for dashboard links
2021-08-26 06:21:36 +00:00
Suraj Shetty
06aac7500d
fix: Dashboard report link
2021-08-26 11:40:37 +05:30
Ankush Menat
1bebe28876
feat: import/export full recorder captures
2021-08-25 23:20:55 +05:30
Ankush Menat
55d22e185b
chore: extend editorconfig to vue components
2021-08-25 20:12:55 +05:30
Faris Ansari
03174aa8c2
Merge pull request #14041 from shariquerik/total-row-hidden-fix
...
fix: Total Row is hidden in Query Report & Script Report
2021-08-25 17:25:55 +05:30
shariquerik
678474c652
chore: Using jquery to set css
2021-08-25 17:23:44 +05:30
MitulDavid
23c34183f3
test: Add tests for optimize_file
2021-08-25 17:17:39 +05:30
MitulDavid
15ba0fbe3e
refactor: Remove set_route after optimization
2021-08-25 17:15:29 +05:30
MitulDavid
0b4d084ceb
fix: Flags not set on error during .save()
2021-08-25 17:14:32 +05:30
gavin
ba42f0e83f
Merge pull request #14030 from gavindsouza/roulette-gha
...
ci: Roulette for GHA
2021-08-25 16:39:09 +05:30