Commit graph

2428 commits

Author SHA1 Message Date
David
c29c23deec
feat(analytics): add to website workspace 2024-09-12 00:08:10 +02:00
David
43c5cbd8a6
feat(analytics): add basic utm nomenclature for analytics 2024-09-12 00:08:05 +02:00
David Arnold
1214763b25
Merge pull request #26737 from blaggacao/feat/cache-control
feat: add cache control
2024-09-11 23:32:57 +02:00
Akhil Narang
fe192025a5
Merge pull request #27570 from rohitwaghchaure/fixed-label-button
fix: label for web form
2024-09-02 13:44:10 +05:30
Rohit Waghchaure
0560ff84f9 fix: label for web form 2024-09-02 13:00:56 +05:30
Shariq Ansari
2973739f2e fix: show Apps if multiple app or show CRM if only CRM is installed in dropdown 2024-08-30 15:42:58 +05:30
Shariq Ansari
9133f2a9c5 fix: added apps data in boot 2024-08-30 15:42:58 +05:30
David
1619cc0e58
feat: add cache control 2024-08-30 09:08:42 +02:00
Rushabh Mehta
37b7fa59b1 fix(styles): various styles and updates to workspaces 2024-08-19 12:06:55 +05:30
Rushabh Mehta
8eddf4a972 fix(style): fixing desk style 2024-08-15 20:57:30 +05:30
Rushabh Mehta
be2bef24de fix(style): workspace widget borders makes it looks more structured 2024-08-15 12:26:12 +05:30
Shariq Ansari
5a668acb03 fix: do not show Apps option for website user in /me page 2024-08-08 18:29:16 +05:30
Rucha Mahabal
f9bfafc134
fix(Web Form): enable no copy for 'Is Standard' flag (#27222) 2024-07-28 13:35:17 +05:30
Akhil Narang
1d46f03dae
fix: check that query_string isn't null before trying to use it
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-07-24 12:46:25 +05:30
Rushabh Mehta
f179a1286f
Merge pull request #26748 from blaggacao/perf/smaller-website-body
perf: significantly smaller website body
2024-07-18 07:33:56 +05:30
David
3fddb392eb
test: fix meta tag test 2024-06-17 10:01:22 +02:00
David
bcc2e79c20
fix: meta tag in web form 2024-06-13 16:36:01 +02:00
David
e2517d11e8
chore: add include_icons jinja global 2024-06-11 20:03:15 +02:00
David
37d8e2bb36
perf: lazy load svg sprictes on websites 2024-06-11 20:01:55 +02:00
Ankush Menat
b0cc93e9d7
fix: web form filtering (#26122) 2024-04-23 12:27:51 +00:00
Ankush Menat
d75b41793d
chore: drop flaky not so important UI tests (#26092) 2024-04-22 11:50:02 +00:00
Akhil Narang
e34ae53c37
Merge pull request #26089 from akhilnarang/fix-redirect-routing
fix(resolver): handle werkzeug redirect exception
2024-04-22 17:07:22 +05:30
Markus Lobedann
0a4ee1d829
fix: 🐛 don't create __init__.py files when gathering pages (#26045)
* fix: 🐛 don't create __init__.py files when gathering pages

These files are only necessary if any other *.py files exists in a pages folder. Apart from that, this functions purpose (by name) is to get pages, and not create any source code files.

closes #25167

* refactor: ⚰️ remove commented out code
2024-04-22 16:53:18 +05:30
Akhil Narang
40346305a7
fix(resolver): handle werkzeug redirect exception
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-04-22 16:44:28 +05:30
Ankush Menat
bb68908fe9
refactor: web form link logic (#25951) 2024-04-15 10:53:38 +00:00
Ankush Menat
535bc10340
fix: make letterhead attachments public by default (#25925)
Also does it for web page.

Note: This is just default config, users can change while uploading.
2024-04-12 05:14:18 +00:00
Ankush Menat
672f3b2258 refactor!: sort by creation for clearing old logs 2024-03-27 13:04:01 +05:30
Ankush Menat
3896296c6f fix: update sort order in doctypes 2024-03-27 11:18:28 +05:30
Suraj Shetty
5bd496d2ee
Merge branch 'develop' into embedable-webform 2024-03-22 20:32:48 +05:30
Suraj Shetty
30082da7af feat: Option to make webform embeddable
- If Web Form is rendered in Iframe all unnecessary elements from the web form view is hidden
2024-03-22 15:06:12 +05:30
Corentin Flr
1b67db7aa1
feat(kb): Add list for help article (#25102) 2024-03-15 16:12:54 +05:30
Corentin Flr
0cf58cac07
chore(weblist): Fix data-txt encoding, remove notxt (#25101) 2024-03-15 15:51:39 +05:30
Ankush Menat
d758af5960 fix: clear routing cache on homepage change 2024-03-13 23:42:59 +05:30
Ankush Menat
d9d29430a9 fix: validate homepage paths 2024-03-13 21:00:51 +05:30
Ankush Menat
b1a8bc9312
fix: Export None as type if select as no options (#25211)
Select options can be dynamic, in that case we should at least the
default value `None` as a value `DF.Literal` otherwise is invalid type
annotation.
2024-03-04 06:42:41 +00:00
Ankush Menat
bab3ee33f0
fix: always show is_standard on web form (#25144)
This causes more confusion when it's hidden.
2024-02-28 12:07:28 +00:00
Ankush Menat
99a6883e5c
fix(UX): correctly disable standard web form form (#25143) 2024-02-28 17:33:46 +05:30
Ankush Menat
dbc2e092f1 fix: escalate print failures
Print failures shouldn't generate PDF with failure message but instead escalate the error.

This prevent all the PDFs that just contain "PermissionError" from being sent.
2024-02-28 16:42:03 +05:30
Ankush Menat
e46ded10c0
fix: keep 3 recent versions of website themes around (#25029)
For whatever unknown reason (https://github.com/frappe/frappe/issues/22205) website theme cache can be invalid or it might fail to generate correctly.

In such cases website becomes unusable, this PR tries to keep it usable.
2024-02-23 10:02:47 +00:00
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
Akhil Narang
aa38d9e2f4
refactor: pipeline wherever possible, optimize calls
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-19 14:28:35 +05:30
Ankush Menat
72c2207e0f refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
Akhil Narang
26ae0f3460
fix: ruff fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
Suraj Shetty
2243c5ebe3 fix: Resolve conflicts 2024-02-05 15:51:22 +05:30
Suraj Shetty
2bf82e80ba fix: Make sure sitemap respects robot_txt 2024-02-05 15:41:05 +05:30
Corentin Flr
c9c8414562
fix(website): Handle virtual DocTypes webview routing (#24445)
Co-authored-by: Charles-Henri Decultot <chdecultot@dokos.io>
2024-02-05 12:47:09 +05:30
David Arnold
c09f48f5d7
feat: comply trackers with utm and add utm_content for a/b testing (#24521)
* feat: comply trackers with utm and add utm_content for a/b testing

* fix: make all other than source optional

this is plausible.io best practice

* fix: medium is not specified to be lowercase

* fix: ensure proper parameter quoting
2024-02-02 11:33:22 +05:30
Ankush Menat
dd6f20b301
Merge pull request #24644 from ankush/clear_sitemap_cache
fix: clear sitemap cache periodically
2024-01-31 18:41:54 +05:30
Ankush Menat
ffb9c9cf6a fix: clear sitemap cache periodically 2024-01-31 18:25:28 +05:30