Commit graph

49115 commits

Author SHA1 Message Date
Ejaaz Khan
b133c7e34d feat: show helpdesk and crm banner on sidebar 2025-03-17 13:28:15 +05:30
Markus Lobedann
18b01453cd
fix: don't generate type information for virtual fields (#31592)
* fix: 🐛 don't generate type information for virtual fields

this leads to linter errors for redeclaration

* fix: 🐛 don't dontype information for virtual fields

Co-authored-by: gavin <gavin18d@gmail.com>

---------

Co-authored-by: gavin <gavin18d@gmail.com>
2025-03-13 18:25:13 +05:30
Marica
cef4d7abb0
Merge pull request #31689 from marination/is-html-refactor
fix: Use DOMParser in `is_html` + Handle html input in `show_message`
2025-03-13 18:09:57 +05:30
Raffael Meyer
fed66a32ed
fix: support "Timespan" in evaluate_filters (#31190)
* fix: support "Timespan" in `evaluate_filters`

* fix: add None case
2025-03-13 12:51:49 +01:00
Marica
68f6f39a9e
Merge pull request #31633 from marination/web-form-translate-link-field
fix: Translate link fields in Webform
2025-03-13 15:46:37 +05:30
Akhil Narang
e1f73a835a
Merge pull request #31551 from cogk/fix-set-text-instead-of-xss-sanitizing
fix: Use jQuery.text() instead of  xss_sanitise
2025-03-13 15:38:40 +05:30
Ankush Menat
e4b0d11b19
fix: only show tracebacks to system users (#31629)
Website users by design are supposed to be "less trusted", so don't show
tracebacks to them.
2025-03-13 14:48:20 +05:30
Suhail
97a1d38814
fix: store unsubscribe params properly (#31583)
* fix: store unsubscribe params properly

Earlier we had a field `unsubscribe_param` but it wasn't used anywhere to store the params.
This made sure only email, doctype and docname was passed as the params while unsubscribing and no custom params wasn't.

* fix: convert unsubscribe_params dict to json before storing
2025-03-13 14:41:45 +05:30
Ankush Menat
fc7ff191b6
fix: avoid overriding saved list filters (#31699)
Only override filters when there's no other active filter (from user settings
or otherwise)
2025-03-13 09:06:52 +00:00
Akhil Narang
3215702749
Merge pull request #31679 from akhilnarang/fix-user-name-sanitisation
fix(user): stricter name validation
2025-03-13 14:26:51 +05:30
Ankush Menat
ba84768ba8
perf: Use cached redirects (#31698) 2025-03-13 13:50:26 +05:30
Ejaaz Khan
91430efdbb
Merge pull request #31693 from iamejaaz/query-report-translate
fix: report header not translated
2025-03-13 11:37:28 +05:30
Akhil Narang
c77dc8ab5a
Merge pull request #31692 from kalungia/sms
fix: increase length for value field in sms parameter
2025-03-13 11:18:18 +05:30
Ejaaz Khan
f462029178 fix: report header not translated 2025-03-13 11:05:09 +05:30
Ankush Menat
357b6fb11a
perf: don't parse comments just to get comment count (#28921)
This parsing isn't necessary and we are copying all of _comments just to count
how many there are.

Imagine 2500 documents w/ 1-2 auto generated comments each.
2025-03-13 05:00:21 +00:00
Abraham Kalungi
adc54286d9 fix: increase length for value field in sms parameter 2025-03-12 19:45:13 +02:00
Soham Kulkarni
2fb2f7598e
Merge pull request #31691 from sokumon/better-sidebar
fix: small fixes to the sidebar
2025-03-12 22:40:03 +05:30
sokumon
aaf5dd8ca2 fix(minor): move drop icon for better alignment 2025-03-12 22:12:40 +05:30
Sagar Vora
caaf9b09f7
Merge pull request #31690 from sagarvora/more-methods
perf: override more `werkzeug.local` methods
2025-03-12 22:07:26 +05:30
sokumon
f5eab0a179 fix: clear selected app after app is selcted 2025-03-12 22:05:21 +05:30
Sagar Vora
00c12cb029 perf: override more werkzeug.local methods 2025-03-12 21:28:23 +05:30
marination
bec966ab7d fix: Use DOMParser in is_html + Handle unparsable html string with jquery 2025-03-12 16:16:31 +01:00
Sagar Vora
8147f04fb5
Merge pull request #31688 from frappe/revert-31664-faster-_dict-getattr
Revert "perf!: faster frappedict getattr"
2025-03-12 18:35:52 +05:30
Sagar Vora
29c318964b
Revert "perf!: faster frappedict getattr" 2025-03-12 18:35:33 +05:30
Sagar Vora
768202a2d2
Merge pull request #31687 from frappe/revert-31666-add-slots
Revert "fix: add `__slots__` to NamespaceDict"
2025-03-12 18:35:10 +05:30
Sagar Vora
5be83f7df8
Revert "fix: add __slots__ to NamespaceDict" 2025-03-12 18:34:17 +05:30
Ankush Menat
70f9524787
fix(UX): Explain why some doctypes automatically have a filter (#31682) 2025-03-12 12:27:54 +00:00
Tarun Pratap Singh
87d568558a
Merge pull request #31681 from tarunps/fix/conditionally-render-add-total-rows
fix(report): show add_total_row checkbox if report_type is not 'Repor…
2025-03-12 17:40:02 +05:30
Tarun Pratap Singh
41b331d856 fix(report): show add_total_row checkbox if report_type is not 'Report Builder' 2025-03-12 17:10:44 +05:30
Ankush Menat
a2401e735a
fix: option to opt out of automatic filters (#31678) 2025-03-12 11:35:45 +00:00
Akhil Narang
e5c75c3874
fix(user): stricter name validation
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-03-12 16:50:11 +05:30
Ankush Menat
394a5ff9ff
fix: Round of rate limit to seconds (#31674) 2025-03-12 10:52:42 +00:00
Soham Kulkarni
67424caada
Merge pull request #31661 from Abdeali099/fix-sidebar-this-context
fix: handle AppSwitcher `this` context
2025-03-12 15:53:24 +05:30
Akhil Narang
48d3a86144
revert: "fix(UX): Show reason for read only form in headline (#31511)" 2025-03-12 09:27:19 +00:00
Sagar Vora
cc023453e8
Merge pull request #31666 from sagarvora/add-slots
fix: add `__slots__` to NamespaceDict
2025-03-12 14:15:24 +05:30
Sagar Vora
ad33435b33
Merge pull request #31660 from sagarvora/frappelocal
perf: faster local attr lookup
2025-03-12 14:13:46 +05:30
Sagar Vora
26bbb5985e
perf: use client_cache for print_sql (#31663)
* perf: use `client_cache` for `print_sql`

* chore: revert change to conn error handling code

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2025-03-12 08:43:09 +00:00
Sagar Vora
a5dd24ebe9 fix: add __slots__ to NamespaceDict 2025-03-12 14:05:27 +05:30
Sagar Vora
3c8912f6e7 perf: faster local attr lookup 2025-03-12 14:03:36 +05:30
Sagar Vora
45b375ae2c
Merge pull request #31664 from sagarvora/faster-_dict-getattr
perf!: faster frappedict getattr
2025-03-12 13:49:05 +05:30
Sagar Vora
c592f323ff fix: restore dict.__getattribute__ for NamespaceDict 2025-03-12 13:28:12 +05:30
Sagar Vora
20220ef894
fix: avoid one time setup (#31650) 2025-03-12 12:44:19 +05:30
Sagar Vora
04eee35b40 perf: faster frappedict getattr 2025-03-12 12:43:01 +05:30
Abdeali Chharchhoda
a8409e607e fix: handle AppSwitcher this context 2025-03-12 10:15:44 +05:30
marination
943adecae3 fix: Translate names if "Translate Link Fields" is enabled 2025-03-11 19:57:53 +01:00
Raffael Meyer
2b9aa25520
ci: ignore "skip-release-notes" when generating release notes (#31656) 2025-03-11 16:22:33 +00:00
Raffael Meyer
ddbb987831
Merge pull request #31654 from barredterra/auto-add-label
ci: add label based on PR title
2025-03-11 16:46:52 +01:00
Ejaaz Khan
8e74155534
Merge pull request #31645 from iamejaaz/32254-auto-email-bg
perf: generate auto email reports in background
2025-03-11 19:58:51 +05:30
Ejaaz Khan
dbec126b5e refactor: change queue from default to long 2025-03-11 19:48:59 +05:30
Raffael Meyer
538bad98f6
Merge pull request #31639 from sattamjh/sattamjh-patch-1
fix: prioritize English language selection for Guest user with additional browser language settings
2025-03-11 13:11:14 +01:00