Commit graph

319 commits

Author SHA1 Message Date
Ludovic Stephan 7bf0c5f09e Fix frozen forms 2021-06-15 14:07:43 +02:00
Ludovic Stephan 16dee0c143 Remove print 2021-06-15 14:07:43 +02:00
Ludovic Stephan 1e44550e12 New frozen function 2021-06-15 14:05:39 +02:00
Ludovic Stephan 99809209e0 Change les permissions pour geler/dégeler un compte 2021-06-15 14:05:39 +02:00
Ludovic Stephan c14c2d54a5 More general forbidden test 2021-03-16 23:04:03 +01:00
Ludovic Stephan 1450b65dcd Rework complet de account_update 2021-02-23 22:52:39 +01:00
Ludovic Stephan 4e758fbba0 Delete balance_offset field 2021-02-23 22:33:00 +01:00
Dorian Lesbre 23f7865140 Switch back from config to settings 2021-02-20 20:59:54 +01:00
Dorian Lesbre 30a39ef2f6 Switch from account test to user test 2021-02-19 12:16:43 +01:00
Dorian Lesbre 9a635148bb Switched from datetime.today() to timezone.now() 2021-02-19 12:13:23 +01:00
Dorian Lesbre 884ec2535b Fixed stupid errors 2021-02-19 11:51:48 +01:00
Dorian Lesbre beba3052dd Switched from hardcoded settings to config 2021-02-19 11:46:42 +01:00
Dorian Lesbre 46242ad2c0 Added separate permission for chef/trez 2021-02-19 10:48:24 +01:00
Dorian Lesbre b97bc8bfa8 Changed accoutn comparaison from id to equality 2021-02-19 10:26:05 +01:00
Dorian Lesbre 89fc309c01 Returned 403 on dubious history request 2021-02-19 10:18:47 +01:00
Dorian Lesbre 9303772f9a Renamed week_ago => history_limit and removed print 2021-02-10 22:19:52 +01:00
Tom Hubrecht 559b36b6f0 Limite le datepicker pour ne pas demander plus de temps que possible dans l'historique 2021-02-10 22:13:50 +01:00
Dorian Lesbre fbafdb7134 Added kfet history date limit when not accessing own account 2021-02-10 21:32:44 +01:00
Ludovic Stephan 288de95c49 Checkout form is single-option now 2021-02-06 18:58:25 +01:00
Ludovic Stephan 79f0757e9f Fix kfet stats 2021-01-21 20:55:23 +01:00
Quentin VERMANDE 035bbe68a5 make black happy 2020-12-09 22:22:12 +01:00
Quentin VERMANDE 9d2c13e67c kfetTriArticles 2020-12-09 22:03:54 +01:00
Ludovic Stephan 59dacda37d
Inventory deletion view 2020-12-04 17:01:25 +01:00
Martin Pepin 57901c0013 Merge branch 'Aufinal/stat_2' into 'master'
Repassage sur les stats

Closes #246 and #255

See merge request klub-dev-ens/gestioCOF!462
2020-09-22 21:06:46 +02:00
Tom Hubrecht d0b7000747 Empêche la modification des informations COF lors de la création d'un compte K-Psul 2020-09-19 19:14:44 +02:00
Ludovic Stephan a14c9d9574 Fix tests 2020-09-16 19:19:29 +02:00
Ludovic Stephan 8f9c94fe10 Plein de nettoyage partout 2020-09-16 17:16:49 +02:00
Ludovic Stephan 49591fa67e Use form to clean data 2020-09-15 20:03:37 +02:00
Martin Pépin 3da0a613f7
K-Fêt autocompletion shows the 'new user' link 2020-09-07 11:32:28 +02:00
Martin Pépin 9ac030fd16
Instantiate the Compose classes in their own file 2020-07-18 16:07:12 +02:00
Martin Pépin e7517195cd
Generic autocompletion view 2020-07-18 16:07:12 +02:00
Martin Pépin 9a90f19502
Separate the autocompletion logic form the views 2020-07-05 11:15:50 +02:00
Ludovic Stephan f10d6d1a71 Bugfix
Quand un article n'a pas de conso, il a été créé il y a 1s
2020-05-08 11:14:32 +02:00
Ludovic Stephan 97cb9d1f3b Rework stats_manifest
On change la façon dont les vues gèrent l'interface avec `Scale`.
Side effect : on peut avoir l'historique sur tout le temps
2020-05-08 11:14:32 +02:00
Ludovic Stephan 48ad5cd1c7 Misc cleanup
On utilise SingleObjectMixin partout, et on simplifie 2-3 trucs
2020-05-08 11:14:32 +02:00
Ludovic Stephan ef35f45ad2 Fusionne deux fonctions chunkify
On rajoute de l'agrégation optionnelle dans la fonction.
2020-05-08 11:14:32 +02:00
Ludovic Stephan 26bcd729bb Supprime le code mort ou redondant 2020-05-08 11:14:32 +02:00
Ludovic Stephan 6767ba8e8c Rajoute de la doc partout 2020-05-08 11:14:32 +02:00
Martin Pepin 3b2251a1d6 Merge branch 'Aufinal/editable_accounts' into 'master'
Harmonise les comptes non-lisibles ou éditables

Closes #234

See merge request klub-dev-ens/gestioCOF!412
2020-05-07 18:07:07 +02:00
Ludovic Stephan 9eebc7fb22 Fix: les transferts apparaissent dans l'historique perso 2020-04-23 18:11:23 +02:00
Ludovic Stephan 2aa06d2954 Simplify transfer view 2020-04-23 18:11:23 +02:00
Ludovic Stephan 931b2c4e1f Refactor js code
Harmonize history denominations
* opegroups/transfergroups -> groups
* opes/transfers -> entries
* snake/camel case -> snake case
2020-04-23 18:11:23 +02:00
Ludovic Stephan b450cb09e6 Petit refactor 2020-04-23 18:11:23 +02:00
Ludovic Stephan 8d11044610 Fix: pas d'erreur quand pas de compte K-Fêt 2020-04-23 18:11:23 +02:00
Ludovic Stephan 677ba5b92e Fix : le ws K-Psul remarche 2020-04-23 18:11:23 +02:00
Ludovic Stephan 7438445110 Last tweaks 2020-04-23 18:11:23 +02:00
Ludovic Stephan 49ef8b3c15 Pas besoin de ws pour les suppressions 2020-04-23 18:11:23 +02:00
Ludovic Stephan af0de33d4c Suppression des opérations et des transferts 2020-04-23 18:11:23 +02:00
Ludovic Stephan 41ad2a15ac Update websocket data 2020-04-23 18:11:23 +02:00
Ludovic Stephan bf117ec070 Renvoie les transferts dans l'historique 2020-04-23 18:11:23 +02:00