Commit graph

138 commits

Author SHA1 Message Date
Martin Pépin 847345bb63 Merge branch 'Aufinal/clean_code' into Kerl/clean_code_amend 2016-12-21 11:31:07 +01:00
Ludovic Stephan e8be072e78 message si inscription a une revente en cours 2016-12-21 00:53:35 -02:00
Ludovic Stephan 9bbc9e934d change soldTo functioning 2016-12-21 00:47:36 -02:00
Ludovic Stephan 38dd220c23 modernize reventes_shotgun 2016-12-21 00:35:05 -02:00
Martin Pépin 28df0355c2 Améliore l'algo d'inscription à une revente
Au lieu d'inscrire les gens à la première revente qu'on trouve on
les inscrit à celle qui a le moins de participants
2016-12-21 02:15:50 +01:00
Martin Pépin 330b45fb2c Style + commentaires 2016-12-20 22:24:07 +01:00
Ludovic Stephan a9f25374ff Merge branch 'master' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/clean_code 2016-11-23 01:49:54 -02:00
Martin Pepin d6dd7b346c Merge branch 'Elarnon/mail_bda' into 'master'
Améliore les mails automatiques du BdA

Les mails du BdA sont maintenant tous chargés depuis des templates gérés par le système de templates de Django, et plus par de l'interpolation de chaîne de caractères. Ceci permet en particulier d'utiliser (et de configurer) la localisation de Django afin d'afficher les dates de façon uniforme (et sans "hack" à la `date_no_seconds`) dans un format comportant un "à" entre le jour et l'heure.

See merge request !113
2016-11-20 16:53:29 +01:00
Ludovic Stephan fa3ddd099f Merge branch 'master' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/clean_code 2016-11-14 12:52:35 -02:00
Ludovic Stephan a63269a4ce more coherent names 2016-11-14 12:52:02 -02:00
Martin Pepin b60365ddd6 Merge branch 'Aufinal/fix_reinit_past' into 'master'
Aufinal/fix reinit past

Rajoute quelques vérifications de date lors d'une réinitialisation

