Commit graph

54080 commits

Author SHA1 Message Date
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
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
sokumon
95c486bbb9 fix: new_icons shouldn't be mandatory 2026-02-20 14:38:18 +05:30
s-aga-r
067ab442a6
fix: validate IMAP folders exist (#37296)
* refactor: IMAP settings validation

* fix: validate IMAP folders exist
2026-02-20 12:59:19 +05:30
Aditya Patil
3428bf7e68 fix: translate while setting error message instead of while showing 2026-02-20 12:58:43 +05:30
Aditya Patil
e1e77c4505
Update frappe/public/js/frappe/file_uploader/FileUploader.vue
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2026-02-20 12:53:06 +05:30
Aditya Patil
3afec1dd1a fix: resolve or reject promise only after request is complete 2026-02-20 12:43:24 +05:30
s-aga-r
6be1608350 fix: validate IMAP folders exist 2026-02-20 12:21:38 +05:30
Aarol D'Souza
c55ff193a6
fix: add type hints to whitelisted methods 3 (#37149)
* fix(apps): add type hints to whitelisted methods

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

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

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

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

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

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

* refactor(network_printer_settings): remove unused args

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

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

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

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

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

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

* test: rewrite test to fit the strict type check

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

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

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

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

* fix(workflow main): add type hints to whitelisted methods

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

* fix: flexible type hint

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

* fix: fix some of the tighter types

* fix(frappecloud_billing): add str typehint to whitelisted endpoint

* fix: target_doc can be dict/json string

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-02-20 06:50:19 +00:00
Soham Kulkarni
101a7f40b6
Merge pull request #37292 from sokumon/billing-info
fix: remove console errors
2026-02-20 12:20:11 +05:30
Ejaaz Khan
dc2d26a4aa
fix: HTML not rendered in Text Editor field (#37293)
* fix: HTML not rendered in Text Editor field

* refactor: remove unused variables
2026-02-20 12:06:56 +05:30
sokumon
18848e6d79 fix: remove console errors 2026-02-20 11:50:40 +05:30
s-aga-r
647b376339 refactor: IMAP settings validation 2026-02-20 11:49:09 +05:30
Sayantan Ghosh
66877405e1
fix: enable/disable buttons in roles editor based on state (#37212)
fixes #31662

fixed select_all logic where disabled checkboxes did not trigger clicks and stayed in the opposite checked state.

although now it is not possible to trigger select_all if RolesEditor is disabled as the buttons to make that function call are also diabled, but this logic acts as a failsafe.
2026-02-20 10:53:49 +05:30
Sudarshan
e9e90a68b1
fix: make translation for link field value irrespective of user permissions only if the source doctype is in translated doctypes (#35803)
Co-authored-by: sudarshan-g <sudarshan@cliniexperts.com>
2026-02-20 10:41:41 +05:30
s-aga-r
fef9d89ce0
feat: configurable DSN (#36988)
* feat: configurable `DSN`

* chore: validate dsn support on save

* fix: DSN validation
2026-02-20 10:30:14 +05:30
dependabot[bot]
5d67826f25
chore(deps): bump werkzeug from 3.1.5 to 3.1.6 (#37290)
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-20 04:49:13 +00:00
MochaMind
03fbd145c2
fix: sync translations from crowdin (#37284)
* fix: Spanish translations

* fix: Burmese translations

* fix: Vietnamese translations

* fix: Thai translations
2026-02-20 10:10:52 +05:30
dependabot[bot]
80580d78f2
chore(deps): bump pypdf from 6.6.2 to 6.7.1 (#37279)
Bumps [pypdf](https://github.com/py-pdf/pypdf) from 6.6.2 to 6.7.1.
- [Release notes](https://github.com/py-pdf/pypdf/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/py-pdf/pypdf/compare/6.6.2...6.7.1)

---
updated-dependencies:
- dependency-name: pypdf
  dependency-version: 6.7.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-20 10:04:51 +05:30
Sayantan Ghosh
a12d9a642a
fix: remove bold font weight from h3 and h4 to maintain consistent header styling (#37289)
fixes #35447
2026-02-20 10:03:55 +05:30
Soham Kulkarni
d4cc080284
Merge pull request #37286 from sokumon/minor-ui-issues
fix(minor): add tooltip for group sidebar items
2026-02-20 03:56:55 +05:30
sokumon
adb537e46b fix: route using title 2026-02-20 03:31:16 +05:30
sokumon
b3450cd868 fix(minor): add tooltip for group sidebar items 2026-02-20 03:27:48 +05:30
Soham Kulkarni
7639a87160
Merge pull request #37241 from sokumon/billing-info
refactor: billing components
2026-02-20 02:50:04 +05:30
Soham Kulkarni
e64201d942
Merge pull request #37264 from ShrihariMahabal/fix-awesomebar-after-edit-layout
fix: re-initialize awesomebar after exiting edit layout
2026-02-20 02:40:40 +05:30