Commit graph

18 commits

Author SHA1 Message Date
Aarol D'Souza
08793c57f7
fix: force type check in whitelisted methods 2 (#37086)
* fix(diff): add type hints to whitelisted methods

* fix(global_search): add type hints to whitelisted methods

* fix(custom_html_block): add type hints to whitelisted methods

* fix(deleted_document): add type hints to whitelisted methods

* fix(log_settings): add type hints to whitelisted methods

* fix(role): add type hints to whitelisted methods

* fix(user_type): add type hints to whitelisted methods

* fix(rq_job): add type hints to whitelisted methods

* fix(link_preview): add type hints to whitelisted methods

* fix(email_account): add type hints to whitelisted methods

* fix(web_form): add type hints to whitelisted methods

* fix(web_page_view): add type hints to whitelisted methods

* fix(csvutils): add type hints to whitelisted methods

* fix(file_manager): add type hints to whitelisted methods

* fix(email_body): add type hints to whitelisted methods

* fix(email_queue): add type hints to whitelisted methods

* fix(email_template): add type hints to whitelisted methods

* fix(notification): add type hints to whitelisted methods

* fix(email_group): add type hints to whitelisted methods

* fix(inbox): add type hints to whitelisted methods

* fix(recorder): add type hints to whitelisted methods

* fix(sms_settings): add type hints to whitelisted methods

* fix: tighten type hints

* fix(data_import): add type hints to whitelisted methods

* fix(user_permission): add type hints to whitelisted methods

* fix(gantt): add type hints to whitelisted methods

* fix(like): add type hints to whitelisted methods

* fix(search): add type hints to whitelisted methods

* fix(onboarding_step): add type hints to whitelisted methods

* fix(system_console): add type hints to whitelisted methods

* fix(workspace_sidebar): add type hints to whitelisted methods

* fix(todo): add type hints to whitelisted methods

* fix: correct type hints

* fix(print_format): add type hints to whitelisted methods

* fix(client): add type hints to whitelisted methods
2026-02-19 14:58:16 +05:30
Ejaaz Khan
e8ba5ed58e fix: undefined error when link title is off 2025-09-02 17:57:26 +05:30
Ejaaz Khan
258df2670c refactor: remove permission check 2025-09-01 17:19:49 +05:30
Maxim Sysoev
df846d7518 refactor: enhance permission checks and improve preview data formatting 2025-09-01 14:14:08 +03:00
Maxim Sysoev
a93e7d5271 feat: Improve readability of preview pop-up
show link title instead of its name
2025-08-17 09:54:19 +03:00
Ankush Menat
599c3a9b77
perf: cache link previews for 10 minutes (#32161)
Often used for masters and often never change
2025-04-16 09:11:33 +00:00
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
chillaranand
25f82e966c refactor: Remove unused imports & code 2022-05-19 15:34:35 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Lev
98fb2ac787
fix(UI): Translate preview popover data (#14842) 2021-11-01 16:09:08 +05:30
Rucha Mahabal
458087b3ea fix: skip table fields in link preview 2020-08-28 11:31:51 +05:30
Maximilian Federle
52c516c0e1 fix: Always use field.fieldname in preview_fields
If building preview_fields from mandatory fields in get_preview_data, use the correct property "fieldname" instead of "name".
If not, subsequent db queries will fail with illegal column names.
2019-08-16 08:19:08 +05:30
Suraj Shetty
19bc548fdf fix: Data in preview table 2019-08-04 10:10:40 +05:30
Suraj Shetty
b23fea9d17 fix(link-preview): Get preview fields on server side
- Show a fallback image if image URL is invalid
- Fixes unexpected "Unknown column" errors
2019-08-03 21:57:18 +05:30
Prssanna Desai
2c1e20496a fix: use property image_field and check for http link 2019-04-24 15:09:41 +05:30
Prssanna Desai
d82230bcb7 fix: Code cleanup 2019-04-24 15:09:41 +05:30
Prssanna Desai
144fe8e915 Code cleanup and fixes 2019-04-24 15:09:41 +05:30
Prssanna Desai
12a3dc1124 feat(desk): Show preview popover on hover of link and control fields 2019-04-24 15:09:41 +05:30