Commit graph

50544 commits

Author SHA1 Message Date
Akhil Narang
4671552fe6
build: switch to node 22 (#32421)
It has LTS, 20 is in maintenance mode

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-05-07 10:43:00 +05:30
Ankush Menat
e26ba5dfdd
perf: split maintenance tasks into separate queue (#32413)
* feat: Maintenance queues for scheduled jobs

* refactor: Move jobs to maintenance queues

* test: update tests
2025-05-06 17:10:49 +00:00
Soham Kulkarni
b34b6d7fa4
fix: change limit to 100k (#32419) 2025-05-06 22:07:50 +05:30
Soham Kulkarni
ea2a432a4b
Merge pull request #32430 from sokumon/bump-datatable
chore: bump datatable
2025-05-06 17:11:13 +05:30
sokumon
ac1aa6e1a2 chore: bump datatable 2025-05-06 16:49:02 +05:30
UmakanthKaspa
ae47229dbe
feat: include print format name in Access Log during print (#32360)
* feat: include print format name in Access Log during print

* refactor: reuse print_format_name variable in get_context
2025-05-06 07:43:43 +00:00
Soham Kulkarni
c084509cf2
Merge pull request #32411 from akhilnarang/followup-29226
fix(email_account): don't show gmail help text after selecting another provider
2025-05-06 09:16:43 +05:30
Sagar Vora
1dbb8a9ddf
Merge pull request #32412 from aayush7908/simplify-db-type-mapping-in-qb 2025-05-05 13:08:13 +00:00
aayush7908
15d331685a refactor: simplify database type mapping in query builder 2025-05-05 18:03:09 +05:30
Akhil Narang
2299945d03
fix(email_account): don't show gmail help text after selecting another provider
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-05-05 17:09:27 +05:30
sokumon
28947b33dd fix: add informative guest message 2025-05-05 16:45:50 +05:30
sokumon
8e0932b20d fix: add a more filter button 2025-05-05 14:32:30 +05:30
Soham Kulkarni
b923129e53
Merge pull request #32389 from sokumon/number-card-formatting
fix(number_card): show the symbol if currency is present
2025-05-05 14:17:51 +05:30
Akhil Narang
1e30db26dc
Merge pull request #32327 from akhilnarang/allow-passing-name-in-api
fix(document): don't try to overwrite name if already set
2025-05-05 13:28:52 +05:30
Akhil Narang
8da72e91e3
Merge pull request #32401 from RitvikSardana/email-template-css
fix: update email template hex code according to espresso
2025-05-05 13:07:24 +05:30
RitvikSardana
7888001201 fix: file formatting 2025-05-05 12:42:59 +05:30
Akhil Narang
33dbf97db2
fix(document): don't try to overwrite name if a string is already set
This allows us to pass `name` in via API when creating documents.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-05-05 12:24:58 +05:30
RitvikSardana
27a853e8fb fix: update email template hex code according to espresso 2025-05-04 14:11:26 +05:30
Sagar Vora
f242b34ef2
Merge pull request #32379 from sagarvora/fix-get-onload
fix(Document): improve `__onload` implementation
2025-05-03 15:14:24 +00:00
Sagar Vora
f93b87ddd8 fix(Document): improve __onload implementation 2025-05-03 20:35:52 +05:30
sokumon
ff1282b021 fix: show the symbol if currency is present 2025-05-03 12:41:15 +05:30
UmakanthKaspa
12e440333b fix: show active tab bottom border in dark mode 2025-05-03 05:43:52 +00:00
sokumon
056dd76f20 fix: use form events to load on all forms 2025-05-03 10:36:21 +05:30
sokumon
cda8504728 fix: add new route hook called post_after_load 2025-05-03 10:33:07 +05:30
sokumon
61dc912237 fix: check if hook is present 2025-05-03 10:33:07 +05:30
sokumon
3ab2866465 fix: extend_notification_header 2025-05-03 10:33:07 +05:30
UmakanthKaspa
bf1e94dba0 fix: remove child tables from document dropdown 2025-05-03 03:53:05 +00:00
Ankush Menat
f708acb59e
Merge pull request #32382 from ankush/qb_ifnull
perf: Avoid Coalesce in QB `is` implementation
2025-05-02 19:19:27 +05:30
Ankush Menat
c778ce370f perf: Avoid Coalesce in QB is implementation 2025-05-02 19:09:51 +05:30
sokumon
a74a51201d fix: stop scrolling when sidebar is opened 2025-05-02 16:27:31 +05:30
Ankush Menat
b6d44a4725
perf: transform ifnull into two conditions (#32377)
* fix(DX): Better formatted SQL queries from DB Query

Avoid unnecessary tabs, thought of using dedent but unnecessary overhead
for small stylistic benefit inside code vs. stylistic benefit in logs.

* perf: Split ifnull into two conditions

This produces better query plan with index intersection using 2
conditions instead of fulltable scan on dumb condition

TODO: LOTS OF TESTS

* fix: avoid bad default of `flt` on string types

🤦 this whole thing needs a refactor, fixing all bugs first to
ensure we don't screw up something in process

* perf: optimize `!=` operator when field can be null

* perf: avoid ifnull for `is set` and `is not set`
2025-05-02 13:05:30 +05:30
Ankush Menat
dbb1fcba99 perf: avoid ifnull for is set and is not set 2025-05-02 12:35:58 +05:30
Ankush Menat
6d32ffcc6c perf: optimize != operator when field can be null 2025-05-02 12:11:27 +05:30
Ankush Menat
e0f63a928f fix: avoid bad default of flt on string types
🤦 this whole thing needs a refactor, fixing all bugs first to
ensure we don't screw up something in process
2025-05-02 12:00:36 +05:30
Ankush Menat
23ffdc87ae perf: Split ifnull into two conditions
This produces better query plan with index intersection using 2
conditions instead of fulltable scan on dumb condition

TODO: LOTS OF TESTS
2025-05-02 11:17:53 +05:30
Ankush Menat
c317462379 fix(DX): Better formatted SQL queries from DB Query
Avoid unnecessary tabs, thought of using dedent but unnecessary overhead
for small stylistic benefit inside code vs. stylistic benefit in logs.
2025-05-02 11:10:05 +05:30
Ankush Menat
42f1d1b460
fix(db_query): double-escaped value (#32376) 2025-05-02 11:09:11 +05:30
sokumon
85bc8c6231 fix: remove import 2025-05-02 10:24:14 +05:30
sokumon
85e21281b4 fix(sidebar): interaction and code cleanup 2025-05-02 10:17:41 +05:30
sokumon
65b2a37f4e refactor: sidebar interaction 2025-05-01 12:50:15 +05:30
Frappe PR Bot
479c304eae
fix: sync translations from crowdin (#32230)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2025-04-29 14:10:15 +00:00
Soham Kulkarni
1dba06e834
chore: bump markdownify to 0.14.1 (#32348) 2025-04-29 15:31:35 +05:30
Soham Kulkarni
87c67c8dbe
Merge pull request #32315 from sokumon/link-field-trigger
fix(link): dont force set value in model
2025-04-29 14:59:49 +05:30
Ejaaz Khan
49391175a1
Merge pull request #32340 from iamejaaz/fix-grouping-issue
refactor: fix ruff linter issue
2025-04-29 13:14:20 +05:30
Akhil Narang
8d42b4d3d6
Merge pull request #32268 from akhilnarang/drop-example-email-address-creation
fix: don't create example email domains and email accounts
2025-04-29 12:50:29 +05:30
Ejaaz Khan
3187e115ba
Merge pull request #32306 from rehanrehman389/workflow-fix
fix: ensure workflow state field is created post-validation
2025-04-29 12:14:24 +05:30
Ejaaz Khan
71814d3ce6 refactor: fix ruff linter isssue 2025-04-29 12:04:22 +05:30
Akhil Narang
10a17bc29f
Merge pull request #32335 from flaviacastro/chore/add-webform-list-empty-state-messages-to-load-translations
chore: add webform list empty state messages to load_translations
2025-04-29 11:52:12 +05:30
rehansari26
70a3eb986c fix: remove unnecessary clear_cache call 2025-04-29 11:49:50 +05:30
Akhil Narang
a9de0aac1d
Merge pull request #32328 from diptanilsaha/fixed-support-36797
fix: prevent updating first_responded_on on automated message
2025-04-29 11:24:04 +05:30