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
Various fixes about logging
Fix logging from snf-manage commands. Modify snf-manage implementationin order to setup the loggers for all snf-manage commands. Configurationis based on SNF_MANAGE_LOGGING_SETUP setting from snf-common or onbasicConfig if that setting is missing....
Move pooling psycopg2 wrapper to synnefo.lib.db
Move pooling psycopg2 wrapper to synnefo.lib.db,please see commit e83ed1fb8fb4d0d19c2d3f86152fde60b3cadfd9 for all thedetails on how to use the pooling wrapper for psycopg2.
Add pooling synnefo.db.pooled_psycopg2 DBAPI drv
Add DBAPI driver synnefo.db.pooled_psycopg2, which is athin, pooling wrapper around psycopg2.
To use, first monkey-patch psycopg2:
from synnefo.db.pooled_psycopg2 import monkey_patch_psycopg2monkey_patch_psycopg2()...
Fix default cyclades ui UI_MEDIA_URL setting
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
Improve webproject static files serve views
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)
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.
Move link_static management command in webproject
Add default 404 and 500 templates in webproject
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.
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
Fix management commands imports for namespace packages
Added snf-app entry points for static files
Management utility fix
Handle command discovery of namespaced application modules.
Exclude version modules from repository
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)...