Commit graph

553 commits

Author SHA1 Message Date
Tom Hubrecht d756cb1f5b Remove useless migrations 2022-10-03 10:58:52 +02:00
Tom Hubrecht e51951b1f2 Use AutoField instead of BigAutoField 2022-10-03 10:58:52 +02:00
Tom Hubrecht 29726486e0 url -> re_path 2022-10-03 10:58:52 +02:00
Tom Hubrecht 6be970b230 Replace unique_together by UniqueConstraint 2022-10-03 10:58:52 +02:00
Tom Hubrecht 6db3ed604b Update django version 2022-10-03 10:55:33 +02:00
Ludovic Stephan 6a11139588 Fix tests 2021-06-15 16:52:56 +02:00
Martin Pépin 49fde85187
Admin: on utilise la recherche builtin de Django 2020-12-04 19:33:17 +01:00
Ludovic Stephan 8b73460165
Make flake8 happy 2020-12-04 17:52:33 +01:00
Ludovic Stephan 411d7e7dce
On peut revendre une place qu'on a payée 2020-12-04 17:52:21 +01:00
Ludovic Stephan 43fcdc8526 Fix paid field in bda/spectacles 2020-10-28 14:35:45 +01:00
Ludovic Stephan f88795a60e Use same qset for every field 2020-10-22 19:34:59 +02:00
Ludovic Stephan 147b8514ef Limite les select au tirage concerné 2020-10-21 18:22:48 +02:00
Ludovic Stephan d535cf24a3 Migration 2020-10-21 18:22:19 +02:00
Ludovic Stephan 84dab59c72 Ordre des participants + unicité 2020-10-21 18:22:05 +02:00
Ludovic Stephan 22cf0d403e Permet d'archiver un tirage 2020-10-21 18:21:40 +02:00
Ludovic Stephan 7a9d96d83a
Indique si les places sont sur listing 2020-09-22 21:34:53 +02:00
Ludovic Stephan 4dbf11f91e Template tweaks 2020-09-15 21:10:36 +02:00
Ludovic Stephan 6377dd5c95 BdA : tests 2020-09-15 11:49:18 +02:00
Ludovic Stephan f364928004 Remove custommail in bda 2020-09-15 11:49:05 +02:00
Ludovic Stephan eb3cba31a7 Emails as text files 2020-09-15 11:15:12 +02:00
Martin Pépin dcd592ed11
Fix 100 tests wrt. 754a0b70e (big url changes) 2020-09-02 20:28:19 +02:00
Ludovic Stephan 0875ef1278 Black v20 2020-08-28 18:00:54 +02:00
Martin Pépin 9a90f19502
Separate the autocompletion logic form the views 2020-07-05 11:15:50 +02:00
Ludovic Stephan 3b43ad84b5 Renomme testcases.py -> mixins.py 2020-05-11 00:19:43 +02:00
Martin Pépin 914888d18a
Merge the utils and shared apps 2020-05-05 22:30:16 +02:00
Martin Pépin 6cce9779fa
participants.html: s/participants/participant⋅e⋅s/ 2020-01-18 12:23:45 +01:00
Martin Pépin fb3f6b9073
Add missing <script> tag in bda/participants.html 2020-01-18 12:20:39 +01:00
Martin Pépin 085013b256
Add some explanations about !379 2019-12-01 11:35:38 +01:00
Ludovic Stephan 381b52f46c
Fix: les participants nouvellement créés ont payé leurs places BdA
Si un participanti est créé avec `get_or_create`, son champ `paid`
n'était pas créé... C'est difficile à insérer dans la logique du
Manager, donc on fix ça dans la vue concernée.
2019-12-01 11:35:38 +01:00
Martin Pepin 4d9c66cb51 Merge branch 'Aufinal/fix-reventes' into 'master'
Fix: Souscription aux reventes

See merge request klub-dev-ens/gestioCOF!375
2019-10-18 09:31:56 +02:00
Ludovic Stephan 9254e3f8f7 Fix: Souscription aux reventes
Il me semblait que c'était déjà fait...
2019-10-17 10:50:54 +02:00
Ludovic Stephan bdb8f06e1d Déplace bda.css et supprime une police
On met le static de `bda` dans `static/bda`, comme tout le monde.
2019-10-16 20:27:57 +02:00
Ludovic Stephan e421792906 Déplace les fichiers statiques de gestioncof
On met tous les fichiers de `gestioncof/static` dans `gestioncof/static/gestioncof`, comme pour les templates. On en profite pour virer pas mal de fichiers inutiles de `font-awesome`.
2019-10-16 20:27:57 +02:00
Ludovic Stephan b343c6c6e0 Déplace (et modifie) jquery-ui
On déplace les deux versions de `jquery-ui` dans `shared/static/vendor/`, et on en récupère une version avec seulement les fonctionnalités requises.
2019-10-16 20:27:57 +02:00
Ludovic Stephan 0100a9a62e Move stupidtable import to base.html
Aussi, on déplace les fichiers JS associés dans `static/gestioncof/vendor/`
2019-10-16 20:27:57 +02:00
Martin Pépin 8c9de4303b
Add a testcase for issue #228 2019-10-06 10:57:15 +02:00
Martin Pépin 9661751df2
Fix crash on /bda/revente/<id>/manage
`annotate_paid` method is a method of the Participant object manager,
not the Participant class itself
2019-10-06 10:32:18 +02:00
Ludovic Stephan 966cf6ce15 On hook le popup à form.submit() 2019-09-26 20:30:04 +02:00
Ludovic Stephan 6406b493a2 Add background opacity 2019-09-26 20:04:07 +02:00
Ludovic Stephan 0701213225 Copy jconfirm to shared 2019-09-18 20:44:35 +02:00
Ludovic Stephan 411e66b13c Style charte popup 2019-09-18 19:36:14 +02:00
Ludovic Stephan 5db7eef1d7 Add charte popup and functionality 2019-09-18 19:36:02 +02:00
Ludovic Stephan 0a1b20dd4e Add accepte_charte field to Participant model 2019-09-18 19:34:56 +02:00
Ludovic Stephan d7d0daea0d Commentaire dans la fonction 2019-06-17 21:40:32 +02:00
Ludovic Stephan 4f15b820a5 Use manager from queryset 2019-06-17 21:36:09 +02:00
Ludovic Stephan 20bb9fe54b Remove debug log 2019-06-17 21:13:12 +02:00
Ludovic Stephan ba5aa6da5f Remove useless local variable 2019-06-17 21:12:03 +02:00
Ludovic Stephan fa98bb34bd Adapte l'interface admin 2019-06-08 15:33:09 +02:00
Ludovic Stephan a67446048e Réécrit des vues pour la nouvelle fonctionnalité
On en profite pour rajouter des Mixins pour les perms buro/cof
2019-06-08 15:33:09 +02:00
Ludovic Stephan b37e7c4c41 Migrations 2019-06-08 15:33:09 +02:00