- Store users using Django user/group/permission model
- Database is data/plinth.sqlite3 instead of data/user.sqlite3
- Use Django auth context processors in templates
This commit is big because anything small breaks the code.
- Django dispatcher is based on regular expressions and does not need a tree structure
- Reduces a lot of unnecessary dependencies among modules
- Use Django sessions middlewear instead of CherryPy sessions
- Introduce dependency based modules instead of numeric load order
- Remove PagePlugin and simply use Django views
- Eliminate page rendering wrappers in favor of Django context processors
- Use custom auth for now until replaced by Django auth middlewear
- Use Django templated 404 and 500 error pages
These changes should make it easier to customize standard Plinth file
locations for other distributions going forward. Most of the defaults
have been removed from *cfg.py*: we now assume that your plinth.config
file contains all the data we need. This may turn out to be a bad
decision (not everybody retains a copy of the original config file).
I've also reorganized *plinth.sample.config* to separate the
directories from the files they're storing. This should be the file
distributions patch in order to customize file locations per their
preferred file organization.
Author: Tzafrir Cohen <tzafrir@debian.org>
Description: These things are easier to install with dh
* Python modules: fighting with dh_python2 is tough
(it changes the /etc/ symlink, for isntance)
* Let's just install man pages ourselves for now.
* symlinks: with dh_link