Commit graph

2555 commits

Author SHA1 Message Date
Raffael Meyer
edc6937aa0
fix(Web Form): don't offer all fieldtypes as list columns (#34268) 2025-10-28 16:40:49 +00:00
UmakanthKaspa
9e346c7ab8 style: fix ruff formatting for web_form_field.py 2025-10-16 04:32:39 +00:00
UmakanthKaspa
ea9c86ecf4
Merge branch 'develop' into feat-webform-placeholder-support 2025-10-15 22:31:12 +05:30
Ejaaz Khan
7ddec55262
Merge pull request #34372 from UmakanthKaspa/fix-webform-get-fields-description
fix: webform get fields not fetching description
2025-10-15 21:34:44 +05:30
Akhil Narang
a5ed4cf3e7
fix(static_page): ensure that requested files are within app/www
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-10-14 16:58:11 +05:30
UmakanthKaspa
15c6761f48 feat: copy max_length when getting webform fields 2025-10-13 12:29:48 +00:00
UmakanthKaspa
5986c9badc feat: copy placeholder when getting webform fields 2025-10-13 12:22:50 +00:00
UmakanthKaspa
095b6301c3 feat: add placeholder field to web form field doctype 2025-10-13 11:26:19 +00:00
UmakanthKaspa
9e09444f5d
Merge branch 'frappe:develop' into fix-webform-get-fields-description 2025-10-13 16:50:16 +05:30
UmakanthKaspa
60699b915d fix: webform get fields not fetching description 2025-10-13 10:29:44 +00:00
UmakanthKaspa
00c3cd69a4 fix: web form allow incomplete feature not working 2025-10-13 04:14:16 +00:00
petnd
27a68aaf8b
feat: allow to disable standard pages (#33756)
* feat: allow to disable about and contact page

* feat: change redirect to /404
2025-10-08 11:18:55 +05:30
Suraj Shetty
62a3428a51 fix: Do not cache resolved redirect route with query params 2025-10-06 20:32:49 +05:30
Suraj Shetty
c399a057b2 feat: Optionally forward query params while redirecting 2025-10-06 12:16:47 +05:30
Akhil Narang
ac1f13c04a
Merge pull request #34060 from akhilnarang/fix-web-form-error-translation
fix(Web Form): translations
2025-10-02 11:58:56 +05:30
barredterra
fb22c946d0 fix(Web Form): handle context in translations 2025-10-01 14:42:26 +02:00
barredterra
0703775495 refactor: merge consecutive appends into a single extend 2025-10-01 13:14:38 +02:00
barredterra
033c7e518d fix(Webform): add translatable strings, order alphabetically 2025-10-01 13:12:44 +02:00
Ravibharathi
d53725070d
feat(web form list column): add options (#34132) 2025-09-30 18:53:37 +05:30
Akhil Narang
355876724c
fix: translation separator should be :: not :
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-19 17:05:07 +05:30
Akhil Narang
5e5d7568fd
fix(web_form): convert title to string
I had a doctype where title was float so this broke

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-08-29 16:29:52 +05:30
Akhil Narang
cffcc3cf34
fix(web_form): allow deletion of an item if you have permission
Bulk delete via list doesn't work if you have access to only "some" documents as we don't pass docname when checking
Seems inefficient to check there, so implemented it here

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-08-29 16:29:52 +05:30
Ejaaz Khan
77dcacffc6
Merge pull request #33823 from Z4nzu/fix/webform-button-label-context
fix: remove context leakage from web form button labels
2025-08-29 10:09:53 +05:30
Hardik Zinzuvadiya
a49d9b2190 fix: correct translation strings in web form buttons by using double colon for context 2025-08-28 12:27:40 +00:00
Raizaaa
aa3bb0e4d7 fix: remove trailing spaces in translatable strings 2025-08-27 13:23:17 +03:00
Samar Raj
6907856ddc
feat: added wildcard support in webform_include_js hook (#33751) 2025-08-22 10:31:41 +00:00
Ejaaz Khan
5ff2089592
Merge pull request #33022 from maasanto/web_template_enhancement
fix: remove Jinja placeholder for title on web template when it is not defined
2025-07-29 12:43:29 +05:30
Soham Kulkarni
64db88228f
refactor: seperate blogs into a seperate app (#32737)
* fix: remove doctypes,workspace blocks, files

* fix: minor python tests and UI tests

* fix: remove blog post from tests

* fix: remove blogger as role for tests

* fix: add check for if doctype exists

* fix: ui test

* fix: more cleanup

* fix: cleanup comments and fix test_query

* fix: resolve conflicts

* fix: add warning and handle comments
2025-07-28 14:35:02 +05:30
mahsem
3efc476da9
fix: web_form_context_title_translation (#33173) 2025-07-23 18:14:33 +05:30
Venkatesh M
96e0f49df4 fix: handle None session.data in maintenance mode (fixes #33258)
- Add null check for session.data in safe_exec.py
- Add null check for session.data in base_template_page.py
- Prevents AttributeError when session.data is None during maintenance mode
2025-07-19 16:02:57 +00:00
zeel-codder
74ef86e94f fix: replace get_last_doc with get_lazy_doc in Web Form fetch for edit 2025-07-15 00:37:53 +05:30
Soham Kulkarni
439215b91e
Merge branch 'develop' into fix/add-missing-messages-to-load-translations 2025-07-11 15:42:05 +05:30
avc
caf1065863
fix: add translatable strings for file upload dialog on webform (#33156)
* fix: add webform translatable strings

* fix: linters
2025-06-30 10:15:31 +05:30
Soham Kulkarni
e1aa789acf
Merge pull request #32971 from sokumon/newsletter-removal
refactor: seperate newsletter into app
2025-06-27 11:59:02 +05:30
Sagar Vora
2e5c8bea03 feat: frappe.utils.orjson_dumps 2025-06-26 17:37:51 +05:30
flaviacastro
0d58394db0 fix: add missing messages to load_translations in web form list file 2025-06-25 12:27:03 +00:00
sokumon
ec79747fa7 fix: keep utm doctypes 2025-06-20 19:01:18 +05:30
Antoine Maas
52d686f7e2 fix: hide jinja placeholder for title when no value-section with small cta 2025-06-20 09:34:02 +00:00
Antoine Maas
1daad6f7f0 fix: hide jinja placeholder for title when no value-section with image grid 2025-06-20 09:33:50 +00:00
Antoine Maas
277286ff18 fix: hide jinja placeholder for title when no value-section with image 2025-06-20 09:32:33 +00:00
Antoine Maas
2b20e93fe7 fix: hide jinja placeholder for title when no value-section with embed 2025-06-20 09:31:46 +00:00
Antoine Maas
e9c302ac0d fix: hide jinja placeholder for title when no value-section with right image 2025-06-20 09:31:33 +00:00
Antoine Maas
a2bca73ac3 fix: hide jinja placeholder for title when no value set-hero 2025-06-20 09:27:49 +00:00
Antoine Maas
ed14fafe32 fix: hide jinja placeholder for title when no value set-section with cta 2025-06-20 09:26:58 +00:00
Antoine Maas
a96f3dc6cf fix: hide jinja placeholder for title when no value set 2025-06-20 09:25:43 +00:00
sokumon
6be013804d fix: remove tests utils and workspace card 2025-06-18 16:23:36 +05:30
sokumon
32a87f53d6 fix: delete newsletter related files 2025-06-18 16:23:36 +05:30
Sagar Vora
b3e1eda4c8
feat: global frappe.in_test flag (#32960)
* feat: global `frappe.in_test` flag

* feat: helper utility to toggle `frappe.in_test`

* fix: use `toggle_test_mode` util

* fix: use `frappe.in_test`

* chore: add comment explaining global `in_test`

* chore: ignore commit replacing flag usage

* test: temporarily disable `frappe.in_test`

this worked earlier because flag was set in werkzeug.local which was separate for API test client

* test: add comment explaining change
2025-06-17 19:19:31 +05:30
Sagar Vora
cb0d06455b chore: use frappe._dev_server instead of local.dev_server 2025-06-17 12:03:08 +05:30
Ankush Menat
c02f1aa5f1 perf: Always defer web page view logs
Unnecessary continuous load on DB.
2025-06-13 11:25:50 +05:30