Commit graph

49597 commits

Author SHA1 Message Date
rehansari26
ca812bb307 fix: ensure workflow state field is created post-validation 2025-04-25 17:51:48 +05:30
Ankush Menat
856513423f
fix: recorder auto-disable (#32296)
This broke with client cache implementation... oopsie.
2025-04-25 11:32:55 +00:00
Ejaaz Khan
002892d0bf
Merge pull request #32300 from iamejaaz/35786-module-not-found
fix: Module not found error for custom doctypes
2025-04-25 15:54:04 +05:30
Marica
790a5fd28c
Merge pull request #32282 from barredterra/comment-notify-update
fix(Comment): logic for update notification
2025-04-25 15:36:35 +05:30
Ejaaz Khan
cae7759df6 refactor: pass app as an argument to avoid duplicte function call 2025-04-25 14:55:07 +05:30
Ejaaz Khan
2e0db2d69e fix: Module not found error for custom doctypes 2025-04-25 14:51:16 +05:30
Soham Kulkarni
84d1403f5c
Merge pull request #32299 from sokumon/better-sidebar
fix(minor): clean up variable
2025-04-25 14:15:44 +05:30
sokumon
e1c8d62ee3 fix(minor): clean up variable 2025-04-25 13:56:25 +05:30
Ankush Menat
32bde73607
perf: cast filters to string for assignments (#32297)
lessen impact of https://github.com/frappe/frappe/issues/32287
2025-04-25 06:18:33 +00:00
Ankush Menat
b4f8549c52
perf: cast todo queries for int PK (#32295)
https://github.com/frappe/frappe/issues/32287
2025-04-25 05:49:11 +00:00
Ankush Menat
dcb476c990
perf: cast dynamic links while filtering (#32294)
lessen impact of https://github.com/frappe/frappe/issues/32287
2025-04-25 05:43:01 +00:00
Ankush Menat
266ec9f76e
perf: Fix child table queries for int-PK parent (#32293)
Lessen but not eliminate impact of https://github.com/frappe/frappe/issues/32287
2025-04-25 05:33:07 +00:00
Ankush Menat
afc19dec10
perf: manually cast doc.name to string (#32292)
This avoid full table scans and undesired implicit casting at MySQL level.
2025-04-25 10:51:08 +05:30
Ankush Menat
d998d520fb
perf: use raw query for reading int-pk docs too (#32286)
Currently only string PK is supported but that wasn't the intention,
isinstance check is only there to avoid dicts/filters.
2025-04-24 13:11:07 +00:00
Raffael Meyer
7c2205b703
feat: publish comment from desk (#32256) 2025-04-24 13:57:50 +02:00
barredterra
17ae73acad fix(Comment): logic for update notification 2025-04-24 13:08:14 +02:00
gavin
6bbd85a37d
Merge pull request #32262 from frappe/mergify/bp/develop/pr-32261
fix(get_events): Pass date objects instead of string (backport #32261)
2025-04-24 09:16:40 +02:00
Ankush Menat
8f8e7a14e7
Merge pull request #32280 from ankush/recorder_replica
fix: recorder with replica
2025-04-24 11:10:25 +05:30
Ankush Menat
360d19741e fix(recorder): patch replica DB connection 2025-04-24 11:02:03 +05:30
Ankush Menat
26b1360c50 refactor: Remember patched connections
This way if `frappe.db` changes we don't end up trying to unpatch the
wrong thing.
2025-04-24 10:52:53 +05:30
Ankush Menat
0be27d78b5
Merge pull request #32278 from sagarvora/time-in-ms
fix(DX): log execution time in `ms`
2025-04-24 10:33:53 +05:30
Sagar Vora
e6196672ca fix(DX): log execution time in ms 2025-04-23 22:40:23 +05:30
Ankush Menat
61b6e566cb
Merge pull request #32273 from ankush/int_key_version
fix: Avoid unnecessary version logs for int PK
2025-04-23 17:58:45 +05:30
Sagar Vora
6e5210078a
Merge pull request #32269 from ljain112/virtual--field 2025-04-23 17:49:34 +05:30
Ankush Menat
e9f5d9f61a fix: Avoid unnecessary version logs for int PK 2025-04-23 17:44:01 +05:30
Ankush Menat
5d380e6f93
Merge pull request #32040 from sokumon/eps-removal
refactor: separate EPS into an app
2025-04-23 17:40:16 +05:30
ljain112
259aae65c6 fix: do not create version for virtual fields 2025-04-23 17:39:35 +05:30
sokumon
b55c8d29fe fix(revert): remove patch to remove ep fields in Notification Settings 2025-04-23 16:58:03 +05:30
Ankush Menat
66e91445f5 fix: remove eps template 2025-04-23 12:05:01 +05:30
Ankush Menat
82c90bdbbd fix: Orphan doctype check should remove doctypes with no module 2025-04-23 12:02:58 +05:30
Ankush Menat
70e56b2e14
perf: Selectively switch to LIFO ordering when queue is starved (#32226)
When queue is overloaded every job gets delayed by size of the queue,
this means even interactive jobs like prepared reports face significant
wait times.

This flag allows developer to selectively enable LIFO on such jobs where
ordering doesn't matter. Any time we observe queue to be too large,
we'll insert the job at front so it gets highest priority.

This is a common strategy to deal with queue starvation, we are only
applying it explicitly because job execution order matters for
correctness in some cases.
2025-04-23 11:54:21 +05:30
Gavin D'souza
6fdbbb70ce fix(get_events): Pass date objects instead of string
Closes https://github.com/frappe/frappe/issues/32246

(cherry picked from commit a4590fa4cc09b44c444e10f212f31fc26f4f81aa)
2025-04-22 22:43:50 +00:00
Soham Kulkarni
f841f77534
Merge branch 'develop' into eps-removal 2025-04-23 01:21:07 +05:30
sokumon
9735aed5b0 fix(patch): remove ep related fields from notifcation settings 2025-04-23 01:17:49 +05:30
Suhail
3cd9b577e2
fix(fc-billing): switch manage billing to a button instead of div (#32248) 2025-04-22 11:43:59 +00:00
Sagar Vora
90de57730d
Merge pull request #32091 from marination/list-filter-permlevel 2025-04-22 17:00:56 +05:30
Ejaaz Khan
0f2c81e862
Merge pull request #32243 from cogk/fix-blog-intro-strip-tags-before-truncate
fix(blog): Strip tags before truncating content for intro
2025-04-22 14:50:57 +05:30
Ejaaz Khan
8ffff1b925
Merge pull request #32240 from iamejaaz/30620-group-by-child-parent
fix: group by parent child error message
2025-04-22 14:44:52 +05:30
Ejaaz Khan
1269c0a71c fix: add translate to error message 2025-04-22 14:34:20 +05:30
Corentin Forler
c0d332a9b0
fix(blog): Strip tags before truncating content for intro 2025-04-22 11:01:54 +02:00
Ejaaz Khan
76f95ca1a9 fix: group by parent child issue 2025-04-22 14:26:09 +05:30
Akhil Narang
965728cd9b
Merge pull request #32231 from akhilnarang/stricter-field-validation
fix: stricter field validation
2025-04-22 13:39:21 +05:30
Akhil Narang
1888009e1f
Merge pull request #32235 from akhilnarang/fix-email-queue-manual-send
fix(email_queue): allow sending emails when queue is disabled
2025-04-22 13:39:10 +05:30
Akhil Narang
81813548e9
fix(email_queue): remove confirm step
No point having 2 steps, if the user has ended up here they do want to send the email.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-22 12:35:43 +05:30
Niklas Liechti
4848fbda0b
fix: Allow to manually send an email even if queue is disabled
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-22 12:30:07 +05:30
Akhil Narang
43a8dbfcbf
Merge pull request #31996 from barredterra/public-file-warning
feat: warn when uploading public files
2025-04-22 12:23:32 +05:30
Akhil Narang
7255c5fdf2
fix(db_query): improve subquery check
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-22 11:40:09 +05:30
Akhil Narang
9cf718b8f6
fix(db_query): use re.DOTALL
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-22 11:30:29 +05:30
Akhil Narang
97724298a6
Merge pull request #32229 from barredterra/ps-system-gen
fix: add param `is_system_generated=True` to `make_property_setter`
2025-04-22 11:09:42 +05:30
barredterra
30eb14a7dd fix: add param is_system_generated=True to make_property_setter
Defaults to True so that it behaves the same way as `make_custom_field`.
2025-04-21 23:43:48 +02:00