Commit graph

35112 commits

Author SHA1 Message Date
Sagar Vora
2e48c0a85e fix: clean join param when executing reportview.get 2021-10-31 19:20:51 +05:30
Faris Ansari
2ac2426c20
Merge pull request #14802 from netchampfaris/jinja-get_dom_id
fix: generate dom id helper for jinja
2021-10-31 13:39:30 +05:30
Faris Ansari
96ea14003d fix: generate dom id helper for jinja 2021-10-29 16:26:45 +05:30
mergify[bot]
5477429aa8
Merge pull request #14801 from ankush/test/restore_scheduler
test: restore scheduler state after running tests
2021-10-29 10:24:04 +00:00
mergify[bot]
b27a24dc53
Merge pull request #14501 from hasnain2808/between-formatting
fix: format between for creation/ modified
2021-10-29 10:19:35 +00:00
Ankush Menat
4755f416db test: restore scheduler state after running tests 2021-10-29 15:16:29 +05:30
gavin
92f6c4ac65
Merge pull request #14800 from gavindsouza/browserslist-update
chore: Bump browserlist dependency
2021-10-29 14:59:20 +05:30
Gavin D'souza
ebf93fe19b chore: Bump browserlist dependency 2021-10-29 14:25:40 +05:30
Gavin D'souza
ccb53c0f5b fix: If column comparision is done, dont check for ifnull/coalesce 2021-10-29 14:19:28 +05:30
mergify[bot]
9a933734eb
Merge pull request #14798 from ankush/test/enable-scheduler
test: enable scheduler back after running the test
2021-10-29 08:25:08 +00:00
Gavin D'souza
9bf043eddf fix(db_query): Change fallback to min datetime 2021-10-29 13:24:28 +05:30
Gavin D'souza
9be8a0895d Merge branch 'develop' into between-formatting 2021-10-29 13:13:55 +05:30
Ankush Menat
13a2c3403c test: enable scheduler back after running the test 2021-10-29 13:10:28 +05:30
rohitwaghchaure
6ae352a05f
fix: ignore filename with dotted path (#14617)
* fix: ignore dotted path in file name

* fix: condition for checking file

* Update data.py

* fix: only allow pdf files

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2021-10-28 19:23:57 +00:00
Aditya Hase
43a722d3bb
fix(minor): Don't allow frappe.cache() methods in server scripts (#14609) 2021-10-28 15:54:32 +05:30
mergify[bot]
80345e4206
Merge pull request #14526 from surajshetty3416/fix-has-permission-for-child-doc
fix: Check parent permission while doing `has_permission` for child
2021-10-28 10:08:50 +00:00
Suraj Shetty
4e6ea8fdbd fix: Docstring of has_permission & made error title translatable
- doctype -> DocType
- fixed other typo
2021-10-28 15:25:45 +05:30
Suraj Shetty
57df0bad82 fix: Check permission for address and contact list 2021-10-28 15:14:53 +05:30
Suraj Shetty
bf34de1d04 fix: Assume that child doc will have parent references 2021-10-28 15:06:38 +05:30
Ankush Menat
af4ce8156d
fix: remove mutable defaults (#14597)
* fix: mutable defaults

* fix: missing defaults
2021-10-28 09:36:31 +00:00
mergify[bot]
cf13436ac5
Merge pull request #14604 from adityahase/fix-hooks
fix(minor): Don't allow changes to global hooks from server scripts
2021-10-28 09:26:47 +00:00
Suraj Shetty
7670c0430a fix: Simplify code and fix typo 2021-10-28 14:49:52 +05:30
Aditya Hase
787364b166
fix(minor): Don't allow changes to global hooks from server scripts 2021-10-28 14:40:16 +05:30
Suraj Shetty
cb76118268 refactor: Check parent validity using parent meta 2021-10-28 13:41:12 +05:30
Suraj Shetty
95258bf9f2 fix: Do not allow child table access via "get_list_data" 2021-10-28 13:38:54 +05:30
rohitwaghchaure
2c77d938f2
Merge pull request #14602 from rohitwaghchaure/pdf-to-base-64
feat: pdf to base64 convert
2021-10-28 13:04:13 +05:30
Rohit Waghchaure
5ef72dd290 feat: pdf to base64 convert 2021-10-28 12:41:27 +05:30
Suraj Shetty
26dfdf5c11 test: Update tests 2021-10-28 11:18:36 +05:30
Suraj Shetty
0d5cd86401 fix: Pass parent_doctype to get_list 2021-10-28 11:18:01 +05:30
Suraj Shetty
9ce52fcd18 fix: Properly pass kwargs to has_permission of parent 2021-10-28 11:17:10 +05:30
gavin
380882f391
Merge pull request #14592 from gavindsouza/misc-fixes-4
fix: Misc fixes
2021-10-27 14:56:21 +05:30
Gavin D'souza
c1db7649eb test: Delete from Access Log before each website test
This should fix flaky test_printview_page which fails due to name
collision while creating access log documents
2021-10-27 14:37:19 +05:30
mergify[bot]
35662e1bff
Merge pull request #14576 from resilient-tech/fix-maxLength
fix: set maxlength property for Link fields
2021-10-27 08:31:57 +00:00
Suraj Shetty
b68d6fe879 fix: typo 2021-10-27 13:57:44 +05:30
Suraj Shetty
3b92971a8e test: Update test case 2021-10-27 13:53:08 +05:30
Suraj Shetty
9189c62437 fix: Pass parent_doctype while checking permission for child_table in db_query 2021-10-27 13:52:34 +05:30
mergify[bot]
043ba2ed16
Merge pull request #14588 from ankush/img_comment
fix: allow submitting comment with images only
2021-10-27 08:21:01 +00:00
Gavin D'souza
18161e2a13 perf: Use db_insert to make Access Logs instead 2021-10-27 13:42:59 +05:30
Gavin D'souza
482878733b fix(typing): Show "accurate" type hints for qb 2021-10-27 13:42:15 +05:30
Faris Ansari
931dbaa323 Revert "fix(minor): website_builder.scss removed border for cards"
This reverts commit 372447846e.
2021-10-27 13:10:42 +05:30
Ankush Menat
866212333d fix: allow submitting comment with images only 2021-10-27 13:07:51 +05:30
Suraj Shetty
64822df6ff
Merge branch 'develop' into fix-has-permission-for-child-doc 2021-10-27 13:07:44 +05:30
Suraj Shetty
68cf640545 test: Test child table permission 2021-10-27 13:00:16 +05:30
Suraj Shetty
0f98b4d174 fix: Make parent_doctype mandatory while accessing child doctype 2021-10-27 12:59:42 +05:30
mergify[bot]
704d5e2fc6
Merge pull request #14582 from ankush/weasyprint_import_error
fix(dx): error message for missing system deps
2021-10-27 06:00:34 +00:00
Ankush Menat
50eb39eb5e fix(dx): error message for missing system deps 2021-10-27 10:15:11 +05:30
mergify[bot]
60eb66e3dd
Merge pull request #14305 from nextchamp-saqib/mask-sql-errors
feat: handle timeout and deadlocks in db.sql
2021-10-26 14:26:45 +00:00
mergify[bot]
13d594a51a
Merge pull request #14578 from Aradhya-Tripathi/at/fix/translate
fix: fixed erroneous query in translate
2021-10-26 13:24:52 +00:00
Aradhya-Tripathi
92ad93c9d7 fix: sider issues 2021-10-26 18:41:27 +05:30
Aradhya-Tripathi
56dfae64f3 fix: converted dependent queries 2021-10-26 18:32:50 +05:30