Commit graph

40148 commits

Author SHA1 Message Date
Ankush Menat
9dbccc98cb chore: conflicts 2022-11-17 16:48:21 +05:30
Ankush Menat
dcdc22b53f build: pin pyopenssl
(cherry picked from commit f70db1f5397e1b1795cc3ac957bb9b2519d4341f)

# Conflicts:
#	pyproject.toml
2022-11-17 16:48:21 +05:30
Shariq Ansari
547cdcf567
Merge pull request #18910 from shariquerik/cmd+click-for-div
Fixes https://github.com/frappe/frappe/issues/18788
2022-11-17 16:39:28 +05:30
rohitwaghchaure
d0a872cc1d
Merge pull request #18913 from rohitwaghchaure/indicator-not-working-for-user-configured-columns
fix: grid column indicators not working
2022-11-17 15:46:50 +05:30
Rohit Waghchaure
54a85d0636 fix: grid column indicators not working 2022-11-17 15:05:51 +05:30
Faris Ansari
edf01ee1cd
fix(file): attached_to_name can be an integer (#18909)
* fix(file): attached_to_name can be an integer

incorrect validation introduces via
https://github.com/frappe/frappe/pull/18880

* test(file): set correct fieldname

* fix: check for str, int explicitly
2022-11-17 14:43:03 +05:30
Shariq Ansari
8e0e2dad51 fix: (ctrl/cmd)+click for clickable divs 2022-11-17 13:59:56 +05:30
Sagar Vora
f3c00c2bdc
perf: dont fetch meta unless required (#18907) 2022-11-17 13:15:35 +05:30
Ankush Menat
c658d8cb1b
fix: ignore unpicklable hooks (#18902)
If any custom app use import statement in hooks.py everything breaks.
Hooks.py while being python file is still only supposed to be used for
configuring.

This PR ignores unpicklable members of hooks.py
2022-11-17 11:50:18 +05:30
Jannat Patel
6428930857
fix: security issue in discussions component (#18903)
[skip ci]
2022-11-17 11:39:43 +05:30
Ankush Menat
1f6f31fc97 refactor: int > cint 2022-11-17 11:35:24 +05:30
Athul Cyriac Ajay
190e01a5f3 fix: Force integer type in request.max_content_length 2022-11-17 11:35:24 +05:30
Ankush Menat
70633573c2
fix: dont convert row format if not required (#18900) 2022-11-16 20:48:50 +05:30
Shariq Ansari
2faa8ef292
Merge pull request #18894 from shariquerik/web-form-read-only 2022-11-16 17:56:55 +05:30
Shariq Ansari
990dcc7538
Merge branch 'develop' into web-form-read-only 2022-11-16 17:07:58 +05:30
Ankush Menat
0d5d2cf95c
ci: fix flake8 URL (#18895) 2022-11-16 16:15:31 +05:30
Shariq Ansari
424a7d39bc fix: webform read only field not working 2022-11-16 16:00:24 +05:30
Ankush Menat
9fc330ea6c
Revert "fix: remove middleware to clear frappe.local (#18874)" (#18886)
This reverts commit 2971abe517.
2022-11-15 18:45:51 +05:30
Ankush Menat
9b90e620bc chore: disable flaky test
This is
- flaky
- difficult to find source of flake because of crazy tests
- adds little value tbh

[skip ci]
2022-11-15 17:17:10 +05:30
Sagar Vora
425e4bf1b3
fix(File): validate attached_to_* when saving (#18880) 2022-11-15 16:19:02 +05:30
Sagar Vora
2971abe517
fix: remove middleware to clear frappe.local (#18874) 2022-11-15 11:07:18 +05:30
gavin
440825a372
refactor: which > find_executable (#18872)
Use shutil from the standard library instead of distutils to find
executables in PATH
2022-11-14 18:15:38 +05:30
Faris Ansari
5695346668
fix: allow mark tag in texteditor (#18871) 2022-11-14 17:33:28 +05:30
Ankush Menat
990a96e48b
feat: show utilization percent on RQ Worker (#18868)
[skip ci]
2022-11-14 15:55:20 +05:30
Ritwik Puri
feb9190cac
fix: check if the doctype exists before adding default logtypes in log settings (#18867) 2022-11-14 15:54:41 +05:30
Ankush Menat
f019b4fab6
build(deps): update caniuse (#18866)
[skip ci]
2022-11-14 15:46:54 +05:30
Ritwik Puri
07f5075784
Merge pull request #18861 from resilient-tech/hardcode-doctype
fix: hardcode doctype in google oauth callback
2022-11-13 00:05:02 +05:30
Sagar Vora
838a52328c fix: hardcode doctype in google oauth callback 2022-11-12 23:51:15 +05:30
Ritwik Puri
0cd3d97132
Merge pull request #18856 from resilient-tech/better-templates
chore: fully commented, consistently formatted JS boilerplates
2022-11-12 20:41:23 +05:30
Ritwik Puri
518b7e1c66
Merge pull request #18251 from Aradhya-Tripathi/bg-submissions
feat: Background submissions for submittable doctypes
2022-11-12 20:06:57 +05:30
Aradhya
3759e5bbcd refactor: lint
fix: removed time.sleep
2022-11-12 20:06:17 +05:30
Aradhya
7c8af96046 refactor: leaving job status as it is on completion 2022-11-12 20:06:17 +05:30
Aradhya
1145bab9d8 refactor: checking docstatus before asserting failure 2022-11-12 20:06:17 +05:30
phot0n
b09eb2f317 fix: use index for ref_docname in submission queue doctype 2022-11-12 20:06:17 +05:30
phot0n
f9a10d32d1 fix: use quoted doctype and docname in alert 2022-11-12 20:06:17 +05:30
phot0n
ad6a11e34c feat: queue submission for bulk submit 2022-11-12 20:06:17 +05:30
phot0n
3dc376cd5c chore: remove reload listener from form 2022-11-12 15:16:05 +05:30
phot0n
b21f9a5b26 fix: submission queue banner
if last_failed_submission and last_submissions are equal, show only last_failed_submission
2022-11-12 15:10:46 +05:30
phot0n
723a27bda7 fix: try except for nosuchjoberror in _unlock_reference_doc
* fix: condition for not unlocking reference doc

* chore: change id param -> job_id for update_job_id
2022-11-12 15:08:29 +05:30
Ankush Menat
6c01d1d417 refactor: hmac generation
Reduce code duplication
2022-11-12 13:05:57 +05:30
Sagar Vora
198bc4275f chore: fully commented, consistently formatted JS boilerplates 2022-11-12 12:48:13 +05:30
Ritwik Puri
ef758130d6
Merge pull request #18852 from resilient-tech/simpler-init
chore(BaseDocument): simplify `_table_fieldnames` property init
2022-11-12 11:09:07 +05:30
Aradhya
36033d4145 feat: Added finished condition while unlocking 2022-11-12 09:32:49 +05:30
Aradhya
e8b3f8f710 refactor: only showing unlock button if job id is defined 2022-11-12 09:26:27 +05:30
Aradhya Tripathi
07bd958dfd
Merge branch 'develop' into bg-submissions 2022-11-12 08:37:55 +05:30
Aradhya
23fe91dede fix: unlock ref doc 2022-11-12 08:26:37 +05:30
Sagar Vora
7f3ea7a520 chore(BaseDocument): simplify _table_fieldnames property init 2022-11-12 00:36:15 +05:30
Ankush Menat
ba27434d81
refactor: Use safer hashing algorithm for verified_command (#18848) 2022-11-11 21:42:51 +05:30
Ankush Menat
0c3615caa7
ci: remove duplicate rule causing backport failure
[skip ci]
2022-11-11 21:41:51 +05:30
Ankush Menat
a7377d23fc
refactor!: Drop deprecated functionality (#18815) 2022-11-11 19:54:36 +05:30