Akhil Narang
984c641bff
fix(sanitize_fields): use sqlparse for function detection
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-10-14 16:10:14 +05:30
Aarol D'Souza
4ecb9bc57d
fix: clear cache and prevent data access after DocType deletion ( #34307 )
...
* fix: clear cache and prevent data access after DocType deletion
* fix: Handle potential DB failures during migrate
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2025-10-10 08:00:51 +00:00
Ejaaz Khan
e7832bfd4b
Merge pull request #32684 from iamejaaz/32489-role-perm-based-masking
...
feat: show mask data in form, list and report view
2025-10-09 10:55:50 +05:30
Akhil Narang
777460c5fb
Merge pull request #34217 from frappe/mergify/copy/develop/pr-34171
...
fix: Issue with certain DocType Names (copy #34171 )
2025-10-01 17:35:09 +05:30
Akhil Narang
9d9789b752
fix(db_query): adjust doctype name detection
...
Add tab prefix, and replace with `" doc "` hardcoded string
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-10-01 15:51:48 +05:30
Eben van Deventer
2e707c8a33
fix(db_query): Issue with certain DocType Names
...
The previous update broke systems where DocTypes exist that contains names like Union or Select
(cherry picked from commit f997d40c56d717693c66a8b7e69d12462a673ede)
2025-10-01 15:49:04 +05:30
Soham Kulkarni
c6c91435fb
fix: pass the argument to delete_doc via rename_doc ( #34226 )
2025-10-01 15:15:27 +05:30
mergify[bot]
16058b92af
Merge branch 'develop' into 32489-role-perm-based-masking
2025-09-30 09:00:48 +00:00
Ejaaz Khan
335c0d5f36
fix: refactor code and change field type
2025-09-30 12:38:39 +05:30
Akhil Narang
313041ae23
Merge pull request #34143 from akhilnarang/dynamic-link-skip-virtual-df
...
fix(dynamic_links): skip virtual docfields in dynamic link map
2025-09-26 11:55:26 +05:30
Raffael Meyer
6cf52ac7ce
refactor: add type hints and docstring to delete_doc ( #34006 )
2025-09-26 00:54:16 +02:00
Akhil Narang
e124936a71
fix(dynamic_links): skip virtual docfields in dynamic link map
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-25 16:55:18 +05:30
Akhil Narang
dc0b5792ba
fix(db_query): improve function checking
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-24 16:08:31 +05:30
sokumon
1c68d37f89
fix: show bulk approve as failed when message has error
2025-09-22 16:58:22 +05:30
Ejaaz Khan
03ac6e2f75
refactor: fetch mask field from cache instead of meta
2025-09-21 19:09:32 +05:30
Ejaaz Khan
4942cdc289
fix: add default value none
2025-09-19 14:43:45 +05:30
Ejaaz Khan
e69b607aab
feat: add validation to prevent changing values on save
2025-09-19 11:21:40 +05:30
Ejaaz Khan
54b34c9535
Merge branch 'develop' into 32489-role-perm-based-masking
2025-09-17 16:17:30 +05:30
Sagar Vora
bdcd7c8eed
Merge pull request #33956 from sagarvora/extend_doctype_class
...
fix: minor improvements to extended class logic
2025-09-09 06:18:52 +00:00
Sagar Vora
c5bc3875df
fix: minor improvements to extended class logic
2025-09-09 11:15:17 +05:30
Sagar Vora
d81cf3856c
Merge pull request #33943 from sagarvora/extend_doctype_class
...
feat: new `extend_doctype_class` hook
2025-09-08 13:54:41 +00:00
Sagar Vora
b4bd4f756d
fix: set __module__ in extended class
2025-09-08 18:37:41 +05:30
Sagar Vora
18e2e61cad
feat: support pickling extended class
2025-09-08 18:25:18 +05:30
Sagar Vora
1ff85611ff
feat: new extend_doctype_class hook
2025-09-08 17:02:34 +05:30
Akhil Narang
f7d4f272ad
fix(db_query): raw string was broken
...
Add another function to blacklist
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-03 16:13:16 +05:30
Akhil Narang
06afd9b073
Merge pull request #33865 from akhilnarang/fix-order-group-by-check
...
fix(db_query): check for some more functions
2025-09-02 11:49:07 +05:30
Akhil Narang
5b26db7265
Merge pull request #33685 from AMR-Mannesmann/fix(document)-is_child_table_same-for-new-docs
...
fix(document): is_child_table_same for new docs
2025-09-02 11:37:06 +05:30
Ejaaz Khan
590fe7e520
Merge branch 'develop' into 32489-role-perm-based-masking
2025-09-02 10:48:06 +05:30
Akhil Narang
9a9f7e1d91
fix(db_query): check for some more functions
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-01 16:11:04 +05:30
barredterra
b1c7821911
feat: validate IBAN in backend
2025-08-29 15:21:56 +02:00
Akhil Narang
fab5581a9b
Merge pull request #33812 from barredterra/format-ibans
...
feat: format IBANs in Data field
2025-08-29 11:18:59 +05:30
Akhil Narang
719af6e722
Merge pull request #33815 from raizasafeel/fix/translation-trailing-spaces
...
fix: remove trailing spaces in translatable strings
2025-08-28 16:31:45 +05:30
Ejaaz Khan
86c719ec6d
Merge pull request #33809 from mihir-kandoi/33758
...
feat: enable non negative validation for Percent type fields
2025-08-28 15:06:48 +05:30
Raizaaa
aa3bb0e4d7
fix: remove trailing spaces in translatable strings
2025-08-27 13:23:17 +03:00
barredterra
dbc6870be0
feat: format IBANs in Data field
2025-08-26 23:41:00 +02:00
Mihir Kandoi
c24bda0481
feat: enable non negative validation for Percent type fields
2025-08-26 22:12:23 +05:30
PUGAZHENDHI V
4c1a61f085
fix: validate dot in numeric placeholders ( #33739 )
...
* fix: validate dot in numeric placeholders
* fix: failed test cases
2025-08-25 11:58:43 +05:30
Daniel Radl
99d6e1b381
fix(document): is_child_table_same for new docs
2025-08-20 09:30:26 +00:00
Ejaaz Khan
c2544f9096
refactor: change approach of masking fields
2025-08-18 23:38:18 +05:30
Ejaaz Khan
42c5c41628
fix: remove default value from time field ( #33515 )
2025-08-04 12:59:25 +05:30
Akhil Narang
6461592b5d
Merge pull request #32192 from henriquefalconer/fix/field-level-permissions-filtering
...
fix: Field Level Permissions Not Applied Correctly in frappe.get_list
2025-08-01 16:35:08 +05:30
Akhil Narang
40e6241c1f
Merge pull request #28786 from gbm001/virtual_custom_link_fields
...
fix: Allow cancellation/rename of doctypes linked by a virtual custom field
2025-08-01 13:44:46 +05:30
mergify[bot]
c0aa39ee9a
Merge branch 'develop' into 32489-role-perm-based-masking
2025-08-01 05:57:54 +00:00
Ejaaz Khan
20315bf030
Merge pull request #33446 from maverjk/patch-3
...
Update base_document.py to resolve error "AttributeError: 'NoneType' object has no attribute 'fieldtype'"
2025-07-31 12:19:53 +05:30
Maverjk Carter
a9562f6182
fix: check if df exist before accessing its properties
2025-07-31 12:04:15 +05:30
Ayush Chaudhari
761751f269
feat: App-Defined Workflow Tasks and Server Scripts on Transition ( #33255 )
...
* feat: add workflow task doctypes
* chore: add Workflow Task to Script Type of Server Scripts
* chore: add description for Workflow Tasks
* feat: fetch dotted paths and corresponding names from hooks
* fix: use Select field instead of Autocomplete
* feat: execute tasks in the background on state transition
* fix: throw error when task not found
* fix: naming for transition task set by user
* fix: child table views
* feat: support for server scripts
* chore: comments and description
* fix: change the casing of docevent options
* fix: change test casing
* feat: Add Workflow Transition field to webhooks
* fix: temporarily remove filter
* feat: add webhooks as workflow actions
* test: test execution of synchronous app-defined methods and server scripts
* chore: shorten the description and change the fieldname of the field 'execute_asynchronously' to 'asynchronous'
* test: server script executipn
* fix: add field to UI
* test: change customer to domain
* test: change Customer to Domain
* fix: patch for change in webhook fields
* chore: fetch only used fields in get_all
* fix: don't run test logic in application code 🙂
* test: separate tests for workflow tasks
* Revert "fix: patch for change in webhook fields"
This reverts commit 2e9c51c43ca2b3698991fbe75cc4032368ab174c.
* chore: break into smaller functions
* test: webhooks with workflow tasks
isolate mock responses to test_sync_tasks
* Revert "fix: change test casing"
This reverts commit e2bad96ed01dea0a26d002ea44a1e0175525ed31.
* Revert "fix: change the casing of docevent options"
This reverts commit ddfc81bf775fad74225f25815b8e3e7b255dc9eb.
* fix: webhook casing
* fix: type hint for doc
2025-07-29 11:01:44 +05:30
Raffael Meyer
93b4700899
fix: make labels in error message translatable ( #33166 )
2025-07-23 18:11:51 +05:30
Akhil Narang
ce4f7f7418
chore: extend function blacklist
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-07-15 17:05:08 +05:30
Akhil Narang
0934d5117d
fix: strengthen subquery check
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-07-15 17:05:08 +05:30
Akhil Narang
8d62e4de01
Revert "fix(db_query): don't allow unclosed quotes"
...
This reverts commit 6e6150d193 .
2025-07-15 17:05:08 +05:30