Commit graph

49863 commits

Author SHA1 Message Date
Saad Chaudhary
57bb1abdeb
fix(web_form): row number column in child tables were showing the wrong title
* fix:Web Form Child Table: Incorrect title showing for 'row number' column #32331

* fix : code alignment with develop branch

* fix : code alignment with develop branch

---------

Co-authored-by: saadchaudhaary <saad@zirrusone.com>
2025-06-04 13:53:48 +05:30
Saqib Ansari
3d578300cb
fix: empty space between two sections (#32759) 2025-06-04 13:43:00 +05:30
Ankush Menat
bc63c17287
perf: don't load doc before save for child tables (#32770)
Consider this:

```python
for row in doc.get_children():
    row.db_set("amount", 0)
```

This sounds like it will do one write query for each row but it does 2
because of this unnecessary locking of child tables.
2025-06-04 07:52:37 +00:00
Diptanil Saha
f91ae15d26
fix: tree report footer button color (#32769) 2025-06-04 07:43:40 +00:00
Ankush Menat
8a21eb93a5
fix(UX): show source of automatically created document (#32768)
* fix(UX): Add timeline entry for auto-repeated documents

* fix: updater references for new documents
2025-06-04 07:42:19 +00:00
Ankush Menat
0476c73ab7
fix: patch failure due to out of sync installed apps (#32767)
* fix: Avoid patching uninstalled app

* fix: Sync uninstalled apps in Installed Apps doctype
2025-06-04 05:53:20 +00:00
Ejaaz Khan
cb1c69daef
Merge pull request #32761 from frappe/revert-32688-36457-report-permission
Revert "fix: exclude if owner from accessing all report"
2025-06-03 17:15:33 +05:30
Ejaaz Khan
cd6644d568
Revert "fix: exclude if owner from accessing all report" 2025-06-03 17:03:54 +05:30
Ejaaz Khan
aebea5db98
Merge pull request #32746 from niraj2477/parse-html
refactor: parse html data in Data exporter
2025-06-03 15:08:54 +05:30
Ejaaz Khan
7d4e703318
Merge pull request #32733 from iamejaaz/json-to-csv-prepared
feat: add download as csv option in prepared report
2025-06-03 14:45:11 +05:30
rohitwaghchaure
5c6b2b5bec
refactor: track completed app setup wizards and re-run the setup wizard upon new app installation. (#32640) 2025-06-03 12:36:22 +05:30
Ankush Menat
2baedc18c6
feat(DX): let users skip next scheduled job execution (#32753)
Useful sometimes when configuring or re-configuring CRONs to avoid
duplicate executions.

Also, you can skip anniversary emails 🥴
2025-06-03 04:18:45 +00:00
Ejaaz Khan
fd4bb5a426
Merge pull request #32751 from iamejaaz/39801-handle-none-doc-name
fix: permission error when permission docname is none
2025-06-02 23:16:54 +05:30
Ankush Menat
0e1388d90a
Revert "fix: single checkbox to track telemetry & allow recording" (#32749)
This reverts commit 8e7da4cd7e.
2025-06-02 14:05:05 +00:00
Ejaaz Khan
f1d0419fa8 fix: permission error when permission docname is none 2025-06-02 17:46:10 +05:30
Ankush Menat
c78e31cb0b
perf: cache link validation for new doc (#32747) 2025-06-02 06:11:26 +00:00
Niraj Gautam
769952ecf5
refactor: 🔨 Parse html data in Data exporter 2025-06-02 11:08:15 +05:30
Sagar Vora
0b7c4b0902
Merge pull request #32702 from sagarvora/allow-empty-float
fix: allow `Float` fields to be empty
2025-05-31 02:36:46 +00:00
Ejaaz Khan
7d8c90dc41 refactor: remove unnecessay try catch 2025-05-30 21:14:11 +05:30
Ejaaz Khan
6bb2981329 refactor: remove unused import 2025-05-30 20:29:07 +05:30
Ejaaz Khan
5982741233 refactor: send system notification instead of realtime 2025-05-30 20:20:18 +05:30
Ejaaz Khan
e641483493 chore: remove debugging statement 2025-05-30 19:21:11 +05:30
Ejaaz Khan
6662d4a263 feat: add download as csv option in prepared report 2025-05-30 19:15:08 +05:30
Soham Kulkarni
a61e017534
Merge pull request #32724 from sokumon/report-alignment
fix(minor): report view UI
2025-05-30 16:03:29 +05:30
sokumon
98f5a221a5 fix: remove line-height 2025-05-30 15:53:24 +05:30
sokumon
3339f64bd4 fix: add padding in report view 2025-05-30 15:53:24 +05:30
sokumon
cc099b0217 fix: row alignment in datatable 2025-05-30 15:53:24 +05:30
Soham Kulkarni
b729bf74c9
Merge pull request #32730 from sokumon/bump-redis
chore: bump redis
2025-05-30 14:26:11 +05:30
sokumon
c645b2dd5e chore: bump redis 2025-05-30 12:40:58 +05:30
Sagar Vora
295046163b
Merge pull request #32729 from sagarvora/sql-minor-perf 2025-05-30 06:09:24 +00:00
Sagar Vora
0fa1d12228 perf: minor improvements to execute_query 2025-05-30 11:24:52 +05:30
Sagar Vora
a212ca8be5 fix: better regex for extracting query type 2025-05-30 11:23:14 +05:30
Sagar Vora
8192a87d00 perf: prebuild types for type checking 2025-05-30 11:22:12 +05:30
Ankush Menat
fd29e9c464
fix: Smaller batch size for global search (#32720)
10K is quite large for a single batch.
2025-05-29 17:13:01 +00:00
Ankush Menat
f17658c4c6
fix: Sample link counts and flush frequently (#32713)
We recently applied limit on how many links can be buffered. That
pretty much "samples" only records created at start of the hour.

This change makes it flush 4x frequently and samples 10% of input to
reduce updates. Again, statistically this serves same purpose.
2025-05-29 12:18:28 +05:30
Ankush Menat
4d8ebcce29
perf: Apply backpressure on link counts (#32712)
Context: This is QoL feature to highlight most used items. But in high
throughput environments where a lot of new documents are being created
this becomes a bottleneck.

Fix: Limit the size of counts that can be buffered before they're flushed.

Statistically this will still work just as well as it did before.
2025-05-29 11:55:35 +05:30
Ejaaz Khan
6516e43127
Merge pull request #32706 from iamejaaz/39776-webform-default-field-filter
fix: default fields filter not working in web form
2025-05-28 19:24:28 +05:30
Ankush Menat
8a3f65338c
Revert "perf: cache fetch from value too (#32700)" (#32708)
This reverts commit f8e9e82260.
2025-05-28 13:31:07 +00:00
Ankush Menat
ba96408d23
fix: checkboxes can never be mandatory (#32707) 2025-05-28 13:24:49 +00:00
Ejaaz Khan
7597bfac3a fix: default fields filter not working in web form 2025-05-28 17:34:08 +05:30
Ankush Menat
f8e9e82260
perf: cache fetch from value too (#32700)
Consider any "items" table in ERNext, same item and warehouses are used
10s of times in a single document, every one of them triggers fetch from
query, even though it can't possibly change during the DB transaction.

This change now caches the fetched value too.
2025-05-28 15:56:52 +05:30
Ankush Menat
03713cfd80
perf: faster time parsing (#32701)
Same as previous date and datetime improvement, this uses C parser
instead of python `parser`.
2025-05-28 15:56:34 +05:30
Sagar Vora
c286df32a9 fix: allow Float fields to be empty 2025-05-28 15:33:18 +05:30
Soham Kulkarni
27b6171a05
Merge pull request #32696 from Vengadesh27/filter_css
fix: adjust left margin to prevent label overlap
2025-05-28 13:13:31 +05:30
Ankush Menat
e82dd4e49b
Merge pull request #32698 from ankush/sys_console_perms
fix!: change default sys console permissions
2025-05-28 09:53:45 +05:30
Ankush Menat
3d677a1b47 fix(dx): Add title for code copy button 2025-05-28 09:31:41 +05:30
Ankush Menat
222095f243 fix!: change default permissions for system console
- Restrict to admin by default
- System manager can be re-enabled using role permission manager
2025-05-28 09:28:26 +05:30
Vengadesh
ea361a01f0 fix: adjust left margin to prevent label overlap 2025-05-28 01:04:28 +05:30
Soham Kulkarni
0ee0f6ba46
Merge pull request #32666 from sokumon/text-editor-issues
fix(TextEditor): UX issues
2025-05-27 16:50:26 +05:30
Ejaaz Khan
d48269180d
Merge pull request #32608 from Vengadesh27/duplicate_row
feat: Duplicate Row Button in Child Table for Duplicating Multiple Rows
2025-05-27 15:47:13 +05:30