Commit graph

46163 commits

Author SHA1 Message Date
Ankush Menat
51f1a5fea3 fix: Avoid setting filter on now/today button 2024-03-14 12:02:23 +05:30
Ankush Menat
6ecac9da98 fix: debounce filter refresh 2024-03-14 12:02:20 +05:30
Akhil Narang
d0923b0cd9
refactor: move histfile setting into helper function
This will ensure even users of `bench db-console` can use it

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-14 11:12:17 +05:30
Akhil Narang
afdb455b5a
fix: log psql console usage as well
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-14 10:56:17 +05:30
Akhil Narang
3769eff5b6
Merge pull request #25416 from akhilnarang/use-correct-db-user-console
fix(console): use `frappe.conf.db_user`
2024-03-14 09:18:56 +05:30
Akhil Narang
8e057e2010
fix(console): use frappe.conf.db_user
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-14 09:06:19 +05:30
Ankush Menat
b331163ce9
Merge pull request #25409 from ankush/homepage_validate
fix: validate homepage paths
2024-03-13 23:55:23 +05:30
Ankush Menat
234ba8293c fix: filters can use more than 140 chars 2024-03-13 23:46:31 +05:30
Ankush Menat
d758af5960 fix: clear routing cache on homepage change 2024-03-13 23:42:59 +05:30
Ankush Menat
d9d29430a9 fix: validate homepage paths 2024-03-13 21:00:51 +05:30
Ankush Menat
f6a626c156
Merge pull request #25406 from ankush/workspace_rename
fix: handle parent rename in child workspace
2024-03-13 20:51:44 +05:30
Ankush Menat
b25fd31ba7 fix: handle parent rename in child workspace 2024-03-13 20:38:47 +05:30
Ankush Menat
8937a94c07
Merge pull request #25395 from ankush/large_report_entries
fix: allow exporting large reports that can't be rendered
2024-03-13 20:06:04 +05:30
Ankush Menat
e47f1d0947
fix: Respect document language in communication (#25402) 2024-03-13 19:49:13 +05:30
Ankush Menat
65fb8dce01 fix: dont render very large reports, offer export instead 2024-03-13 18:20:21 +05:30
Ankush Menat
2c359f9bc1 fix: better filename for prepared report
avoid colons, windows doesn't like it
2024-03-13 18:17:37 +05:30
Ankush Menat
96d2bcde86 build: Bump datatable
perf fix for large data
2024-03-13 18:17:37 +05:30
Akhil Narang
6b288a3452
Merge pull request #25399 from akhilnarang/json-handler-uuid
fix(json_handler): handle `uuid.UUID`
2024-03-13 17:41:07 +05:30
Akhil Narang
3f524be635
fix(json_handler): handle uuid.UUID
Resolves #25242

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 17:27:30 +05:30
Akhil Narang
6c11daee56
Merge pull request #25358 from akhilnarang/bulk-print-background
feat: move bulk print operation to the background
2024-03-13 16:51:14 +05:30
Akhil Narang
5f087edab7
refactor: make download button a primary action, update text
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
6a5af14049
fix: unsubscribe from task after completion
Also update event name to be more logical

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
0ec3e4a683
refactor: add in a new endpoint for background printing
Let the original one stay as-is for backward compatibility

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
5e37ac740e
refactor(bulk_print): choose queue dynamically
Update docstrings and type hints a bit

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
508e4d9ae3
fix: make filename more user-friendly
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
5a6bff9de7
fix: let backend generate task ID
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
1caae030ae
fix: add back a limitation to number of the documents
Don't allow printing more than 500 documents

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
9bf22b79e4
fix: update message
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
5d0db0c004
fix: open PDF in new tab
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
bf6cb1a49f
feat: move bulk print operation to the background
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 16:38:55 +05:30
Akhil Narang
a01085ddcc
fix(partial-restore): add in missing whitespace between sentences (#25393)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 10:54:59 +00:00
Akhil Narang
d075de8864
Merge pull request #25392 from akhilnarang/fix-type-exporter
fix(exporter): we want `DF.Literal[None]`, not `DF.LiteralNone`
2024-03-13 16:13:05 +05:30
Akhil Narang
18961172f6
fix: we want DF.Literal[None], not DF.LiteralNone
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 15:57:46 +05:30
Akhil Narang
4fe61d5158
Merge pull request #25352 from blaggacao/fix/psql-version-check
fix: postgres version check
2024-03-13 14:50:08 +05:30
Ankush Menat
ddaf1d2ef2
fix: dont add trailing decimal separator (#25389) 2024-03-13 14:40:16 +05:30
Akhil Narang
06db7a2b2b
fix: can't compare str with int
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 12:52:54 +05:30
Akhil Narang
17a414bd5f
Merge pull request #25385 from akhilnarang/update-version-downgrade-message
fix: update downgrade warning
2024-03-13 12:33:14 +05:30
Akhil Narang
3bf3a954dd
Merge pull request #25387 from ssiyad/fix/ux/onboarding_desc_translation
fix(ux): translate onboarding step description
2024-03-13 12:26:03 +05:30
Sabu Siyad
f3a472b76e
fix(ux): translate onboarding step description 2024-03-13 12:08:43 +05:30
Akhil Narang
4a43d68e52
fix: update downgrade warning
Seemed a bit confusing, https://github.com/frappe/frappe/pull/24898#discussion_r1521076386

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-13 11:36:00 +05:30
Ankush Menat
4997d14682
Merge pull request #25378 from ankush/patch_invalid_fetch
fix: handle invalid fetch from split
2024-03-12 22:50:40 +05:30
Ankush Menat
166d28a4d3 fix: handle invalid fetch from split
Some users have manged to write fetch expr with 2 dots 🤷
2024-03-12 22:30:00 +05:30
Ankush Menat
50363e00e3
Merge pull request #25370 from ankush/prepared-report-format
perf: compact prepared report files
2024-03-12 20:55:55 +05:30
Ankush Menat
8f5fcfe406
Merge pull request #25369 from ankush/no_delete_console_log
fix!: console logs can't be deleted
2024-03-12 20:50:37 +05:30
Ankush Menat
532e1ef402
Merge pull request #25366 from ankush/mariadb_logging
fix: log mariadb console usage
2024-03-12 20:45:54 +05:30
Ankush Menat
135fd33102 perf: compact prepared report files
No one reads these, no need to indent them.
2024-03-12 20:43:25 +05:30
Ankush Menat
54a2b08278 fix!: console logs can't be deleted 2024-03-12 20:38:23 +05:30
Ankush Menat
676c40a15b
Merge pull request #25364 from ankush/ipython_logging
fix: Log ipython commands
2024-03-12 20:34:15 +05:30
Ankush Menat
2d75dbb598 fix: log mariadb console usage 2024-03-12 20:33:27 +05:30
Ankush Menat
4ef0740ad5 fix: print frappe.log message 2024-03-12 20:20:07 +05:30