History | View | Annotate | Download (4.8 kB)
Merge branch 'hotfix-0.14.8' into develop
Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5
Conflicts: ci/ci_squeeze.conf ci/ci_wheezy.conf ci/schemas/one_node_squeeze/packages.conf ci/schemas/one_node_squeeze/squeeze.conf ci/schemas/one_node_squeeze/wheezy.conf...
wheezy: urls module doesn't export defaults
pep8 changes
webproject: Remove requires_csrf_token
method does not seem to exist in debian packaged django release. Sincecsrftoken is not used in 500 templates the removal won't cause any sideeffects.
webproject: common 404, 500 handling
- Move 404, 500 templates from astakos to webproject- Remove 404, 500 templates from pithos-app- Webproject now includes static files to serve jquery as an asset in 404, 500 pages.- Custom 500 handler. Use RequestContext if possible.
webproject: Configurable webproject root url redirect
optionally append a redirect view to the root url of the project. Redirect urlis configurable using WEBPROJECT_ROOT_REDIRECT setting.
Fix default cyclades ui UI_MEDIA_URL setting
Improve webproject static files serve views
Serve MEDIA_ROOT path from MEDIA_URL url
Serve static files view from django project
- Disabled if DEBUG is set to False- Configurable using WEBPROJECT_SERVE_STATIC- To avoid the need of each synnefo django application to add new url entries for serving its own static files.
Moved set_language view in webproject
since the url that changes the user session language was moved in webprojectas an app wide url, the view that gets bind to the url should exist alsoin webproject.
Initial commit for snf-webproject
- new package snf-webproject- moved basic django related settings in snf-webproject- added new entry point utils to ease the extension mechanism of snf-webproject (urlpatterns, middleware, static_files, installed_apps)...