Commit graph

40436 commits

Author SHA1 Message Date
Shariq Ansari
d1a236d92e chore: removed unsed code 2022-12-06 22:15:08 +05:30
Shariq Ansari
3f00a7993c test: using custom doctype to test form builder 2022-12-06 22:12:59 +05:30
Shariq Ansari
b7fea0ffe5 test: UI Test for basic form builder features 2022-12-06 20:39:56 +05:30
Shariq Ansari
a2d89afa64
Merge branch 'develop' into form-builder-vue3 2022-12-01 20:27:41 +05:30
Shariq Ansari
76b5791b49 fix: validate before saving 2022-12-01 19:53:48 +05:30
Shariq Ansari
2e9dcc5912 revert: cannot drag alert on dragging standard fields
not working as expected
2022-12-01 15:55:29 +05:30
Shariq Ansari
301b9f1c94 fix: use df.read_only to make field disabled 2022-12-01 14:59:31 +05:30
Ankush Menat
c1f3cb101c
test: custom grid buttons (#19073)
[skip ci]
2022-12-01 13:16:00 +05:30
Matthew Enderle
3885833764
fix: socketio spawn error (#19070)
* fix: socketio spawn error

Restarting supervisorctl fails when attempting to spawn the instance due to syntax.

* refactor: accurate expansion of optional chaining

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2022-12-01 10:41:42 +05:30
Shariq Ansari
82ad3fa73d fix: dynamically get fetch_form doctype & fieldnames as select field 2022-12-01 02:17:59 +05:30
Shariq Ansari
fa5bd803fb chore: rearranged code 2022-12-01 01:43:03 +05:30
Shariq Ansari
dca31d068c fix: hide fetch_from field for no_value_type fields 2022-12-01 01:41:23 +05:30
Shariq Ansari
ef5c618954
Merge pull request #19063 from shariquerik/do-not-escape-undefined 2022-11-30 20:34:34 +05:30
Sagar Vora
2e2f8e8175
fix: only check for special characters in fieldname (#19061)
* fix: only check for special characters in fieldname

* chore: revert #18965
2022-11-30 16:03:02 +05:30
Shariq Ansari
903ade145a fix: do not escape undefined txt 2022-11-30 15:48:03 +05:30
Shariq Ansari
5f3268d892 fix: use onClickOutside feat from @vueuse/core 2022-11-30 15:08:17 +05:30
Shariq Ansari
cf807c325b fix: do not use cur_frm in depends_on expression
cur_frm is deprecated
2022-11-30 14:35:25 +05:30
Nikhil
53957447b3
fix: check for bad zip files during unzipping in file doctype (#19058)
* check for bad zip files
2022-11-30 14:34:09 +05:30
Shariq Ansari
4a35b01484 fix: reset link field filters 2022-11-30 13:48:28 +05:30
Shariq Ansari
1a96d991d7
Merge branch 'develop' into form-builder-vue3 2022-11-30 12:53:17 +05:30
Ankush Menat
83f591e69b
fix: empty search shows None (#19055)
[skip ci]
2022-11-30 12:52:59 +05:30
Shariq Ansari
91092ffd4b feat: make options field as link field for Table & Link type fields 2022-11-30 12:51:51 +05:30
Shariq Ansari
3fd5b3703b
Merge pull request #19049 from frappe/mergify/bp/develop/pr-18858 2022-11-29 18:20:48 +05:30
Shariq Ansari
6babd4ec04
Merge pull request #18999 from CleoMenezesJr/develop 2022-11-29 18:00:04 +05:30
Anh Lê
7a68797d96 fix: Optimize check field type is tab break if the doctype has a workflow (#18858)
Co-authored-by: Anh Le <anhle>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
(cherry picked from commit d9ce6c12bf59ca9d96e385a09ef39ab417c24e2e)
2022-11-29 12:29:34 +00:00
Shariq Ansari
cc4e2868fc
fix: keep actions on right
Make action button's font text smaller with lesser padding
2022-11-29 17:20:13 +05:30
Ankush Menat
5d1444c21c
docs: add missing help text for commands (#19039)
closes https://github.com/frappe/frappe/issues/19036

[skip ci]
2022-11-29 16:01:25 +05:30
Shariq Ansari
c46c1e66d7
Merge pull request #18887 from abdo-host/patch-1 2022-11-29 15:58:53 +05:30
Shariq Ansari
a6d715b943
Merge branch 'develop' into patch-1 2022-11-29 15:12:19 +05:30
Ritwik Puri
1113d8e611
Merge pull request #18940 from phot0n/refactor-prepared-report
refactor!: prepared report
2022-11-29 14:46:04 +05:30
phot0n
8c28a233e2 fix: check read permission when downloading prepared report file 2022-11-29 14:43:27 +05:30
phot0n
5444df7036 chore: use default timeout 25 mins for prepared report 2022-11-29 13:46:11 +05:30
phot0n
f88d76f011 chore: convert job_id to link fieldtype in prepared report doctype 2022-11-29 13:46:11 +05:30
phot0n
1a5019432d refactor(minor): disable_prepared_report -> enable_prepared_report
for role permission for page and report
2022-11-29 13:46:11 +05:30
phot0n
c8ea0a72d0 fix: render filters on refresh
onload hook gave inconsistent behaviour
2022-11-29 13:46:11 +05:30
phot0n
246caea70e test: prepared report tests
* fix: update job_id for prepared report
2022-11-29 13:46:11 +05:30
phot0n
0370c80e41 chore: patches for copying disable_prepared_report and removing prepared report settings from system settings 2022-11-29 13:46:11 +05:30
phot0n
a69c82e06c feat(minor): option to show charts, total_row with prepared reports 2022-11-29 13:46:11 +05:30
phot0n
bf132ab2a8 fix: use doc.get to check if columns field exists or not 2022-11-29 13:46:11 +05:30
phot0n
0d275b68f2 fix: get_prepared_data - add with_file_name param for returning filename of the attachment 2022-11-29 13:46:11 +05:30
phot0n
eea2fd9782 fix: dont show filters when not present in prepared report 2022-11-29 13:46:11 +05:30
phot0n
917dfdae78 refactor(minor): use virtual docfield for report_start_time - and renamed it to queued_at
* chore: rename Report End Time label to Finished At
2022-11-29 13:46:11 +05:30
phot0n
08bae70908 perf: use modified for fetching old logs for clearing 2022-11-29 13:46:11 +05:30
phot0n
433615beed chore: add queued_by virual docfield in prepared report 2022-11-29 13:46:11 +05:30
phot0n
18d48ddeb8 refactor: cleanup peprared result render and old logs cleanup
* directly fetch columns from result file rather than storing it in db
* remove prepared report settings from system settings
* remove disable_prepared_report from report doctype
2022-11-29 13:46:11 +05:30
phot0n
6218a99301 refactor(minor): dry-er code in generate_report 2022-11-29 13:46:11 +05:30
phot0n
cd468c3229 fix(ux): don't show report_name field on prepared report doc 2022-11-29 13:46:11 +05:30
phot0n
ecbafb5a23 feat(minor): add job_id column to prepared report
* chore: make report_name mandatory
2022-11-29 13:46:11 +05:30
phot0n
4fe8eadf5e refactor: remove unnecessary fields from prepared report
* removed ref_report_doctype
* changed title_field from ref_report_doctype to report_name (both are same)
* changed report_name field to link type
* changed autonaming to hash based
* added status in list view via document states
2022-11-29 13:46:11 +05:30
phot0n
9bfc43c148 fix: use after_insert hook for enqueuing report generation
this removes the need of additionally calling enqueue_report method

* enqueue report in long queue
* reduce the timeout from 100 mins to 30 mins
2022-11-29 13:46:11 +05:30