Commit graph

50544 commits

Author SHA1 Message Date
Vengadesh
d90034f10e feat: Add user-configurable setting with system fallback 2025-06-05 23:58:37 +05:30
Soham Kulkarni
1f01571bb1
Merge pull request #32805 from sokumon/allow-bulk-delete
fix: allow bulk delete for docs with workflow
2025-06-05 23:08:00 +05:30
Ankush Menat
90a410d05e
Merge pull request #32781 from ankush/cruft_invalidations
perf!: Speedup link validations, fetch, docstatus
2025-06-05 22:08:16 +05:30
Ankush Menat
a278ff2356 chore: remove invalid return type 2025-06-05 21:38:14 +05:30
Ankush Menat
515d9006a4 refactor: simplify link field checks
Also: perf: only fetch docstatus if required

This will let us do index-only scans.
2025-06-05 21:38:12 +05:30
ruthra kumar
3a2840518b
Merge pull request #32806 from ruthra-kumar/return_code_for_light_runner
refactor: return code for light test runner
2025-06-05 20:25:50 +05:30
ruthra kumar
7b811d0490 refactor: return code for light test runner 2025-06-05 20:10:24 +05:30
sokumon
c710cbcdad fix: allow deleteion of docs despite workflow 2025-06-05 17:47:32 +05:30
Soham Kulkarni
3c0678efac
fix(mobile): broken UI/ UX issues (#32577)
* fix: add a way to go back to list view from form

* fix: show the correct logo while routing

* fix(mobile): make report view look decent

* fix: only show the back button if no previous route

* fix(mobile): broken timeline view

* fix(mobile): broken timeline actions

* fix(mobile): fix timeline content

* fix: minify duration in mobile view

* fix(mobile): align timeline dot

* fix(mobile): toggle visiblity of standard filters in list view

* fix: dont translate template string

* fix(minor): dont wrap the list count
2025-06-05 17:37:24 +05:30
Ejaaz Khan
1444dbfbbf
Merge pull request #32676 from zaqoutabed/export-chart-data-patch-1
feat: enable user to export chart data
2025-06-05 15:30:18 +05:30
Ankush Menat
4dd21f175e perf: Avoid seprately fetching docstatus 2025-06-05 15:24:29 +05:30
Ankush Menat
c434f4ca14 Revert "Revert "perf: cache fetch from value too (#32700)" (#32708)"
This reverts commit 8a3f65338c.
2025-06-05 15:24:29 +05:30
Ankush Menat
27e8561197
Merge pull request #32800 from ankush/db_cache_refactor
refactor!: Change db.value_cache data structure
2025-06-05 15:23:35 +05:30
Soham Kulkarni
441a6a646f
Merge pull request #32796 from sokumon/bump-datatable
chore: bump datatable
2025-06-05 15:23:09 +05:30
Ankush Menat
f1a03200ab fix: clear db.value_cache when clearing doctype cache 2025-06-05 14:46:03 +05:30
Ankush Menat
47a47a9b5d refactor!: Change internal datastructure of db.value_cache
It's now a defaultdictionary of `[doctype][name/filters][fieldname]`

This allows us to implement granular clearing and improve usage of this cache.
2025-06-05 14:46:03 +05:30
Ankush Menat
a3d5b4af77
Revert "perf: cache docstatus check for invalid links" (#32799)
This reverts commit be5c96acf22f208c4ec8fbcde92a721b0e84d561.
2025-06-05 08:52:57 +00:00
sokumon
21308d3678 chore: bump datatable 2025-06-05 14:00:42 +05:30
Abdallah A. Zaqout
244a986cb9
refactor: remove chart name from the label 2025-06-05 11:24:01 +03:00
ruthra kumar
ccfb5a01eb
Merge pull request #32726 from ruthra-kumar/lightweight_test_runner
feat: Lightweight test runner
2025-06-05 11:34:29 +05:30
Ankush Menat
ddbaf09125
fix: Standard field falsy comparisons in db_query (#32791)
Extends the fix to standard fields. e0f63a928f
2025-06-05 09:55:05 +05:30
ruthra kumar
31c4bbec73 refactor: move imports to defer memory usage 2025-06-05 09:23:03 +05:30
ruthra kumar
0c6c6f50c4 refactor: support failfast and minor changes 2025-06-05 09:23:03 +05:30
ruthra kumar
0a02603cfe refactor: rename parameter and move code to function 2025-06-05 09:23:03 +05:30
ruthra kumar
4640a78587 refactor: move loader to new fiel
- barebones TestResult class
 - removed debugging statements
2025-06-05 09:23:03 +05:30
ruthra kumar
c659f9021a refactor: cleaner code with debugging statements 2025-06-05 09:23:03 +05:30
ruthra kumar
7e6b8fbf1c refactor: better code readibility 2025-06-05 09:23:03 +05:30
ruthra kumar
fcaf173923 refactor: new lightweight test runner 2025-06-05 09:23:03 +05:30
Kit Rhodes
30c5376653
docs: Correct spelling of 'specified' in frappe/commands/utils.py (#32790) 2025-06-05 02:53:01 +00:00
Soham Kulkarni
9d82fe62cc
ci: skip redis vuln check (#32787) 2025-06-04 23:50:28 +05:30
Ankush Menat
051aba3049
fix(DX): Fix type annotations for custom cached_property (#32785)
+ Avoid custom implementation on newer python versions entirely.
2025-06-04 16:37:35 +00:00
Corentin Forler
8c0df08e8c
fix(boot): Don't register app as "required" multiple times (#32773) 2025-06-04 20:11:03 +05:30
Ankush Menat
7d7d77d762
perf: misc small cruft (#32778)
* perf: cache docstatus check for invalid links

* perf: avoid querying if doctype is single

* perf: cache is_single
2025-06-04 19:18:19 +05:30
Ankush Menat
2d14918814
fix!: Change count(cache=True) implmentation (#32779)
This makes cache implementation uniform for all methods on db API. It's
weird that this specific method was caching in redis, which defies
expectations.
2025-06-04 19:15:27 +05:30
Soham Kulkarni
91ee97b78f
Merge pull request #32772 from sokumon/add-h6-tags
fix: add h4 to h6 tags in text editor text dropdown
2025-06-04 19:07:23 +05:30
sokumon
ee9545e7f3 fix: add h4 to h6 tags in text editor text dropdown 2025-06-04 18:47:03 +05:30
Soham Kulkarni
670e46af4a
fix(ui_tests): pin browser version in chrome to avoid mismatch error in parallel (#32774) 2025-06-04 18:44:35 +05:30
Nabin Hait
b09e3c6f76
fix: Get field currency based on default company if company is not available on doc (#32445) 2025-06-04 18:24:25 +05:30
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
Abdallah A. Zaqout
23e44ae8ee refactor: fix pre-commit issues 2025-06-03 12:25:10 +03:00
Abdallah A. Zaqout
4f2997bfae refactor: handle multi dataset 2025-06-03 12:25:06 +03:00
Abdallah A. Zaqout
5e91071f6d feat: enable user to export chart data 2025-06-03 12:24:48 +03:00