Commit graph

50038 commits

Author SHA1 Message Date
Ankush Menat
3a7db9cbb7
refactor: Default to mysqlclient (#32987) 2025-06-18 06:04:24 +00:00
Ankush Menat
3bb70a905d
fix: restrict method types in few whitelisted funcs (#32984) 2025-06-18 11:02:57 +05:30
Sagar Vora
f62bae6f5a
refactor: reduce branching in init_request (#32981) 2025-06-18 10:01:20 +05:30
Sagar Vora
e355a175d8
fix: always defer access log insertion (#32976) 2025-06-18 07:03:11 +05:30
Sagar Vora
514a9a6e59
Merge pull request #32977 from sokumon/savedocs-field-issue 2025-06-17 18:29:04 +00:00
Soham Kulkarni
77eda41443
Merge pull request #32351 from sokumon/offsite-backups-removal
refactor: separating backup integrations into an app
2025-06-17 23:30:51 +05:30
sokumon
b79c5476a7 fix: restrict fields according to permlevel after update as well 2025-06-17 20:17:50 +05:30
Ankush Menat
6091040e97
fix: Skip redis cache signal if redis is down (#32967)
https://github.com/frappe/frappe/pull/32888#issuecomment-2975345660
2025-06-17 13:59:31 +00:00
Sagar Vora
b3e1eda4c8
feat: global frappe.in_test flag (#32960)
* feat: global `frappe.in_test` flag

* feat: helper utility to toggle `frappe.in_test`

* fix: use `toggle_test_mode` util

* fix: use `frappe.in_test`

* chore: add comment explaining global `in_test`

* chore: ignore commit replacing flag usage

* test: temporarily disable `frappe.in_test`

this worked earlier because flag was set in werkzeug.local which was separate for API test client

* test: add comment explaining change
2025-06-17 19:19:31 +05:30
Ankush Menat
7e2b4955f8
test: Cancel pending jobs in RQ tests (#32970)
This casues flake sometimes when other tests don't cleanup long running
pending jobs.
2025-06-17 13:27:36 +00:00
Ankush Menat
764410761f
build: Bump RQ (#32969)
https://github.com/rq/rq/compare/v2.3.2...v2.4
2025-06-17 18:48:29 +05:30
sokumon
63cf3676a0 fix: remove utils file and typo 2025-06-17 18:39:21 +05:30
Sagar Vora
6db6361a3c
Merge pull request #32961 from sagarvora/use-_dev_server 2025-06-17 09:14:52 +00:00
Sagar Vora
b7fb654688 chore: use frappe._dev_server 2025-06-17 14:26:17 +05:30
Sagar Vora
482020552c
Merge pull request #32957 from sagarvora/use-global 2025-06-17 06:47:05 +00:00
Sagar Vora
cb0d06455b chore: use frappe._dev_server instead of local.dev_server 2025-06-17 12:03:08 +05:30
MochaMind
74d780d771
fix: sync translations from crowdin (#32921) 2025-06-16 23:55:35 +02:00
Sagar Vora
e8bfad678b
Merge pull request #32946 from sagarvora/remove-underscore-fn 2025-06-16 11:58:16 +00:00
Sagar Vora
821e2dc689 chore: remove _make_access_log 2025-06-16 17:16:13 +05:30
sokumon
a9b9ddde3a fix: add warning for module seperation 2025-06-15 00:00:22 +05:30
sokumon
80aaf1f31e fix: add a better config dict to GoogleOAuth instead of args 2025-06-14 23:59:22 +05:30
sokumon
a639828bd4 fix: add abiltiy to extend the Domain callback methods via google oauth constructor 2025-06-14 23:59:22 +05:30
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