1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 10:52:14 +02:00
Commit Graph

589 Commits

Author SHA1 Message Date
274e988139 We want to avoid that a team chooses twice a same problem, not to wait an infinite loop
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:45 +02:00
5dfa2e6ae3 Add reverse-proxy headers
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:45 +02:00
7b3b3f94a2 Add websockets as dependency
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:45 +02:00
aa2542b1dd Fix duplicate problem check
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:44 +02:00
fc0f7620c0 Display draw tab only for authenticated users
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:44 +02:00
fdc6cffefb Don't import models too soon
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:44 +02:00
5bbf673458 Fix translation
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:44 +02:00
cb4b77f524 Teams can't select a same problem for the two days
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:44 +02:00
013d1119f4 Add link to the drawing interface
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:44 +02:00
c0477242fe In a 5-teams pool, the order of two teams that present the same problem is random
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:44 +02:00
879847d057 Make all invisible when a draw is aborted
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:44 +02:00
a4b689d9c2 Remove Python 3.9 compatibility (I love match/case)
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:43 +02:00
518f5339ef Add continue button for the final tournament
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:43 +02:00
9f72ae468d Fix update notes modal
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:43 +02:00
2d9201bb0c Add export button
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:43 +02:00
6d8a11eab9 Translate messages from websockets
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:43 +02:00
57312887d3 Reorder teams for 5-teams pools
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:43 +02:00
9326bef4e1 Add margins
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:43 +02:00
0e95301147 Problems can be accepted or rejected. Draw can go to the end
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:42 +02:00
2e209d3c85 Teams can draw a problem
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:42 +02:00
a8419a6192 Add Abort button
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:42 +02:00
75e1f519e4 Add messages for better understanding
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:42 +02:00
f90b3d419e Update translations
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:42 +02:00
33389f5cd0 Auto-generate tables
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:42 +02:00
0058ab504a Draw dices
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:42 +02:00
3a37b1e5f7 Prepare template for the system
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:41 +02:00
6f70a8b8db Fix errors and better tab usage
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:41 +02:00
bae9e75638 First interface to start draws
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:41 +02:00
09dc1e1e61 Update database models and translations
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:41 +02:00
90f4d7ff26 Fix tests
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:41 +02:00
74a27a533d Prepare database model
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:41 +02:00
6dd8043177 Fix tox
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:41 +02:00
42b7da05e7 First play with websockets
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:40 +02:00
ad31da45e5 Don't trigger signals on raw imports
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:40 +02:00
c7d7f6d714 Init new draw application
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:40 +02:00
36a74a56c8 Use Django 4.1 (soon 4.2) to use the new async framework
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:40 +02:00
f20e41cf51 Run ASGI server instead of WSGI
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:40 +02:00
6190b2cad3 Move apps in main directory
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-31 18:28:40 +02:00
fc6e2593b4 PdfFileReader is deprecated, replace by PdfReader 2023-03-29 18:34:55 +02:00
ce25341496 Fix administration tab 2023-03-29 18:33:48 +02:00
57bddc5628 Fix Update Payment modal
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-16 14:37:51 +01:00
d7b293dc87 2022 -> 2023
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-16 14:31:14 +01:00
ff414ea046 Add dark theme based on browser preference 2023-02-20 23:02:09 +01:00
91d39b44a2 Add possibility to load Matrix credentials from env configuration 2023-02-20 22:25:13 +01:00
d3631877c4 Forgotten password link was invisible 2023-02-20 22:13:03 +01:00
502b066311 Commit bootstrap-select 2023-02-20 21:47:08 +01:00
3efe5a2226 Linting 2023-02-20 21:14:16 +01:00
a2201e36fa Add crispy-bootstrap5 as dependency 2023-02-20 21:14:15 +01:00
69b94c9493 Render only useful content when displaying modals 2023-02-20 21:14:15 +01:00
a8f24b6581 Use bootstrap-select selector when it is necessary 2023-02-20 21:14:15 +01:00