Commit graph

54125 commits

Author SHA1 Message Date
Gursheen Anand
aed7c5d589 fix: resolve receiver by role for Administrator correctly in notifications 2026-02-22 22:52:26 +05:30
Suraj Shetty
872e4586c8
Merge pull request #36859 from mendozal/fix-float-parse-number-format 2026-02-22 13:15:07 +05:30
mergify[bot]
4e9212a5a7
Merge branch 'develop' into fix-float-parse-number-format 2026-02-22 07:43:45 +00:00
Suraj Shetty
0c211aa4a0
Merge pull request #35940 from AarDG10/fix-orderby-pg 2026-02-22 13:09:43 +05:30
Ejaaz Khan
cd6f3ad20b
Merge pull request #37343 from AarDG10/fix-email-impersonation
fix: skip sending mail if account does not exist
2026-02-22 12:57:40 +05:30
AarDG10
380511f711 refactor: better naming 2026-02-22 11:36:16 +05:30
AarDG10
93952e8c98 test: fix test to suit the changes 2026-02-22 11:35:19 +05:30
AarDG10
d4baeb0687 fix: skip sending mail if account does not exist 2026-02-22 11:14:03 +05:30
Suraj Shetty
5648e8d430
Merge pull request #36917 from KerollesFathy/fix-remove-duplicated-more-articles-on 2026-02-22 10:57:19 +05:30
Ejaaz Khan
646d1bbcf6
Merge pull request #37108 from frappe/37032-calendar-view-ignores-first-day-of-the-week-and-incorrect-weekly-off-highlighting
fix(calendar): update first day of the week to use dynamic configuration
2026-02-22 00:32:03 +05:30
Suraj Shetty
696d04b860
Merge pull request #36979 from archielister/Exclude-virtual-fields-from-group-by-options
fix: Exclude virtual fields from add group options
2026-02-21 20:57:05 +05:30
Suraj Shetty
26f678ed3c style: fix formatting issues 2026-02-21 20:55:40 +05:30
Suraj Shetty
3ba5e10144
Merge pull request #36960 from kaulith/fix-workspace-card-filter 2026-02-21 20:53:55 +05:30
Sagar Vora
164273e613
Merge pull request #37334 from sagarvora/perf-input-hide-show
perf: avoid layout thrashing in control input toggle
2026-02-21 20:53:46 +05:30
Sagar Vora
50df1505fe
Merge pull request #37335 from sagarvora/avoid-jq-obj
perf: avoid creating jQuery obj to detect height/width
2026-02-21 20:53:18 +05:30
Sagar Vora
9bab8e910c perf: avoid creating jQuery obj to detect height/width 2026-02-21 11:51:29 +05:30
Sagar Vora
260abca660 perf: avoid layout thrashing in control input toggle 2026-02-21 11:35:17 +05:30
Suraj Shetty
ffd064c858
Merge pull request #37333 from frappe/l10n_develop
fix: sync translations from crowdin
2026-02-21 07:58:53 +05:30
MochaMind
494260ab27 fix: Dutch translations 2026-02-21 02:38:06 +05:30
MochaMind
2731b839ea fix: Swedish translations 2026-02-21 02:37:40 +05:30
MochaMind
4769c1c37b fix: Spanish translations 2026-02-21 02:37:35 +05:30
Diptanil Saha
f88bfe86bb
Merge pull request #37331 from diptanilsaha/gdl-fix
fix: use `slug` and `quoted` utils for URL encoding in `get_desk_link`
2026-02-21 02:16:24 +05:30
diptanilsaha
f07c36d423 fix: use slug and quoted utils for URL encoding in get_desk_link 2026-02-21 01:46:04 +05:30
Elnegren
df78027f41
fix: deprecated initHighlighting (#36938)
* fix: remove read_only decorator from get_desktop_page
get_desktop_page leads to a call to check_completions which calls save and thus with the read_only decorator calls save on the read replica

* fix: Move write operation out of read only request

* fix: deprecated initHighlighting

Deprecated as of 10.6.0. initHighlighting() is deprecated.  Use highlightAll() instead.

---------

Co-authored-by: Apile Tyumre <apiletyumre@iridescentsun.com>
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2026-02-20 19:47:32 +00:00
mergify[bot]
3fa7b1e797
Merge branch 'develop' into Exclude-virtual-fields-from-group-by-options 2026-02-20 19:43:02 +00:00
Suraj Shetty
ee007d839b
Merge pull request #37112 from TITANiumRox/fix-file-uploader-error-handling
fix: error message dialogs in File Uploader for web link upload
2026-02-21 01:02:41 +05:30
mergify[bot]
3eac0dc9f9
Merge branch 'develop' into fix-file-uploader-error-handling 2026-02-20 19:31:37 +00:00
Suraj Shetty
4dcd0bee1f
Merge pull request #37327 from stravo1/fix-has-error-wrong-toggle
fix(input): has-error class respects both invalid and mandatory together
2026-02-21 00:59:51 +05:30
Suraj Shetty
6556c13ba5
fix: re-upload with different name maintains original name (#37313)
* fix: use actual file name for private files

* fix: add id to download button

* fix: add fid in view file too

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-02-21 00:58:42 +05:30
stravo1@mac
3a2fe448e8 fix: formatting for base_input.js 2026-02-20 23:30:35 +05:30
stravo1@mac
5c704c3d87 fix: has-error respects both invalid and mandatory
previously set_invalid would remove (if there was no invalid entry) has-error class which were set by set_mandatory

fixes #35789
2026-02-20 23:14:48 +05:30
Sagar Vora
95283be9f5
Merge pull request #37316 from sagarvora/fix/select-permission-filter-fields
fix: allow filtering by all permlevel 0 fields with select permission
2026-02-20 21:34:06 +05:30
Sagar Vora
369f15ac09 fix: allow filtering by all permlevel 0 fields with select permission
Users with only 'select' permission can now filter, order by, and
group by all permlevel 0 fields, not just search fields.

- Added _get_filterable_fields() returning all permlevel 0 fields
  for select permission users
- Split permission checking into check_select_field_permission()
  and check_filter_field_permission()
- select field validation uses check_select_field_permission
- Filter/order/group by validation uses check_filter_field_permission
2026-02-20 21:23:29 +05:30
Shrihari Mahabal
d092022b22
fix: update pagination count to reflect inline filter scope in Report… (#37114)
* fix: update pagination count to reflect inline filter scope in Report View and show appropirate no data message

* refactor: more explicit messages and center no data message

* fix: Translate user facing string

---------

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2026-02-20 21:23:24 +05:30
Shllokkk
16e6c40d70
fix(schema): drop unique constraint for deleted doctype fields (#36356)
* fix(schema): drop unique constraint and indexes for deleted doctype fields

* refactor(schema): rename a variable and remove commented code

* test: add test case for dropping unique constraint on field deletion from doctype

* fix(tests): prevent list mutation during iteration

* test(db): guard MariaDB-specific unique index test with db_type_is.MARIADB

* fix(schema): drop unique constraints and indexes for deleted fields on postgres

* fix(schema): make postgres unique cleanup idempotent for deleted fields

* fix(schema): make postgres unique cleanup idempotent on reload

* test: add test case for dropping unique constraint and index on field deletion for postgres

* fix(schema): make postgres unique cleanup idempotent
2026-02-20 20:15:32 +05:30
Sumit Jain
617e4a8d8f
fix(notification): remove Custom type from send_alert_on as it's not getting used somewhere (#37256) 2026-02-20 19:57:21 +05:30
mergify[bot]
bc6e1750b1
Merge branch 'develop' into real-file-name 2026-02-20 12:24:22 +00:00
Aarol D'Souza
cbe479412c
Merge pull request #37318 from AarDG10/fix-types
fix(tests): add type hints to whitelisted test methods
2026-02-20 12:11:16 +00:00
mergify[bot]
15d91ed419
Merge branch 'develop' into real-file-name 2026-02-20 11:49:22 +00:00
Aarol D'Souza
01b82e24d0
fix(tests): add type hints to whitelisted test methods (#37317) 2026-02-20 11:44:33 +00:00
mergify[bot]
46dca5c956
Merge branch 'develop' into fix-file-uploader-error-handling 2026-02-20 11:00:39 +00:00
Safwan Samsudeen
bcade7a547 fix: add fid in view file too 2026-02-20 16:21:27 +05:30
Safwan Samsudeen
57578c8b9e fix: add id to download button 2026-02-20 16:08:46 +05:30
Aditya Patil
f910cc8ad8 fix: button should be disabled while loading 2026-02-20 15:45:53 +05:30
Clayton
2aaf66a420
fix: remove banner image field (#37217)
* fix: remove banner image field

* fix: remove from user doctype only

* fix: migration

* fix: remove patch
2026-02-20 15:16:28 +05:30
Aarol D'Souza
68727cbd61
fix: add type hints to whitelisted methods 4 (#37204)
* fix(utils): add type hints to whitelisted methods

* fix(desktop): add type hints to whitelisted methods

* fix(listview): add type hints to whitelisted methods

* fix(access_log): add type hints to whitelisted methods

* fix(setup_wizard): add type hints to whitelisted methods

* fix(notification_settings): add type hints to whitelisted methods

* fix(calendar): add type hints to whitelisted methods

* fix(notifications): add type hints to whitelisted methods

* fix(query_report): add type hints to whitelisted methods

* fix(load): add type hints to whitelisted methods

* fix(save): add type hints to whitelisted methods

* fix(user): add type hints to whitelisted methods

* fix: correct Document import

* fix(list_view_settings): add type hints to whitelisted methods

* fix(reportview): add type hints to whitelisted methods

* fix(treeview): add type hints to whitelisted methods

* fix(linked_with): add type hints to whitelisted methods

* fix(bulk_update): add type hints to whitelisted methods

* fix(assign_to): add type hints to whitelisted methods

* fix(workspace): add type hints to whitelisted methods

* fix(kanban_board): add type hints to whitelisted methods

* fix(event): add type hints to whitelisted methods

* fix(email): add type hints to whitelisted methods

* fix(exporter): add type hints to whitelisted methods

* fix(permission_manager): add type hints to whitelisted methods

* fix(dashboard_chart): add type hints to whitelisted methods

* fix(number_card): add type hints to whitelisted methods

* fix(tag): add type hints to whitelisted methods

* fix: add hook to force type hints on all whitelisted endpoints

* fix: target_doc can be dict/json string

* fix: doc can be dict/json string

* fix(tests): add type hints to whitelisted methods in test

* fix: tree method is optional

* test: Fix test api types

* chore: drop dead code

* fix: document can be int

* fix: Number card input can be document

As utils in some other API calls

* fix: Always use session user

The only usage of this API that makes sense.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-02-20 14:53:08 +05:30
Soham Kulkarni
e26eb1f4fa
Merge pull request #37303 from sokumon/api-improvement
fix: new_icons shouldn't be mandatory
2026-02-20 14:52:33 +05:30
Akhil Narang
cda5b6bda0
fix: restrict the allowed characters in site names (#35134)
Currently you could be left with unusable sites

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-02-20 09:17:01 +00:00
Soham Kulkarni
fa9f5fb13c
Merge pull request #37207 from KerollesFathy/fix/sidebar-route-options-double-encoding
fix(sidebar): remove double encoding of sidebar item filter
2026-02-20 14:46:29 +05:30
Safwan Samsudeen
cdb50bde65 fix: use actual file name for private files 2026-02-20 14:44:44 +05:30