Gavin D'souza
cce3a381fc
chore: Update copyright until date to 2021
...
INAL but this date range is purely decorational. If the date hasnt been
updated in a while, doesn't really matter AFAIK. MIT license and
copyright is still under effect if the license exists in the published source
2021-09-03 12:19:15 +05:30
Gavin D'souza
816dd709f4
chore: Ignore updating license header from blame
...
This adds the previous style changes in the license header (for
consistency) in the ignore-revs file
2021-09-03 12:14:45 +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
65864c027f
chore: Update module license header
...
These modules were imported from the ERPNext codebase into Frappe.
License header was overlooked at that point. These were contributed
initially by Frappe Technologies Pvt Ltd under GPLv3 (ERPNext's license) and now
we, as Frappe Technologies Pvt Ltd converting them to MIT to comply with
Frappe's license.
2021-09-03 11:51:01 +05:30
Suraj Shetty
3f69350f09
ci: Add 0.5% as threshold for coverage failure
2021-09-02 18:49:04 +05:30
mergify[bot]
5b78407789
Merge pull request #14109 from vrslev/fix-qb-autocomplete
...
feat: Query Builder autocomplete hack
2021-09-02 09:50:18 +00:00
Lev
6f114b1c19
chore: Query Builder autocomplete hack
2021-09-02 12:21:34 +03:00
Suraj Shetty
a3a2d96579
chore: Update code coverage badge
...
coveralls badge -> codecov badge
2021-09-02 13:28:35 +05:30
Suraj Shetty
f4e477ef42
ci: Run postgres builds as well after a push on develop
2021-09-02 13:06:48 +05:30
Suraj Shetty
717285871e
Merge pull request #14105 from surajshetty3416/codecov
2021-09-02 12:49:29 +05:30
mergify[bot]
35b47d9fa3
Merge pull request #14101 from netchampfaris/server-script-enabled
...
fix: Enable Server Scripts by default
2021-09-02 06:38:55 +00:00
Suraj Shetty
329919d43d
chore: Add codecov config file
2021-09-02 11:37:40 +05:30
Suraj Shetty
cbd94bd33d
ci: Set name for coverage data upload
2021-09-02 10:53:53 +05:30
Suraj Shetty
ba73d99377
ci: Enable code coverage for postgres build as well
2021-09-02 09:36:57 +05:30
Suraj Shetty
cf028964f3
CI: Use codecov coverage reporting
...
Why?
- Coveralls had login issues and we were not able to view files to find the actual uncovered lines
- Codecov has better reporting (status checks & commit diff coverage, ), UX (better folder/file navigation, faster page loads), and has more features.
- Codecov will not require additional step of
coverage wrap-up for parallel builds (it manages it internally somehow).
2021-09-02 09:36:25 +05:30
Faris Ansari
f23802d25b
fix: Enable Server Scripts by default
2021-09-01 16:30:15 +05:30
mergify[bot]
386b579405
Merge pull request #13989 from gavindsouza/get-single-value-oof
...
fix(frappe.utils.data): Deprecate `cast_fieldtype` to use `cast` for consistent return types
2021-09-01 08:57:49 +00:00
Suraj Shetty
a194a05c06
Merge pull request #14054 from shariquerik/show-docstatus-in-list-view
...
fix: Show docstatus in list view through status indicator pill
2021-09-01 13:09:06 +05:30
Rushabh Mehta
12e1dd367f
Merge pull request #14077 from shariquerik/workspace-2_0-fixes
...
fix: Workspace 2.0 issues
2021-09-01 12:54:23 +05:30
Shariq Ansari
95ba4a53c1
fix: error while deleting links in cards
2021-09-01 12:41:53 +05:30
Suraj Shetty
3d5e7b64ea
ci: Update auto-close condition
2021-09-01 12:13:11 +05:30
Suraj Shetty
5c0c9d5417
ci: Update mergify.yml
2021-09-01 12:06:46 +05:30
Shariq Ansari
0ca9df7ecb
Merge branch 'develop' into workspace-2_0-fixes
2021-09-01 10:45:39 +05:30
gavin
8394bbeb4c
chore(utils): Add type hints for get_timedelta, getdate
...
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2021-08-31 21:50:07 +05:30
Suraj Shetty
9d785b6d9f
Merge pull request #14050 from surajshetty3416/fix-link-selector
2021-08-31 20:05:11 +05:30
Shariq Ansari
6be64eb4f9
fix: Make min width of page action buttons to 35px
2021-08-31 17:22:48 +05:30
Rushabh Mehta
b4eba5497c
Merge pull request #14083 from rmehta/fixes-31-aug
...
fix(cleanup): cleanup email account, bug fix for web_template.js and more
2021-08-31 15:32:27 +05:30
Rushabh Mehta
cec53b595a
fix(cleanup): cleanup email account, bug fix for web_template.js and more
2021-08-31 15:27:25 +05:30
Gavin D'souza
9a32513b47
chore: Update frappe.utils.data.cast docstring
2021-08-31 13:11:25 +05:30
Gavin D'souza
176d6d2d06
fix: Check if input is str is_invalid_date_string
...
This is sort of a breaking change? Because if an int/dict/list/tuple was
passed instead of a str, object doesnt have .startswith (AttributeError)
would be raised instead of just returning None.
2021-08-31 13:07:22 +05:30
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
Suraj Shetty
86af25a287
Merge branch 'develop' into fix-link-selector
2021-08-31 11:24:53 +05:30
mergify[bot]
56fcd3cfab
Merge pull request #13965 from deepeshgarg007/custom_doctype_length
...
fix: Length change for docfield not updated in Database
2021-08-31 05:49:11 +00:00
gavin
708a1118f7
Merge pull request #14071 from gavindsouza/b-start-retry
...
fix: Retry get_redis_conn until Redis is available
2021-08-31 11:15:46 +05:30
Deepesh Garg
62585b3ec2
Merge branch 'develop' of https://github.com/frappe/frappe into custom_doctype_length
2021-08-31 10:47:15 +05:30
Deepesh Garg
cd17ca274c
fix: Check column length from information schema
2021-08-31 10:44:11 +05:30
Suraj Shetty
552dc47e90
Merge branch 'develop' into fix-link-selector
2021-08-31 09:24:52 +05:30
Saqib
0c7c1dcb89
feat: Bulk export from list view ( #13906 )
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-08-30 20:02:29 +05:30
Gavin D'souza
be72397bca
test: Add tests for frappe.utils.data.cast
2021-08-30 18:51:36 +05:30
Shariq Ansari
025be09772
fix: Home redirect issue and made default content as []
2021-08-30 18:49:34 +05:30
gavin
8bd1b05727
Merge pull request #14075 from gavindsouza/roulette-gha-push
...
fix(ci): Run all builds on github push events
2021-08-30 17:22:48 +05:30
shariquerik
7c7eb68e4d
fix: sider fix
2021-08-30 14:00:40 +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
Shariq Ansari
f84344592a
Apply suggestions from code review
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-08-30 13:31:07 +05:30
Suraj Shetty
93b7eb64ec
Merge pull request #14061 from ankush/gha_concurrency
2021-08-30 13:10:44 +05:30
Gavin D'souza
a5ded007a5
fix(ci): Run all builds on github push events
...
Issue: No PR number is detected on Push events and all builds are
skipped. We want the opposite to be true, so we're running all builds on
merges in hopes of testing better.
2021-08-30 12:54:37 +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