Commit graph

51909 commits

Author SHA1 Message Date
avc
915b78e1d8
Merge branch 'frappe:develop' into hide_product_suggestion 2025-11-24 08:49:02 +01:00
avc
b429b7e35d
fix: use bool properly
Co-authored-by: Ejaaz Khan <67804911+iamejaaz@users.noreply.github.com>
2025-11-24 07:17:25 +01:00
Aarol D'Souza
ef5d2213e0
test(postgres): enable test_restore for postgres (#34768) 2025-11-24 11:23:24 +05:30
Aarol D'Souza
c57444bc84
fix(postgres): fix query for pg compatibility in clear_log_table (#34706) 2025-11-24 11:22:21 +05:30
Akhil Narang
bd044e520c
fix(query): don't allow using Document as a filter value (#34823)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-11-24 11:13:43 +05:30
Aarol D'Souza
5fecde5a6a
test(postgres): enable test_unique_index_on_alter for postgres (#34719)
* test(postgres): enable test_unique_index_on_alter for postgres

* perf(postgres): Prevent redundant unique index creation on new columns
2025-11-24 11:05:20 +05:30
Ejaaz Khan
73a1e89eca
Merge pull request #34845 from git-avc/copy_to_clipboard_row_number_message
fix: show rows number copied to clipboard
2025-11-24 10:43:52 +05:30
avc
333bd76bfe
Merge branch 'frappe:develop' into copy_to_clipboard_row_number_message 2025-11-23 19:30:21 +01:00
avc
e5f4fef012
Merge branch 'frappe:develop' into hide_product_suggestion 2025-11-23 19:28:57 +01:00
Soham Kulkarni
fe9bf94eb5
Merge pull request #34848 from ishtiyaq130/feat-sort-desktop
feat: sort the desktop icon
2025-11-23 22:37:10 +05:30
Sagar Vora
7484986914
fix: use script/link tag injection in frappe.require to preserve global scope (#34850)
- Changed frappe.require to use script/link tag injection instead of fetch + IIFE
- This fixes loading of UMD libraries like html5-qrcode that need global scope
- Maintains original behavior: waits for assets to load before callback
- Resolves scanner breakage caused by PR #33973
2025-11-23 21:41:09 +05:30
Sagar Vora
ceafcc8790 fix: use script/link tag injection in frappe.require to preserve global scope
- Changed frappe.require to use script/link tag injection instead of fetch + IIFE
- This fixes loading of UMD libraries like html5-qrcode that need global scope
- Maintains original behavior: waits for assets to load before callback
- Resolves scanner breakage caused by PR #33973
2025-11-23 20:53:16 +05:30
git-avc
fd6be0549d feat: add ability to disable new product suggestion 2025-11-23 13:38:09 +01:00
ishtiyak
62080d02f6 feat: sort the desktop icon 2025-11-23 17:40:51 +05:30
git-avc
41006cd4a9 fix: show rows number copied to clipboard 2025-11-23 11:57:11 +01:00
Ejaaz Khan
091e12324e
Merge pull request #34836 from git-avc/copy_to_clipboard_menu_action
feat: let's copy data to clipboard from listview and reportview
2025-11-23 11:30:15 +05:30
Ejaaz Khan
a0d565de53
Merge pull request #34841 from iamejaaz/34691-double-scroll-reportview
fix(ReportView): unnecessary double scrolling
2025-11-23 11:28:42 +05:30
Ejaaz Khan
a720829d1d
Merge pull request #34839 from git-avc/copy_to_clipboard_message
feat: let's custom message for copy_to_clipboard
2025-11-23 11:28:03 +05:30
Ejaaz Khan
544a2908cb fix(ReportView): unnecessary double scrolling 2025-11-23 11:17:06 +05:30
git-avc
74c7bb5d10 feat: let's custom message for copy_to_clipboard 2025-11-22 22:40:43 +01:00
git-avc
698537bb4f fix: more tests 2025-11-22 22:22:12 +01:00
git-avc
c7403b5325 fix: actions test 2025-11-22 21:58:35 +01:00
git-avc
9314ab6a63 fix: make linters happy 2025-11-22 21:39:09 +01:00
git-avc
d6fd734d35 fix: don't send toast message 2025-11-22 21:34:33 +01:00
git-avc
7755273b8f fix: remove console log and fix toast message 2025-11-22 21:27:32 +01:00
git-avc
c0606abfd3 feat: let's copy data to clipboard from listview and reportview 2025-11-22 21:11:48 +01:00
Sagar Vora
370efbd3e8
fix!: use IIFE for dynamic JS evaluation (#33973)
Co-authored-by: Ankush Menat <ankush@frappe.io>
2025-11-22 11:18:50 +05:30
Sagar Vora
1e0415e6dd
Merge pull request #34822 from sagarvora/refactor-whitelist-for-tests 2025-11-22 10:18:20 +05:30
Sagar Vora
d3b46aada6
Merge pull request #34825 from sagarvora/fix-handler-http-methods 2025-11-22 10:17:31 +05:30
Sagar Vora
2c774a75a2 fix: restrict send_login_link to POST method only 2025-11-21 18:13:35 +05:30
Soham Kulkarni
7e2a2f3065
Merge pull request #34826 from sokumon/form-sidebar
fix: give proper variables to popover-header
2025-11-21 17:48:23 +05:30
Sagar Vora
35077703a0 fix: only allow POST in some api/v2/ methods 2025-11-21 17:47:36 +05:30
sokumon
c94529d37b fix: give proper variables to popover-header 2025-11-21 17:36:07 +05:30
Sagar Vora
9c6594b47c fix: restrict HTTP methods for some public methods 2025-11-21 17:33:20 +05:30
Sagar Vora
9a3e6c0275 test: move import to global 2025-11-21 17:07:23 +05:30
Akhil Narang
f13ba0bc38
Merge pull request #34786 from phot0n/del-def-log
fix: consider default_log_clearing_doctypes as well for clear_log_table
2025-11-21 17:05:12 +05:30
Sagar Vora
11235f6b3a fix: allow whitelist_for_tests in CI environment
The CI check was incorrectly nested inside the dev_server condition,
preventing test endpoints from being accessible during CI runs using
bench execute. Now CI is checked independently.
2025-11-21 17:03:50 +05:30
Sagar Vora
eac218216b test: use validate_argument_types directly in test fixtures
Use validate_argument_types decorator directly instead of frappe.whitelist()
for testing type validation behavior, avoiding unnecessary whitelisting.
2025-11-21 16:52:34 +05:30
Soham Kulkarni
34013eb39f
Merge pull request #34794 from cogk/fix-escape-html-desktop
fix: Escape html in desktop Jinja template
2025-11-21 16:40:07 +05:30
Sagar Vora
e3702efd44 refactor: move whitelist_for_tests to common utils and apply to all test endpoints
- Moved whitelist_for_tests decorator from ui_test_helpers to frappe.tests.utils
- Enhanced decorator to accept kwargs for passing to frappe.whitelist()
- Applied decorator consistently to test endpoints in:
  - test_api.py
  - test_api_v2.py
  - test_caching.py
  - test_search.py
- Updated all imports to use direct import from frappe.tests.utils
2025-11-21 16:38:11 +05:30
Sagar Vora
43133d01f3
Merge pull request #34821 from sagarvora/fix-ui-test-helper-condition 2025-11-21 15:38:48 +05:30
Ritwik Puri
541b7ac291
feat(minor): add support for custom queue monitoring in rq job list (#34790) 2025-11-21 15:38:29 +05:30
phot0n
a316f288df chore: add Email Queue Recipient as a dummy placeholder in default_log_clearing_doctypes 2025-11-21 15:32:11 +05:30
Sagar Vora
faca66c264 fix: correct boolean logic in test helper condition 2025-11-21 15:29:14 +05:30
phot0n
3c754cac23 fix: consider default_log_clearing_doctypes as well for clear_log_table 2025-11-21 15:10:13 +05:30
Sagar Vora
72b62f7c49
Merge pull request #34820 from sagarvora/fix-test-endpoint-responses 2025-11-21 14:56:03 +05:30
Sagar Vora
37c88f882b refactor: simplify test endpoint responses 2025-11-21 14:45:35 +05:30
Soham Kulkarni
ed056197d1
Merge pull request #34818 from sokumon/desktop-fixes
fix: redirects and exporting logic for desktop icon
2025-11-21 14:31:22 +05:30
sokumon
f1e06da058 fix(sidebar): show collpase button after discard is clicked 2025-11-21 14:07:05 +05:30
sokumon
6b3fe39a1a fix: add a seperate redirect for app to desk 2025-11-21 12:58:22 +05:30