Commit graph

49584 commits

Author SHA1 Message Date
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
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
Frappe PR Bot
30c9e00bc9
fix: sync translations from crowdin (#32217) 2025-04-21 17:03:09 +02:00
Raffael Meyer
d7ed52ae9b
refactor!: map view (#32207) 2025-04-21 16:50:13 +02:00
Suhail
d5adcf4323
fix(setup-wizard): fetch translation messages only if language is changed (#32224) 2025-04-21 11:14:19 +00:00
Sagar Vora
291edf1594
Merge pull request #32222 from sagarvora/type-hints 2025-04-21 15:34:35 +05:30
Sagar Vora
83b6231f95 chore: add type hints to whitelisted endpoints 2025-04-21 15:25:55 +05:30
Ejaaz Khan
095f44baf8
Merge pull request #32123 from cogk/feat-show-assignment-details
feat(assign): Show description in assign modal
2025-04-21 11:24:57 +05:30
Ankush Menat
9917ce2c4e
chore: add translations link (#32220) 2025-04-21 05:53:54 +00:00
Ejaaz Khan
2f77ab7f88
Merge pull request #32206 from stermic2/develop
feat: Add Julian Day to Auto Naming series
2025-04-21 10:40:40 +05:30
Raffael Meyer
5220d3d448
Merge pull request #32214 from frappe/pot_develop_2025-04-20 2025-04-20 16:49:11 +02:00
frappe-pr-bot
8f13380c54 chore: update POT file 2025-04-20 09:33:30 +00:00
Ejaaz Khan
6b30964630
Merge pull request #32174 from aditya-rola/feature/disable-datepicker-dates
feat: allow disabling specific dates in DatePicker
2025-04-20 09:59:15 +05:30
Frappe PR Bot
a7f1bfbd2c
fix: sync translations from crowdin (#32187)
* fix: Thai translations

* fix: Portuguese translations

* fix: German translations

* fix: Chinese Simplified translations
2025-04-19 21:29:35 +00:00
Sagar Vora
4729b9dbb2
Merge pull request #32213 from sagarvora/remove-clear-sitemap
chore: remove method that does nothing
2025-04-19 20:32:11 +05:30