gestioCOF/kfet
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
..
auth Mass cleaning of kfet' authentication machinery 2017-09-25 17:57:47 +02:00
cms Add missing migrations 2017-06-25 16:30:49 +01:00
fixtures create checkout dynamically 2017-02-08 15:26:56 -02:00
management/commands Add Wagtail CMS for kfet app. 2017-05-30 20:44:30 +02:00
migrations Clean setup/retrieve of kfet generic account 2017-09-22 01:24:44 +02:00
open Fix kfet navbar on small devices 2017-09-03 14:42:38 +02:00
static/kfet Mass cleaning of kfet' authentication machinery 2017-09-25 17:57:47 +02:00
templates/kfet Mass cleaning of kfet' authentication machinery 2017-09-25 17:57:47 +02:00
templatetags Improvements for K-Fêt CMS. 2017-06-12 01:51:10 +02:00
tests Clean code related to kfet password 2017-09-22 23:31:46 +02:00
__init__.py Ajout message pour proposer connexion standard 2016-09-10 22:49:07 +02:00
admin.py initial 2016-08-02 10:40:46 +02:00
apps.py Mass cleaning of kfet' authentication machinery 2017-09-25 17:57:47 +02:00
autocomplete.py exclude empty strings from ldap results 2017-04-01 22:07:32 +01:00
config.py Subvention -> Réduction + units for kfet_config 2017-04-10 11:36:06 +02:00
consumers.py kfet.open 2017-06-21 07:08:28 +02:00
context_processors.py Move auth-related from 'kfet' app to 'kfet.auth'. 2017-09-19 17:05:51 +02:00
decorators.py kfet.open 2017-06-21 07:08:28 +02:00
forms.py Move auth-related from 'kfet' app to 'kfet.auth'. 2017-09-19 17:05:51 +02:00
models.py Clean code related to kfet password 2017-09-22 23:31:46 +02:00
routing.py kfet.open 2017-06-21 07:08:28 +02:00
statistic.py Better scale management for order creation 2017-05-19 17:40:06 +02:00
urls.py Mass cleaning of kfet' authentication machinery 2017-09-25 17:57:47 +02:00
utils.py fix PermConsumerMixin 2017-06-25 22:29:12 +02:00
views.py Mass cleaning of kfet' authentication machinery 2017-09-25 17:57:47 +02:00