See merge request !110
2016-11-13 12:45:54 +01:00
Ludovic Stephan 790e73d7a4 fix messages revente_interested 2016-11-12 23:45:14 -02:00
Ludovic Stephan 1ba2766231 fix revente de reventes 2016-11-12 22:45:52 -02:00
Ludovic Stephan 13f282a289 Merge branch 'master' of https://git.eleves.ens.fr/cof-geek/gestioCOF into Aufinal/clean_code 2016-11-12 21:48:03 -02:00
Basile Clement afed3479b0 Remplace le dernier email en dur par un template
Il restait un unique email (envoyé lors de l’achat d’une place au
shotgun) dont le texte est inscrit en dur dans `bda.views`. Pour
éviter d’avoir trop de systèmes d’envoi de mails différents, il
utilise maintenant une template dans `bda/mails` comme le reste des
emails envoyés par l’application bda.
2016-11-12 10:54:32 +01:00
Basile Clement 53a4413492 Déplace les gabarits d’email du bda dans un dossier spécifique 2016-11-12 10:54:32 +01:00
Basile Clement 1f1419c5f1 Supprime render_template
GestioCOF définit une fonction `render_template` qui permet de calculer
l'interpolation d'un gabarit en une chaîne de caractères, par exemple
pour l'envoi de mails. Ce patch supprime cette fonction et remplace son
utilisation par la fonction `django.template.loader.render_to_string` au
comportement identique.
2016-11-12 10:54:32 +01:00
Basile Clement cce574a11b Supprime do_resell
La fonction utilitaire `bda.views.do_resell` n’est plus utilisée
depuis la nouvelle version de bda-revente.
2016-11-12 10:53:15 +01:00
Ludovic Stephan a9a4bf6b4a Merge branch 'master' of https://git.eleves.ens.fr/cof-geek/gestioCOF into Aufinal/fix_reinit_past 2016-11-08 10:28:59 -02:00
Ludovic Stephan 76a88be4ef check date spectacle 2016-11-08 10:28:00 -02:00
Basile Clement 981ff48e3d Envoie un mail de confirmation lors d'une mise en vente
Ce mail contient la date du tirage.
2016-11-05 22:35:46 +01:00
Ludovic Stephan e408437ab1 fix reinit 2016-10-27 23:47:11 -02:00
Ludovic Stephan 5ebbf3f9b2 delete old BdA-Revente 2016-10-27 13:05:59 -02:00
Ludovic Stephan 27464aaa93 should have been in bda_shotgun 2016-10-25 12:44:28 -02:00
Ludovic Stephan b15dc6d9dc Merge remote-tracking branch 'origin/master' into Aufinal/change_shotgun 2016-10-24 14:38:35 -02:00
Ludovic Stephan cf68abc789 wrong url 2016-10-13 16:02:52 +02:00
Ludovic Stephan 6c5a2124c4 scrap aborted modif 2016-10-13 15:30:59 +02:00
Ludovic Stephan 4c6b33ccb4 change shotgun en booleanfield 2016-10-10 16:56:31 +02:00
Ludovic Stephan 9e9cf3145b Merge branch 'master' of https://git.eleves.ens.fr/cof-geek/gestioCOF into Aufinal/bda_shotgun 2016-10-07 14:06:47 +02:00
Ludovic Stephan 173c5a840b fix links 2016-10-06 18:51:19 +02:00
Ludovic Stephan 7ec6d23987 fix reinit 2016-10-06 14:26:47 +02:00
Ludovic Stephan d1456d7c68 déplacement shotgun 2016-10-06 13:46:18 +02:00
Ludovic Stephan ad0c398292 fix error 500 shotgun 2016-09-28 16:47:46 +02:00
Ludovic Stephan 284dc12b7c success message 2016-09-27 17:35:29 +02:00
Ludovic Stephan 77511d8acd more coherent names 2016-09-27 15:44:27 +02:00
Ludovic Stephan 7984eb132b Merge branch 'master' of https://git.eleves.ens.fr/cof-geek/gestioCOF into Aufinal/bda_revente 2016-09-26 15:56:35 +02:00
Ludovic Stephan 59b8f406b6 fix bug shotgun 2016-09-26 15:53:58 +02:00
Ludovic Stephan bbfce33c3f corrects bug with bda-buy 2016-09-25 14:39:18 +02:00
Ludovic Stephan a5e6a8e635 fix message liste_revente 2016-09-25 12:12:31 +02:00
Martin Pépin d89493856f Fix: inscriptions bda
Problèmes d'encodage sur la fonction `_hash_queryset`
2016-09-24 17:34:15 +02:00
Ludovic Stephan 6b63f0f30f end 2016-09-21 15:39:01 +02:00
Ludovic Stephan f679338910 scrap buying many resells 2016-09-19 16:08:12 +02:00
Ludovic Stephan 2a56f8e255 buy more than one place 2016-09-11 13:32:38 +02:00
Ludovic Stephan f0553d709e check lors de l'inscription pour des places en revente 2016-09-05 03:32:29 +02:00
Ludovic Stephan 3bc9880db1 revente de revente + confirmation de transfert de places 2016-09-05 02:29:49 +02:00
Ludovic Stephan e9e0be7960 gère les places demandées 2016-09-04 11:14:09 +02:00
Ludovic Stephan a607f35342 inscription des déçus à BdA-Revente 2016-09-03 19:39:28 +02:00
Ludovic Stephan 46f91adc08 revente des places au shotgun 2016-09-03 18:47:38 +02:00
Ludovic Stephan 32d98faf0d minor fixes 2016-09-03 05:21:27 +02:00
Ludovic Stephan dbd81ac625 Merge branch 'master' of https://git.eleves.ens.fr/cof-geek/gestioCOF into Aufinal/bda_revente 2016-09-03 01:39:33 +02:00