Commit graph

48889 commits

Author SHA1 Message Date
Marica
5bf1bacb27
Merge pull request #31433 from marination/translate-footer-items
fix: Translate Footer Items
2025-02-25 18:40:37 +05:30
marination
4dcd579b47 fix: Translate Footer Items 2025-02-25 13:22:57 +01:00
Ankush Menat
c229f5a34a
fix: handle large URL on webhook logs (#31428)
Missed in https://github.com/frappe/frappe/pull/24761
2025-02-25 09:57:29 +00:00
Soham Kulkarni
0040c7f852
Merge pull request #31360 from sokumon/attach-file-spam-issue
fix: check if duplicate_file url matches incoming file url
2025-02-25 14:33:35 +05:30
Soham Kulkarni
ce237efd58
Merge pull request #31386 from sokumon/orphan-child-table
fix: add check for child doctype if it has a valid parent
2025-02-25 14:33:20 +05:30
Sagar Vora
19f54c8a6e
Merge pull request #31423 from sagarvora/perf-init-child 2025-02-25 14:12:03 +05:30
Sagar Vora
ffba20a160 perf: faster _init_child 2025-02-25 14:01:09 +05:30
Sagar Vora
7ee16afa3f
Merge pull request #31422 from sagarvora/perf-get-valid-cols 2025-02-25 13:32:48 +05:30
Sagar Vora
aae5860efc perf: faster init_valid_columns 2025-02-25 13:20:35 +05:30
Ankush Menat
573028ad3f
fix: always persist all indexes added via db.add_index (#31177)
* fix: always persist all indexes added via db.add_index

* fix: Add `if not exists` clause for index creation

This allows replica to have same index and master to add it later
without causing SQL error. Just minor DX benefit.

* fix(postgres): don't cache if table doesn't exist

* chore: revert postgres changes

Hopeless to maintain this
2025-02-25 07:25:49 +00:00
Ankush Menat
3485c091e5
Merge pull request #31421 from ankush/form_meta_client_cache
fix: use client_cache for form meta
2025-02-25 12:35:07 +05:30
Ankush Menat
d2fe49c0c2 fix: potential mismatch between meta and formmeta 2025-02-25 12:25:45 +05:30
Ankush Menat
fe3e5021a4 perf: use client_cache for form meta 2025-02-25 12:25:42 +05:30
Ankush Menat
7721fdb054
fix: clear cache using client_cache (#31420)
It's faster than relying on indirect invalidations. This was avoided
before only because delete_keys didn't exist on client_cache.
2025-02-25 06:43:39 +00:00
Sagar Vora
6bbbc916d5
Merge pull request #31419 from sagarvora/update-reserved-words 2025-02-25 12:10:47 +05:30
Sagar Vora
c31cb69d5c fix: update reserved keywords 2025-02-25 12:00:51 +05:30
Ankush Menat
9ef1ad279a
test(health_report): avoid silently failing in tests (#31417) 2025-02-25 05:40:10 +00:00
Ankush Menat
dc5bbc15ce
fix: Wild card cache clearing for doctypes (#31415)
Clear all keys that contain doctype name. This is just a hack to avoid
dealing with many random partial caches that exist.

Possible improvement:
- Standardize ALL doctype specific cache keys so this becomes simple.
2025-02-25 05:19:41 +00:00
Ankush Menat
55ad9c9c94
Merge pull request #31377 from cogk/feat-breaking-scheduler-opt-in-to-dormant_days
fix: allow disabling auto-dormancy, disable on self hosted
2025-02-25 10:47:53 +05:30
Sagar Vora
99574a74e2
Merge pull request #31400 from sagarvora/better-table-fieldnames 2025-02-25 10:43:29 +05:30
Ankush Menat
967d3e828c fix: granular status in system health report
differentiate between dead process, manually disabled or dormant.
2025-02-25 10:38:25 +05:30
Ankush Menat
6db7cb096d fix: Better proxy for active site and disable on selfhosted 2025-02-25 10:37:29 +05:30
Ankush Menat
0d85bec58f fix: allow disabling dormancy behaviour
Set it to 0 to never trigger this again.
2025-02-25 10:37:29 +05:30
Corentin Forler
83f572d3d6 feat(scheduler)!: Make dormant sites opt-in 2025-02-25 10:37:29 +05:30
Ankush Menat
efee329adf
fix: Unlock old locks automatically (#31411) 2025-02-24 13:49:08 +00:00
Nikhil Kothari
9c6f25afb0
fix: fetch data from submitted child rows for global search indexing (#31405) 2025-02-24 18:27:47 +05:30
Sagar Vora
26b5d8de15 perf: better _table_fieldnames cache 2025-02-24 17:41:00 +05:30
Sagar Vora
a811aecbc2
Merge pull request #31395 from sagarvora/no-new-weakref 2025-02-24 16:16:14 +05:30
Ankush Menat
dd44b3dba6
perf: cast int-link field filters to string (#31396)
Comparing varchar field with ints makes indexes unusable in MariaDB.

This PR is just one small fix for DB query, similar fixes won't be made
for DB APIs which do not assume anything about database schema.
2025-02-24 10:39:55 +00:00
Sagar Vora
fc7202ade4 perf: dont create a new weakref.ref for each child 2025-02-24 15:57:42 +05:30
Sagar Vora
4e7e2b7f21
Merge pull request #31389 from sagarvora/ref-docstatus 2025-02-24 15:34:58 +05:30
Sagar Vora
b381cc4874
Merge branch 'develop' into ref-docstatus 2025-02-24 15:22:06 +05:30
Sagar Vora
be5e856dd9
Merge pull request #31391 from sagarvora/perf-nosingledispatchmethod 2025-02-24 15:21:05 +05:30
Abdeali Chharchhodawala
e38d60b5ec
fix: check score in response to set strength indicator (#31384) 2025-02-24 15:18:44 +05:30
Frappe PR Bot
39b8e31c5a
chore: update POT file (#31387) 2025-02-24 15:17:31 +05:30
Sagar Vora
bb1080dfac perf: dont use singledispatchmethod 2025-02-24 15:11:14 +05:30
Sagar Vora
fcf657ba80 perf: improved DocStatus API and other minor improvements 2025-02-24 12:51:10 +05:30
sokumon
d943c9e463 fix: dont skip if any record is present 2025-02-23 19:49:41 +05:30
sokumon
78df15970c fix: add check for child doctype if it has a valid parent 2025-02-23 00:59:03 +05:30
sokumon
0c945af0fb fix: cleanup save_file_on_filesystem method 2025-02-22 18:16:07 +05:30
sokumon
287a5f50a9 fix: add duplicate file url if no file url 2025-02-22 17:21:18 +05:30
sokumon
620c8bfef2 fix: cleanup copied methods and simpler fix 2025-02-22 13:23:26 +05:30
Ejaaz Khan
5f4511ba4e
Merge pull request #31382 from git-avc/grid_length_custom
fix: let's customize grid_page_length
2025-02-22 12:07:54 +05:30
git-avc
17ea9e2a1c fix: let's customize grid_page_length 2025-02-21 20:21:37 +01:00
Frappe PR Bot
344e5348b4
fix: sync translations from crowdin (#31191) 2025-02-21 18:47:19 +01:00
Ejaaz Khan
4dca5185cf
Merge pull request #31378 from cogk/fix-workflow-render-template-context-should-be-dict
fix(workflow_action): Pass context as dict to render template
2025-02-21 21:35:17 +05:30
Corentin Forler
f72dc93446
fix(workflow_action): Pass context as dict to render template 2025-02-21 14:47:28 +01:00
Ejaaz Khan
42f9e537d0
Merge pull request #31372 from frappe/fix-custom-print
fix(print): handle custom format with custom module
2025-02-21 14:36:11 +05:30
Ankush Menat
37da1d43bd
fix: remove duplicate clear_cache calls (#31374)
This is internally handled in clear_document_cache

Fix was only required for websitegenerator specific things.
2025-02-21 08:54:05 +00:00
Suraj Shetty
d8478d7a03
Merge pull request #31321 from asmitahase/one-more-color 2025-02-21 13:57:43 +05:30