kpsul/cof/settings
Aurélien Delobelle b42452080f Mass cleaning of kfet' authentication machinery
AccountBackend
- Should now work if used in AUTHENTICATION_BACKENDS settings.
- It does not retieve itself the password, as it should not be used
this way.

GenericBackend
- Delete useless 'username' arg of its 'authenticate()' method.
- Now delete the token in DB.

TemporaryAuthMiddleware
- New name of the middleware is more meaningful.
- Is now responsible to retrieve the password from the request, instead
of the AccountBackend.

GenericTeamToken model
- Add a manager' method to create token, avoiding possible error due to
unicity constraint.

GenericLoginView (authentication with the kfet generic user)
- Replace obscure system with a 100% HTTP handling.
- See comments for more information.

Misc
- More docstrings!
- More tests!
- Add some i18n.
- Add kfet/confirm_form.html template:
    Ask user to confirm sth via a form (which will send a POST request).
    Context variables:
        * title: the page title
        * confirm_url: action attribute for <form>
        * text: displayed confirmation text
- kfet.js : Add functions allowing to emit POST request from <a> tag.
- Non-link nav items from kfet navbar also get a 'title'.
- A utility has been found for the 'sunglasses' glyphicon!
2017-09-25 17:57:47 +02:00
..
.gitignore New organisation of settings files 2017-04-10 23:01:19 +01:00
common.py Mass cleaning of kfet' authentication machinery 2017-09-25 17:57:47 +02:00
dev.py Add SCRIPT_NAME to the production-like server 2017-08-13 14:36:45 +01:00
local.py Specify the full path of the sqlite database 2017-08-11 17:24:09 +01:00
prod.py Move STATIC_ROOT in production 2017-09-12 09:22:54 +02:00
secret_example.py Hide more stuff in secret.py 2017-08-13 13:39:13 +01:00