Commit graph

45692 commits

Author SHA1 Message Date
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
Ankush Menat
8bdc88f06d fix: Log ipython commands 2024-03-12 20:11:00 +05:30
Ankush Menat
e456f2bd0d
fix: dont show tooltip if already limited (#25361) 2024-03-12 10:50:17 +00:00
Ankush Menat
59f421cd04
fix: traceback colours (#25356)
default ipython colours use yellow on white font, which looks horrible
and is practically unreadable on most colourschemes.
2024-03-12 10:22:18 +00:00
Rushabh Mehta
4963a7e2b2
Merge pull request #25357 from rmehta/fix-minor-style
fix(minor): fixed style for read-only tables and form comments
2024-03-12 15:45:16 +05:30
Ankush Menat
ee03bf7518
Merge pull request #25348 from ankush/estimate_count
perf: cap max count on list views
2024-03-12 15:36:50 +05:30
Rushabh Mehta
6d3af51aab fix(minor): fixed style for read-only tables and form comments 2024-03-12 15:31:08 +05:30
Ankush Menat
698ef95ca1 refactor: avoid duplicate render_count for report view
Only difference is element
2024-03-12 15:07:06 +05:30
David
61e54eac17
fix: postgres version check 2024-03-12 09:21:34 +01:00
Ankush Menat
1fa7cc7816 fix: support child tables in count with limit 2024-03-12 13:17:31 +05:30
Ankush Menat
fdcff2d9e8 fix(UX): let user see actual count on click 2024-03-12 13:17:31 +05:30
Ankush Menat
7e88c53aa4 perf: show estimated count on list view 2024-03-12 13:17:31 +05:30
Ankush Menat
a49fafbf8e feat: support countig till a limit
In InnoDB counting is essentially O(n) operation, it can be pretty fast
on indexes but when filters don't use any index it usually means doing a
full table scan.

Adding a limit will stop the scan as soon as that many records are
matched.
2024-03-12 13:17:28 +05:30
Ritwik Puri
723bdb1e16
fix: check if the route is app sooner (#25351)
this fixes invalid routing for routes like /app/app
2024-03-12 12:44:53 +05:30
David Arnold
5f9dc1f529
fix: socketio port (#25347) 2024-03-12 09:40:26 +05:30
Ankush Menat
ae649aadf0 fix: dont add useless distinct clause
confuses query planner in some cases
2024-03-12 09:18:07 +05:30
Ankush Menat
fc7366deef
revert: fetch validations (#25343) 2024-03-11 14:59:18 +00:00
Ankush Menat
8bbb69a883
fix: Prevent multiple schedulers from running on same bench (#25340) 2024-03-11 14:12:31 +00:00
Akhil Narang
c441c844f9
fix(auto_email_report): check if column (docfield) parent is a child table (#25335)
This code tried to fetch the child doctype with the parent's ID otherwise

Support ticket 11145

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-03-11 19:34:53 +05:30
Ankush Menat
8a3dd85503
Merge pull request #25295 from ankush/virtual-doctype-dx
fix(DX)!: virtual doctype APIs
2024-03-11 18:37:20 +05:30
Ankush Menat
f7c0dd66fd refactor: migrate virtual doctypes to new API 2024-03-11 18:25:05 +05:30
Shariq Ansari
3fc4203aec
Merge pull request #25331 from Ponnusamy1-V/ponnusamy
fix: list view click and drag select rows
2024-03-11 18:23:28 +05:30
Ankush Menat
1f35886995 test: flake from expecting a succesful job 2024-03-11 18:15:34 +05:30
Ankush Menat
4ab2ccd01f fix!: get_count accepts splatted arguments 2024-03-11 18:15:27 +05:30
Ankush Menat
b8c4eff68a fix: Skip child table management for children of virt doctypes 2024-03-11 18:15:25 +05:30
Ponnusamy1-V
b09833ac1c fix: list view click and drag select rows 2024-03-11 17:08:40 +05:30
Raffael Meyer
eecb31e8e8
Merge pull request #25285 from barredterra/custom-field-translatable-default 2024-03-11 11:39:50 +01:00