Commit graph

40061 commits

Author SHA1 Message Date
Shariq Ansari
8a252d237c fix: remove empty sections while loading and saving 2022-11-08 13:09:39 +05:30
Shariq Ansari
e79156e748 fix: hide border if hide_border is set 2022-11-07 22:35:49 +05:30
Shariq Ansari
7d293b5ba1 fix: edit tab/section label on double click 2022-11-07 22:23:50 +05:30
Shariq Ansari
de58f1700e fix: make section collapsible 2022-11-07 21:42:58 +05:30
Shariq Ansari
e3385884a7 fix: make column border as dashed and fieldtypes border solid 2022-11-07 21:39:58 +05:30
Shariq Ansari
d4ba2c51e4 fix: hide/make read_only property fields based on read_only expression 2022-11-07 20:48:05 +05:30
Shariq Ansari
7218c36043 chore: separated code into functions 2022-11-07 20:46:49 +05:30
Shariq Ansari
40ed4100bc fix: if error occurred save button gets disabled 2022-11-07 20:45:36 +05:30
Shariq Ansari
ae5dcef1cf
Merge branch 'develop' into form-builder-vue3 2022-11-07 17:34:42 +05:30
Shariq Ansari
8f9717b401 fix: cannot select section in read_only state 2022-11-07 17:34:16 +05:30
Shariq Ansari
7a2fe91264 fix: using watchEffect instead of multiple watch 2022-11-07 17:33:24 +05:30
Ankush Menat
f04287ae83 fix: dont close static modal with keyboard
closes https://github.com/frappe/frappe/issues/11926

