Commit graph

1001 commits

Author SHA1 Message Date
Martin Pépin
672b8727b7 Merge branch 'michele.orru/gestioCOF-master'
Deleting a CofProfile => Deleting the associated User
2017-01-06 17:00:06 +01:00
Martin Pépin
8568ecedba Update provisioning
Django has now access to the test datebase
2017-01-06 16:58:27 +01:00
Martin Pepin
888d4764e8 Merge branch 'Kerl/clean_staticfiles' into 'master'
Cesse d'utiliser des fichiers statiques custom

Fixes #107 

See merge request !121
2017-01-06 16:51:46 +01:00
Aurélien Delobelle
d6542d8b21 Fix websocket for dev and www
Le ProxyPass ignorait apparemment le header `Daphne-Root-Path`
2017-01-05 15:52:25 +01:00
Aurélien Delobelle
e292318245 Fix WebSocket failure on K-Psul 2017-01-05 14:27:25 +01:00
Michele Orrù
542d02ca6d Cosmetics: post_save-ing a CofProfile now with decorators. 2017-01-05 11:35:34 +01:00
Michele Orrù
8016078e4f Deleting a CofProfile ⇒ Deleting a User.
There's no reason for keeping a User if its respective cofprofile was deleted.
No?

Unittests attached.
2017-01-05 11:35:21 +01:00
Martin Pépin
e8fe856262 Merge branch 'master' into Kerl/fix_petits_cours_json 2017-01-05 08:48:20 +01:00
Martin Pépin
bc5a323dfe Add missing migration 2017-01-04 15:29:28 +01:00
Qwann
ca28826d78 doc added for kfet new fixtures 2017-01-03 02:22:46 +01:00
Qwann
9cb5844c48 Revert "Update README.md for new kfet fixtures"
This reverts commit 06370bc62a.
2017-01-03 02:19:50 +01:00
Erkan Narmanli
06370bc62a Update README.md for new kfet fixtures 2017-01-03 02:13:42 +01:00
Qwann
63b3fef78f Merge branch 'michele.orru/gestioCOF-k-fet' into k-fet 2017-01-03 01:50:34 +01:00
Michele Orrù
0b54972aa8 Add fixtures.
Create fixtures for kfet application:
- Add a bunch of non-cof profiles whose "last_name" is "Romain";
- Add k-fet articles using the real ones as a template;
- Add LIQ account;
- Add groups K-fet Chef and K-fet Girl;
- Add "caisse".
We also added some template for future tests (well, actually it's the script
used to generate the fixtures…).
2017-01-03 01:35:56 +01:00
Martin Pépin
ab80db8bed Merge branch 'master' into Kerl/clean_staticfiles 2016-12-26 00:54:31 +01:00
Martin Pépin
dc32ae6ad2 Répare le traitement des petits cours
Les fonctions de traitement des demandes faisaient des cast étranges à
l'aide de `base64`. Ça devrait être lié à python2 je suppose.
2016-12-23 09:37:54 +01:00
Ludovic Stephan
b27a2d0720 mise en valeur du trigramme 2016-12-22 01:29:40 -02:00
Ludovic Stephan
5267a8a368 add previous op recap 2016-12-22 01:13:14 -02:00
Ludovic Stephan
38dbebb05e Merge branch 'Aufinal/arrondi_ukf' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/arrondi_ukf 2016-12-22 00:25:07 -02:00
Martin Pepin
6e5c3c8c33 Merge branch 'Aufinal/clean_code' into 'master'
Rend le code de BdA-Revente plus robuste

- `shotgun` devient un champ, et nécessite que `tirage_done` vaille `True` (plus de places au shotgun avant que le tirage au sort ne soit fait)
- suppression de code mort
- correction d'un bug sur les reventes de reventes
- améliorations diverses : commentaires, messages d'erreur
Selon moi, ça règle le 3e point de #101.

See merge request !114
2016-12-21 17:17:36 +01:00
Ludovic Stephan
acfcddce07 Merge branch 'Kerl/clean_code_amend' into 'Aufinal/clean_code'
Kerl/clean code amend

Ajoute quelques commentaires

