Commit graph

91 commits

Author SHA1 Message Date
Aurélien Delobelle
8675948d9e cof -- Fix urls naming in survey templates 2018-01-19 18:01:36 +01:00
Aurélien Delobelle
b0b0542407 Upgrade to Django 1.11
- Deprecation warnings using Django 1.8 are resolved.
- Deprecation warnings using Django 1.11 are resolved.

- Admin: grappelli is no longer used.
- Upgrade to django-autocomplete-light v3 (v2 is not 1.11 compatible).
  * autocomplete.modelform_factory being dropped, code uses dal Select2
    views and widgets.
2017-11-19 18:41:39 +01:00
Aurélien Delobelle
d004287957 Merge branch 'master' into aureplop/kfet_cms 2017-06-12 02:04:28 +02:00
Aurélien Delobelle
8c6d56b27c Add Wagtail CMS for kfet app.
K-Fêt
- Integrate wagtail to serve "static" pages of old K-Fêt website
- Fixture "kfetcms/kfet_wagtail_17_05" contains a copy of old website
(as in May 2017).
- Media files can be got until end of June 17 at
http://partage.eleves.ens.fr//files/604e6dea2ceebc66b1936c6b3f911744/kfet_media.tar.gz

Login/logout
- Update package django_cas_ng to last version.
- Clean COFCASBackend.
- Change CAS version to 3 (version used on eleves.ens). This enables
the logout redirection (for CAS ofc).
- Add messages and clean existing ones on login/logout (for both
outsider and cas users).

Misc
- Update settings to bypass an incompability between debug-toolbar and
wagtailmenus packages.
- Better management of dev/test-specific urls (if debug-toolbar wasn't in
INSTALLED_APPS, media files were not served).
- UI improvements.
2017-05-30 20:44:30 +02: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
59f57793ba typo 2017-03-20 22:05:48 +00: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
c37754376b Move registration_form to gestioncof/
The `registration` view was referencing this file using
`"gestioncof/registration_form.html"` whereas the `registration_post`
templated was referencing it in the global namespace
`"registration_form.html"`.

We choose the `gestioncof/` folder in order to avoid further conflicts
with other apps.
2017-03-15 11:40:52 +00:00
Martin Pépin
70e89e3737 Merge branch 'master' into Kerl/messages 2017-02-11 20:55:17 +01:00
Qwann
924a289a78 cleaning UGLY django template style
and moving some template files
2017-02-11 16:21:13 +01:00
Martin Pépin
675ff99414 Supprime les doublons avec jquery 2017-02-11 11:50:49 +01:00
Martin Pépin
71fb020e10 Merge branch 'master' into Kerl/messages 2017-02-11 11:40:47 +01:00
Martin Pépin
6e55905781 Merge branch 'master' into Kerl/use_django_custommail 2017-02-11 03:20:29 +01:00
Qwann
06eafdae47 Merge branch 'master' of git.eleves.ens.fr:cof-geek/gestioCOF 2017-02-11 02:54:54 +01:00
Qwann
ed01508481 using context_object_name and moving template 2017-02-11 02:51:43 +01:00
Martin Pépin
d4b696db70 Merge branch 'master' into Kerl/ldap 2017-02-11 01:55:02 +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
Ludovic Stephan
ca73dc27bb move template 2017-02-08 21:13:02 -02:00
Ludovic Stephan
46638bd6d8 fixes #85 2017-02-08 21:08:00 -02:00
Martin Pépin
45eb384cfd Use class-based views
See #94
2017-02-05 17:41:23 +01:00
Martin Pépin
8c34e2f83f proper use of messages in petits cours 2017-02-03 18:29:18 +01:00
Martin Pépin
fd42563f7f Proper use of messages in calendar subscription 2017-02-03 18:29:18 +01:00
Martin Pépin
51c0e2dabc proper use of messages in registration 2017-02-03 18:29:12 +01:00
Martin Pépin
b7ecac3db6 Proper use of messages in profile edit 2017-02-03 18:29:12 +01:00
Martin Pépin
1fe1b94afc Proper use of messages in events 2017-02-03 18:29:12 +01:00
Martin Pépin
91fff8a11e Proper use of messages in BdA inscription 2017-02-03 18:29:05 +01:00
Martin Pépin
0666b5288f Proper use of messages in survies 2017-02-03 18:29:05 +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
cef40dff70 Typo et renommage 2017-01-10 23:26:11 +01:00
Martin Pépin
5fa0618ad3 Message pour moldu
Fixes #29
2017-01-10 11:46:23 +01:00
Martin Pépin
0d09bf62af Completion starts only when we have 3 characters
And this time it works
2017-01-06 17:26:35 +01:00
Martin Pépin
3c7558c853 The end of Clipper
GestioCOF fetches the clipper accounts from an LDAP database and doesn't
need to store clippers in a table anymore.
2016-12-25 11:57:50 +01:00
Martin Pépin
8bf2f715a4 Correction de bugs et nettoyage 2016-12-23 15:49:03 +01:00
Martin Pépin
fe8f18ff78 Utilise django_custommail
- On installe le package depuis le dépôt COF-Geek
- On supprime tous les fichiers texte des mails
- On charge dans la bdd les mails nécessaires au fonctionnement de
  GestioCOF
- On supprime le modèle CustomMail obsolète de gestioncof
2016-12-22 03:45:03 +01:00
Ludovic Stephan
d1456d7c68 déplacement shotgun 2016-10-06 13:46:18 +02:00
Ludovic Stephan
103b2880f7 BdA 2016-09-27 16:57:39 +02:00
Ludovic Stephan
0282f62886 Merge branch 'master' of https://git.eleves.ens.fr/cof-geek/gestioCOF into Aufinal/bda_revente 2016-09-08 16:29:42 +02:00
Martin Pépin
4237b842b4 Compat IE et mobiles 2016-09-05 23:47:16 +02:00
Martin Pépin
799f2317f7 Champ commentaires
le champ `comments` du modèle `CofProfile` est maintenant visible par
l'urilisateur via la vue “profil”.
2016-09-04 13:21:23 +02:00
Ludovic Stephan
c26bb5c309 adds bda-revente to home 2016-09-03 05:22:41 +02:00
Martin Pépin
8e36b3cfaa Merge branch 'master' of git.eleves.ens.fr:cof-geek/gestioCOF 2016-08-29 16:33:33 +02:00
Martin Pépin
1f8f94b93b Cache les tirages pas encore ouverts au public
Seul le Burô peut voir les tirages actif pas encore ouverts.
2016-08-29 16:32:04 +02:00
Martin Pépin
559ac5a39d On peut changer de respos
Tout se fait simplement depuis la vue `/clubs/membres/<club_name>`.
Il est déconseillé de passer par l'interface admin.
2016-08-23 21:09:47 +02:00
Martin Pépin
ccc1c79101 Ajout de la liste des clubs 2016-08-23 20:10:25 +02:00
Martin Pépin
f25243b082 Ajout d'une vue : membres d'un club
- Liste des membres inscrits à un club.
- Vue accessible aux membres du burô et aux respos des clubs concernés.
2016-08-23 18:57:59 +02:00