Commit graph

45746 commits

Author SHA1 Message Date
Ankush Menat
aa51492697 Merge branch 'develop' into txt-attachment-privacy 2024-03-15 14:53:45 +05:30
Ankush Menat
b6f65eaff7
Merge pull request #25459 from ankush/post_hog_memory_hog
perf: avoid importing posthog if not required
2024-03-15 11:43:36 +05:30
Ankush Menat
b7a5884344 perf: import sentinal locally 2024-03-15 11:31:04 +05:30
Ankush Menat
0d6ec13b0b perf: preload modules in worker pool 2024-03-15 11:23:04 +05:30
Ankush Menat
322671766d perf: avoid importing posthog if not required
Avoids 7MB of overhead and cleanup costs for each background job 🎉
2024-03-15 10:51:17 +05:30
Ankush Menat
df2b9c0983
fix(recorder): handle frappe.db.sql(run=0) (#25450) 2024-03-14 17:47:37 +00:00
Ankush Menat
dbe55d4ace
perf: Avoid ordering in count query (#25451)
Order doesn't matter for count. This PR now actually makes https://github.com/frappe/frappe/pull/25348 effective
2024-03-14 15:03:27 +00:00
Ankush Menat
8e3175f3e8
fix: show attachments on notifications too (#25443) 2024-03-14 13:01:10 +00:00
Ankush Menat
69f7753dbd
fix: proper tooltip for read only banner (#25442) 2024-03-14 18:13:24 +05:30
Ankush Menat
e76c29fcec
feat: Store printed PDF attachments on communication (#25439) 2024-03-14 11:45:03 +00:00
Ankush Menat
997d4a8285
perf: skip useless perm check (#25440) 2024-03-14 11:42:57 +00:00
Ankush Menat
bd661688e9
fix: dont allow querying files to website users (#25094)
* test: create desk user in file tests

* fix: dont allow querying files to website users

* test: make commiting test user optional
2024-03-14 16:43:21 +05:30
Ankush Menat
2f94dd4ba1
ci: limit timeout to 30 minutes (#25437)
Sometimes tests get stuck and never end, cause unknown.
2024-03-14 09:33:12 +00:00
Ankush Menat
f6e58f229c
fix: child table rating fields (#25433) 2024-03-14 09:19:29 +00:00
Revant Nandgaonkar
77618cde1f
feat: connect to redis sentinel for redis cache (#25398) 2024-03-14 13:54:46 +05:30
Ankush Menat
6d89d54880
fix: consider all datepicker elements (#25426) 2024-03-14 07:31:16 +00:00
Ankush Menat
3d8e8463a8
Merge pull request #25413 from ankush/fix_time_ctl
fix: wait for datepicker changes to propogate
2024-03-14 12:48:34 +05:30
Akhil Narang
3a7dd3a1db
Merge pull request #25417 from akhilnarang/psql-history-log
fix: log psql console usage as well
2024-03-14 12:33:24 +05:30
Ankush Menat
f417fd9add
Merge pull request #25420 from ankush/fix_virtual_tags
fix: skip virtual doctype in tags
2024-03-14 12:21:51 +05:30
Ankush Menat
8315d2ac3e fix: avoid closing filter popover on any date picker interactions 2024-03-14 12:15:33 +05:30
Ankush Menat
00030a3c1c fix: skip virtual doctype in tags 2024-03-14 12:09:35 +05:30
Ankush Menat
0a9f6ca4e7 fix: hide datepicker after picking date 2024-03-14 12:02:23 +05:30
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