v0.1.0
Upgrading
The following is needed to upgrade from nu-8 to v0.1.0
src/manage.py migrate --fake-initial
. Faking is required for an upgrade to the authentication framework.src/manage.py update_mp_cached
to initialise caches.src/manage.py update_mp_training_for
to set training_for fields based on new logic.src/manage.py createinitialrevisions
to create initial revisions for the version control system.
Please note the ./manage.py
command has changed to src/manage.py
Added
- Docker support, Dockerfile for docker deployments added. Settings tweaked to allow for easy docker deployment.
Database settings now configurable by environment variables to allow for non-predetermined values. - Static files are now served by the application. Please remove aliases for /static and /media in your web server
configs. - Hijack feature, super-users now have the ability to assume the identity of any other user on the site via a
hijack button on profile pages. Useful for issue finding and testing how others see the web interface. - Unique ID numbers are displayed on all objects in the database to aid with recognition. IDs are prefixed with
letters to designate their type, for example members are M1234, sessions are S1234. - Instructor numbers are now prefixed with their code (OWI/AI/NI) automatically.
- Revision history via django-reversion.
- Field
hidden
in MemberProfile to hide member across entire site, useful for non-club supporting staff. - Simple logo customisation, specify your logo in
conf/static/images/logo.png
, a 300x300 PNG is ideal. - Support for error logging to getsentry.com.
Changed
- Upgraded to Django 1.8 LTS.
- Major cleanup of project files. All source files now reside in the src/ directory. ./manage.py command is now
src/manage.py command. local_settings.py now lives in conf/ folder. - Much improvements to unit testing across the project. Automated testing via GitLab CI is now part of the development
pipeline. - Training For field automation, the training for field now automatically updates when a trainee has any lessons
assigned for a particular qualification. Will not overwrite with a lower ranked qualification. - Many third-party packages have been updated. django-allauth requires fake initials for it's migration from South.
Fixed
- Fixed: Map would fail to load in sites overview.
- Fixed: Incompatibility with latest Dokku 0.5.x
- Fixed: Member profile fields allergies, veggie and other_qualifications added to detail and edit pages. Bug fixed where
they were previously cleared by member updates. Will require manual data fixing.