Commit graph

44283 commits

Author SHA1 Message Date
Shrihari Mahabal
81259709a7
Merge pull request #38774 from ShrihariMahabal/prevent-single-virtual-doctype-persistence
fix: prevent persistence of virtual single doctypes
2026-04-21 21:53:49 +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
Shrihari Mahabal
07dd2fd9dc fix: prevent persistence of virtual single doctypes 2026-04-21 19:04:11 +05:30
Kerolles Fathy
56dbad7715
Revert "fix(report): enhance the visibility of serial-no at first column (#38…"
This reverts commit 8509c79877.
2026-04-21 14:45:04 +02:00
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
MochaMind
7d49a515b0
chore: update POT file (#38714) 2026-04-21 16:22:39 +05:30
Aarol D'Souza
4358f5bd44
Merge pull request #38740 from AarDG10/fix-backup
fix(response): harden download_backup
2026-04-21 12:11:08 +05:30
Ejaaz Khan
486d56934b
Merge pull request #38741 from KerollesFathy/fix-hide-permissions-tab
fix(doctype): show Permissions tab only when doctype is not a child table
2026-04-21 06:59:48 +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
KerollesFathy
5c7d28a826 fix(doctype): show Permissions tab only when doctype is not a child table 2026-04-20 14:16:10 +00:00
AarDG10
0c660477ee fix(response): harden download_backup
Made use of util `check_path_safety` to ensure sandboxing.
2026-04-20 18:58:21 +05:30
AarDG10
7c9ce26469 feat(utils): add util to ensure sandboxing
This util can be used in places where sandboxing is needed.
2026-04-20 18:49:42 +05:30
sokumon
f083bdcb48 fix: add a check if sidebar_item_map exists 2026-04-20 18:02:20 +05:30
Soham Kulkarni
c8e0a89b1c
Merge pull request #38353 from sokumon/sidebar-history 2026-04-20 17:28:30 +05:30
Abdeali Chharchhodawala
3796860c92
fix: simplify total row calculation logic in query report (#38677) 2026-04-20 10:38:34 +00:00
Soham Kulkarni
57a94ca566
Merge pull request #38726 from sokumon/default-workspace 2026-04-20 14:28:25 +05:30
Nihantra C. Patel
0cefdf0f8d
fix: formatting 2026-04-20 12:44:34 +05:30
Nihantra C. Patel
c36dc287b4
fix: skip report letter head validation when no letter head is set 2026-04-20 12:36:44 +05:30
Ejaaz Khan
58ef5aded0
Merge pull request #38724 from AarDG10/fix-bulk-paste
fix(table): fix bulk paste in child tables
2026-04-20 11:14:30 +05:30
sokumon
7a73a23e4a fix: remove dead code regarding default workspace 2026-04-20 02:23:14 +05:30
sokumon
767099268a fix: consider default workspace after login 2026-04-20 01:29:22 +05:30
AarDG10
a5118dcb9d fix(table): fix bulk paste in child tables 2026-04-19 22:10:42 +05:30
Hussain Nagaria
465aa38cba
Merge pull request #38608 from kaulith/fix/workspace-sidebar-empty-module-visibility 2026-04-19 19:39:35 +05:30
Hussain Nagaria
f1755daab9
Merge pull request #38536 from kaulith/fix/webform-hidden-mandatory-validation 2026-04-19 17:02:40 +05:30
Kaushal Shriwas
87b0824031 fix: skip hidden and mandatory check when allow_incomplete is set 2026-04-19 16:49:38 +05:30
MochaMind
343d55a4a7
fix: sync translations from crowdin (#38710)
* fix: French translations

* fix: Spanish translations

* fix: Arabic translations

* fix: Czech translations

* fix: Danish translations

* fix: Italian translations

* fix: Dutch translations

* fix: Polish translations

* fix: Portuguese translations

* fix: Slovenian translations

* fix: Turkish translations

* fix: Vietnamese translations

* fix: Portuguese, Brazilian translations

* fix: Indonesian translations

* fix: Persian translations

* fix: Burmese translations

* fix: Norwegian Bokmal translations
2026-04-19 01:26:25 +02:00
Ejaaz Khan
843e396b44
Merge pull request #38466 from kaulith/fix/role-profile-not-visible-in-user-list-view
fix: sync role_profile_name for user list view display
2026-04-18 23:50:11 +05:30
Ejaaz Khan
6ebe8e2b8d
Merge pull request #38658 from kaulith/feat/sidebar-notification-unread-count
feat: show unread notification count in sidebar
2026-04-18 23:49:09 +05:30
KerollesFathy
f84190685f fix(link): ensure clear button state is a boolean value 2026-04-18 14:33:56 +00:00
Kaushal Shriwas
4976b4554d chore: merge develop into feat/sidebar-notification-unread-count 2026-04-18 20:01:40 +05:30
Saqib Ansari
75bae453ac
fix(prepared_report): handle missing attachments in get_prepared_data method (#38449) 2026-04-18 19:28:41 +05:30
UmakanthKaspa
b1d7d480fd fix: align × and → icons in link field 2026-04-18 07:57:14 +00:00
Aarol D'Souza
11066591ed
Merge pull request #38643 from AarDG10/fix-page
fix(page): improve secure local resource access
2026-04-18 12:14:04 +05:30
Ejaaz Khan
13480db3fd
Merge pull request #36792 from aerele/fix/doctype-duplicate-auto-repeat
fix(doctype): disable allow_auto_repeat during duplication
2026-04-18 08:43:15 +05:30
Ejaaz Khan
031e032252
Merge pull request #38695 from UmakanthKaspa/fix/no-tag-filter
fix: no tags filter shows empty list
2026-04-18 08:38:30 +05:30
Ejaaz Khan
fe0e46b37c
Merge pull request #38689 from iamejaaz/ui-ux-improvement
feat: toggle awesomebar
2026-04-17 22:30:36 +05:30
UmakanthKaspa
5c3e6e6275 fix: no tags filter shows empty list 2026-04-17 19:55:05 +05:30
Ejaaz Khan
75a7267835 refactor: change help text shortcut 2026-04-17 18:02:04 +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
Shrihari Mahabal
117c09e8d9 fix: escape text and long text fields when printing 2026-04-17 16:32:10 +05:30
diptanilsaha
37b05961c7
fix(security_settings): enabled track_changes and convert expires to UTC timezone (#38675)
* fix(security_settings): convert expires timestamp from system timezone to UTC

* fix(security_settings): enabled `track_changes` on `Security Settings` DocType
2026-04-17 14:29:28 +05:30
Soham Kulkarni
3418b221da
Merge pull request #38669 from sokumon/login-template 2026-04-17 13:07:49 +05:30
Ejaaz Khan
1280e3281d
Merge pull request #36606 from barredterra/web-hero
fix: move hero block inside content block
2026-04-17 12:53:02 +05:30
Dharanidharan2813
d6b5941c83 fix(doctype): disable allow_auto_repeat during duplication to prevent save failure 2026-04-17 12:44:03 +05:30
Shllokkk
44b5228598
feat: introduce standard and letter_head_for fields in letter head doctype (#38417)
* feat: introduce standard and letter_head_for fields in letter head doctype

* feat: introduce a module link field to letterhead doctype to support json creation

* feat: make Letter Head importable via sync

* test(Letter Head): fix the test_auto_image test case for letter head doctype

* fix: make module field depend on standard field value

* feat: introduce letter heads for standard reports

* fix: letter heads for non-standard reports

* fix: letter_head validation in report and letter head doctype edit access based on users

* fix: correct validation for standard letter head creation
2026-04-17 12:34:33 +05:30
mergify[bot]
6480613103
Merge branch 'develop' into web-hero 2026-04-17 06:55:08 +00:00
sokumon
7675fa782d fix(login): only show navbar when language picker is enabled 2026-04-17 12:18:50 +05:30