Commit graph

163 commits

Author SHA1 Message Date
Lucie Galland
e36311774b fix image 2021-06-08 13:31:41 +02:00
Lucie Galland
de50d9b187 fix 2021-06-07 13:50:57 +02:00
Lucie Galland
b260ae8eb8 add photo/video from site + choice instru in response event 2021-06-07 00:56:03 +02:00
Lucie Galland
d6036766c7 html minor corrections 2021-05-31 22:15:55 +02:00
Martin Pepin
9bd21283c0 Merge branch 'v1.1' into 'master'
v1.1

See merge request klub-dev-ens/Ernesto!12
2021-05-27 11:58:41 +00:00
Lucie Galland
ab120e5e63 navbar 2021-05-27 14:27:30 +02:00
Lucie Galland
7b19a581cf minor adjustements 2021-04-29 01:00:17 +02:00
Lucie Galland
777bd930c6 add migrations 2021-04-29 00:36:43 +02:00
Lucie Galland
0fbec31d14 black + isort 2021-04-29 00:33:58 +02:00
Lucie Galland
6ba168d286 corrections + class views 2021-04-29 00:27:33 +02:00
Lucie Galland
406f92098f listing d'instruments 2021-04-01 21:27:17 +02:00
Lucie Galland
5d1d3f8eff v1.1 2021-03-31 16:05:26 +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