Reformate le texte en 80 colonnes

Améliore l'algo d'inscription à la revente en inscrivant les gens à la revente ayant le moins d'inscrits

See merge request !135
2016-12-21 14:13:15 +01:00
Martin Pépin
847345bb63 Merge branch 'Aufinal/clean_code' into Kerl/clean_code_amend 2016-12-21 11:31:07 +01:00
Ludovic Stephan
2f70dbf911 default shotgun for existing rows 2016-12-21 01:05:04 -02:00
Ludovic Stephan
e8be072e78 message si inscription a une revente en cours 2016-12-21 00:53:35 -02:00
Ludovic Stephan
82b6cea02f Merge branch 'Aufinal/clean_code' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/clean_code 2016-12-21 00:48:00 -02:00
Ludovic Stephan
9bbc9e934d change soldTo functioning 2016-12-21 00:47:36 -02:00
Ludovic Stephan
07f920976f change soldTo functioning 2016-12-21 00:45:30 -02:00
Ludovic Stephan
38dd220c23 modernize reventes_shotgun 2016-12-21 00:35:05 -02:00
Ludovic Stephan
257e538621 Merge branch 'master' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/clean_code 2016-12-21 00:11:06 -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
Michele Orrù
783332bbe0 Fix #117.
Not tested because there's no unittests.
Reviewed by @manet.
2016-12-19 19:52:30 +01:00
Ludovic Stephan
f06a732da5 remove unnecessary function 2016-12-11 23:29:05 -02:00
Ludovic Stephan
e52c44580f pluralize function 2016-12-11 23:23:12 -02:00
Ludovic Stephan
ee54b36696 minor imprevements to history 2016-12-11 23:22:59 -02:00
Ludovic Stephan
a9e1cd01db add transfersonly option 2016-12-11 23:22:14 -02:00
Ludovic Stephan
3f35dc2c06 unite transfer history 2016-12-11 23:21:36 -02:00
Ludovic Stephan
1dbbad38b9 transfer cancellation html 2016-12-11 21:00:42 -02:00
Ludovic Stephan
66304359c0 unite cancel_ope and cancel_transfer 2016-12-11 16:22:55 -02:00
Ludovic Stephan
49bef61e53 filter transfers frop opes 2016-12-11 14:45:52 -02:00
Ludovic Stephan
2c2da60e54 send data for cancel 2016-12-10 23:52:26 -02:00
Ludovic Stephan
0b61a48c65 fix selection 2016-12-10 23:13:43 -02:00
Ludovic Stephan
7485308436 Merge branch 'k-fet' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/search_icon 2016-12-09 17:32:21 -02:00
Ludovic Stephan
85af7fe485 filter on id 2016-12-09 17:29:40 -02:00
Ludovic Stephan
b3b49d5768 Merge branch 'k-fet' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/transferts_historique 2016-12-09 16:48:18 -02:00
Aurélien Delobelle
e63e56371d Merge branch 'Aufinal/encode_trigramme' into 'k-fet'
K-Psul - Fix: Lien -> création/modification de comptes

Le javascript de K-Psul encode maintenant les caractères spéciaux (dont `, / ? : @ & = + $ # "`) afin de pouvoir avoir accès aux comptes en question sans bugs.

See merge request !131
2016-12-09 17:30:11 +01:00
Aurélien Delobelle
222e614648 Merge branch 'Aufinal/F2_invert' into 'k-fet'
K-Psul

Inverse les raccourcis clavier entre le reset du compte (Shift+F2) et du panier (F2) pour plus d'ergonomie

Fix #112

See merge request !129
2016-12-09 16:55:33 +01:00
Ludovic Stephan
b0a21119fa Merge branch 'k-fet' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/transferts_historique 2016-12-09 01:25:40 -02:00
Ludovic Stephan
cc94785fdf Merge branch 'k-fet' of git.eleves.ens.fr:cof-geek/gestioCOF into Aufinal/arrondi_ukf 2016-12-09 01:25:02 -02:00
Ludovic Stephan
21cf783144 add special character encoding 2016-12-09 01:05:30 -02:00