Commit graph

30 commits

Author SHA1 Message Date
Aurélien Delobelle
05eeb6a25c core -- Install django-allauth-ens
Refer to allauth doc for an accurate features list:
  http://django-allauth.readthedocs.io/en/latest/

Users can now change their password, ask for a password reset, or set
one if they don't have one.

In particular, it allows users whose account has been created via a
clipper authentication to configure a password before losing their
clipper. Even if they have already lost it, they are able to get one
using the "Reset password" functionality.

Allauth multiple emails management is deactivated. Requests to the
related url redirect to the home page.

All the login and logout views are replaced by the allauth' ones. It
also concerns the Django and Wagtail admin sites.

Note that users are no longer logged out of the clipper CAS server when
they authenticated via this server. Instead a message suggests the user
to disconnect.

Clipper connections and `login_clipper`
---------------------------------------

- Non-empty `login_clipper` are now unique among `CofProfile` instances.
- They are created once for users with a non-empty 'login_clipper' (with
the data migration 0014_create_clipper_connections).
- The `login_clipper` of CofProfile instances are sync with their
clipper connections:
    * `CofProfile.sync_clipper_connections` method updates the
connections based on `login_clipper`.
    * Signals receivers `sync_clipper…` update `login_clipper` based on
connections creations/updates/deletions.

Misc
----

- Add NullCharField (model field) which allows to use `unique=True` on
CharField (even with empty strings).
- Parts of kfet mixins for TestCase are now in shared.tests.testcase,
  as they are used elsewhere than in the kfet app.
2018-10-21 17:09:12 +02:00
Martin Pépin
f18959c0a1 BdA-Revente: meaningful names, some help tests 2017-11-01 17:26:40 +01:00
Martin Pépin
31c034a96a send_rappel: use django messages + css tweaks 2017-06-02 19:14:06 +01:00
Martin Pépin
ea21b07657 Add an announcement banner 2017-05-25 23:58:59 +01:00
Aurélien Delobelle
cb13280458 Merge branch 'master' into 'Aufinal/merge_k-fet'
# Conflicts:
#   kfet/static/kfet/css/index.css
2017-03-24 20:23:32 +01:00
Martin Pépin
55b67f38c8 Notice the users about the α-numeric restriction
Add a help text above the two autocompletion inputs letting the users
know that non-alphanumeric characters will not be used.
2017-03-16 23:16:56 +00:00
Ludovic Stephan
3793863bab Merge remote-tracking branch 'origin/k-fet' into Aufinal/merge_k-fet 2017-03-15 22:58:54 -03:00
Martin Pépin
71fb020e10 Merge branch 'master' into Kerl/messages 2017-02-11 11:40:47 +01:00
Evarin
839d60e48f Support tactile jquery-ui 2017-02-11 00:11:14 +01:00
Evarin
80d8cb6b7e Mise à jour des dépendances jquery-ui et jquery
Should fix #80 - à tester sur mobile (via dev.cof)
2017-02-10 23:47:49 +01:00
Evarin
399e5ca16d Jolie mise en page pour les demandes de petit cours
Closes #6
2017-02-10 20:42:54 +01:00
Martin Pépin
d31b9f59ab Traitement des messages
- Les messages sont affichés à l'utilisateurs dans les vues de GestioCOF
- On utilise une autre version de bootstrap et jquery (plus récent)

Fixes #48
2017-02-03 18:28:56 +01:00
Qwann
7ab4e949d8 k-fet in gestiocof menu 2017-01-26 20:40:55 +01:00
Martin Pépin
5a2fc9d1e5 Cesse d'utiliser des fichiers statiques custom 2016-11-20 20:09:12 +01:00
Qwann
770162463d retrait des flèches pour les champs num en lecture seule 2016-08-07 19:47:14 +02:00
Martin Pépin
dd951287a9 Merge branch 'master' into Kerl/fix_32_do_tirage 2016-07-29 19:03:36 +02:00
Qwann
e942bf7074 Fini ! modulo les trucs que j'ai peut-être cassé/oublié :) 2016-07-27 15:29:06 +02:00
Qwann
d864a7bc16 quasi fini 2016-07-27 14:00:38 +02:00
Qwann
dbc14a8227 avec des icones c'est plus zoli :) 2016-07-27 00:10:20 +02:00
Qwann
29a97230ac registration presque réparé 2016-07-26 20:19:34 +02:00
Qwann
34830f897e registration est cassé 2016-07-26 11:56:54 +02:00
Qwann
3cd618e60d normalement il reste juste ajout membre 2016-07-25 19:19:07 +02:00
Qwann
406d09790a j'ai cassé du js? 2016-07-14 21:13:03 +02:00
Qwann
f14ddef88a tout plein de modif, toujours pas fini 2016-07-14 19:29:15 +02:00
Qwann
e92295ee12 home fini, début du reste 2016-07-11 21:48:11 +02:00
Qwann
3f0ef8bac2 le home commence a avoir une bonne tronche 2016-07-11 19:59:32 +02:00
Martin Pépin
443b732859 Désactive le lancement du tirage automatiquement
Après le lancement du tirage, l'attribut `enable_do_tirage` est
automatiquement passé à `False`
2016-07-08 20:27:27 +02:00
Martin Pépin
45864fdcb0 Adapte la vue du tirage.
Désormais, les tirages peuvent être lancés sans modifier le code et
avec moult avertissements.
2016-07-08 00:39:31 +02:00
Martin Pépin
23d63b3376 Déplacement de Grappelli dans gestioncof/static 2016-05-26 15:09:27 +02:00
Martin Pépin
af6f56e250 Déplacement des fichiers statiques
Les CSS, JS et Images sont désormais dans des dossiers
`$app/static/{css/js/images}` où `$app` désigne l'application qui les utilise,
en l'occurrence `gestioncof`, `bda`, `bda2` et `bda3`.
2016-05-26 00:57:22 +02:00