Martin Pépin
7c281f926b
Prevent the 'change passwd' view from crashing
2020-09-12 19:08:32 +02:00
Martin Pépin
7a7979c91a
Remove empty tests.py files
...
Some of them were shadowing tests/ directories
2020-09-12 19:06:14 +02:00
Martin Pépin
c3f9b26aea
Show all events to logged-in users
2020-09-12 19:05:46 +02:00
Martin Pépin
8d3805a922
Fix ill-typed query ordering
2020-09-11 20:33:43 +02:00
Martin Pépin
4247730ce4
Event.calendrier is not a bool anymore
2020-09-11 20:23:23 +02:00
Robin Champenois
6bca22ca66
Merge branch 'devel' into 'master'
...
v1.0
See merge request klub-dev-ens/Ernesto!9
2020-09-10 15:06:54 +02:00
Lucie Galland
05d274981b
v1.0 - Nouvelle apparence, trombonoscope
2020-09-10 15:06:53 +02:00
Martin Pepin
95b748d23f
Merge branch 'add_licence' into 'master'
...
Ajout de LICENSE
See merge request klub-dev-ens/Ernesto!8
2020-02-28 14:49:50 +01:00
Robin Champenois
36a0df0548
Ajout de LICENSE
2020-02-17 20:25:05 +01:00
Martin Pépin
92804ec9a5
Update changelog
2020-01-09 18:07:02 +01:00
Martin Pépin
738658e472
Rewrite all pad views to class based views
2020-01-09 18:05:18 +01:00
Martin Pépin
c0c155fc94
Propositions: move all queries into views.py
2020-01-09 17:08:29 +01:00
Martin Pépin
8a74d543d4
Proposition.user is a User and not an ErnestoUser
2020-01-05 17:46:23 +01:00
Martin Pépin
9ddba47e83
Minor proposition tests cleanups
2020-01-05 17:27:31 +01:00
Martin Pépin
5d6e2c8b4f
Rewrite the PropositionDelete view
2020-01-05 17:22:33 +01:00
Martin Pépin
5381aba922
Remove the nb_{yes,no} fields
...
These fields duplicate information that is already present in the Answer
table. I guess they exist(ed) as an optimisation to avoid recomputing
the number of positive and negative answers per proposition each time
the list page is loaded. Given the small number of propositions we have
in practice and the extra housekeeping required to keep these fields up
to date, I consider simplicity matters more here.
2020-01-05 16:34:10 +01:00
Martin Pépin
9b6cc2b486
Refactor the Prop(osition) model
2020-01-05 15:58:16 +01:00
Martin Pépin
dbe54f075e
More robust tests for the propositions list view
...
Creating some data to populate the page revealed some bug in the
template while refactoring the Reponses/Answer model in the previous
commit.
2020-01-05 15:31:32 +01:00
Martin Pépin
6ef880339f
Refactor the Reponses model
2020-01-05 15:30:50 +01:00
Martin Pépin
88f62a56be
Factorize the code for propositions' answers
2020-01-05 12:03:41 +01:00
Martin Pépin
022583f0a9
Reimplement proposition list
2020-01-05 00:32:02 +01:00
Martin Pépin
dc2cd07d93
New implementation + tests for Prop creation
2020-01-05 00:18:31 +01:00
Martin Pépin
a0b307f829
Remove dead debug view
2020-01-04 23:39:13 +01:00
Martin Pépin
b611322d26
Version 0.2
2020-01-04 01:09:13 +01:00
Martin Pépin
07ba12dd26
Update changelog
2020-01-04 01:05:52 +01:00
Martin Pépin
d1eda9033d
Bump Django to 2.2.*
2020-01-04 01:02:33 +01:00
Martin Pépin
45ab8b55a2
Add a changelog file
2020-01-04 00:16:00 +01:00
Martin Pépin
5e5ca11115
Fix broken urls in propositions
2020-01-04 00:15:30 +01:00
Martin Pépin
1176bb1eec
Fix broken urls
2020-01-04 00:01:16 +01:00
Martin Pépin
2c6df31538
Fix event descriptions disappearance
2020-01-03 23:37:05 +01:00
Martin Pépin
d20ebd9f8d
only chef users can see the instrument count
2019-03-16 19:57:13 +01:00
Martin Pépin
ae2ba509d2
nicer tables? (bootstrap)
2019-03-16 19:44:19 +01:00
Martin Pépin
116c41709c
number of each instrument on the event view
2019-03-16 19:40:27 +01:00
Martin Pépin
1a935523c6
rewrite the event view in a much cleaner way
...
- Cleaner code, no locals
- Indentation in the template makes it readable!
2019-03-16 19:09:12 +01:00
Martin Pépin
fe06636502
remove duplicate code (view_eventbis)
2019-03-16 18:54:29 +01:00
Martin Pépin
7368f317ad
display doodlename in the admin interface
...
Fixes issue #14
2019-03-16 18:37:45 +01:00
Martin Pépin
e15bde964f
cosmetic: python-black
2019-03-16 18:32:49 +01:00
Martin Pépin
75e3d2e1c0
rm media/partitions from STATICFILES_DIRS
2019-03-16 18:25:41 +01:00
Martin Pépin
f1c5c121c9
(re?)add a missing test file
2019-03-16 18:22:17 +01:00
Martin Pépin
e2a4b126d5
fix a leftover old-style url name
2019-03-16 18:18:19 +01:00
Martin Pépin
f7fe0eaa71
fix erroneous reverse_lazy call
2019-03-16 18:16:29 +01:00
Martin Pépin
8d49252940
Fix url in response.html
2018-06-26 10:27:55 +02:00
Martin Pepin
10aa0b1321
Merge branch 'Evarin/fix-things' into 'master'
...
Fix bugs
See merge request cof-geek/Ernesto!7
2018-06-26 10:03:57 +02:00
Evarin
83dd7af9ca
Fix pad edition
2018-06-25 20:37:19 +02:00
Evarin
e5a35251cd
Répare et nettoie les URLs
2018-06-25 20:36:58 +02:00
Martin Pepin
8d74be936b
Merge branch 'Evarin/various-fixes' into 'master'
...
Deux petits débugs
See merge request cof-geek/Ernesto!6
2018-06-25 14:24:09 +02:00
Evarin
d50dff0c28
Fix pour la détection du champ username par Firefox
...
Étrangement, sur firefox, le mot de passe s'enregistre mais pas le nom d'utilisateur, c'est peu pratique.
Avec ces changement, c'est réparé.
2018-06-24 22:38:53 +02:00
Evarin
574b5186de
Répare le problème avec les espaces et extensions de fichier
2018-06-24 22:38:17 +02:00
Martin Pepin
217e644db3
Merge branch 'django2' into 'master'
...
Migration vers Django 2.0 + tests
See merge request cof-geek/Ernesto!4
2018-05-01 13:17:10 +02:00
Martin Pépin
4811f218e5
Fix last urls
2018-05-01 12:44:34 +02:00