Commit graph

28077 commits

Author SHA1 Message Date
Rucha Mahabal
044da8a575 fix: create auto_repeat field if docfield/custom field does not exist 2020-10-30 14:04:03 +05:30
ABHISHEK KEDAR
7afb5b0b73
feat: as_raw update to display content inline not always download as attachment (#11569)
* feat: as_raw update to display content inline not always download as attachment

* fix: string formatting corrected in as_raw()

* fix: missing quotes in filename in as_raw()
2020-10-30 06:58:25 +00:00
Suraj Shetty
32ad754493
fix: Show total text with value if first column is numeric (#11813) 2020-10-29 20:24:57 +05:30
mergify[bot]
b33c24cb79
Merge pull request #11816 from abhishekbalam/help_article_dash_fix
fix(Help Article): Show 0 instead of undefined when value not set in dashboard
2020-10-29 10:05:49 +00:00
Abhishek Balam
218431372a fix: add colon between key and value 2020-10-29 15:03:14 +05:30
Abhishek Balam
6e04e0d6cb fix(Help Article): show 0 instead of undefined when value not set in dashboard 2020-10-29 14:54:45 +05:30
mergify[bot]
06439dc5cc
Merge pull request #11694 from saurabh6790/handle-inputs
fix: query to handle user value having special characters
2020-10-29 06:26:09 +00:00
Saurabh
3dce1273f2 fix: query to handle user value having special characters 2020-10-29 10:55:31 +05:30
mergify[bot]
d8b421b49a
Merge pull request #11803 from frappe/dependabot/pip/cryptography-3.2
chore(deps): bump cryptography from 2.8 to 3.2
2020-10-28 06:22:09 +00:00
Aditya Hase
67276b72f7
Merge pull request #11792 from adityahase/fix-pdf-generation
fix(pdf): PDF generation shouldn't fail in background jobs and tests
2020-10-28 11:42:55 +05:30
Aditya Hase
17429037cc
Merge pull request #11655 from adityahase/fix-scheduled-job-type
fix(scheduler): Don't enqueue a job if it is being executed
2020-10-28 11:42:34 +05:30
Aditya Hase
ab8394c75e
Merge pull request #11806 from adityahase/fix-recorder-in-template
fix(recorder): Error page rendering shouldn't fail when recorder is active
2020-10-28 11:41:29 +05:30
Aditya Hase
91bfa9aad4
fix(scheduler): get_jobs includes currently running jobs 2020-10-28 10:31:48 +05:30
Aditya Hase
56fc1130a4
test(scheduler): Don't enqueue a job if it is being executed 2020-10-28 10:31:48 +05:30
Aditya Hase
172c345ec0
fix(scheduler): Forcefully execute job when triggered from Execute button 2020-10-28 10:31:48 +05:30
Aditya Hase
be627e8de0
fix(scheduler): Replace queue with frequency
The field was renamed but the old name was still being used.
This was broken since https://github.com/frappe/frappe/pull/8486
2020-10-28 10:31:48 +05:30
Aditya Hase
1a5a2ab857
fix(recorder): start-recording and stop-recording commands 2020-10-28 09:37:54 +05:30
Aditya Hase
9d0ca3b72e
test(recorder): Test start-recording and stop-recording commands 2020-10-28 09:37:06 +05:30
Aditya Hase
e54694dbf4
fix(recorder): Error page rendering shouldn't fail when recorder is active 2020-10-28 09:36:39 +05:30
Aditya Hase
6a059fc2ac
test(recorder): Error page rendering shouldn't fail when recorder is active 2020-10-28 09:36:19 +05:30
dependabot[bot]
22a7b3d039
chore(deps): bump cryptography from 2.8 to 3.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.8 to 3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.8...3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 20:51:28 +00:00
Rushabh Mehta
db61d41b96
Merge pull request #11801 from rmehta/fix-db-query
fix(minor): dont run a query when table is missing
2020-10-27 23:17:52 +05:30
mergify[bot]
2f1c6a92b9
Merge pull request #11799 from adityahase/perf-page-render
perf(render): Don't set context.no_cache
2020-10-27 17:43:51 +00:00
Rushabh Mehta
97191f90af fix(minor): dont run a query when table is missing 2020-10-27 23:02:11 +05:30
Aditya Hase
e6aabf346c
perf(render): Don't set context.no_cache 2020-10-27 22:48:02 +05:30
mergify[bot]
cae6e80c19
Merge pull request #11748 from sezanzeb/state-province
refactor: Set label as State/Province in Address instead of just State
2020-10-27 09:31:00 +00:00
Aditya Hase
16fc29e48d
fix(pdf): frappe.local.request is not available in backgound jobs and tests
Use frappe.utils.get_host_name instead of frappe.local.request.host
2020-10-27 14:18:36 +05:30
Aditya Hase
3f5f6f3b21
fix(pdf): Remove in_test check from get_pdf 2020-10-27 14:18:35 +05:30
Aditya Hase
ea2ab810e6
test(pdf): Generate PDF as a user
i.e. when frappe.session is set
2020-10-27 14:18:35 +05:30
mergify[bot]
ed58adbf5c
Merge pull request #11785 from muniter/fix-update-translations-v13
fix: Bug when running bench update-translations
2020-10-27 04:58:14 +00:00
mergify[bot]
beaeba63ae
Merge pull request #11787 from UrvashiKishnani/patch-1
fix: Add missing space in description
2020-10-27 04:06:08 +00:00
UrvashiKishnani
fc180b72d4
fix: space missing in description 2020-10-27 07:48:52 +04:00
Javier Lopez
7c814e7a7f
fix: csv file opening options
This is in line with the api changes 
1. http://python3porting.com/problems.html#csv-api-changes
2. https://docs.python.org/3/library/csv.html#id3
2020-10-26 16:26:49 -05:00
Javier López
ec5851abf7 fix: wrong type when writing with csv writer
Unlike the get_untranslated function, in which the file is opened and
written with the `write()` function, here the `csv.writer()` is used,
causing errors when writing encoded strings. Therefore we remove the
encoding step (The csv writer will take care of it) and we also not open
the file with binary mode.
2020-10-26 15:42:38 -05:00
mergify[bot]
8a11796bed
Merge pull request #11783 from gavindsouza/uri-encode-whitespaces
fix: URI encode in case white spaces exist in docname
2020-10-26 14:35:03 +00:00
Gavin D'souza
845b3ab5bc fix: URI encode in case white spaces exist in docname 2020-10-26 19:14:54 +05:30
mergify[bot]
e5bfeb2607
Merge pull request #11772 from prssanna/rtl-desk
fix: customize options in desk page rtl layout
2020-10-26 13:00:23 +00:00
mergify[bot]
ded882c859
Merge pull request #11781 from sumitbhanushali/module_sidebar_items
feat: Add module field in get_desk_sidebar_items
2020-10-26 12:36:19 +00:00
Faris Ansari
890b295861
Merge pull request #11780 from netchampfaris/web-template-field-default
fix(UX): Add default to Web Template Field
2020-10-26 17:53:55 +05:30
Faris Ansari
54732e5775 fix(UX): Add default to Web Template Field
- Set default values for Select fields
- Remove quick entry from Web Template
2020-10-26 17:44:12 +05:30
Sumit Bhanushali
00310ea783 feat: add module field in get_desk_sidebar_items 2020-10-26 17:43:08 +05:30
Faris Ansari
b2e5472ea3
Merge pull request #11628 from frappe/fix_web_template_type
fix: allow empty type for Web Templates that are not sections
2020-10-26 15:29:17 +05:30
Rushabh Mehta
d56da0156e
Merge pull request #11565 from rmehta/update-customize-form
feat: add links and actions to customize form and cleanup code
2020-10-26 15:11:47 +05:30
Rushabh Mehta
ceb1ecce73 fix(minor): test_db.py 2020-10-26 14:16:23 +05:30
Rushabh Mehta
0b93784b32 fix(minor): test_db.py 2020-10-26 14:13:38 +05:30
Rushabh Mehta
373403c97e fix(minor): test_workflow.py 2020-10-26 13:44:32 +05:30
mergify[bot]
e4f0c30d8e
Merge pull request #11778 from prssanna/sanitize-email-header
fix(Email): use set_header to set Message-Id in header
2020-10-26 07:57:29 +00:00
Rushabh Mehta
8bd98e6272 fix(minor): set name for Event Producer Last Update 2020-10-26 13:22:38 +05:30
prssanna
8c11878400 fix(Email): use set_header to set Message-Id in header 2020-10-26 13:10:31 +05:30
Rushabh Mehta
625ab74883 fix(tests): added a new table to avoid conflicts 2020-10-26 13:01:46 +05:30