Commit graph

2444 commits

Author SHA1 Message Date
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
Martin Pépin
d1c9d27a65
Rewrite home as a class-based view 2019-10-06 00:28:32 +02:00
Martin Pépin
838bf325ba Remove useless / unused dependencies
- unicodecsv is useless in py3
- autoslug is not used anywhere
- wheels comes with any correctly configured virtualenv
2019-10-05 17:38:31 +02:00
Ludovic Stephan
b99fd03df2 Merge branch 'kerl/403_vs_404' into 'master'
Replace some 403 by 404 to avoid trigramme leaking

Closes #224

See merge request klub-dev-ens/gestioCOF!364
2019-10-05 16:01:46 +02:00
Martin Pépin
d37c41e99f kfet/test_views: more eloquent test names 2019-10-05 13:48:29 +02:00
Martin Pépin
a4ecd344d0 Update CHANGELOG 2019-10-05 11:28:59 +02:00
Martin Pépin
e0285607a0
Fix tests according to issue #224 2019-10-05 02:25:05 +02:00
Martin Pépin
96adadce5e
Replace some 403 by 404 to avoid trigramme leaking
Fixes #224
2019-10-05 01:25:36 +02:00
Robin Champenois
e8a9e808f5 Merge branch 'Aufinal/charte_bda' into 'master'
Ajoute un popup de charte BdA à l'inscription aux tirages

Closes #225

See merge request klub-dev-ens/gestioCOF!363
2019-09-26 21:00:33 +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
92ebf0d233 Merge branch 'Kerl/registration_less_email_errors' into 'master'
Erreurs de mails lors de l'inscription d'un nouveau membre

Closes #173

See merge request klub-dev-ens/gestioCOF!348
2019-06-17 22:31:43 +02:00
Basile Clement
405f95a43b Early return if there is no email 2019-06-17 22:17:34 +02:00
Martin Pépin
ab89002cfc Clearer error message 2019-06-17 22:17:34 +02:00
Martin Pépin
c319780ab5 CHANGELOG: less email errors during registration 2019-06-17 22:17:34 +02:00
Martin Pépin
9f23f85b87 Handle errors when sending welcome emails during member registraton 2019-06-17 22:17:02 +02:00
Ludovic Stephan
1cf333f0fc Merge branch 'Aufinal/readonly_user' into 'master'
Désactive la modification des comptes COF sur l'interface K-Fêt

See merge request klub-dev-ens/gestioCOF!360
2019-06-17 22:15:57 +02:00
Ludovic Stephan
bf372a1ce2 CHANGELOG 2019-06-17 22:03:11 +02:00
Ludovic Stephan
96430d852c Do not repeat default argument 2019-06-17 22:02:12 +02:00
Ludovic Stephan
fc8c8fdf29 Montre les infos à tout le monde 2019-06-17 22:02:11 +02:00
Ludovic Stephan
8d30c5c7e5 Fix tests 2019-06-17 22:02:11 +02:00
Ludovic Stephan
fb56293273 Supprime un formulaire inutilisé 2019-06-17 22:02:11 +02:00
Ludovic Stephan
baa3826a42 Change le formulaire de account_update
On fait un formulaire d'info non-éditable pour pas que les gens mettent des noms troll
2019-06-17 22:02:11 +02:00
Ludovic Stephan
4598abc721 Merge branch 'Aufinal/paid_attributions' into 'master'
Déplace le champ `paid` des participants aux attributions

See merge request klub-dev-ens/gestioCOF!361
2019-06-17 21:59:01 +02:00
Ludovic Stephan
d7d0daea0d Commentaire dans la fonction 2019-06-17 21:40:32 +02:00
Ludovic Stephan
46e7305953 Meilleur décorateur 2019-06-17 21:38:49 +02:00
Ludovic Stephan
4f15b820a5 Use manager from queryset 2019-06-17 21:36:09 +02:00
Ludovic Stephan
edd92beadf Add logging call 2019-06-17 21:21:12 +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
b11e35616c Changelog 2019-06-08 15:33:47 +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
Ludovic Stephan
29111059f9 Rajoute un manager à Participant
On rajoute un manager qui annote les querysets avec si le participant a payé ou non
2019-06-08 15:33:09 +02:00
Ludovic Stephan
9776a18e4c Déplace les champs paid et paymenttype 2019-06-08 15:33:09 +02:00
Martin Pepin
7f1adf7c4e Merge branch 'Aufinal/can-delete-stuff' into 'master'
Délétions d'objets K-Fêt

See merge request klub-dev-ens/gestioCOF!359
2019-06-03 23:06:06 +02:00
Ludovic Stephan
56bc281b30 Utilise >= gnagnagna 2019-06-03 23:00:10 +02:00
Ludovic Stephan
c4948be1f7 Use http_methods_allowed attribute 2019-06-03 22:59:43 +02:00
Ludovic Stephan
f3dbb72f69 Consistency for on_delete attributes 2019-06-03 22:43:47 +02:00
Ludovic Stephan
173affd8eb Fix another 2.2 deprecation 2019-06-03 20:42:21 +02:00
Ludovic Stephan
51fe9cc9f8 Changelog 2019-05-29 18:31:03 +02:00
Ludovic Stephan
d4be8b426e Tests pour la suppression d'articles 2019-05-29 18:29:15 +02:00
Ludovic Stephan
65dd7e5fa3 Suppression d'article
On fait pareil que précédemment pour les articles, en rajoutant une vie
de délétion + de quoi afficher qu'un article a été supprimé.
N.B. : le formatage automatique de VSCode fait plein de changements,
donc pourquoi pas les garder.
2019-05-29 18:29:15 +02:00
Ludovic Stephan
123e2b84df Rename view to fit conventions 2019-05-29 18:29:15 +02:00