webproject: Custom exception reporter filter
Remove 'cleanse' middleware that was used to clean sensitive variablesfrom admin mails. Instead, create a custom exception filter and set thisfilter as Django's default reporter (DEFAULT_EXCEPTION_REPORTER_FILTER).
webproject: Propagate 'django.request' logger
webproject: Add 'admin_mails' logging handler
Add 'admin_mails' handler to default logging configuration and use itfor 'django.request' logger, which is used to log all 5xx responsesand unhandled exceptions.
webproject: Do not disable existing loggers
Change default settings for logging, to not disable existing loggers bydefault. This was already done for the API, but not for 'snf-manage'.Also, the example conf file were not updated.
webproject: Do not require django.contrib.admin by default
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: Django database engine has been changed
Merge branch 'hotfix-0.14.6' into develop
Conflicts: Changelog docs/admin-guide.rst snf-cyclades-app/synnefo/api/management/commands/network-remove.py snf-cyclades-app/synnefo/api/servers.py snf-cyclades-app/synnefo/api/tests/servers.py snf-cyclades-app/synnefo/logic/backend.py...
Move middlewares from snf-common to snf-webproject
Merge branch 'hotfix-0.14.3' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-pithos-app/pithos/api/manage_accounts/__init__.py snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py snf-pithos-app/pithos/api/settings.py...
Replace regexp in cleanse middleware
Replace the regexp in mail_admins_safe() with manual parsing of the message.
pep8 changes
webproject: Disable APPEND_SLASH setting by default
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: Remove default contrib.auth context processor
webproject: Default TEMPLATE_DIRS setting typo
missing comma
webproject: remove app, middleware: session, messages
Do not disable by default all existing loggers.
Update HIDDEN_COOKIES setting
Change default TEMPLATE_DIRS setting
Refs #3363
/var/lib/* is commonly used to store application generated data and notas a place to configure installed software.
For every Synnefo app, the administrator is free to install a modifiedcopy of a template under /etc/synnefo/templates....
Rewrite logging settings
Minor changes
Cleanse sensitive settings in debug output
In case of server errors prevent django from printing or emailing sensitivesettings.
Move LOGGING_SETUP from common to webproject
Enable USE_X_FORWARDED_HOST by default in webproject
Set SESSION_SECURE_COOKIE to True by default
Update webproject default settings
- Removed settings that change based on entry_point hooks- Other minor default values improvements
Updated webproject changelog
snf-webproject fixes
Logging config and entry_points in snf-webproject
Default configuration changes
- cached_db as default session backend- removed default SITE_ID setting (not required by all synnefo components)
New entry point for TEMPLATE_CONTEXT_PROCESSORS
Change DEBUG setting to False
Moved default database settings in webproject
Moved database default config in snf-app
Added snf-app entry points for static files
Improved packaging
- Improved automatic version tagging from git repo.- Added auto generated synnefo.<package>.version module to contain each package version.
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)...