Commit graph

36088 commits

Author SHA1 Message Date
Ankush Menat
13a2c3403c test: enable scheduler back after running the test 2021-10-29 13:10:28 +05:30
Shariq Ansari
c187391de5 test: Fixed failing unit(python) test 2021-10-29 12:34:30 +05:30
Ankush Menat
7b747a68f9 fix: disable "track changes" by default 2021-10-29 12:23:03 +05:30
Ankush Menat
7aa8688a09 perf: remove "track changes" from log-like doctypes
Removed "Track Changes" from:

- Activity Log
- Error Log
- Error Snapshot
- Scheduled Job Log
- View Log
- Notification Log
- Route History
- Energy Point Log
- Web Page View

These documents dont change and even if they did it's useless to keep
track of it IMO. Removing this speeds up insertion and saves storage.
2021-10-29 12:20:13 +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
Shariq Ansari
632e3acc01 refactor: New Feedback & Comment Design for Blog Post 2021-10-28 20:49:34 +05:30
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
mtraeber
44216958f9 setting use_imap flag 2021-10-28 11:08:10 +02:00
Manuel
e800be46b5
Merge branch 'frappe:develop' into develop 2021-10-28 10:38:12 +02:00
Manuel
23eedfd6e9
Merge branch 'frappe:develop' into multiple_imap_folder 2021-10-28 10:38:05 +02:00
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
Sagar Vora
23e73f1ec1 fix: minor fixes for API Access section in User 2021-10-27 17:28:15 +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
Manuel
ce488e6a6f
Merge branch 'frappe:develop' into multiple_imap_folder 2021-10-27 09:14:49 +02:00
Manuel
5b4b10c93e
Merge branch 'frappe:develop' into develop 2021-10-27 09:14:37 +02:00
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
Aradhya-Tripathi
75952d0c4c refactor: converted more select queries 2021-10-27 01:28:46 +05:30
Aradhya-Tripathi
3ba3269b9d refactor: converted SELECT queries 2021-10-27 00:00:46 +05:30
Aradhya-Tripathi
43119873dd Merge branch 'query-conversion' of https://github.com/Aradhya-Tripathi/frappe into query-conversion 2021-10-26 22:20:55 +05:30
Aradhya-Tripathi
cd9e0ffa84 refactor: converted queries in nameing and nestedset 2021-10-26 22:20:03 +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