Commit graph

50005 commits

Author SHA1 Message Date
Ankush Menat
fe03ceb35e
fix: don't apply strict user permission on local document (#32798) 2025-06-13 05:59:30 +00:00
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
Ankush Menat
beefdb9a1f perf: use lazy doc for permission checks 🚀
Co-Authored-By: Sagar Vora <sagar@resilient.tech>
2025-06-11 09:55:45 +05:30
Ankush Menat
4d7348d3c0 refactor: avoid code duplication 2025-06-11 09:55:36 +05:30
Ankush Menat
5b8f7bba2b fix: Ensure some basic checks are present to prevent misuse 2025-06-11 09:55:01 +05:30
Ankush Menat
3e4e944ae9 fix: dont db_update what hasn't changed 2025-06-11 09:55:01 +05:30
Ankush Menat
022dbf444d fix: make doc.save work and empty tables 2025-06-11 09:55:01 +05:30
Ankush Menat
eb77ddab69 feat: Lazy loaded documents
https://docs.python.org/3/howto/descriptor.html#invocation-from-an-instance

After first invokation, object's __dict__ will be used... then we can
assume rest of the code works as expected (?)
2025-06-11 09:55:01 +05:30
Ankush Menat
4292fc9005
Merge pull request #32888 from ankush/fix_invalidations
fix: Clear persistent cache in running processes
2025-06-11 08:41:23 +05:30
Ankush Menat
3167e03133 fix: invalidate persistent caches 2025-06-11 00:28:38 +05:30
Ankush Menat
12ab20f705 fix: Change local variable name
Shouldn't be same as function name
2025-06-10 23:52:27 +05:30
MochaMind
fe3e161bbb
chore: update POT file (#32836) 2025-06-10 19:19:19 +02:00
Soham Kulkarni
96db39d77f
Merge pull request #32886 from sokumon/timeline-fix
fix(mobile): edit button on timeline
2025-06-10 21:53:48 +05:30