seitime-frappe/frappe/desk
Rahul Agrawal c52e5157b4
feat: allow users to export report in background (#33861)
* feat: allow users to email prepared report

* fix: add export in background checkbox in export dialog

* chore: use a common function to send report email

* feat: delete generated files from system after user defined duration

* feat: add exported reports in a folder and periodically clean it

* test: add test for export via report

* fix: add exported folder path as constant

* chore: un-edit report.json

* refactor: for readability

* chore: type hint

* refactor: let the BG job fail if email fails

* refactor: consistent `report_name`

* it reads better now, e.g. attached_to_name=report_name instead of attached_to_name=title

* refactor: `return_file` to its inverse `populate_response`

* chore: more specific error message

---------

Co-authored-by: Rahul Agrawal <deathstarconsole@Rahuls-MacBook-Air.local>
Co-authored-by: Hussain Nagaria <hussainbhaitech@gmail.com>
2025-09-05 14:34:55 +00:00
..
doctype Merge branch 'develop' into event 2025-09-04 17:22:42 +05:30
form fix(assign_to): adding null/NoneType descriptions was broken (#33722) 2025-08-21 11:35:33 +00:00
page fix: remove trailing spaces in translatable strings 2025-08-27 13:23:17 +03:00
report refactor: fixup with ruff 0.8.1 2024-12-04 13:18:04 +05:30
__init__.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
calendar.py refactor: fixup with ruff 0.8.1 2024-12-04 13:18:04 +05:30
desk_page.py fix: update whitelisted methods 2025-02-19 16:32:09 +05:30
desktop.py fix: Cache thrashing in workspace code (#31446) (#31448) 2025-02-27 08:11:53 +00:00
gantt.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
like.py perf: Use lazy doc in a lot more places 2025-06-11 09:55:45 +05:30
link_preview.py fix: undefined error when link title is off 2025-09-02 17:57:26 +05:30
listview.py fix: keep a large enough limit on group-by query (#28754) 2024-12-12 05:11:46 +00:00
notifications.py perf: Limit get_open_count to 1s for each count query (#32920) 2025-06-12 21:17:58 +05:30
query_report.py feat: allow users to export report in background (#33861) 2025-09-05 14:34:55 +00:00
reportview.py feat: allow users to export report in background (#33861) 2025-09-05 14:34:55 +00:00
search.py fix: pass ignore_user_permissions flag to search query methods 2025-03-24 16:59:34 +05:30
treeview.py fix: new and add child button for empty tree doctype 2024-05-06 11:47:58 +05:30
utils.py feat: allow users to export report in background (#33861) 2025-09-05 14:34:55 +00:00