Commit graph

4501 commits

Author SHA1 Message Date
Shrihari Mahabal
b4c2a6c617 fix: check permissions for getting and updating events 2026-04-23 15:38:32 +05:30
Ejaaz Khan
b17f60a7fa fix(BulkEdit): Default app options not populating 2026-04-22 17:47:44 +05:30
Abdeali Chharchhodawala
690826ff9b
feat!: faster generation and formatting utils for excel exports (#36323)
* feat: Style builder for report xlsx formatting

* fix: update report to use direct import for query report execution

* refactor: simplify module method retrieval in report execution

* feat: get xlsx styles for report

* refactor: enhance XLSXStyleBuilder with currency formatting and default style registration

* feat: add xlsxwriter dependency for enhanced XLSX report generation

* refactor: enhance XLSXStyleBuilder with improved style registration and formatting methods

* feat: enhance XLSX export functionality with improved styling and metadata support

* refactor: default formatting of currency

* chore: remove some typo

* feat: update make_xlsx function to use xlsxwriter for improved Excel file generation and styling

* perf: some micro optimisations

* refactor: inline generator back and improve condition

* refactor: replace frappe.request_cache with functools.cache

* fix: handle styling in email

* fix: fix old test case to handle styles in export

* refactor: enhance XLSX style handling and registration methods

* refactor: improve currency formatting logic

* fix: update make_xlsx to use constant_memory for large datasets and improve row style handling

* fix: handle None style_id in XLSXStyleBuilder methods to prevent errors

* fix: include owner field with proper doctype naming

* fix: set default date format in XLSX workbook creation

* fix: pass applied filters to metadata

* fix: getting accurate field info for report view exporting

* chore: Minor changes

* feat: add function to generate default XLSX styles for exports

* feat: integrate default XLSX styles into builder report export functionality

* feat: styles on export docs xlsx

* feat: enhance make_xlsx function to support file path saving

* feat: add make_xls function for creating Excel files in old format and improve sheet name sanitization

* fix: handle default date formatting

* refactor: changes xlsx builder usage

* refactor: update xlsx style builder usage

* refactor: enhance field info retrieval with default field support

* fix: handle update key in report data

* refactor: enhance get_field_info to include options and improve label retrieval

* fix: improve error handling for unsupported file formats and ensure applied filters are set correctly

* refactor: update XLSX header index handling and improve metadata structure

* fix: handle currency formatting in reportview export

* fix: update default date format to datetime format in XLSX creation

* fix: update serial number field in auto email report to use 'sr' instead of 'idx'

* fix: enhance XLSX styling by adding right alignment for specific field types

* chore: remove unused code

* fix: update XLSXMetadata attributes for improved report styling options

* perf: further improve currency styling

* fix: correct column index mapping in XLSX export header

* refactor: optimize indentation style registration in XLSXStyleBuilder

* perf: improve apply_indentations

* fix: reduce more attr lookup

* refactor: remove duplication

* fix: use report name in XLSX export instead of hardcoded title

* fix: remove ignore_visible_idx from XLSXMetadata

* fix: review

* fix: update XLSX style fetching logic in build_xlsx_data function

* fix: add right alignment to date, time, and datetime styles in XLSXStyleBuilder

* fix: simplify number format handling in XLSXStyleBuilder

* fix: register common styles in XLSXStyleBuilder for improved style management

* test: add tests for XLSX styles structure and fieldtype column styles in XLSXStyleBuilder

---------

Co-authored-by: Sagar Vora <16315650+sagarvora@users.noreply.github.com>
2026-04-21 19:07:43 +05:30
Soham Kulkarni
e516f716bf
Merge pull request #38764 from sokumon/remove-icon-close
fix: replace icon-close with icon-x
2026-04-21 17:36:05 +05:30
sokumon
32aaaa7abe fix: replace icon-close with icon-x 2026-04-21 17:01:39 +05:30
Raffael Meyer
166bb914c1
fix: set autocomplete attribute for password fields in user and setup wizard forms (#38744) 2026-04-20 23:09:49 +00:00
Abdeali Chharchhodawala
3796860c92
fix: simplify total row calculation logic in query report (#38677) 2026-04-20 10:38:34 +00:00
Ejaaz Khan
fe0e46b37c
Merge pull request #38689 from iamejaaz/ui-ux-improvement
feat: toggle awesomebar
2026-04-17 22:30:36 +05:30
Ankush Menat
a96482b7b0
fix(DX): Allow db.commit from drop-down console (#38688)
This is anyways allowed, it's just extra friction at this point.

After using it for a while I feel we should allow it from drop-down
console too now.

It's risky, but hey, you're literally executing arbitrary code you just
wrote so I am trusting you.
2026-04-17 12:29:48 +00:00
Ejaaz Khan
002d58c53f feat: toggle awesomebar 2026-04-17 17:52:58 +05:30
Aarol D'Souza
c6d1a2362d
Merge pull request #38529 from AarDG10/fix-note
fix(note): force sanitization in notes
2026-04-17 17:00:49 +05:30
KerollesFathy
189afcf08b fix(CustomHTMLBlock): validate private field in server-side 2026-04-16 17:32:17 +00:00
Ejaaz Khan
afe9d9fd8d
Merge pull request #38498 from kaulith/fix/notification-badge-on-desktop
fix: show notification badge on desktop bell icon
2026-04-15 11:24:53 +05:30
Shrihari Mahabal
16440d71e9
Merge pull request #37861 from ShrihariMahabal/get-docs
feat: get_docs to fetch instantiated document objects from db
2026-04-15 11:24:21 +05:30
Ejaaz Khan
93bec95024
Merge pull request #36615 from GursheenK/virtual-df-value-in-document-getter
fix: title for link field in virtual docfield titles
2026-04-14 19:51:34 +05:30
Aarol D'Souza
c61766cd47
Merge pull request #38583 from AarDG10/fix-report-export
fix(reportview): support dict. when parsing fields
2026-04-14 16:25:23 +05:30
AarDG10
e334e327fb fix(reportview): support dict. when parsing fields
QB generates a dict. so added support for that when exporting into Excel/CSV
2026-04-14 12:48:31 +05:30
sokumon
cca94708b0 fix: allow desktop icon renaming for non-standard icons 2026-04-14 04:51:10 +05:30
sokumon
1bf32d2cb1 fix: set for user while creating private workspace 2026-04-14 01:26:54 +05:30
gajjug004
72369a329f fix: respect Enable Onboarding setting in sidebar onboarding panel 2026-04-13 15:09:00 +05:30
AarDG10
10553f80ef fix(note): force sanitization in notes 2026-04-10 16:55:25 +05:30
Kaushal Shriwas
c5aa51a7e6 fix: show notification badge on desktop bell icon 2026-04-08 20:15:29 +05:30
Ankush Menat
0d8ddb5958 Merge branch 'develop' into get-docs 2026-04-08 10:50:31 +05:30
raizasafeel
5748321526 feat: user menu made accessible 2026-04-07 15:39:25 +00:00
raizasafeel
c1ffb98693 feat: notifications button made accessible 2026-04-07 15:39:25 +00:00
AarDG10
c24d0a5731 test: add test for the whitelisted bulk_update method
Added test for the whitelisted endpoint, in particular to test the parsing of the conditions.
2026-04-05 09:02:54 +05:30
AarDG10
cbd1f8fe5c fix(bulk_update): update conditions block in bulk_update
Update conditions block to strictly use json. Conditions parsed will now have to be written in json instead of plain strings.
2026-04-01 13:51:17 +05:30
Soham Kulkarni
9c7606a660
Merge pull request #38280 from sokumon/mention-issue 2026-03-27 10:28:32 +05:30
sokumon
8e9446d630 fix: remove hover tooltip from mentions 2026-03-26 19:36:43 +05:30
Jannat Patel
653ae1e47a
Merge pull request #38260 from pateljannat/login-as-first-user
fix: login as first user after setup wizard completes
2026-03-26 14:29:42 +05:30
Nikhil Kothari
9bf22368f2
feat(setup): better onboarding flow for Frappe Cloud (#36644)
* chore(setup): disable first session recording

* feat(setup): better onboarding flow for Frappe Cloud
2026-03-26 14:16:52 +05:30
Jannat Patel
de8cbf2d42 fix: login as first user after setup wizard completes 2026-03-26 13:25:55 +05:30
Ankush Menat
462b3f6419
Merge pull request #38245 from ShrihariMahabal/enqueue-cancellation-in-submission-queue
feat: Enqueue cancellation in submission queue
2026-03-25 16:40:22 +05:30
Shrihari Mahabal
377cc70d8b feat: enqueue cancellation in submission queue 2026-03-25 15:27:20 +05:30
Ejaaz Khan
6a4e810800
Revert "fix: use JSON.parse() for filter processing" 2026-03-25 14:41:36 +05:30
Soham Kulkarni
d92362841a
Merge pull request #38022 from KerollesFathy/fix/config-for-side-item-url 2026-03-25 12:26:55 +05:30
KerollesFathy
ea04287bd8 fix: add Permission Error title 2026-03-19 19:33:22 +00:00
KerollesFathy
abff9626a6 fix: restrict public workspace rename to Workspace Manager 2026-03-19 19:23:38 +00:00
mergify[bot]
1907293ba7
Merge branch 'develop' into get-docs 2026-03-19 11:48:31 +00:00
Hussain Nagaria
11ff558511
Merge pull request #38118 from kaulith/fix/date-formate-in-query-report 2026-03-19 12:17:52 +05:30
Kaushal Shriwas
60a7d1f7e9 fix: consistency of datetime field for query report while exporting 2026-03-18 14:05:30 +05:30
devdiogenes
d6edd068ec fix: Removed Icons missing translate function 2026-03-17 11:59:46 -03:00
Aarol D'Souza
a3af66a6e1
Merge pull request #38005 from earona/fix-get_all_nodes
fix: get_all_node respect override_whitelisted_methods hooks
2026-03-16 12:43:49 +05:30
KerollesFathy
94a50655a3 feat: add open in new tab checkbox field on ws sidebar item dt 2026-03-15 14:15:25 +00:00
Exequiel Arona
6d7e91208e fix: correct variable name for callable tree method in get_all_nodes 2026-03-15 08:47:33 -03:00
Exequiel Arona
8ee593a1da fix: get_all_node respect override_whitelisted_methods hooks 2026-03-13 15:17:29 -03:00
KerollesFathy
b7ca2fdf78 fix: wrap get_match_cond() in parentheses to prevent or bug 2026-03-12 20:37:49 +00:00
Ejaaz Khan
e7b4bd5666
fix: ignore fieldname validating ignore_user_permissions for Link fields (#37942)
* fix: validate ignore_user_permissions for alternative Link fields

* fix: handle alternative Link fields with ignore_user_permissions

* fix: move early exit earlier to avoid edge cases

* test: validate case of bulk edit

---------

Co-authored-by: Sagar Vora <sagarvora@users.noreply.github.com>
2026-03-11 20:54:03 +00:00
Ejaaz Khan
9e93965315
Merge pull request #37907 from KerollesFathy/workspace-route-conflict
fix: route conflict not detected when workspace matches existing doctype
2026-03-11 14:22:36 +05:30
KerollesFathy
929fb66ac6 test: add test for workspace name conflict with existing DocType 2026-03-11 00:44:09 +00:00