Refactoring account layer for better testability and fewer places
where things can go wrong. Not done yet.
Tweak some test stuff
Merge branch 'master' with inline for fixes into account_refactor
Refactoring account layer. Simplified database schema to unify
openid and persona use, with a view to further removing duplication
later. Many cleanups to the way account models are instantiated and
used. Further removal of code in due course.
Update docs for setting up DB.
Factor out old (plugged in) login handler functionality. One function
this served was to bypass authorisation in tests. Now, we use an
overrideable authorize method in the injected Account DAO.
Significant reduction in repetition caused by trying to make additional
login handlers implement the basic passworded one. Persona login handler
completely removed because it was unnecessary and open id stripped down
just to deal with adding associations to existing accounts.
Belated minimal readme
Rework page viewing restrictions based on a new account staff field.
This is set when creating a user (with a password) via admin, but
not when accounts are made with OpenID. The secured field is per-
controller and on by default.
Set staff flag to true when creating passworded users.
Add a timestamp on accounts
Try and improve process of creating users with an account. Handle
server-side validation errors.
Make clearing items from the index a syncronous action, because otherwise
deleting items causes transitory ItemNotFounds on redirect.
Fix tests
Make user none by default
Add noddy monitor endpoint for remote monitoring
Upgrade play2-auth and tweak redirect/auth settings for staff
Upgrade play2-auth and tweak redirect/auth settings for staff
Fix heading
Add a ref field per description for succinctly referencing source URL