Commit graph

42646 commits

Author SHA1 Message Date
Sagar Vora
b4f1a2328b
fix: ignore naming series validation when generating repeated address name (#21568) 2023-07-10 10:51:55 +05:30
Ankush Menat
e6c0b1cab5
fix: cast label to string before comparing (#21614)
[skip ci]
2023-07-09 18:54:59 +05:30
Ankush Menat
1e4f4202f6
fix: form viewer with multiple docs (#21617) 2023-07-09 18:40:08 +05:30
Ankush Menat
8730de41f9
fix: Only clear doctype cache if specified (#21611) 2023-07-09 10:44:43 +05:30
Ritwik Puri
cb156b6f24
Merge pull request #21460 from nabinhait/minor-fix-111
fix: Added option for setting default in Report filters
2023-07-06 23:52:30 +05:30
Sagar Vora
60b7b85341
fix: invalid usage of before_export in report (#21602) 2023-07-06 15:20:30 +05:30
Shariq Ansari
211bf073c9
Merge pull request #21403 from rtdany10/connection-filter 2023-07-04 15:09:22 +05:30
Shariq Ansari
3b22fbcef9
Merge pull request #21582 from shariquerik/load-more-communication-fix 2023-07-04 14:53:35 +05:30
Ankush Menat
c5e6a13b32 chore: Add frappe school links 2023-07-04 14:50:53 +05:30
Shariq Ansari
5984bbbc46
Merge branch 'develop' into connection-filter 2023-07-04 14:49:04 +05:30
Shariq Ansari
3549fe78ef
Merge pull request #21419 from blaggacao/fix-field-replace 2023-07-04 12:56:58 +05:30
Shariq Ansari
972a386d86
Merge branch 'develop' into load-more-communication-fix 2023-07-04 12:43:50 +05:30
Shariq Ansari
b09107b3a4 fix: render load more button 2023-07-04 12:39:17 +05:30
Shariq Ansari
61372f476d fix: render 20 communications + load more button if response has 21 communications
communication also has automated messages which was missed in last PR
2023-07-04 12:38:56 +05:30
Shariq Ansari
76cc712f35 fix: load 21 communications to verify load more button is required or not. 2023-07-04 12:36:53 +05:30
Ankush Menat
9c4c5d647f chore: early return in read only mode 2023-07-04 10:34:23 +05:30
Shariq Ansari
4cc1fde81d
Merge branch 'develop' into fix-field-replace 2023-07-03 18:08:04 +05:30
Shariq Ansari
8bf4008c5c
fix: avoid this line if there is no tab break field in the form 2023-07-03 18:07:49 +05:30
Shariq Ansari
44a03a057b
Merge branch 'develop' into connection-filter 2023-07-03 17:27:04 +05:30
Ankush Menat
00e5dabef1 fix: defer access log inserts in read only mod 2023-07-03 13:41:17 +05:30
Sagar Vora
8e329a92a3
Merge pull request #21567 from resilient-tech/fix-package-import 2023-07-03 13:25:31 +05:30
Sagar Vora
d9167985b1 fix: ensure correct file path when importing package 2023-07-03 12:53:20 +05:30
Suraj Shetty
8daf25bec6
Merge pull request #21565 from frappe/mergify/bp/develop/pr-21462 2023-07-03 10:34:23 +05:30
Anh Le
8fc518baff fix: repeat title value in description of link field.
(cherry picked from commit 5957cbcf0908261339e64bf6536e5c18af511ea1)
2023-07-03 05:03:54 +00:00
Suraj Shetty
369b185c50
Merge pull request #21478 from blaggacao/fix-link-list-table-multiselect-no-break-word 2023-07-03 10:11:17 +05:30
Suraj Shetty
b7afc65032
style: Fix linter warning 2023-07-03 10:08:27 +05:30
Suraj Shetty
9b6b09c450
refactor: Simplify code 2023-07-03 09:54:27 +05:30
Suraj Shetty
15d6cfa8b4
Merge pull request #21543 from anandbaburajan/unattached_guest_files 2023-07-03 09:06:05 +05:30
Ankush Menat
d7990368a8
perf: preload more modules (#21557)
* perf: preload more modules

- bleach is used frequently for sanitization
- File gets imported anytime a private file is viewed. Indirect import
  of PIL is costly in each worker.

* test: warm up perf test
2023-07-02 21:47:21 +05:30
David Arnold
f5b93cc2a0
chore: urlparse already does the parsing for us, no need to diy (#21558)
This is a very minor cleanup. So minor, that it hopefully is a nobrainer
2023-07-02 21:46:53 +05:30
mergify[bot]
721035b313
Merge pull request #21276 from gavindsouza/bump-pydantic-v2
build(deps): Bump Pydantic from v1 to v2
2023-07-02 13:38:18 +00:00
Ankush Menat
35039ca382 Revert "test: Bump memory usage treshold post pydantic v2 upgrade"
This reverts commit af70328930.
2023-07-02 18:46:24 +05:30
Ankush Menat
265a28e151 perf: preload pydantic 2023-07-02 16:32:40 +05:30
Ankush Menat
a63398778e perf: tune gc by default
This is running on several prod site without any noticable problems, so
making it default behaviour.

Opt out by setting env variable `FRAPPE_TUNE_GC=False`
2023-07-02 16:29:19 +05:30
Gavin D'souza
af70328930
test: Bump memory usage treshold post pydantic v2 upgrade 2023-07-02 16:19:25 +05:30
Gavin D'souza
883445aefa
perf: Defer pydantic imports until function call
Pydantic adds an additional 1-2MB in memory usage. We can defer it in
case an environment doesn't use it at all.
2023-07-02 16:00:50 +05:30
Ankush Menat
1a7cb47826 fix: setup wizard auto completes when clickin on autocomplete fields
closes https://github.com/frappe/frappe/issues/15693
2023-07-02 12:50:43 +05:30
Ankush Menat
2aec7ac579
Merge pull request #21550 from batonac/patch-1
fix: typo on email queue flush enqueue args
2023-07-02 12:36:49 +05:30
Ankush Menat
dde979389c
Merge pull request #21556 from ankush/fixup_geoip
fix(UX): guess country on setup wizrd
2023-07-02 12:33:21 +05:30
Ankush Menat
ee4c66ecf1 feat(UX): Guess country from system_timezone
This is accurate enough for vast majority of countries.
Alternate is using GeoIP and making network calls.
2023-07-02 12:31:18 +05:30
Deepesh Garg
02c5b97850
Merge pull request #21554 from frappe/revert-21545-country_update
Revert "fix: Update country names"
2023-07-02 12:09:39 +05:30
Deepesh Garg
3a74b38e8c Revert "fix: Update country names (#21545)"
This reverts commit e0f35fb85f.
2023-07-02 12:08:43 +05:30
Deepesh Garg
e0f35fb85f
fix: Update country names (#21545)
* fix: Update country names

* fix: revert name back
2023-07-02 11:25:43 +05:30
Kevin Shenk
70da4ba51d
fix: typo on enqueue args
The deduplicate argument was missing the 'l'.
2023-07-01 13:56:50 -04:00
David Arnold
60231c7f35
fix: replace field replacing correct dom element 2023-07-01 12:10:52 -05:00
David Arnold
c415e2781a
fix: replace_field
splice needs an (integer) index not an element

also section field management must be taken into account for all sections
2023-07-01 12:10:49 -05:00
anandbaburajan
2481b7035e chore: fix permission issues in tests and update docstring of attach_files_to_document 2023-07-01 22:32:34 +05:30
Ankush Menat
ad79c9d180 chore: remove broken call to geoip
This has never worked afaik
2023-07-01 20:07:05 +05:30
anandbaburajan
d36765457d test: add tests for guest files 2023-07-01 19:41:22 +05:30
Ankush Menat
ab42e58dcf test: flaky test due to list view filters 2023-07-01 19:34:08 +05:30