[skip ci]
2022-11-06 20:24:34 +05:30
Daizy Modi
62c4a3c020
fix: check permission before print or download document (#18757) 2022-11-06 19:59:59 +05:30
Ankush Menat
44a5bdc3f1
fix: ignore internal methods (#18784) 2022-11-06 19:18:30 +05:30
Ankush Menat
db1ed206f3 fix: only release db if it exists
ref https://github.com/frappe/frappe/pull/18772

[skip ci]
2022-11-06 18:54:18 +05:30
Raffael Meyer
e3a0b007c2
fix: translations (#18765)
* fix: add missing translations

* fix: capitalize label

* fix: translate label on summary item
2022-11-06 17:36:51 +05:30
Ankush Menat
e02b90cd5b
fix: dont allow reading attributes of unsafe objects (#18706) 2022-11-06 17:33:02 +05:30
Raffael Meyer
09d35c74eb
fix: remove redundant translation (#18775) 2022-11-06 17:27:02 +05:30
Ankush Menat
afe992f1e6
Merge pull request #18773 from ankush/dashboards_not_loading
fix: standard dashboards not loading
2022-11-06 11:39:17 +05:30
Ankush Menat
5d1d3564ef test: Dashboard basic ui test + whitelisting 2022-11-06 10:59:38 +05:30
Sagar Vora
ff0c820c9c
chore(socketio): remove duplicate event handler (#18770) 2022-11-05 21:36:07 +05:30
Sagar Vora
cd1bbccdc3
fix: dont release frappe.local twice (#18772) 2022-11-05 21:35:37 +05:30
Ankush Menat
313605d328 fix: standard dashboards not loading 2022-11-05 21:13:27 +05:30
Ankush Menat
43ccb40d0e chore: rollback to 3.10 for vuln checks
cython dependency fails

[skip ci]
2022-11-05 18:33:50 +05:30
Ankush Menat
032df946be
test: bg jobs test cleanup (#18767)
* test: fix flaky RQ job tests

Sometimes stop_job doesn't succeed and causes tests to timeout. Reduced
sleep time to avoid this in tests. We are still testing all the
important features - monitoring.

* build(deps): Bump RQ to latest version

Minor bugfixes that affect us

ref: https://github.com/rq/rq/releases

* test: sanity tests for scheduled job types

* test(test_runner): dont set bench_id globally

* refactor: stop_job shouldn't throw error

The intention of use here is to stop stuck jobs or long running jobs, if
for some reason they were stopped by the time command gets executed,
there's no need to throw error.
2022-11-05 14:08:35 +05:30
Ritwik Puri
ba25e97d4e
Merge pull request #18756 from ankush/qb_simpler
refactor: qb builder class identification
2022-11-04 17:26:57 +05:30
Sagar Vora
f20fa69282
fix!: remove relaxations for Cordova (#18728) 2022-11-04 17:24:26 +05:30
Ankush Menat
0175fafde3
Merge pull request #18491 from resilient-tech/perf-set-document_naming
perf: cache document naming rule to avoid recurring db calls
2022-11-04 17:13:19 +05:30
Ankush Menat
f0197d35d6 refactor: qb builder class identification 2022-11-04 15:42:26 +05:30
Shariq Ansari
a42b7b8e3a
Merge pull request #18754 from maharshivpatel/fix-child-table-mobile-specific-code 2022-11-04 14:20:51 +05:30
Maharshi Patel
9aa5526305 fix: child table don't run mobile specific code
on_input_focus & handle_date_picker function has mobile specific code that relies on touch inputs so there is no need to run it on desktop.
2022-11-04 12:07:39 +05:30
Sagar Vora
8b84042037
fix: load doc_before_save in check_if_latest (#18752) 2022-11-04 10:44:17 +05:30
Ritwik Puri
58062c296e
Merge pull request #18010 from Aradhya-Tripathi/qb-fixes
fix: misc query engine fixes
2022-11-03 21:59:37 +05:30
Ankush Menat
0ed7600604
build: py3.11 support (#18550)
* chore: bump RestrictedPython

* ci: use py3.11 on development version

* fix: py311 compat changes

* chore: bump to final versions
2022-11-03 20:49:05 +05:30
Aradhya
8b73108270 feat: added PseudoColumnMapper for postgres support 2022-11-03 20:43:24 +05:30
Shariq Ansari
94915b4d6a
Merge pull request #18720 from Ponnusamy1-V/patch-1 2022-11-03 16:38:39 +05:30
Shariq Ansari
cdadff1f4e
Merge branch 'develop' into patch-1 2022-11-03 15:25:09 +05:30
Shariq Ansari
cfc773c648
Merge pull request #18740 from shariquerik/file-cropper-fix
fix: file cropper broken in webform
2022-11-03 15:22:33 +05:30
Shariq Ansari
cc3e70b9ac fix: file cropper broken in webform 2022-11-03 14:04:36 +05:30
phot0n
dfe62f2614 test: use double quotes for postgres query assertions 2022-11-03 12:50:38 +05:30
Aradhya
e1719fd30c feat: Added support for table_field.fieldname and tests 2022-11-03 03:56:59 +05:30
Ankush Menat
a1a296ac75
fix: ignore global translations (#18733)
_("string") outside of function/methods don't make any sense cause they
are initialized the moment module is imported. This is already checked
in CI yet people make this mistake.

Ignore and refuse to translate in those cases.
2022-11-03 03:00:03 +05:30
Sagar Vora
5e679bf539
chore: bump cryptography to 38.0.3 (#18730) 2022-11-03 01:24:55 +05:30
Aradhya
88d506864b refactor: consistent quries and better naming 2022-11-02 17:21:37 +05:30
Sagar Vora
e82e4d1a73 fix: use property instead of hardcoding 2022-11-02 09:58:34 +00:00
Sagar Vora
85f6f1e01d fix: dont clear doctype map keys when clearing doctype cache 2022-11-02 09:58:34 +00:00
Sagar Vora
380a638f3c chore: refactor duplicate code 2022-11-02 09:58:34 +00:00
Daizy
78d30905ac refactor: get_doctype_map() using single query and use generator for caching 2022-11-02 09:58:34 +00:00
Daizy
28a124ca47 perf: cache document naming rule to avoid multiple db call 2022-11-02 09:58:34 +00:00
Raffael Meyer
11d4cf4396
fix: hide value only if it's equal to the label (#18722) 2022-11-02 13:55:09 +05:30