ef1793a348
Avec une seule majuscule
2021-07-01 10:29:54 +02:00
2d677b2093
Utilise des callables pour les choix
2021-07-01 10:29:14 +02:00
f70eacfc37
Déplace le choix de la promo dans le formulaire
2021-06-27 00:23:49 +02:00
Ludovic Stephan
6b316c482b
Remove obsolete section
2021-06-17 17:22:17 +02:00
Ludovic Stephan
4060730ec5
Remove logging
2021-06-17 10:49:35 +02:00
Ludovic Stephan
4326ba9016
Oublis de renaming
2021-06-17 10:42:15 +02:00
Ludovic Stephan
4205e0ad0e
Tests
2021-06-17 10:42:15 +02:00
Ludovic Stephan
964eec6ab1
Adapte le JS aux nouvelles erreurs
2021-06-17 10:42:13 +02:00
Ludovic Stephan
29236e0b0e
Nouvelle gestion des erreurs JSON
2021-06-17 10:40:51 +02:00
Ludovic Stephan
1939a54fef
Tests du nouveau comportement
2021-06-17 10:40:51 +02:00
Ludovic Stephan
348881d207
Migration
2021-06-17 10:40:51 +02:00
Ludovic Stephan
ef8c1b8bf2
Nouveau fonctionnement des négatifs
2021-06-17 10:40:51 +02:00
Ludovic Stephan
6a11139588
Fix tests
2021-06-15 16:52:56 +02:00
Ludovic Stephan
a34b83c236
Use backend to enforce frozen accounts
2021-06-15 16:52:50 +02:00
Ludovic Stephan
02584982f6
gnagnagna
2021-06-15 14:48:35 +02:00
Ludovic Stephan
7bf0c5f09e
Fix frozen forms
2021-06-15 14:07:43 +02:00
Ludovic Stephan
b9aaf6a19c
Fix test
2021-06-15 14:07:43 +02:00
Ludovic Stephan
16dee0c143
Remove print
2021-06-15 14:07:43 +02:00
Ludovic Stephan
a947b9d3f2
Fix decorator
2021-06-15 14:07:43 +02:00
Ludovic Stephan
93d283fecb
Remove unused permission
2021-06-15 14:07:43 +02:00
Ludovic Stephan
63738e8e02
Frozen error display
2021-06-15 14:07:40 +02:00
Ludovic Stephan
1e44550e12
New frozen function
2021-06-15 14:05:39 +02:00
Ludovic Stephan
4136cb6868
Unfreeze every account
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
7d21a5a1fc
On supprime des sélecteurs inutiles
2021-05-05 01:57:46 +02:00
71878caf2c
On modifie le curseur quand on survole un compte dans l'autocomplete
2021-05-05 00:03:52 +02:00
Ludovic Stephan
7171a7567c
Remove double negative
2021-05-04 21:43:48 +02:00
Ludovic Stephan
339223bec0
Black
2021-05-04 18:12:47 +02:00
Ludovic Stephan
d62a8d61de
Search fix and CSS update
2021-05-04 17:52:13 +02:00
Ludovic Stephan
f6c83dc692
FINALLY fix this f***ing whitespace mess
2021-05-04 17:52:13 +02:00
Ludovic Stephan
a984d1fd6f
Clarity
2021-05-04 17:52:13 +02:00
Ludovic Stephan
f901ea9396
Remove useless kpsul.html code
2021-05-04 17:52:13 +02:00
Ludovic Stephan
17d96f1775
New account manager logic
2021-05-04 17:52:13 +02:00
Ludovic Stephan
c10e5fe45c
Refactor Account model a bit
2021-05-04 17:52:13 +02:00
Ludovic Stephan
b48d32f4bc
Remove limit for purchases
2021-04-16 16:42:12 +02:00
Tom Hubrecht
e36e88e77a
Merge branch 'Aufinal/no_warnings' into 'master'
...
Fix : plus de warnings chelous pendant les tests
See merge request klub-dev-ens/gestioCOF!495
2021-03-17 22:12:01 +00:00
Ludovic Stephan
c14c2d54a5
More general forbidden test
2021-03-16 23:04:03 +01:00
Ludovic Stephan
472a44c30f
Remove useless buttons
2021-03-03 23:11:39 +01:00
Ludovic Stephan
f9958e4da0
Fix : plus de warnings chelous pendant les tests
2021-02-28 02:35:40 +01:00
Ludovic Stephan
47f406e09e
Fix tests
2021-02-23 22:52:39 +01:00
Ludovic Stephan
1450b65dcd
Rework complet de account_update
2021-02-23 22:52:39 +01:00
Ludovic Stephan
aac94afcd0
Améliore le formulaire de mdp K-Fêt
2021-02-23 22:52:39 +01:00
Ludovic Stephan
209360f535
Delete self-update form
2021-02-23 22:52:39 +01:00
Ludovic Stephan
b224fedf28
Fix frozen account display
2021-02-23 22:52:39 +01:00
Ludovic Stephan
1ab071d16e
LINT
2021-02-23 22:52:27 +01:00
Ludovic Stephan
1cf6f6f3e7
Fix migration conflict
2021-02-23 22:41:04 +01:00
Ludovic Stephan
a421bec625
Fix templates
2021-02-23 22:33:00 +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
1183e50f60
Fixed tests
2021-02-19 13:48:12 +01:00
Dorian Lesbre
a8de7e0ae0
makemigrations
2021-02-19 13:38:36 +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
fa8c57269c
Added help_text to history form
2021-02-19 10:32:12 +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
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
4bc56d34e0
Fix tests
2021-01-21 21:08:57 +01:00
Ludovic Stephan
79f0757e9f
Fix kfet stats
2021-01-21 20:55:23 +01:00
Martin Pépin
681507f211
Happy new year!
2021-01-06 21:31:47 +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
7324a72e6e
Merge branch 'kerl/make_kfetloaddevdata_idempotent' into 'master'
...
Rend kfetloaddevdata idempotent
See merge request klub-dev-ens/gestioCOF!474
2020-12-04 17:17:38 +01:00
Ludovic Stephan
b9699637aa
Message de confirmation plus clair
2020-12-04 17:01:25 +01:00
Ludovic Stephan
521be6db85
Tests
2020-12-04 17:01:25 +01:00
Ludovic Stephan
f3701d91fc
Url and template for InventoryDeleteView
2020-12-04 17:01:25 +01:00
Ludovic Stephan
59dacda37d
Inventory deletion view
2020-12-04 17:01:25 +01:00
Martin Pépin
5d22a4cac4
Rend kfetloaddevdata idempotent
...
Problème :
Le script assigne des trigrammes 001, 002, 003, etc aux comptes COF des
Gaulois et des Romains en utilisant l'ordre du queryset
CofProfile.objects.all().
L'ordre des comptes dans le queryset n'est pas spécifié et peut varier
d'une exécution à l'autre, ça pose problème dans la suite :
Account.objects.get_or_create(trigramme=trigramme, cofprofile=profile)
Cette command essaie de créer un nouveau trigramme pour certains comptes
quand l'ordre change.
Solution :
Ordonner le queryset.
2020-12-04 12:44:09 +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
Martin Pepin
84ff0d7182
Merge branch 'Aufinal/history_form' into 'master'
...
On utilise un vrai formulaire pour l'historique
Closes #242
See merge request klub-dev-ens/gestioCOF!461
2020-09-17 21:04:42 +02:00
Ludovic Stephan
d965050563
Fix tests again
2020-09-16 19:31:10 +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
46f447ec5d
Formulaires pour nettoyage
2020-09-16 17:16:14 +02:00
Ludovic Stephan
aa955a06ef
Fin des adaptations
2020-09-15 20:05:54 +02:00
Ludovic Stephan
a9eb32217f
Adapte history.js pour serialize()
2020-09-15 20:05:32 +02:00
Ludovic Stephan
c7998f56f0
Datetimepicker tweaks
2020-09-15 20:05:06 +02:00
Ludovic Stephan
a6e58dcd68
On utilise le render par défaut
2020-09-15 20:04:35 +02:00
Ludovic Stephan
49591fa67e
Use form to clean data
2020-09-15 20:03:37 +02:00
Ludovic Stephan
9f9724b1d1
Arrow function works now
2020-09-15 19:57:27 +02:00
Ludovic Stephan
205dc93f4b
FilterHistoryForm est un formulaire décent
2020-09-15 19:40:45 +02:00
Ludovic Stephan
43a2f8db53
Use arrow functions everywhere for consistency
2020-09-15 16:44:32 +02:00
Ludovic Stephan
ba4cc01ed4
Fix formatting
2020-09-15 16:37:41 +02:00
Ludovic Stephan
11d94ecba8
Fix this
shenanigans
2020-09-15 16:34:19 +02:00
Martin Pepin
ba6ddfc516
Merge branch 'Aufinal/kfet-auth' into 'master'
...
Groupes et perms K-Fêt
See merge request klub-dev-ens/gestioCOF!438
2020-09-07 20:09:19 +02:00
Ludovic Stephan
c5d7eb9d30
Move permission handling to loadkfetdevdata
2020-09-07 14:57:41 +02:00
Ludovic Stephan
d3185f25c3
Black
2020-09-07 14:57:41 +02:00
Ludovic Stephan
007b5006d4
Use convenience imports
2020-09-07 14:57:41 +02:00
Ludovic Stephan
2d36c85085
Fix dev data
2020-09-07 14:57:41 +02:00
Ludovic Stephan
d6fa738a25
Fix tests
2020-09-07 14:57:41 +02:00
Ludovic Stephan
c145191e55
Use new models and mixins
2020-09-07 14:57:41 +02:00
Ludovic Stephan
91852bd4a0
Template fixes
2020-09-07 14:57:41 +02:00
Ludovic Stephan
e92d50593c
New models
2020-09-07 14:57:41 +02:00