Commit graph

51162 commits

Author SHA1 Message Date
Ejaaz Khan
a52da6c8d6 fix(db_query): != condition not working in case of None 2025-09-30 13:23:16 +05:30
Akhil Narang
03dcc3819d
fix: handle trying to decode invalid JSON (#34167)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-29 11:07:53 +05:30
Charles-Henri Decultot
72b20fa52b
fix: HTML sanitation for XSS mitigation (#34168)
* fix: several XSS attack opportunities

* fix: linter
2025-09-29 10:39:04 +05:30
Ejaaz Khan
d4e0693410
Merge pull request #34186 from iamejaaz/fix-query-report-js-filter
fix: send only required data in filters
2025-09-29 01:24:24 +05:30
Ejaaz Khan
e1f1ba2fd6
Merge pull request #34184 from frappe/pot_develop_2025-09-28
chore: update POT file
2025-09-29 01:05:21 +05:30
Ejaaz Khan
47b37a90a2 fix: send only required data in filters 2025-09-29 01:03:45 +05:30
MochaMind
bc81f24edb
fix: sync translations from crowdin (#34182) 2025-09-28 17:36:51 +02:00
frappe-pr-bot
f3e93a30d5 chore: update POT file 2025-09-28 09:33:07 +00:00
Ejaaz Khan
7ef7e78b50
Merge pull request #34114 from adatta-chwy/scanner-optimization
feat(scanner): add options for Dialog support
2025-09-27 18:58:18 +05:30
Ejaaz Khan
dc50a381ed chore: format code 2025-09-27 17:55:28 +05:30
Abhimanyu
21e368aa4f feat: add options to Scanner for Dialog 2025-09-27 17:51:03 +05:30
Ejaaz Khan
516f87e632
Merge pull request #34166 from chdecultot/fix-debug-messages
fix: do not show debug message when traceback is disallowed
2025-09-27 17:33:10 +05:30
Ejaaz Khan
b6b105c331
Merge pull request #34173 from frappe/l10n_develop
fix: sync translations from crowdin
2025-09-27 17:32:47 +05:30
Ejaaz Khan
3692a5c620
Merge pull request #34179 from mahsem/need_help
fix: add translation function to Need Help?
2025-09-27 17:22:33 +05:30
mahsem
6e2978e616
fix: add translation function to NeedHelp? 2025-09-27 09:39:40 +02:00
Hussain Nagaria
a0bda5fbf0
Merge pull request #34165 from Rl0007/feat/global-name-search-in-customize-form 2025-09-27 10:04:36 +05:30
MochaMind
3ef812d810 fix: Norwegian Bokmal translations 2025-09-27 03:00:46 +05:30
Charles-Henri Decultot
7b0555b4ae fix: Do not show debug log also for v2 API 2025-09-26 15:51:27 +02:00
Akhil Narang
355d218f8e
Merge pull request #34162 from akhilnarang/bump-ruff
refactor(treewide): bump ruff
2025-09-26 17:44:11 +05:30
Akhil Narang
9f8df404d2
chore: update list of revisions for git blame to ignore
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 17:23:31 +05:30
Raffael Meyer
2558a7b0bf
feat(Form Builder): show default value for "Select" and "Check" fields (#34050) 2025-09-26 13:22:43 +02:00
Rahul Agrawal
9e5e5ca1ea feat: add Make 'name' searchable in Global Search in custom form 2025-09-26 16:51:18 +05:30
Charles-Henri Decultot
1ae276d441 fix: do not show debug message when traceback is disallowed 2025-09-26 13:15:01 +02:00
Akhil Narang
898742cdb6
chore: manual fixups
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 13:22:29 +05:30
Akhil Narang
6ca4d4d167
refactor(treewide): ruff format
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 13:16:43 +05:30
Akhil Narang
0a08418947
build(deps): bump ruff
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 13:16:21 +05:30
Akhil Narang
d4ed95720c
Merge pull request #34158 from akhilnarang/fallback-ip
fix: try setting request IP from request.remote_addr if possible
2025-09-26 12:53:05 +05:30
Akhil Narang
3dd7466c66
fix: try setting request IP from request.remote_addr if possible
Some misconfigured setups don't have the IP set in the headers

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 12:36:08 +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
Ejaaz Khan
e7aedf61cd
Merge pull request #34149 from frappe/l10n_develop
fix: sync translations from crowdin
2025-09-26 10:24:12 +05:30
Raffael Meyer
6cf52ac7ce
refactor: add type hints and docstring to delete_doc (#34006) 2025-09-26 00:54:16 +02:00
MochaMind
59b7fc19d7 fix: Norwegian Bokmal translations 2025-09-26 02:09:34 +05:30
Raffael Meyer
878c089679
fix: special operators in compare util (#34145) 2025-09-25 20:45:29 +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
Asmita Hase
98d25b31cd
Merge pull request #34141 from asmitahase/undefined-this 2025-09-25 15:53:42 +05:30
Asmita Hase
5dd94922b1
fix: preserve this context in add_discard 2025-09-25 15:27:52 +05:30
Akhil Narang
2311af438b
Merge pull request #34116 from akhilnarang/fix-field-splitting
fix(db_query): improve function checking
2025-09-25 12:24:41 +05:30
Ejaaz Khan
d0d701253d
Merge pull request #34105 from KerollesFathy/sticky-first-row-in-user-permissions-dialog
feat(ux): Sticky header for role permissions table in dialog on User doctype
2025-09-25 11:43:19 +05:30
Ejaaz Khan
80307c731b
Merge pull request #34101 from Abdeali099/grid-fixes
refactor: Enhance grid configuration
2025-09-25 11:30:12 +05:30
Ejaaz Khan
92459e24b5 refactor: add dynamic max height 2025-09-25 11:23:20 +05:30
Ejaaz Khan
4f539e4833
Merge pull request #34122 from cogk/feat-show-external-link-warning
feat: Optionally show a warning when opening an external link
2025-09-25 11:11:02 +05:30
Ejaaz Khan
7625502e56
Merge pull request #34106 from frappe/l10n_develop
fix: sync translations from crowdin
2025-09-25 10:44:45 +05:30
MochaMind
b5dadc33fa fix: Serbian (Latin) translations 2025-09-25 02:05:49 +05:30
MochaMind
f3de13deee fix: Norwegian Bokmal translations 2025-09-25 02:05:46 +05:30
MochaMind
09fd341fd1 fix: Persian translations 2025-09-25 02:05:38 +05:30
MochaMind
348e1299bc fix: Serbian (Cyrillic) translations 2025-09-25 02:05:25 +05:30
Corentin Forler
7743c90783
feat: Optionally show a warning when opening an external link 2025-09-24 16:53:01 +02:00
Akhil Narang
a19f0d69dc
Merge pull request #34119 from akhilnarang/fix-pdf-check
fix: don't call `file.check_content()` twice
2025-09-24 18:32:48 +05:30
Akhil Narang
dc2422ebde
fix: don't call file.check_content() twice
This first call was sometimes done when `_content` wasn't set, resulting in:

```
  File "apps/frappe/frappe/core/doctype/file/file.py", line 138, in validate
    self.check_content()
  File "apps/frappe/frappe/core/doctype/file/file.py", line 381, in check_content
    if self.file_type == "PDF" and self._content and pdf_contains_js(self._content):
                                   ^^^^^^^^^^^^^
AttributeError: 'File' object has no attribute '_content'
```

Just calling it in `write_file()` seems good enough

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-24 18:20:09 +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