Commit graph

50544 commits

Author SHA1 Message Date
Ejaaz Khan
9112ec2d97 fix: exclude if owner from accessing all report 2025-05-27 14:35:21 +05:30
Soham Kulkarni
162cc31dc0
Merge pull request #32681 from sokumon/number-card-issue
fix(number_card): undefined issue
2025-05-27 02:07:31 +05:30
sokumon
0081f5bc91 fix: undefined issue 2025-05-27 01:12:27 +05:30
Ankush Menat
78f7fa1429
perf: hoist constant computations for child table column order (#32677)
These don't/shouldn't change during execution of the function.
2025-05-26 19:39:29 +05:30
MochaMind
87f043b37f
fix: sync translations from crowdin (#32618) 2025-05-26 15:40:10 +02:00
Ankush Menat
e2d619504f
perf: batch bulk_insert (#32675)
* fix: reduce bulk insert batch size

Back when this feature was added it used to lazily evaluate the input.
Now the iterator is consumed upfront so large batch sizes == huge memory usage.

* perf: bring back iterator for bulk_insert

Bulk insert used to support iterator for consuming arbitrarily large
amount of data and inserting it. Since child table support was added, it
can't do it anymore because that requires collecting values.

This change now brings back iterators by batching input iterator (by
default 1000) documents.

This is almost as good as original change from design POV. Performance
is still meh for flat documents.
2025-05-26 13:36:53 +00:00
Ankush Menat
fe6ae9cd87
Merge pull request #32674 from ankush/perf_faster_imports
perf: faster imports
2025-05-26 15:55:53 +05:30
Ankush Menat
9920c8d033 fix: duplicate follow
This exists in `doc.insert()` not need to add it here too
2025-05-26 14:43:06 +05:30
Ankush Menat
c2d2fda212 perf: avoid clearing cache for newly imported documents 2025-05-26 14:42:54 +05:30
Ankush Menat
d3c88556bc perf: Skip version checking on new docs 2025-05-26 14:38:26 +05:30
Ankush Menat
cc1e843260 perf: Skip realtime notifications while importing 2025-05-26 14:31:46 +05:30
sokumon
633d2c3f84 fix: update image alignment package 2025-05-26 14:07:28 +05:30
sokumon
850f50cb4c fix: handling of enter on table cell 2025-05-26 01:06:01 +05:30
mahsem
498314e2c5
fix: Clear_All _translation 2025-05-25 19:05:57 +02:00
Ankush Menat
74aed9e231
refactor: redo maintenance cron logic (#32661)
The effect is same as before, except this allows migrating jobs between
old vs new queues without causing double executions on day of
migrations.
2025-05-25 05:02:29 +00:00
Ankush Menat
ca6c57faac
chore: nudge for using better console (#32656) 2025-05-23 12:52:43 +00:00
Soham Kulkarni
d3a5e8d13e
Merge pull request #32652 from sokumon/show-request-ip
fix: show request ip for easier debugging
2025-05-23 15:24:07 +05:30
sokumon
4900d60a35 fix: show request ip for easier debugging 2025-05-23 14:55:16 +05:30
Ankush Menat
04144d7544
Merge pull request #32642 from ankush/drop_down_console
feat: Dropdown Console
2025-05-23 14:11:22 +05:30
RitvikSardana
2f3295d685
Merge pull request #32651 from RitvikSardana/email-threading-fw
fix: find message id from in_reply_to field in communication
2025-05-23 13:27:52 +05:30
Ankush Menat
48496060e9 fix: warnings, log links, freeze window 2025-05-23 13:06:01 +05:30
RitvikSardana
9ff04c3f6f fix: find message id from in_reply_to field in communication 2025-05-23 12:47:48 +05:30
Ankush Menat
9a9fa28075 feat: show execution time
Since it's keyboard driven this also serves as "some UI feedback".
2025-05-23 12:38:16 +05:30
Abdeali Chharchhoda
4603a974ed Merge branch 'develop' into new-ui-for-api-key 2025-05-23 12:25:56 +05:30
Ankush Menat
7238bb00c1 fix: robust waiting for ace to be ready 2025-05-23 12:22:54 +05:30
Ankush Menat
726fb17e69 refactor: insert using editor, nothing else. 2025-05-23 12:09:39 +05:30
Ankush Menat
7387cc5fb5 refactor: use async everywhere 2025-05-23 12:02:52 +05:30
Ankush Menat
d9a36686d4 fix: focus on previous location 2025-05-23 11:59:33 +05:30
Ankush Menat
004af01a13 fix: hide from those who don't have perms 2025-05-23 11:51:36 +05:30
Ankush Menat
9fa2edf461 fix: unexpected commits 2025-05-23 11:51:36 +05:30
Ankush Menat
eef059231a fix: escape minimizes the system console
Better UX compared to opening it again and again.

This works as a scratch pad for WIP code.
2025-05-23 11:51:36 +05:30
Ankush Menat
67be9777af feat: execute the code from dropdown console 2025-05-23 11:51:36 +05:30
Ankush Menat
fae6287370 feat: autocompletion for current doc fieldnames 2025-05-23 11:51:36 +05:30
Ankush Menat
1b5650689e fix: implement custom set_focus for code field
Doesn't do anything right now 🤷
2025-05-23 11:51:36 +05:30
Ankush Menat
1ffd1582ed feat: load common completions 2025-05-23 11:51:36 +05:30
Ankush Menat
020d78761e feat: contextual default code for current doc 2025-05-23 11:51:36 +05:30
Ankush Menat
081a651556 feat: Dropdown Console 2025-05-23 11:51:36 +05:30
Ankush Menat
60b4d6503f
fix: Avoid sending empty filtrs from list view (#32650)
1. Go to list view
2. Open filters
3. Click somewhere on filter popover, that triggers list view refresh.
4. params will contain empty filter.

This is never intended behaviour AFAIK.
2025-05-23 10:53:36 +05:30
Ankush Menat
c249e75fe4
fix(db_query): allow filtering name: None (#32644)
This doesn't make any sense, but ig it might get introduced via indirect
calls, so better to handle this in code explicitly.

closes https://github.com/frappe/frappe/issues/32643
2025-05-23 10:02:14 +05:30
sokumon
4fe4bb462d fix: add a retry limit to fetching messages 2025-05-23 01:28:00 +05:30
Abdeali Chharchhoda
18821e6753 Merge branch 'develop' into new-ui-for-api-key 2025-05-23 01:20:10 +05:30
Abdeali Chharchhoda
b0dbeb4c05 refactor: update dialog title 2025-05-23 01:13:18 +05:30
Abdeali Chharchhoda
f7962420d2 refactor: add confirmation dialog before closing API details dialog 2025-05-23 01:05:27 +05:30
Ankush Menat
d65f82db19
Merge pull request #32641 from ankush/auto_completions
fix(DX): autocompletions in system console
2025-05-22 22:28:17 +05:30
Ankush Menat
46041cfe71 fix: server script auto completions
ace do be like that, this isn't so important to figure out exact async
chain that makes it work 🤷
2025-05-22 22:16:34 +05:30
Ankush Menat
2300e6afba feat: autocompletions in system console 2025-05-22 22:14:16 +05:30
Vengadesh
b6b212628e fix: set toggle grid view to false 2025-05-22 21:17:54 +05:30
Ankush Menat
70de2b81d6
Merge pull request #32639 from ankush/noalert
fix: notification emails
2025-05-22 18:16:20 +05:30
Ankush Menat
aa03d51566 fix: notification header 2025-05-22 17:39:21 +05:30
Ankush Menat
bb5ba64060 fix: email disabled is not an ignorable "alert" 2025-05-22 17:39:19 +05:30