Commit graph

48923 commits

Author SHA1 Message Date
Shariq Ansari
7fac10a1c1 fix: if autoname is same as title then show only one field in rename modal 2025-03-06 11:47:12 +05:30
Shariq Ansari
de265e9415 fix: do not allow renaming if autoname & title_field is same 2025-03-06 11:46:03 +05:30
Soham Kulkarni
d95386edd8
Merge pull request #31287 from sokumon/better-sidebar
fix: more sidebar improvements
2025-02-28 23:54:08 +05:30
Ejaaz Khan
a23b790ccb
Merge pull request #31454 from iamejaaz/sticky-datatable-column
chore: update datatable version to add support for sticky column
2025-02-28 14:17:43 +05:30
Ejaaz Khan
d5b532d498 style: format code 2025-02-28 13:29:50 +05:30
Ejaaz Khan
85c22ec156
Merge pull request #30923 from bartoszpijet/develop
fix: event sync from Google Calendar not visible to user
2025-02-28 11:39:35 +05:30
Ankush Menat
e01187e610
fix: Ensure that scheduled jobs don't start in maintenance_mode (#31450) 2025-02-27 09:07:45 +00:00
mergify[bot]
5d270b9f67
fix: Cache thrashing in workspace code (#31446) (#31448)
if result is `[]` then it ignores cache and keeps hitting DB for no
reason.

(cherry picked from commit 20b63f3252f9b23655e34ca830cff426ad5a50a3)

Co-authored-by: Ankush Menat <ankush@frappe.io>
2025-02-27 08:11:53 +00:00
Ankush Menat
8e273d6701
chore: remove doctype overrides from hooks template (#31444)
This is a shit feature, don't advertise it to the world or make it easy
to use it.
2025-02-27 05:50:12 +00:00
Ankush Menat
7110e79926
fix: Avoid killing any system threads (#31442) 2025-02-26 16:07:46 +00:00
Ankush Menat
8baeb5151d
fix: check for running jobs before migrating (#31438) 2025-02-26 09:30:38 +00:00
Soham Kulkarni
8102706116
Merge pull request #31332 from sokumon/remove-view-file
fix: cleanup view file button
2025-02-26 00:05:44 +05:30
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
sokumon
9d717091a2 fix: cleanup view file button 2025-02-25 14:41:41 +05:30
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
Bartosz Pijet
4213ce69b1 refactor: Improve google_calendar insert_event_to_calendar readability 2025-02-24 11:08:19 +01:00
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