Commit graph

35098 commits

Author SHA1 Message Date
Gavin D'souza
ebf93fe19b chore: Bump browserlist dependency 2021-10-29 14:25:40 +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
Aradhya-Tripathi
a76f64bbaf fix: fixing query in translate.py 2021-10-26 17:51:37 +05:30
Gavin D'souza
125233315f fix: errprint only if traceback? 2021-10-26 17:33:03 +05:30
mergify[bot]
b1aa6a25c5
Merge pull request #14455 from frappe/add-login-fields
feat: add login fields to social login page
2021-10-26 12:00:51 +00:00
Suraj Shetty
f4ff67dacd
Merge branch 'develop' into add-login-fields 2021-10-26 17:10:38 +05:30
Gavin D'souza
c755df29bd Merge branch 'develop' of github.com:frappe/frappe into mask-sql-errors 2021-10-26 15:37:03 +05:30
Suraj Shetty
494cc83bde fix: Return parent doc object for further permission check 2021-10-26 14:30:13 +05:30
Suraj Shetty
3728e6dfdb fix: Use get_all instead of get_list for doc creation to avoid permission check 2021-10-26 12:40:37 +05:30
Sagar Vora
5fded165e2 fix: set maxlength property for Link fields 2021-10-26 12:31:03 +05:30
mergify[bot]
d82c5e083c
Merge pull request #14575 from ankush/patch_failure
fix: patch failure due to incorrect args in query
2021-10-26 06:42:42 +00:00
Ankush Menat
e8e90d4320 fix: patch failure due to incorrect args in query 2021-10-26 11:40:19 +05:30
Paweł Wojciechowski
a956571d41
fix: Website URL parsing function parses absolute telephone/phone tel: URLs as relative (#14568)
* Update utils.py

Fix: #14567 

tel: URLs should be parsed as absolute path

* fix: Parsing telephone/phone tel: URLs as absolute
2021-10-26 05:34:23 +00:00
mergify[bot]
2ffab778c4
Merge pull request #14573 from vrslev/develop
fix(ui): Make user-wise grid customization translatable
2021-10-26 05:17:36 +00:00