Commit graph

1360 commits

Author SHA1 Message Date
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache (#21282) 2023-06-08 11:47:17 +05:30
Daizy Modi
984963d75e
chore: remove unused get_docname (#21270) 2023-06-07 13:56:50 +05:30
Ankush Menat
392a506a76 perf: Cache published web forms 2023-06-04 15:13:39 +05:30
Ankush Menat
c94c0591c3 perf: cache dynamic web pages 2023-06-04 15:13:39 +05:30
Shariq Ansari
042595ca92 fix: handle multiple webform for same doctype 2023-06-03 16:52:51 +05:30
Ankush Menat
83e3a20901 feat: allow clearing web page views 2023-05-31 17:50:10 +05:30
Shariq Ansari
87cf164cac feat: get anonymous response from webform 2023-04-20 17:31:28 +05:30
Ernesto Ruiz
a27fb46212
chore: translate Not Saved message message in web_form 2023-04-19 07:52:07 -06:00
Ritwik Puri
a1396349fe
chore: translate successful redirection message in web_form 2023-04-12 00:00:53 +05:30
Suraj Shetty
ed7d6931ca fix: Update code to update links with campaign and medium 2023-03-20 23:42:50 +05:30
Suraj Shetty
c9e12edb42 feat: Add campaign and medium to web page view 2023-03-20 23:41:18 +05:30
Ritwik Puri
640a543dae
chore: translate new button in web form
Co-authored-by: Steffen <steffen@brennscheidt.net>
2023-03-08 00:17:28 +05:30
Suraj Shetty
7abdad3282 Merge branch 'develop' of https://github.com/frappe/frappe into newsletter-analytics 2023-02-28 14:31:03 +05:30
Suraj Shetty
6c8f88b8cd refactor: Remove UTM references just set source in web page view to simplify things 2023-02-28 14:17:16 +05:30
Suraj Shetty
dc58680176 fix: Unique visit logic 2023-02-28 14:15:41 +05:30
Suraj Shetty
afd55a97fb fix: Web page view creation
- Set path from backend via "Referer" to avoid bad data
- Add visitor_id to improve unique visit detection
2023-02-28 14:15:41 +05:30
Suraj Shetty
7d5c98c206 feat: Add UTM tracking parameters to internal links in newsletters
- Also, extend web page view to store UTM tracking data.
2023-02-23 16:19:07 +05:30
Ankush Menat
8446875257
refactor!: Remove "Set user permission" permtype (#20090)
This has never worked and setting user permission requires system
manager role always (because of permissions on list view)
2023-02-20 16:07:49 +05:30
Hussain Nagaria
24d7637538 fix: hide published checkbox 2023-02-17 11:31:53 +05:30
Hussain Nagaria
110204e2df feat: publish button in blog post form 2023-02-16 20:05:36 +05:30
Ankush Menat
b3b846472e test: clear defaults after test 2023-01-31 12:35:43 +05:30
Ankush Menat
45280d4801
fix: website theme caching (#19848) 2023-01-31 11:25:14 +05:30
Gavin D'souza
d357af1533 refactor: Add a maxsplit limit to string splits 2023-01-24 19:22:51 +05:30
Ritwik Puri
b78452dc00
Merge pull request #19472 from ankush/set_value_bad
refactor: deprecate usage of set_value with None as docname
2023-01-04 11:44:57 +05:30
Ankush Menat
e00023deb1 refactor: replace bad usage of db.set_value 2023-01-04 11:13:53 +05:30
Shariq Ansari
324c3e24c4 fix: replace all spaces with _ to generate fieldname 2023-01-02 10:20:16 +05:30
aliX40
1ddbb9d7a4
chore: make min read string translatable in blog post (#19410)
* Make min read translatable

min read doesn't get translated, which can be a little bit annoying when writing blog posts in other languages other than english


Co-authored-by: phot0n <ritwikpuri5678@gmail.com>
2022-12-30 17:50:24 +05:30
Devin Slauenwhite
64ec4276fc
fix: restore missing helpful and not_helpful fields to help article doctype. (#19309)
* fix: restore fields 'helpful' and 'not_helpfull' when removed via 02ddaa5ee7\#diff-3e0e1befb66af4c2ab84c6fe0e996dc602d906817f0b00b6239120af9da9be46

* test: help article is helpful or not helpful

* chore: linter
2022-12-16 12:34:52 +05:30
Ankush Menat
8140908f99 style: format
[skip ci]
2022-12-15 21:57:52 +05:30
Mohammad Hussain Nagaria
8f8f506b10
feat: fields for attaching (html) meta tags in web form (#19306) 2022-12-15 21:07:10 +05:30
Shariq Ansari
55d3bea05b
Merge branch 'develop' into web-form-print-format-fix 2022-12-13 18:06:03 +05:30
Shariq Ansari
2767580732 fix: in web form if print format is empty getting error 2022-12-13 17:41:10 +05:30
Ankush Menat
2ba85af8a3 chore!: remove activity feed logs 2022-12-12 14:28:30 +05:30
Mohammad Hussain Nagaria
02601dafd4
perf: remove redundant render template (#19123) 2022-12-07 15:11:46 +05:30
Sagar Vora
9a3819e608
fix: disable signups by default (#19114)
* fix: disable signups by default

* fix: set `disable_signup` to `0` for tests
2022-12-05 16:40:51 +05:30
phot0n
d7f4540132 chore: consider docname via data 2022-12-05 12:19:29 +05:30
phot0n
8e0c4ce702 fix: use webform doctype rather than allowing user to pass any doctype 2022-12-05 11:56:12 +05:30
phot0n
856d7a9f65 fix: use permtype from passed arguments in has_web_form_permission when applying document permissions 2022-12-02 20:52:00 +05:30
Shariq Ansari
941949e0a1
Merge branch 'develop' into phone-field-in-web-form 2022-11-21 18:26:57 +05:30
mergify[bot]
d1d30e6451
Merge pull request #18877 from marination/get_role_permissions-js-consistency
fix: Correctness in `get_role_permissions` and `has_perm` JS APIs
2022-11-21 12:56:30 +00:00
Shariq Ansari
58a35d12bf
Merge branch 'develop' into phone-field-in-web-form 2022-11-21 18:26:11 +05:30
Shariq Ansari
cf4d55855d fix: added phone field in webform 2022-11-21 18:16:44 +05:30
Shariq Ansari
962d96c1a6 fix: only get fields which is not already in webform fields table 2022-11-21 17:33:39 +05:30
marination
0937c962a7 chore: web_form.py format via pre-commit 2022-11-21 16:18:58 +05:30
Shariq Ansari
c56c71b1e0
Merge pull request #18945 from theopen-institute/oi-webform-error 2022-11-21 15:25:58 +05:30
PeterG
cfa9ed4fa0
Update frappe/website/doctype/web_form/web_form.py
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-11-21 15:06:17 +05:45
PeterG
264c9dfad0
Update frappe/website/doctype/web_form/web_form.py
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-11-21 15:06:06 +05:45
PeterG
4ffd454c04
[fix] clearer webform error 2022-11-20 16:07:07 +05:45
PeterG
7bde45ae60 [fix] clearer webform error 2022-11-20 10:13:34 +00:00
Gavin D'souza
40df601a73 fix: Auto-add all users to website room
Keep website room open for all - currently only used for discussions
2022-11-17 17:04:07 +05:30