Commit graph

53735 commits

Author SHA1 Message Date
Abdeali Chharchhoda
07e894ac62 Merge branch 'develop' into add-total-row-if-filterd 2026-02-08 12:47:42 +05:30
Arshad Qureshi
6700203523
fix(workspace): show role-restricted non-public workspaces in sidebar (#36829)
* fix(workspace): show role-restricted non-public workspaces in sidebar

Non-public workspaces with assigned roles were not visible to users
with matching roles because the visibility logic only had two buckets:
public workspaces and private (for_user) workspaces. Role-restricted
non-public workspaces without a for_user value fell through both
conditions and were never shown.

Fixes #36201

* fix(workspace): use existing module in test to fix CI failure

The test was using "Test Module" via create_workspace() helper, but
get_module_app() could not resolve it in CI's fresh environment since
the module-app mapping cache did not include it. Use "Desk" module
which always exists.

* fix(workspace): use db.delete in test cleanup to bypass on_trash hook

The on_trash hook calls delete_from_my_workspaces() which tries to
fetch "Workspace Sidebar" doc that does not exist in CI. Using
frappe.db.delete bypasses document hooks and avoids the error.
2026-02-08 12:41:38 +05:30
Kerolles Fathy
65e191d7be
fix(calendar): event color on month view (#36834)
* fix(calendar): event color on month view

* fix(calendar): remove unnecessary display property for event time
2026-02-08 12:36:42 +05:30
Gursheen Kaur Anand
4b9e0cd37d
fix: check hidden before adding help dropdown item (#36838) 2026-02-08 12:34:44 +05:30
Shrihari Mahabal
e10bf95394
fix(ui): render checkbox label in pick columns correctly (#36839) 2026-02-08 12:34:09 +05:30
Kerolles Fathy
a77799b538
fix: routing for non-query reports (#36646) 2026-02-08 11:26:10 +05:30
Kerolles Fathy
03fe39e812
fix(ux): bind click events to assign, tags and share labels on form sidebar (#36721)
* fix(ux): bind click events to assign, tags and share labels

* fix(ux): add hover cursor style for assignment, tags, and share labels
2026-02-08 11:18:30 +05:30
Prathamesh Kurunkar
92c62754e1
fix(ux): add currency symbol handling in editable grid rows (#36818) 2026-02-08 11:04:15 +05:30
Abdeali Chharchhoda
f3e6f797d5 fix: adjust total row visibility index calculation based on add_total_row flag 2026-02-08 09:49:47 +05:30
RitvikSardana
78396c4334
Merge pull request #34522 from netchampfaris/sqlite-search-long-tasks
fix: resumable sqlite search indexing task for larger data
2026-02-07 23:41:12 +05:30
BG
0d3487ce0c
feat: add Mongolian (mn) translation (#36831)
Complete Mongolian (Cyrillic) translation for Frappe Framework.

- 5,974 translated entries, 0 untranslated, 0 fuzzy
- Quality audited: terminology consistency, placeholder integrity,
  no traditional Mongolian script contamination
- Key terminology: Submit=Батлах, Draft=Ноорог, Cancel=Цуцлах,
  Customer=Харилцагч, Settings=Тохиргоо
2026-02-07 14:49:29 +00:00
Ritvik Sardana
aef35985a3 fix: doctype indexing progress 2026-02-07 19:21:03 +05:30
Safwan
1307ae33eb
fix: use system number format for currency precision (#36648)
* fix: use system number format for currency precision

* fix: remove default format
2026-02-07 06:30:00 +00:00
Sumit Jain
1d9eb802fc
feat: Enhance autoname functionality (#36827)
* feat: Enhance autoname functionality to support expression naming rules with and without dots before dashes

* style: Fix formatting issues

---------

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2026-02-07 06:22:28 +00:00
MochaMind
9f7c18029e
fix: sync translations from crowdin (#36819)
* fix: Italian translations

* fix: Portuguese, Brazilian translations
2026-02-07 11:45:47 +05:30
Luis Mendoza
b408bc92c5
fix: hide Submit button on non-submittable doctypes (#36825)
can_submit() only checked docstatus, permissions, and workflow
but never verified the doctype is actually submittable. Since all
documents start at docstatus 0, this caused a Submit button to
appear on any non-submittable doctype where the user has submit
permission (e.g. System Manager).
2026-02-07 06:15:17 +00:00
Abdeali Chharchhoda
d422b5cab9 Merge branch 'develop' into add-total-row-if-filterd 2026-02-07 10:28:16 +05:30
Abdeali Chharchhoda
228df3bfa5 fix: skip total row calculation for prepared reports when specified 2026-02-07 01:53:23 +05:30
Abdeali Chharchhoda
965bf0fdec fix: add validation for visible indexes before report actions 2026-02-07 01:35:07 +05:30
Abdeali Chharchhoda
cccc634c41 fix: adjust total row visibility index calculation in QueryReport 2026-02-07 00:52:14 +05:30
Abdeali Chharchhoda
09e4f70240 chore: improve error logging title for report execution failures 2026-02-06 23:17:08 +05:30
Abdeali Chharchhoda
e12d58209d refactor: add type hints to parameters in run function 2026-02-06 23:15:13 +05:30
Abdeali Chharchhoda
861c450ca6 fix!: do not add total row index in visible index 2026-02-06 19:15:44 +05:30
Abdeali Chharchhoda
9fa55476b7 fix: handle total row in export of report with column filters 2026-02-06 19:05:48 +05:30
Ejaaz Khan
25df73931b
Merge pull request #36805 from nishkagosalia/data-import-depends-on
feat: Show color for  depends on fields for data import
2026-02-06 18:45:17 +05:30
Nishka Gosalia
cb278ff39d feat: Show color for depends on fields for data import 2026-02-06 17:31:47 +05:30
Ankush Menat
e30bfaf4e3
fix: Limit meme types on image fields (#36800)
* Revert "fix(file-upload): add support for blocking unsupported file types in file uploader (#36736)"

This reverts commit fe5072fa23.

* fix: Limit allowed MIME types for image fields

original and simpler version of #36736 that I overengineered.
2026-02-06 11:10:02 +00:00
Ankush Menat
61cb4646c4
fix: Honor disable async configuration (#36795) 2026-02-06 09:55:42 +00:00
Prathamesh Kurunkar
fe5072fa23
fix(file-upload): add support for blocking unsupported file types in file uploader (#36736)
* feat: add support for blocking unsupported file types in file uploader

* chore: pre-commit fix formatting

* fix: restrict image type in file upload and show better errors

* chore: allow all image types by default

Simplified allowed file types for image uploads to 'image/*'.

* chore: allow all image types by default

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-02-06 09:37:19 +00:00
Ritvik Sardana
6f88468d68 refactor: resumable indexing without max_runtime 2026-02-06 15:05:52 +05:30
Faris Ansari
2a7e6a7793 refactor: resumable search index 2026-02-06 15:05:41 +05:30
Ankush Menat
eb59ab2817
fix: More reliable tags count result processing (#36783)
Use dicts instead of lists.
2026-02-06 07:40:35 +00:00
Soham Kulkarni
83617f20f6
Merge pull request #36772 from sokumon/billing-card
feat: sidebar card
2026-02-06 12:18:01 +05:30
Ankush Menat
4e91b1a281
fix: Support short session idle durations (#36773)
closes https://github.com/frappe/frappe/issues/35209
2026-02-06 06:46:19 +00:00
Kaushal Shriwas
b39800e5aa
fix: replace bare raise statement with AuthenticationError in oauth.py (#36729)
* fix: replace bare raise statement with AuthenticationError in oauth.py

* fix: add error log
2026-02-06 12:09:51 +05:30
Prathamesh Kurunkar
db9a4e9086
fix(typo): correct spelling of "Google Calendar" (#36767) 2026-02-06 12:03:18 +05:30
Prathamesh Kurunkar
7ea1767c46
fix(perm): permission handling for Administrator role in has_perm/get_perm JS API (#36637)
* fix(perm): permission handling for Administrator role in has_perm/get_perm

* chore(lint): remove linting issues

* refactor(perm): improve permission level retrieval readability
2026-02-06 12:02:56 +05:30
Prathamesh Kurunkar
357d62a172
fix(ui): edit button misalignment in address and contact fields (#36651)
* fix(ui): edit button misalignment in address and contact fields

* style(ui): consolidate styles for address and contact boxes in controls.scss

* chore(lint): fix linting issues

* style: adjust line-height for contact box paragraph
2026-02-06 11:58:27 +05:30
sokumon
d33a1e0654 fix: hover state and make api for adding card 2026-02-06 11:50:00 +05:30
sokumon
d82315cc87 fix: styling for the card 2026-02-06 03:19:53 +05:30
Soham Kulkarni
059763f797
Merge pull request #36760 from sokumon/desktop-rendering
fix(desktop): show correct keyboard shortcut
2026-02-05 22:00:49 +05:30
Suraj Shetty
0980d5898f
Merge pull request #36741 from ShrihariMahabal/fix-email-indicator
fix: render email header indicator correctly
2026-02-05 21:58:03 +05:30
Suraj Shetty
07e730fca6
Merge pull request #36740 from surajshetty3416/fix-grid-reordering-issue
fix(sync): Make sure child records are properly synced on save
2026-02-05 21:53:14 +05:30
Suraj Shetty
bf6fce6084
Merge pull request #36735 from akhilnarang/fix-share-if-owner
fix(share): use `has_permission` instead of `get_role_permissions`
2026-02-05 21:50:31 +05:30
sokumon
2deae864d0 fix(desktop): show correct keyboard shortcut 2026-02-05 21:24:11 +05:30
Shrihari Mahabal
612e02da02 fix: modify email header test and email header html to support indicators 2026-02-05 19:12:25 +05:30
Aarol D'Souza
77af2d53d6
fix(system console): allow read-only queries in system console (#36652)
* fix(system console): allow read-only queries in system console

* fix(security): make transactions strictly read only for console and scripts

* test: remove test to reflect ban on cte's for security

* fix: Only enable read only mode for SQL query

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-02-05 11:39:10 +00:00
Suraj Shetty
78b0f4b080
Merge pull request #36751 from safwansamsudeen/fix-eval-error
fix: use indirect eval
2026-02-05 17:03:19 +05:30
Akhil Narang
95fbf02ed7
build(deps): move faker out of dev dependencies (#36747)
`frappe.mock()` uses it. Although that's used only in tests, its defined under frappe namespace, so should be accessible without development dependencies.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-02-05 16:46:38 +05:30
Safwan Samsudeen
90bb08a279 fix: use indirect eval 2026-02-05 16:33:40 +05:30