Commit graph

91 commits

Author SHA1 Message Date
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
Rushabh Mehta
042e2b09cb [design] Redesign, cleanup Login, Message pages (#2564)
* [cleanup] login, message pages

* [style] cleanups

* [cleanup]

* [cleanup] update password

* [fix] name for web form (fixes edit-profile)
2017-01-10 14:44:42 +05:30
Rushabh Mehta
67de814f26 [fix] missing translations #2494 2016-12-27 12:58:58 +05:30
Rushabh Mehta
e82e22640a [fix] web form fixes for job opening 2016-12-19 17:05:30 +05:30
Rushabh Mehta
14ca4119ba [minor] title fix for web pages 2016-12-19 11:24:57 +05:30
Rushabh Mehta
79f51648a1 [fix] for test 2016-10-13 12:24:27 +05:30
Rushabh Mehta
863aebcc78 [fixes] for translation and save full url for 404 2016-07-25 11:01:28 +05:30
Anand Doshi
662b6d4694 [fix] Edit DocType in Single DocType Menu, render message fix 2016-07-02 20:50:05 +05:30
Rushabh Mehta
10106ed065 [minor] [portal] sidebar_items 2016-06-27 18:41:12 +05:30
Rushabh Mehta
5e3bcbe01f [tests] added basic tests for page and generator 2016-06-27 11:50:04 +05:30
Anand Doshi
3854bcad04 [fix] limits variables and how usage is stored within limits + additional fixes 2016-06-25 17:41:19 +05:30
Rushabh Mehta
0cb31006e5 [redesign] website route is evaluated on request, no cold start 2016-06-23 12:23:37 +05:30
Rushabh Mehta
f81632b9d9 [redesign] removed website statics, www served like templates/pages 2016-06-23 10:54:31 +05:30
Anand Doshi
2da34255f5 [fix] listview > Edit DocType + minor fixes 2016-04-28 19:19:49 +05:30
Anand Doshi
6e4f16b07a [fix] use response.mimetype and response.charset instead of setting 'Content-Type' directly in response.header 2016-04-28 15:26:30 +05:30
Rushabh Mehta
eac452a926 [cleanup] web templates, now using standard jinja architecture and removed push-state 2016-01-01 17:49:25 +05:30
Rushabh Mehta
17c270fb67 [setup-docs] generate docs and static pages 2015-10-27 10:57:25 +05:30
Rushabh Mehta
dd9d73062a [features] build multi-lingual website 2015-10-22 16:39:37 +05:30
Anand Doshi
8a57ff6824 [fix] csrf token for website if switch to desk 2015-09-23 17:08:19 +05:30
Anand Doshi
755c7be7fa [fix] missing hash cache clearing and breadcrumbs fix 2015-08-11 16:19:42 +05:30
Anand Doshi
1200d19618 [fix] Use user's language in website if logged in. Fixes print preview in user's language. 2015-07-13 14:59:03 +05:30
Rushabh Mehta
95164c4c9e [fix] set default lang for web pages 2015-07-02 11:35:46 +05:30
Rushabh Mehta
bf4e0681c4 [fix] command clear-website-cache 2015-05-12 11:45:14 +05:30
Rushabh Mehta
ad100e3054 [cache] fix for website, default, meta, etc 2015-05-08 18:04:13 +05:30
Anand Doshi
95abc4753d removed scrub_relative_urls—now we can have relative urls! 2015-04-24 13:15:47 -04:00
Anand Doshi
7e03b22d98 fixed render_403 and handle too many logins in email receive 2015-04-08 12:27:28 +05:30
Rushabh Mehta
36f9719701 [website] get_parents fix 2015-04-01 12:54:48 +05:30