Ankush Menat
e0688f25a8
chore: pin markupsafe ( #19348 )
...
We depend on it for escaping. Currently this works because of indirect
dependencies:
```
λ pipdeptree -p MarkupSafe --reverse
MarkupSafe==2.1.1
- Jinja2==3.1.2 [requires: MarkupSafe>=2.0]
- frappe==15.0.0.dev0 [requires: Jinja2~=3.1.2]
- Werkzeug==2.2.2 [requires: MarkupSafe>=2.1.1]
- frappe==15.0.0.dev0 [requires: Werkzeug~=2.2.2]
```
[skip ci]
2022-12-19 15:37:28 +05:30
Ankush Menat
a1132075a0
Merge pull request #19326 from resilient-tech/get-latest-fix
...
perf: reuse `_doc_before_save` in `doc.get_latest`
2022-12-19 12:30:30 +05:30
Ahmed Hasanin
57bc2ebf57
fix(workflow): Remove docstatus field from get_workflow_state_count ( #19332 )
...
remove docstatus from get_workflow_state_count as it is not being used
and causes error with postgresql as it requires the selected column
to either appear in the group by clause or an aggregat function
[skip ci]
2022-12-19 11:50:58 +05:30
Sagar Vora
2fd2d426cc
fix: better check of whether doctype is child table ( #19329 )
...
* fix: better check of whether doctype is child table
* perf: init `_table_fields` earlier
2022-12-19 11:50:16 +05:30
bosdaring
0d26627c66
build: bump pyyaml ( #19331 )
...
* Cython and PyYAML
compatible version for rhel based os
* chore: dont pin cython
Co-authored-by: Ankush Menat <ankush@frappe.io>
[skip ci]
2022-12-19 11:47:03 +05:30
Smit Vora
b2581430ed
fix: allow zero page length in get_list to return complete list ( #19322 )
...
* fix: allow zero page length to return complete list
* fix: linting issues
[skip ci]
2022-12-19 11:38:10 +05:30
Ankush Menat
95039a1265
fix: db ssl connection ( #19308 )
...
ref: https://pymysql.readthedocs.io/en/latest/modules/connections.html
[skip ci]
2022-12-19 11:21:15 +05:30
Shariq Ansari
80da745cf6
Merge pull request #19327 from resilient-tech/no-share-for-std
2022-12-19 11:07:21 +05:30
Sagar Vora
036574f547
fix: patch to remove share on existing sites
2022-12-17 07:57:02 +00:00
Sagar Vora
1684996e9f
fix: dont share with self for standard users
2022-12-17 07:57:02 +00:00
Sagar Vora
9ad9c39d25
test: improve doctype and field naming
2022-12-17 07:56:54 +00:00
Sagar Vora
c453ad2d97
perf: reuse _doc_before_save in doc.get_latest
2022-12-17 07:56:54 +00:00
Sagar Vora
1fbead137c
chore: ignore vuln GHSA-hcpj-qp55-gfph during pip audit ( #19328 )
2022-12-17 11:51:23 +05:30
Ankush Menat
4f6e62a96e
ci: bump black to latest ( #19319 )
...
[skip ci]
2022-12-16 15:14:37 +05:30
Devin Slauenwhite
64ec4276fc
fix: restore missing helpful and not_helpful fields to help article doctype. ( #19309 )
...
* fix: restore fields 'helpful' and 'not_helpfull' when removed via 02ddaa5ee7 \#diff-3e0e1befb66af4c2ab84c6fe0e996dc602d906817f0b00b6239120af9da9be46
* test: help article is helpful or not helpful
* chore: linter
2022-12-16 12:34:52 +05:30
Sagar Vora
6fe9f9b411
test: remove duplication in test_search
2022-12-16 10:21:50 +05:30
Ankush Menat
8140908f99
style: format
...
[skip ci]
2022-12-15 21:57:52 +05:30
Mohammad Hussain Nagaria
8f8f506b10
feat: fields for attaching (html) meta tags in web form ( #19306 )
2022-12-15 21:07:10 +05:30
Ankush Menat
c0e5408659
Merge pull request #19277 from resilient-tech/refactor-sanitize_searchfield
...
fix: use stricter regex for `sanitize_searchfield`
2022-12-15 17:47:07 +05:30
Ankush Menat
8107781f1c
fix: move filelock imports to functions ( #19300 )
2022-12-15 15:21:31 +05:30
Ankush Menat
9b2283092e
test: another test case for index duplication
2022-12-15 14:11:26 +05:30
Ankush Menat
06becac459
fix(trim-database): Dont act on non-frappe tables ( #19292 )
2022-12-15 13:43:28 +05:30
Ankush Menat
e437d0aca2
test: test index after col change too
2022-12-15 13:39:25 +05:30
Ankush Menat
56e1bf31d7
fix: patch to delete duplicate uniq indexes
2022-12-15 13:36:28 +05:30
Ankush Menat
8df845ca35
fix: duplicate unique index when column is altered
2022-12-15 13:36:28 +05:30
Ankush Menat
d27ea5e6da
test: unique index on install and alter
...
There should always be 1 unique index.
2022-12-15 13:36:28 +05:30
Shariq Ansari
d64836c1c4
Merge pull request #19285 from barredterra/remove-unused-html-param
2022-12-15 13:19:01 +05:30
Shariq Ansari
445da1fa99
Merge pull request #19284 from barredterra/download-pdf-with-lang-and-letterhead
2022-12-15 13:12:59 +05:30
Shariq Ansari
7129418fda
Merge pull request #19286 from frappe/fix-has-content
2022-12-15 12:31:26 +05:30
Shariq Ansari
cbb620eb61
Merge branch 'develop' into download-pdf-with-lang-and-letterhead
2022-12-15 12:21:19 +05:30
mergify[bot]
8d9673d296
Merge pull request #19289 from pps190/fix-grammer
...
fix: grammar mistake in label
2022-12-14 15:03:53 +00:00
Devin Slauenwhite
b522da495e
fix: grammar mistake in label
2022-12-14 09:47:28 -05:00
Hussain Nagaria
da7fd35e49
fix: handle HTML code field's has_content
2022-12-14 19:36:07 +05:30
barredterra
22ea39a442
fix: remove unused html parameter
...
from `attach_print`and `get_print`
2022-12-14 14:37:56 +01:00
Shariq Ansari
378af5a883
Merge pull request #19283 from shariquerik/bump-editorjs
2022-12-14 18:35:19 +05:30
barredterra
67ede5d533
feat: add parameters language and letter_head to download_pdf
2022-12-14 13:59:46 +01:00
Shariq Ansari
5363e6db15
build(deps): Bump editorjs to 2.26.3
2022-12-14 18:12:26 +05:30
Shariq Ansari
a6cecf10b2
Merge branch 'develop' into bump-editorjs
2022-12-14 18:05:26 +05:30
Shariq Ansari
b10056f9cd
build(deps): Bump editorjs to 2.26.2
2022-12-14 18:03:27 +05:30
Shariq Ansari
090f55957e
Merge pull request #19280 from shariquerik/grid-custom-button-space
2022-12-14 17:48:38 +05:30
Shariq Ansari
4b1f65206f
fix: if grid custom button is not set grid has some extra space on top
2022-12-14 17:29:58 +05:30
Daizy Modi
9a8dbc42a7
fix: added a case with backticks
2022-12-14 17:01:19 +05:30
Daizy Modi
3e824a9ea5
test: test case for sanitize_searchfield
2022-12-14 16:47:23 +05:30
Daizy Modi
4d9be26ada
fix: use stricter regex for sanitize_searchfield
2022-12-14 16:11:04 +05:30
Ankush Menat
d13ab320b7
refactor: Duplicate enqueue checks
...
scheduled_job_type.enqueue already does check for duplicate job and is
more "recent"
2022-12-14 15:46:46 +05:30
Ankush Menat
2b050f9fc3
test: test without adding hacky flags
2022-12-14 15:46:46 +05:30
Ankush Menat
82d699a801
refactor: misleading "log and raise" and types
2022-12-14 15:46:46 +05:30
Devin Slauenwhite
1fc2639123
fix: hide toolbar label ( #19272 )
2022-12-14 11:03:51 +05:30
Shariq Ansari
6dab439f42
Merge pull request #19269 from shariquerik/web-form-print-format-fix
2022-12-13 18:57:44 +05:30
Shariq Ansari
55d3bea05b
Merge branch 'develop' into web-form-print-format-fix
2022-12-13 18:06:03 +05:30