Commit graph

50016 commits

Author SHA1 Message Date
sokumon
422995cd45 fix: seperate backup options into app 2025-06-14 23:59:22 +05:30
Sagar Vora
7d8e70e1ad
Merge pull request #32933 from sagarvora/perf-append 2025-06-13 20:30:40 +00:00
Sagar Vora
5210348322 perf: assume key to be table fieldname 2025-06-14 01:49:07 +05:30
Sagar Vora
0197b438ac
Merge pull request #32932 from sagarvora/revert-dispatch 2025-06-13 17:05:48 +00:00
Sagar Vora
d79ca9560b chore: revert _init_* methods of document 2025-06-13 22:24:03 +05:30
mahsem
dc414f2dfa
fix: add Serbian (Latin) language (#32931) 2025-06-13 18:38:04 +02:00
Ankush Menat
726474db94
fix: skip strict perm while writing on local document too (#32927)
It's harmless: https://github.com/frappe/frappe/pull/32798#issuecomment-2969391481
2025-06-13 15:42:24 +05:30
Saqib Ansari
b4686d83e6
fix: update setup_complete based on current app 2025-06-13 14:41:17 +05:30
Ankush Menat
f8a6cf8995
Merge pull request #32925 from ankush/view_log_defer
perf: defer view log and enhance flushing
2025-06-13 11:45:47 +05:30
Ankush Menat
c263121563 fix: Commit frequently in deferred_insert
Note: we aren't handling any failures here, just committing succesful inserts.

Also increased limit on record count.
2025-06-13 11:34:18 +05:30
Ankush Menat
fe03ceb35e
fix: don't apply strict user permission on local document (#32798) 2025-06-13 05:59:30 +00:00
Ankush Menat
c02f1aa5f1 perf: Always defer web page view logs
Unnecessary continuous load on DB.
2025-06-13 11:25:50 +05:30
Ankush Menat
7345b6b078
perf: Limit get_open_count to 1s for each count query (#32920)
If left unoptimized this wreaks havoc on database servers and has little
real value. If it's valuable people will complaint about "?" and it will
get fixed.

This constriant on runtime should always be present.
2025-06-12 21:17:58 +05:30
Ejaaz Khan
18b032fc04
Merge pull request #32917 from asmitahase/fix-link-title
fix: show correct link titles in report view
2025-06-12 18:23:08 +05:30
Raffael Meyer
a3c6f7b7ba
fix: random row name (#32916) 2025-06-12 18:05:44 +05:30
Asmita Hase
a98bb44483 fix: show correct link titles in report view 2025-06-12 17:55:45 +05:30
Ankush Menat
7b8eb5d1b6
feat: MariaDB 11.8 support (#32289)
* ci: Switch to MariaDB 11.8

* ci: Use mariadb's latest client libraries

Co-Authored-By: Sagar Vora <sagar@resilient.tech>

---------

Co-authored-by: Sagar Vora <sagar@resilient.tech>
2025-06-12 10:11:24 +00:00
Karuppasamy
22d16ba1ca
fix: update Keycloak redirect_url to correct login method endpoint (#32908) 2025-06-12 13:38:42 +05:30
Raffael Meyer
294af0d318
fix: set print format as default (#32862)
- add param type hint
- check write perms on the specific Print Format
2025-06-12 09:33:34 +02:00
robertmx
5052f55372
fix: transaction log report. (#32882) 2025-06-12 11:14:43 +05:30
Sagar Vora
812c5c9855
Merge pull request #32902 from sagarvora/fix-report 2025-06-11 19:55:44 +00:00
Raffael Meyer
7ab8a396ed
fix: set distinct name for grid row (#32512) 2025-06-11 17:42:13 +02:00
MochaMind
597cdc9f77
fix: sync translations from crowdin (#32837) 2025-06-11 16:33:56 +02:00
Ejaaz Khan
a0e4f4ec3f
Merge pull request #32607 from Vengadesh27/timeline_format
feat: configurable timeline date format
2025-06-11 19:42:57 +05:30
Sagar Vora
fbe9347f47 fix: "show report" in prepared report not working if filters are mandatory 2025-06-11 18:41:14 +05:30
Sagar Vora
5caf94b657 fix: cleaner logic for setting prepared report button 2025-06-11 18:34:45 +05:30
Sagar Vora
5c1f230bca fix: wait for all filters to be set, dont refresh report while setting filters 2025-06-11 18:34:06 +05:30
Ejaaz Khan
9720dd8141 Merge branch 'develop' into timeline_format 2025-06-11 17:11:49 +05:30
Saqib Ansari
6bf73ef9c7
Merge pull request #32851 from nextchamp-saqib/setup-wizard-fixes
fix: setup wizard fixes
2025-06-11 17:07:19 +05:30
Ejaaz Khan
4a7b69e822 fix: pre commit issue 2025-06-11 16:59:18 +05:30
Ejaaz Khan
0a5565eadb
fix: remove extra parentheses 2025-06-11 16:49:00 +05:30
Ejaaz Khan
6ab9d13168
refactor: better condition 2025-06-11 16:38:52 +05:30
Ejaaz Khan
1b9d642089
Merge pull request #32896 from iamejaaz/child-table-search-background
fix: mismatch child table background color
2025-06-11 15:49:03 +05:30
Ankush Menat
b162c0d6ec
fix!: Don't update document from keyword args (#32898)
Right now if you do this:

`get_doc(doctype, name, field=value)` then it loads document from DB and
then updates field to value.

This is absurd API and I don't think it was ever done intentionally.
2025-06-11 10:15:35 +00:00
Ankush Menat
44681433c9
fix: for_update for lazy loaded documents (#32897)
* fix: Support for_update on lazy documents

* fix: Pop for_update from arguments

* fix: Don't init empty child tables
2025-06-11 10:02:36 +00:00
Ejaaz Khan
626debe6b0 fix: mismatch child table backgruond color 2025-06-11 15:12:24 +05:30
Ankush Menat
899a2cfc49
test: Add test for update, set (#32895) 2025-06-11 09:05:44 +00:00
Ejaaz Khan
706c20cc0d
Merge pull request #32891 from frappe/revert-32194-fix-set-route
Revert "fix: return after setting value in set_route_filters"
2025-06-11 14:10:21 +05:30
Ejaaz Khan
0b90beb022
Revert "fix: return after setting value in set_route_filters" 2025-06-11 13:12:34 +05:30
Sagar Vora
a6b2f7c991
perf: dont override doc.extend (#32890) 2025-06-11 07:26:46 +00:00
Sagar Vora
d35c1d958f
perf(query engine): create one less copy (#32889) 2025-06-11 12:51:55 +05:30
Ankush Menat
ab16d00352
Merge pull request #32877 from ankush/lazy_doc
perf: lazy documents
2025-06-11 10:38:37 +05:30
Ankush Menat
728aa3ccb8 test: ensure that lazy methods are in-sync 2025-06-11 10:26:13 +05:30
Ankush Menat
893a87df86 fix: append and extend without touching attributes 2025-06-11 10:07:48 +05:30
Ankush Menat
10c3c9ea9b fix: Limit getattr to lazy loaded child tables only 2025-06-11 09:55:45 +05:30
Ankush Menat
5c886ef091 test: test internal implementation of LazyChildTable 2025-06-11 09:55:45 +05:30
Ankush Menat
26cf77562c refactor: rearrange checks, inline and cast super args
Co-authored-by: Sagar Vora <16315650+sagarvora@users.noreply.github.com>
2025-06-11 09:55:45 +05:30
Ankush Menat
e69f79e2ae fix: Support dict as key ~ filters
Triggers full fetch indirectly, but there's no other option for this.
2025-06-11 09:55:45 +05:30
Ankush Menat
bebabc3211 fix: Handle support for DocType and virtual
By falling back to original impl with warning.
This is just to allow "fearless usage".
2025-06-11 09:55:45 +05:30
Ankush Menat
49f582ae57 perf: Use lazy doc in a lot more places 2025-06-11 09:55:45 +05:30