Rushabh Mehta
75fe8a615a
feat(app): move /desk to /app
2020-11-11 16:31:47 +05:30
Rushabh Mehta
029e757cc6
fix(minor): routing in various places to support v2 routing
2020-11-11 12:18:23 +05:30
Rushabh Mehta
5006ec8f51
feat(web_page): add dynamic routes to web page like /project/<project>
2020-09-21 16:51:06 +05:30
Faris Ansari
5a92195b75
fix: Clear sitemap cache along with website cache
2020-09-15 12:28:25 +05:30
Rohan
1c5cff7746
fix: preload URLs breaking for external requests
2020-08-24 23:45:12 +05:30
AminovE99
80678534f2
✨ Add json render
...
Implemented opportunity to use jinja code inside json files.
2020-06-11 16:01:55 +03:00
Faris Ansari
44fc9c57e2
fix: Set source only if raw content
2020-06-08 18:55:58 +05:30
Shivam Mishra
892149af99
feat: give precedence to template
2020-05-28 19:24:31 +05:30
mergify[bot]
e361a31c6c
Merge pull request #10229 from adityahase/http2
...
perf: Add HTTP Link header for preload hints
2020-05-14 15:07:07 +00:00
Aditya Hase
55fe81aaac
perf: Add HTTP Link header for preload hints
...
Parse rendered templates and find stylesheet and script files.
Add these files to the HTTP Link header.
In the case of http1.1 browser can fetch these resources before parsing the DOM.
In the case of http2 NGINX can use HTTP2 Server Push (http2_push_preload on).
https://www.w3.org/TR/preload/
2020-05-13 20:56:51 +05:30
Faris Ansari
9d03190335
fix: Re-raise swallowed exception
2020-05-13 20:10:35 +05:30
Faris Ansari
5b54cba2cb
fix: Remove all traces of Tailwind from codebase 😢
2020-05-11 16:44:45 +05:30
Faris Ansari
9c7f01b59d
fix: Style
2020-04-25 20:51:29 +05:30
Faris Ansari
f3940f5f6e
test: Add tests for Web Template rendering
2020-04-21 22:06:00 +05:30
Faris Ansari
2431767fdf
feat: Page Builder based on Tailwind
...
- Website Theme based on: Bootstrap 4, Tailwind
- Web Page: Page Builder
- Web Template: Create templates for web pages
- Added some common Web Templates
- Components: Standard components directly usable in Jinja
- Purge Tailwind Classes in Production
- PostCSS Config to support tailwind
2020-04-18 15:02:56 +05:30
Andrew McLeod
c57710052e
fix (render.py): fix non-ascii characters in HTTP headers.
...
HTTP headers need to be ascii or Gunicorn throws an exception.
The error handler 'xmlcharrefreplace' is chosen for no particular
reason.
2019-10-01 13:11:44 +01:00
Shivam Mishra
3b2c385d2b
style: linting fixes
2019-06-07 12:34:10 +05:30
Shivam Mishra
c85b76aeaa
Merge branch 'develop' of https://github.com/frappe/frappe into web-form-refactor
2019-05-23 19:42:39 +05:30
Faris Ansari
62a3869924
fix: Block route if disabled in Portal Settings
...
Check in render.py
2019-05-12 18:04:25 +05:30
Shivam Mishra
6000cadbab
feat: Added web_form check in render.py
...
To-Do:
- Refactor get_context web forms
2019-05-11 12:22:04 +05:30
Sagar Vora
ef82f39f99
Merge branch 'staging' into develop
2019-01-29 18:24:11 +05:30
Rushabh Mehta
f537d75946
feat: Allow website templates to have different base templates ( #6811 )
...
* feat: Allow website templates to have different base templates
* test: custom base template
2019-01-27 20:46:23 +05:30
Aditya Hase
6b72faf44f
style: Linting fixes ( #6809 )
...
* style: Remove unused imports
* style: Remove unused local variables
2019-01-23 16:39:55 +05:30
Chinmay Pai
825b0120fa
fix(login): redirect user from login page if already logged in ( #6689 )
...
* fix(login): redirect user from login page if already logged in
the user should not be able to access the login page if a user session already exists. closes #6500 .
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* fix(test-website): fix website test
what is the point in writing tests if they don't really work/function as intended?
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* fix(regex): do not replace '\' in rules
that defeats the entire purpose of creating rules, wtf?
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* fix(test_website): change user using set_user()
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* redirect: prefix string with r to escape string literals
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-12-31 13:46:55 +05:30
Frappe Bot
b39bbe9baf
Merge branch 'master' into staging-fixes
2018-12-06 09:09:06 +00:00
Aditya Hase
e3ae0722c4
fix(security): Make Jinja tighter ( #6564 )
2018-11-29 17:24:46 +05:30
Rushabh Mehta
4adb217ad7
[fix] clear cache after migrate
2018-08-01 16:11:05 +05:30
Rushabh Mehta
90188a99c5
[feature] add website_redirects hook ( #5692 )
2018-06-20 12:10:07 +05:30
Rushabh Mehta
cca360e8ef
[minor] dont render .min.js files as jinja templates
2018-05-10 22:28:42 +05:30
Achilles Rasquinha
bc712066cc
Render Frappe Chat to Website
2018-03-13 17:03:25 +05:30
Achilles Rasquinha
cf3726ab1a
FIX Http Redirect Headers
2018-03-08 19:00:08 +05:30
Achilles Rasquinha
de88d2f568
Merge pull request #5131 from achillesrasquinha/py3
...
[FIX] gunicorn fails to read byte response headers, convert to strings
2018-03-08 01:21:25 +05:30
frappe
0067ad09a9
[FIX] gunicorn fails to read byte response headers, convert to strings
2018-03-07 20:33:39 +01:00
Storm
0074fda759
mimetype expects to be set to a string not bytes
2018-03-06 11:51:57 -07:00
Achilles Rasquinha
bf153f456f
[FIX] encode unicode bytes at response header
2018-02-23 17:11:41 +05:30
Mainul Islam
92623f8684
Fined Issue #5043 ( #5044 )
...
Now Date type field can set ad web page title
2018-02-22 11:01:27 +05:30
Rushabh Mehta
89b28c317e
[security] exclude python files from being seen directly ( #4942 )
2018-01-31 10:51:51 +05:30
ci2014
282d3a0b6f
Fix typo in render.py ( #4512 )
2017-11-20 11:37:46 +05:30
Makarand Bauskar
9ff3dfcd4c
[hotfix] robots.txt file is considered as static instead of getting context from robots.py ( #4325 )
2017-10-17 11:56:29 +05:30
Rushabh Mehta
3b6ed442af
[fix] frappe/erpnext#10939
2017-09-27 18:20:20 +05:30
mbauskar
5be75aaf27
[fixes] render extracted jinja title for custom doctypes
2017-09-15 11:38:50 +05:30
Rushabh Mehta
19e9834850
[added] print style
2017-08-17 18:34:14 +05:30
Faris Ansari
4f61e875f2
[hotfix] Website theme
2017-08-14 11:08:16 +05:30
Rushabh Mehta
df66dfe941
[fix] render.py for home
2017-07-28 15:16:24 +05:30
Rushabh Mehta
50d06d1202
[minor] sitemap.xml is also programmable
2017-07-28 14:42:14 +05:30
Rushabh Mehta
c519122929
[docs] Build docs in an app ( #3796 )
...
* [docs] to be rendered in website
* [docs] generating-docs.md
* [fix] codacy
* [docs] minor updates
* [fix] routing
2017-07-28 11:43:16 +05:30
tundebabzy
bbde2ec4cf
rewrite use of dict.iteritems ( #3498 )
...
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
2017-06-19 09:10:21 +05:30
rohitwaghchaure
0a12f631ef
[fix] User not able to access the print format from the browser view ( #3339 )
2017-05-19 11:09:43 +05:30
tundebabzy
6fbe20caaa
Except and raise statement python 3 compatible style ( #3216 )
...
* changes exception and raise statements to python 3 style
* changes except statement to python 3 style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* adds six.reraise to fix python 3 style raise statements with traceback
* fixes indentation
2017-05-11 10:51:59 +05:30
Rushabh Mehta
6dff729d88
[enhance] Web View settings in DocType ( #2798 )
...
* [enhance] add web view settings doctype
* [enhance] add web view settings doctype
* [fix] default for checks (?)
* [fix] framework json
* [fix] missing return
* [fix] hooks for website_generators
2017-03-05 11:12:32 +05:30