Commit Graph

179 Commits

Author SHA1 Message Date
Emmy D'Anello 202f979403
Put secret key in env settings, fix security issue
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-01-13 19:59:57 +01:00
Emmy D'Anello e2679cf5e8
Add Haystack index name in env vars
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-01-13 19:33:31 +01:00
Emmy D'Anello 8222f3b781
Adapt search tests since the simple backend is not so permissive as ElasticSearch
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-01-13 18:47:17 +01:00
Emmy D'Anello dc56396012
Use elasticsearch only in production
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-01-13 18:32:30 +01:00
Emmy D'Anello f1d2acdc25
Remove whoosh in profit for Elasticsearch
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-01-13 18:28:45 +01:00
Emmy D'Anello a853be73c5
Temporary remove chat feature (maybe reintroduce a better one later)
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-01-13 17:04:45 +01:00
Emmy D'Anello 93a2e2436d
Drop Matrix support
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2024-01-13 16:49:49 +01:00
Emmy D'Anello 8245ba0063
Add Redis Channel Layer for the drawing system
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-12 00:10:17 +02:00
Emmy D'Anello 59268f2d1e
Add synthesis sheet template as DOCX format
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-11 22:23:30 +02:00
Emmy D'Anello 2ad7799b38
Fix the display of the draw button
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-11 22:20:15 +02:00
Emmy D'Anello 3d7a39a593
Only participants in a valid team can see the draw
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-10 10:02:37 +02:00
Emmy D'Anello 6ac36fdb69
Close database connections after 10 seconds (experimental)
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-07 22:02:37 +02:00
Emmy D'Anello 7e212d011e
Add comments and linting
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-05 17:52:46 +02:00
Emmy D'Anello 2840a15fd5
Add form to add juries in a pool
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-05 16:54:16 +02:00
Emmy D'Anello 9cfab53bd2
Add a lot of comments
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 19:52:44 +02:00
Emmy D'Anello 4357d51b9a
Display problem names
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 11:56:13 +02:00
Emmy D'Anello ac039c1073
Display draw tab only for authenticated users
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:53 +02:00
Emmy D'Anello 3717cd8b3f
Don't import models too soon
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:52 +02:00
Emmy D'Anello 5b1374bf1b
Add link to the drawing interface
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:52 +02:00
Emmy D'Anello 9aa19ad3ca
Fix tests
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:48 +02:00
Emmy D'Anello b9ce4c737c
First play with websockets
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:47 +02:00
Emmy D'Anello 7364d27b4b
Init new draw application
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:47 +02:00
Emmy D'Anello 19f41152ee
Use Django 4.1 (soon 4.2) to use the new async framework
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:46 +02:00
Emmy D'Anello f3d611913e
Run ASGI server instead of WSGI
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:46 +02:00
Emmy D'Anello 1d81213773
Move apps in main directory
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-04-04 10:25:46 +02:00
Emmy D'Anello ce25341496
Fix administration tab 2023-03-29 18:33:48 +02:00
Emmy D'Anello d7b293dc87
2022 -> 2023
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-03-16 14:31:14 +01:00
Emmy D'Anello ff414ea046
Add dark theme based on browser preference 2023-02-20 23:02:09 +01:00
Emmy D'Anello 91d39b44a2
Add possibility to load Matrix credentials from env configuration 2023-02-20 22:25:13 +01:00
Emmy D'Anello d3631877c4
Forgotten password link was invisible 2023-02-20 22:13:03 +01:00
Emmy D'Anello 502b066311
Commit bootstrap-select 2023-02-20 21:47:08 +01:00
Emmy D'Anello 69b94c9493
Render only useful content when displaying modals 2023-02-20 21:14:15 +01:00
Emmy D'Anello a8f24b6581
Use bootstrap-select selector when it is necessary 2023-02-20 21:14:15 +01:00
Emmy D'Anello e156ed6111
Remove jquery dependency code (keep it for bootstrap-select) 2023-02-20 21:14:15 +01:00
Emmy D'Anello ea00657405
Use Bootstrap 5 instead of Bootstrap 4 2023-02-20 21:14:15 +01:00
Emmy D'Anello 5abca36498
Drop turbolinks support, too useless 2023-02-20 21:14:15 +01:00
Emmy D'Anello 731dfc049f
Better select widget when searching organizers 2023-02-20 21:14:15 +01:00
Emmy D'Anello 0f2c44331c
Add vaccine sheet field, closes #18 2023-02-20 00:38:57 +01:00
Emmy D'Anello 600ebd087e
Add forbidden trigrams, closes #17 2023-02-19 23:13:58 +01:00
Emmy D'Anello 4a39d206d5
Update dead name 2023-02-19 19:25:37 +01:00
Emmy D'Anello 2faade0156
Remove bootstrap-datepicker-plus dependency, use native HTML selectors 2023-02-19 19:21:42 +01:00
Emmy D'Anello 444bea2440
Fix tests
Update index page

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
2023-01-10 22:35:48 +01:00
Emmy D'Anello 63a10c1be5
Drop django-address dependency and keep only street, zip code and city (/!\ Breaking commit, can't upgrade) 2023-01-10 20:24:06 +01:00
Yohann D'ANELLO 1ef981571d
Parce que les gens ragent 2022-02-05 21:13:18 +01:00
Yohann D'ANELLO 30a8676555
Update 2022 2022-02-04 18:10:07 +01:00
Yohann D'ANELLO 7515c2bec6
Define default auto field for Django 3.2 2022-02-04 15:25:40 +01:00
Yohann D'ANELLO cce5e7c33c
Hello 2022 2022-02-04 15:07:41 +01:00
Yohann D'ANELLO da1d7a83fa
Remove header 2022-02-04 14:31:01 +01:00
Yohann D'ANELLO fb4edccc40
Use full jquery lib
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-13 09:55:59 +02:00
Yohann D'ANELLO f8297eebe1
Fix font awesome static files
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-12 22:52:14 +02:00
Yohann D'ANELLO e41ad64b54
Use local static files 2021-04-12 22:41:50 +02:00
Yohann D'ANELLO aa69e6eadb
Run matrix script into an async loop 2021-04-04 16:02:37 +02:00
Yohann D'ANELLO 13414ee0c5
Organizers can upload documents for team members 2021-03-18 18:36:37 +01:00
ynerant c32f9d2b17
People are stupid (or website is not enough documented, idk) 2021-02-07 16:45:17 +01:00
ynerant d9fbd5564e
Volunteers can add organizers 2021-02-06 19:26:19 +01:00
Yohann D'ANELLO 55c3a5fcc8
A team has at least 4 members and up to 6 2021-01-24 23:53:58 +01:00
Yohann D'ANELLO ab1c5a276a
Update Animath logo 2021-01-23 20:24:14 +01:00
Yohann D'ANELLO d9a2b31606
Django filters was missing 2021-01-23 13:43:31 +01:00
Yohann D'ANELLO 01a6e28623
Fix matrix avatar 2021-01-23 13:41:43 +01:00
Yohann D'ANELLO ea38c06631
Fix the permission to see a user page 2021-01-23 11:02:26 +01:00
Yohann D'ANELLO 0cd7ff512f
Unleash the beast 2021-01-22 23:24:35 +01:00
Yohann D'ANELLO f36c36b96e
Les gens sont trop rapides 2021-01-22 19:28:58 +01:00
Yohann D'ANELLO ce206998f0
Teams must send their motivation letter 2021-01-22 09:40:28 +01:00
Yohann D'ANELLO 74c0260593
Don't re-upload a new avatar every time 2021-01-22 08:57:01 +01:00
Yohann D'ANELLO 5d524b263b
Use the server email in the from header 2021-01-21 23:43:59 +01:00
Yohann D'ANELLO 72fe279f15
The health sheet is required only for children 2021-01-21 21:55:19 +01:00
Yohann D'ANELLO ae520f791c
Generate authorization templates as PDF 2021-01-21 21:44:43 +01:00
Yohann D'ANELLO 56ad352e64
Integrate BigBlueButton and whiteboard in pool rooms 2021-01-21 17:44:18 +01:00
Yohann D'ANELLO 4821b090ae
Update on index page 2021-01-19 01:06:08 +01:00
Yohann D'ANELLO 96adb01edb
Display scholarship attestation 2021-01-18 23:39:02 +01:00
Yohann D'ANELLO 0607398491
This is TFJM², not Corres2math 2021-01-18 15:52:09 +01:00
Yohann D'ANELLO 46ba112612
Use new logo 2021-01-18 01:28:33 +01:00
Yohann D'ANELLO daac77ba57
Linting 2021-01-17 16:23:48 +01:00
Yohann D'ANELLO c151ff3611
Protect pages (not tested) 2021-01-17 12:40:23 +01:00
Yohann D'ANELLO 71169048fb
Update contact address 2021-01-14 21:22:24 +01:00
Yohann D'ANELLO 170326d503
Use a selector to choose a problem number 2021-01-12 18:02:00 +01:00
Yohann D'ANELLO e51674e76c
Display solutions and syntheses 2021-01-12 17:56:40 +01:00
Yohann D'ANELLO b4e7ec6550
There is no video in the TFJM² 2021-01-12 15:42:32 +01:00
Yohann D'ANELLO 4e29b4830a
Create tournaments 2020-12-31 12:13:42 +01:00
Yohann D'ANELLO 03144ae58e
Display the tournament list 2020-12-30 12:13:05 +01:00
Yohann D'ANELLO e2e2c97584
Add protected pages to view authorizations 2020-12-30 11:03:12 +01:00
Yohann D'ANELLO e3a32a41f9
Upload all authorizations 2020-12-29 16:14:56 +01:00
Yohann D'ANELLO 72753edf64
Address, responsible and phone number were missing. Use Google Maps API to query the address, to ensure to have valid addresses 2020-12-28 23:59:21 +01:00
Yohann D'ANELLO b6c2a43a1b
Drop indexed files 2020-12-28 19:38:10 +01:00
Yohann D'ANELLO f1dbdde78d
Commit migrations, they should not be too much updated 2020-12-28 19:28:53 +01:00
Yohann D'ANELLO 63f139be45
Wrong import order 2020-12-28 19:19:01 +01:00
Yohann D'ANELLO 0079b6d96d
Don't use external libraries when running tests 2020-12-28 19:12:07 +01:00
Yohann D'ANELLO 7ef602c6cd
Drop a lot of Corres2math content 2020-12-28 18:52:50 +01:00
Yohann D'ANELLO 03eca29316
Clone Corres2math platform 2020-12-27 11:49:54 +01:00
Yohann D'ANELLO 3d9bd88a41
Reset project 2020-12-27 11:14:35 +01:00
Yohann D'ANELLO b7cb5aa776 Use mailer to send mails 2020-09-19 21:13:45 +02:00
Yohann D'ANELLO dac4460c68 Better static files 2020-09-19 20:59:52 +02:00
Yohann D'ANELLO c7f753cf09 🌱 Add README, improve settings 2020-07-13 21:27:36 +02:00
Yohann D'ANELLO dd62a32e08 Use an alpine image rather than Debian buster: this is smaller 2020-06-03 20:42:12 +02:00
Yohann D'ANELLO dd4171b0e8 Fix extra token accesses when someone is already logged 2020-05-30 20:47:54 +02:00
Yohann D'ANELLO 6d01298e24 Authenticated juries get access with the extra token access 2020-05-25 22:12:05 +02:00
Yohann D'ANELLO 3d9e7136ac Add extra access to juries 2020-05-25 18:27:07 +02:00
Yohann D'ANELLO a561364bd0 Comment code, fix minor issues 2020-05-11 14:08:19 +02:00
Yohann D'ANELLO 397f243c82 Remove wrong comments 2020-05-08 16:07:51 +02:00
Yohann D'ANELLO fc0b87e690 Add new french shortcuts 2020-05-07 00:10:35 +02:00