Suraj Shetty
cefac6851e
Merge pull request #36621 from frappe/fix-empty-list-in-operator-behavior
...
fix!: Enhance IN/NOT IN operator handling for empty lists
2026-02-09 15:17:54 +05:30
RitvikSardana
78396c4334
Merge pull request #34522 from netchampfaris/sqlite-search-long-tasks
...
fix: resumable sqlite search indexing task for larger data
2026-02-07 23:41:12 +05:30
Sumit Jain
1d9eb802fc
feat: Enhance autoname functionality ( #36827 )
...
* feat: Enhance autoname functionality to support expression naming rules with and without dots before dashes
* style: Fix formatting issues
---------
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2026-02-07 06:22:28 +00:00
Ritvik Sardana
6f88468d68
refactor: resumable indexing without max_runtime
2026-02-06 15:05:52 +05:30
Aarol D'Souza
77af2d53d6
fix(system console): allow read-only queries in system console ( #36652 )
...
* fix(system console): allow read-only queries in system console
* fix(security): make transactions strictly read only for console and scripts
* test: remove test to reflect ban on cte's for security
* fix: Only enable read only mode for SQL query
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2026-02-05 11:39:10 +00:00
Ankush Menat
c9cdacb4ce
feat: Optionally force type checking on whitelisted methods ( #36744 )
2026-02-05 16:20:41 +05:30
AarDG10
233d5ad212
test: rewrite test to perform sim. instead
2026-02-04 18:59:10 +05:30
Aarol D'Souza
73479e724d
Merge pull request #36240 from AarDG10/fix-email-impersonation
...
feat(user): send user a mail when an impersonation session has commenced
2026-02-04 17:27:34 +05:30
AarDG10
4b86e92fbc
fix(user): use sendmail instead of enqueuing
2026-02-04 17:15:46 +05:30
Sumit Jain
8e5f1a56d3
test: Update assertions for IN/NOT IN with empty lists
...
Refined test cases to ensure that empty lists in IN and NOT IN operators return the correct SQL conditions (1=0 and 1=1 respectively) and do not include IFNULL. This enhances the accuracy of the query handling in the database tests.
2026-02-03 12:47:01 +05:30
Sumit Jain
c6868b11c6
feat: Enhance IN/NOT IN operator handling for empty lists
...
Added logic to return appropriate criteria for empty lists in IN and NOT IN operators. An empty list with IN now returns 0 results (1=0), while NOT IN returns all results (1=1). Updated tests to verify this behavior.
2026-02-03 12:31:29 +05:30
Sagar Vora
df3965de41
test: allow default fields in query
2026-02-02 15:32:39 +05:30
MochaMind
a2577e160a
fix: sync translations from crowdin ( #36437 )
...
* fix: Portuguese, Brazilian translations
* fix: Persian translations
* fix: Spanish translations
* fix: Italian translations
* fix: Persian translations
* fix: update test for new translation
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
---------
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
2026-01-30 06:31:20 +00:00
Akhil Narang
62122c731d
Merge pull request #36194 from AarDG10/fix-null-fallback-pg
...
fix(query): fix ifnull fallback in postgres
2026-01-27 19:21:00 +05:30
Sagar Vora
61bc172d95
test: remove unused var
2026-01-23 14:45:23 +05:30
ALB.Leach
e4376fc067
Merge branch 'develop' into bleach-to-nh3
2026-01-23 15:29:44 +07:00
AarDG10
b01f0bd303
test: add coverage for impersonation email
2026-01-23 11:38:11 +05:30
Sagar Vora
0dc3272530
Merge pull request #36106 from sagarvora/revert-ws-settings
...
chore: revert workspace settings and changes to script manager
2026-01-22 20:26:09 +05:30
ljain112
4a9af04f94
fix: update Content-Disposition header for binary as attachment
2026-01-22 17:30:43 +05:30
Ankush Menat
ee56afade5
refactor!: Remove UUID Utils library ( #36216 )
...
potentially minor breaking change - removal of a default dependency.
Use inbuilt `uuid` library instead of relying on third party lib.
py3.14 adds support for uuidv7, so we no longer need third party lib.
2026-01-22 11:40:11 +00:00
AarDG10
4301d9dff2
test: add coverage for ifnull fallback in postgres
2026-01-22 10:11:29 +05:30
Sagar Vora
95d9568a80
chore: revert workspace settings
2026-01-20 12:48:32 +05:30
Faris Ansari
18215c9d26
Merge pull request #35662 from netchampfaris/v2-bulk-endpoints
2026-01-13 17:27:58 +05:30
Aarol D'Souza
59b440cb28
fix(search): make QB DB-Aware when using Locate ( #35796 )
...
* fix: make QB DB-Aware when choosing Locate
* fix(test): adjust test to check smarter qb choice based on db
2026-01-12 12:06:28 +05:30
Sagar Vora
40c7d27e4f
fix!: disallow setting link values not matching filters
2026-01-10 13:25:35 +05:30
Faris Ansari
759752d847
fix: add enqueue functionality for more than 20 docs
...
- add tests for enqueue functionality
- raise FrappeValueError instead of frappe.throw for better static typing
2026-01-09 19:24:38 +05:30
Faris Ansari
e67cbaa143
fix: stricter type checking and savepoints
...
- standard error message format
- add savepoint for atomic transactions per document
- update tests
2026-01-09 17:46:42 +05:30
Faris Ansari
b5fbc058cf
chore: ignore semgrep warning
2026-01-08 01:47:51 +05:30
Faris Ansari
c254199475
fix: simplify naming
...
documents -> docs
updates -> docs
2026-01-08 01:43:31 +05:30
Faris Ansari
3ebccb670b
fix: unused code and ignore semgrep warning
...
db.commit is required so that records are inserted into the db and request calls are able to fetch those inserted documents
2026-01-08 01:12:25 +05:30
Akhil Narang
d02d89436e
fix(qb): support reportview alias format
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-01-06 19:30:14 +05:30
Faris Ansari
e7ffb2b3c8
feat: add bulk_update and bulk_delete endpoints to /api/v2
2026-01-05 17:05:43 +05:30
Alex Leach
8a82699640
fix(tests): Update more tests to conform with nh3 behaviour
2026-01-04 00:52:14 +00:00
AarDG10
8d99bed738
fix(test): maintain sanity to avoid unexpected test failures in postgres
2026-01-03 13:54:27 +05:30
sokumon
fa6744beaa
fix(test): note customization yields tuple with 3 values
2026-01-02 18:50:24 +05:30
Kevin Shenk
e2f73318c1
feat: import custom DocType Links on app install/migrate ( #34516 )
...
* feat: import custom DocType Links
* fix: add link_fieldname check to doctype link import
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* test: add Doctype Link import test
* chore: fix linter issues
* chore: fix linter issues
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-02 17:39:17 +05:30
Faris Ansari
1f9460f1c2
fix: deduplicate documents in search index while updating
2025-12-31 18:06:44 +05:30
Aarol D'Souza
799123c341
perf(postgres): skip unnecessary migrations due to type mismatch ( #34784 )
2025-12-29 18:29:22 +05:30
Ejaaz Khan
f09dc7cc07
Merge pull request #34563 from KerollesFathy/ft/add-apply-module-export-filter-on-export-customization
...
feat: Add Apply Module Export Filter on Export Customization Dialog
2025-12-23 22:16:00 +05:30
Aarol D'Souza
48c8ee9a78
feat(postgres): add unbuffered cursor in postgres ( #35016 )
...
* feat(postgres): add unbuffered cursor in postgres
* test: add unbuffered_cursor test for Postgres
2025-12-23 17:21:28 +05:30
Akhil Narang
7aec123a29
chore: drop some version checks
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
Akhil Narang
90a40dbfe0
fix: ruff manual fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
Akhil Narang
8723a2b6ee
fix: ruff fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
Akhil Narang
588cb1e44d
refactor: tomli -> tomllib
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
Sagar Vora
a13f02a240
Merge pull request #35343 from neox-d/fix-single-doctype-join
2025-12-22 12:27:59 +05:30
Sagar Vora
2a36631997
test: add tests for child tables of single doctypes
2025-12-22 12:15:23 +05:30
sokumon
dd2dc053ca
chore: more renames to /desk
2025-12-18 20:45:04 +05:30
sokumon
709169a538
chore: clean desktop icon controller
2025-12-18 14:20:00 +05:30
Sagar Vora
cc731988ce
Merge pull request #35303 from sagarvora/improve-perm-conds
2025-12-17 22:38:36 +05:30
Sagar Vora
d1ffd99fe8
fix(query): wrap CombinedRawCriterion in parentheses for correct precedence
...
Without proper grouping, OR conditions from shared docs could bypass WHERE filters:
WHERE filter=X AND perm_cond OR shared_cond -- shared_cond ignores filter!
With proper grouping:
WHERE filter=X AND (perm_cond OR shared_cond) -- correct behavior
2025-12-17 22:28:52 +05:30