Commit graph

39973 commits

Author SHA1 Message Date
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
DrZoidberg09
58cef6005a
fix: search.py after PR #17828 (#18719)
* fix search.py

After the PR #17828 in some cases an "IndexError: list assignment index out of range" error is thrown. This should fix it.

* Update search.py

Yes, that should be even better

* style: formatting

[skip ci]
2022-11-02 13:11:20 +05:30
Ponnusamy
58c262a3ed
List view -> add custom buttons to menu 2022-11-02 12:27:50 +05:30
Aradhya
0bc2ba0545 refactor: better naming 2022-11-02 02:40:23 +05:30
Aradhya
97b0b743ae test: Updated tests for parenttype condition 2022-11-02 02:40:23 +05:30
Aradhya
e5d19d78d7 feat: considering parenttype while joining 2022-11-02 02:39:53 +05:30
Shariq Ansari
7bbd36345a
Merge pull request #18712 from Ponnusamy1-V/patch-1 2022-11-01 20:05:42 +05:30
Ponnusamy
0cf2043ab0
fix: not able to click checkbox in file grid view 2022-11-01 19:32:46 +05:30
Shariq Ansari
fe8c545829
Merge pull request #18708 from shariquerik/list-view-format-fix 2022-11-01 19:16:05 +05:30
Shariq Ansari
3bccc75620
Merge pull request #18707 from shariquerik/webform-validation-fix 2022-11-01 18:10:01 +05:30
Shariq Ansari
97f97a81f9 fix: show 0 for empty currency, float, & duration fields in list view 2022-11-01 18:07:44 +05:30
Shariq Ansari
cc20037af9 fix: webform validation script not working 2022-11-01 17:44:44 +05:30
Aradhya
8e118773f3 refactor: joining tables 2022-11-01 14:35:37 +05:30
Ankush Menat
9e5c0740dc
Merge pull request #18699 from ankush/symlinked_files
fix: support symlinked /files directory
2022-11-01 14:06:05 +05:30
Ankush Menat
589bcf149a
Merge pull request #18701 from shariquerik/workspace-message
fix(UX): Info message on workspace for better UX
2022-11-01 14:05:45 +05:30
Shariq Ansari
3d1e14e127
Merge branch 'develop' into workspace-message 2022-11-01 13:56:49 +05:30
Shariq Ansari
302024608e fix: added go to workspace link in sidebar 2022-11-01 13:53:12 +05:30
Aradhya
5703303abb Merge branch 'develop' of https://github.com/frappe/frappe into qb-fixes 2022-11-01 13:45:11 +05:30
Ankush Menat
fec24632a9 style: format
[skip ci]
2022-11-01 13:36:37 +05:30
Ankush Menat
56640a0723 fix: support symlinked and /files directory
Easiest way to move site/files or site/private directories is to symlink
them, the validation for file path was failing because it resolves only
until site path.

Resolving real path doesn't seem to be _REALLY_ required here.
2022-11-01 13:25:21 +05:30
Shariq Ansari
c66d264871 fix(UX): Info message on workspace for better UX 2022-11-01 13:12:26 +05:30
Ritwik Puri
c76c02f43d
Merge pull request #18697 from phot0n/custom-module-def-ux
fix: make module def custom checkbox readonly in prod mode
2022-11-01 12:50:07 +05:30
phot0n
3ccd5f7d60 fix: make module def custom checkbox readonly in prod mode 2022-11-01 12:44:38 +05:30
Ankush Menat
f0ab6cb488
Revert "fix: use is_file_path_valid instead of is_safe_path (#18316)" (#18688)
This reverts commit d35aa6c545.
2022-11-01 12:40:54 +05:30
Aradhya Tripathi
5ed696cd3d
fix(qb): fixed implicit join for child tables (#18692)
* test: Added test for multiple joins
2022-11-01 11:25:02 +05:30
DrZoidberg09
0bc2f16772
fix: Signature form (#18477)
Co-authored-by: Ankush Menat <ankush@frappe.io>
Co-authored-by: Shariq Ansari <sharique.rik@gmail.com>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-10-31 19:45:46 +05:30