Commit graph

26873 commits

Author SHA1 Message Date
Revant Nandgaonkar
6a2248eef3 fix: move node-sass to dependencies from devDependencies
node-sass is required in production for Website Theme
yarn --prod will install only dependencies and reduce size

fixes #11219
2020-08-07 20:12:33 +05:30
Prssanna Desai
ce9c23ba60
fix: return handler in _handler (#11215) 2020-08-07 14:48:59 +05:30
Mangesh-Khairnar
3575275917
Merge pull request #11216 from frappe/revert-11201-fix-files-backup
Revert "fix: add a distinct identifier for public files backup"
2020-08-07 13:17:26 +05:30
gavin
5b3fa971b5 Revert "fix: add a distinct identifier for public files backup (#11201)"
This reverts commit ef4a28e10c.
2020-08-07 13:14:29 +05:30
Rushabh Mehta
cbbb778053
Merge pull request #11200 from rmehta/web-form-document-permissions
feat(minor): Allow web form to follow document permissions
2020-08-07 10:58:15 +05:30
Deepesh Garg
b92ce9a245
feat: Allow sending emails via Server Script (#11162)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-07 09:25:37 +05:30
Mangesh-Khairnar
ef4a28e10c
fix: add a distinct identifier for public files backup (#11201) 2020-08-06 09:32:04 +05:30
Shivam Mishra
34c3d57767
feat: validate json when saving desk page (#11095)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-06 00:01:11 +05:30
Suraj Shetty
21a0cafe62
fix: Validate and sanitise whitelisted search methods using decorator (#11197)
* fix: Validate and sanitize whitelisted search methods using decorator

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

* refactor: Replace decorator name

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
2020-08-05 19:42:19 +05:30
Suraj Shetty
cd1ab8e23c
feat: Add validate_and_sanitize_search_inputs decorator (#11194)
* feat: Add validate_and_sanitize_search_inputs decorator

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

* refactor: Move validate_and_sanitize_search_inputs to init

* refactor: Move validate_and_sanitize_search_inputs to search.py

* test: validate_and_sanitize_search_inputs decorator

* chore: Add wrapt module

* refactor: Use @wrapt to define validate_and_sanitize_search_inputs decorator

* test: Add a case to make sure frappe.call works as well

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
2020-08-05 19:41:41 +05:30
Rushabh Mehta
4225b55041 feat(minor): Allow web form to follow document permissions 2020-08-05 15:33:30 +05:30
Prssanna Desai
805e415502
fix: Dashboard fixes (#11186)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-05 14:57:48 +05:30
gavin
5d4feb5dbb
feat: Convenience APIs for tags (#11088)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:45:14 +05:30
Rucha Mahabal
cc22350b04
fix: remove Video DocType from Core module (#11151)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:42:47 +05:30
Aditya Hase
0748312e39
fix(werkzeug): Avoid duplicate lines from werkzeug in bench start logs (#11171)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:41:34 +05:30
Faris Ansari
f5c61d04da
fix: Patch to generate theme files in public folder (#11148)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:40:18 +05:30
Glen Whitney
34fdf63b90
fix(Link Card): refresh incomplete_dependencies as needed (#11169)
When _prepare_item in Workspace.get_cards notices that the dependencies
  for an item have been completed, it should clear the incomplete_dependencies
  field in case a value has been saved in that attribute.

  Fixes #11168.
2020-08-04 17:40:06 +05:30
gavin
dd157ba822
fix: dont show git errors in terminal (#11064)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:39:35 +05:30
Prssanna Desai
d5622f5410
fix: Permission query in Dashboard Chart (#10981)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:38:48 +05:30
Shivam Mishra
9b267027b5
feat: don't load user translation in make_dict_from_messages (#11120) 2020-08-04 13:25:49 +05:30
Prssanna Desai
645331799a
fix: whitelist functions called through search widget (#11153) 2020-08-04 12:17:33 +05:30
gavin
e3765986dc
Merge pull request #11182 from gavindsouza/logger-ip-fix
fix: Log site only if exists
2020-08-03 18:01:59 +05:30
Gavin D'souza
4b93f75eba fix: Log site only if exists 2020-08-03 17:23:32 +05:30
Shivam Mishra
9445c115ec
fix: check if is_standard is "Yes" (#11180) 2020-08-03 15:51:30 +05:30
mergify[bot]
849804ca10
Merge pull request #11026 from gavindsouza/site-web-logger-fix
fix: frappe.logger site validation
2020-08-03 05:58:13 +00:00
mergify[bot]
e4928e5bf6
Merge pull request #11159 from netchampfaris/dib-fixes-2020-07-30
fix: Dont validate skipped columns
2020-08-01 11:12:13 +00:00
Shivam Mishra
35d529f398
Merge pull request #11170 from frappe/revert-10982-image-with-blur-width-height
Revert "fix(image-with-blur): Set width, height in CSS"
2020-08-01 13:43:24 +05:30
Shivam Mishra
eab96ab904
Revert "fix(image-with-blur): Set width, height in CSS" 2020-08-01 13:42:33 +05:30
Suraj Shetty
8e917b3444
Merge branch 'develop' into dib-fixes-2020-07-30 2020-08-01 08:45:11 +05:30
mergify[bot]
b08a32838e
Merge pull request #11166 from prssanna/multiselect-list-text
fix: text in MultiSelectList doesn't get truncated
2020-08-01 03:07:56 +00:00
prssanna
c423eb7288 fix: text in MultiSelectList doesn't get truncated 2020-07-31 18:05:23 +05:30
Gavin D'souza
a87531e1d0 fix(get_logger): allow None for module 2020-07-31 17:26:37 +05:30
Gavin D'souza
f04ce5dd7a chore: Typo 2020-07-31 16:11:39 +05:30
Gavin D'souza
94116ae93c feat(logger): allow max_size and file_count params 2020-07-31 16:07:51 +05:30
mergify[bot]
87c09a029c
Merge pull request #11160 from netchampfaris/sitemap-url
fix: Respect hostname config in sitemap.xml
2020-07-30 16:14:51 +00:00
Shivam Mishra
b54f638cc5
Merge pull request #11161 from scmmishra/fix-customize-shortcut
fix: setup filters only if doctype is available
2020-07-30 19:52:43 +05:30
Shivam Mishra
444e8225a4 fix: setup filters only if doctype is available 2020-07-30 19:50:36 +05:30
Gavin D'souza
fd44b9c2a4 Merge branch 'develop' of github.com:frappe/frappe into site-web-logger-fix 2020-07-30 19:22:32 +05:30
Gavin D'souza
faa9a5466e fix: Slider 2020-07-30 19:04:04 +05:30
Gavin D'souza
fac7f359ae fix: original log format + EAFP 2020-07-30 18:49:59 +05:30
Gavin D'souza
090b81f2f2 style: black + restructure 2020-07-30 17:59:01 +05:30
Gavin D'souza
7bf69c62c1 fix: suffix logger name with site 2020-07-30 17:47:01 +05:30
Faris Ansari
84a15407a7 fix: Respect hostname config in sitemap.xml 2020-07-30 16:06:10 +05:30
Faris Ansari
7427fb9cd3 fix: Dont validate skipped columns 2020-07-30 15:56:38 +05:30
mergify[bot]
9f90b81f5b
Merge pull request #11158 from scmmishra/fix-db-call
refactor: refer to frappe.boot.single_types instead of db call
2020-07-30 09:42:53 +00:00
Shivam Mishra
2ad15ee9f7
fix: use doctype variable 2020-07-30 14:57:01 +05:30
Shivam Mishra
9cef385005 refactor: refer to frappe.boot.single_types instead of db call 2020-07-30 14:37:22 +05:30
Gavin D'souza
35c539f5e2 Merge branch 'develop' of github.com:frappe/frappe into site-web-logger-fix 2020-07-30 14:18:00 +05:30
mergify[bot]
2d664411ff
Merge pull request #10993 from prssanna/reorder-script-reports
fix(Report): reorder result according to custom columns for Script Reports
2020-07-30 07:28:28 +00:00
mergify[bot]
ec2fca19b4
Merge pull request #11119 from prssanna/additional-filter-fix
fix: push fieldtype in invalid conditions map
2020-07-30 07:17:54 +00:00