Commit Graph

94 Commits

Author SHA1 Message Date
e630bc3d75 Improve bootstrap 4 support 2018-01-17 18:52:46 +01:00
838918da66 Exercice: add overview field
This field is use as a high level description of the exercice. It will be
displayed on the public interface only: not to players.
2018-01-17 18:52:45 +01:00
830dacd6f5 Save MCQ diff 2018-01-17 18:52:45 +01:00
b079f7891c admin: sync mcq/ucq 2018-01-17 18:52:45 +01:00
d6012dfffb frontend: display MCQ in interface 2018-01-17 18:52:45 +01:00
6903c91df2 Able to check MCQ 2018-01-17 18:52:44 +01:00
c36cd202e8 libfic: start working on MCQ: structures done 2018-01-17 18:52:44 +01:00
9a9d5fcda4 libfic: Type key is now Label 2018-01-17 18:52:41 +01:00
ae7e1ede14 libfic: increase authors field size 2018-01-17 18:52:40 +01:00
38d7cb00b6 libfic: add function to get exercice by title 2018-01-17 18:52:40 +01:00
f97e114a81 libfic: add functions to wipe {files,hints,keys} 2018-01-17 18:52:40 +01:00
38a0f4c9b5 libfic: Add new row in exercices table, to store relative path to exercice 2018-01-17 18:52:40 +01:00
38606f28c7 libfic: new function to get theme by name 2018-01-17 18:52:39 +01:00
8f7de926d3 admin: Implement sychronization backends
We are now able, depending on configuration, to retrieve files from either WebDAV or local file system.
2018-01-17 18:52:39 +01:00
6237f7755a Change Key.Value to Key.Checksum 2018-01-17 18:52:39 +01:00
b84fe87f48 New functions to get file by path 2018-01-17 18:52:39 +01:00
cd5a9d06ea Define global default value at initialisation 2018-01-17 18:52:39 +01:00
e6e6e6c206 Use BLAKE2b checksum instead of SHA-1 and SHA-512 2018-01-17 18:52:38 +01:00
41400a8710 admin: add history route in API 2018-01-17 18:52:37 +01:00
17d983221d libfic: split team removal in two requests 2018-01-17 18:52:36 +01:00
4a97b06520 Set SQL_MODES, waiting https://jira.mariadb.org/browse/MDEV-10426 to be solved 2018-01-17 18:52:35 +01:00
d0f588e47d Generate DNS from env 2018-01-17 18:52:34 +01:00
4f6d4a82b0 db: add constraints to avoid multiple records of unique values 2018-01-17 18:52:32 +01:00
7597fcfe5b admin: add button and route to reset some parts 2018-01-17 18:52:32 +01:00
7478051425 admin: interface to edit teams 2018-01-17 18:52:32 +01:00
cab95b7985 libfic: new function to retrieve exercices from a hint 2018-01-17 18:52:32 +01:00
4fe641a9f5 change the way themes are stored in stats 2018-01-17 18:52:31 +01:00
544bbb745c admin: new route /members/ 2018-01-17 18:52:31 +01:00
b8b1f14806 admin: restore function to add team and members 2018-01-17 18:52:31 +01:00
8e91e7edbe admin: sanitize use of InitialName when needed 2018-01-17 18:52:30 +01:00
49933059f3 certificates: avoid error on noexec partition 2018-01-17 18:52:30 +01:00
b42016c74a Coefficients transit and display on UI 2018-01-17 18:52:29 +01:00
21e4b04c19 frontend: dedicate a field in JSON to file hint 2018-01-17 18:52:29 +01:00
b772a22705 Hints can something else than text 2018-01-17 18:52:29 +01:00
9dd376ba22 libfic: refactor rank/points SQL query 2018-01-17 18:52:28 +01:00
91182b1877 admin: Improve CA API 2018-01-17 18:52:28 +01:00
1c879fe50e squash! WIP: apply a coeff on given points 2018-01-17 18:52:14 +01:00
0cde350c5e WIP: apply a coeff on given points 2018-01-17 18:51:54 +01:00
10fe40e4a8 Settings are now given through TEAMS/settings.json instead of been given through command line arguments 2018-01-17 18:51:54 +01:00
37310e41f5 New rank and score calculation 2018-01-17 18:51:54 +01:00
1bd403cd8c Handle file import digest 2018-01-17 18:51:53 +01:00
c57b612205 Split team.go into multiple files 2018-01-17 18:51:53 +01:00
b6782962f1 [admin] Add events 2018-01-17 18:51:53 +01:00
2e718b22b6 Merge exercices API routes 2018-01-17 18:51:52 +01:00
d1c5a545d9 backend: can open hint 2018-01-17 18:51:51 +01:00
e76d055bdb Partial resolution of exercices 2018-01-17 18:51:51 +01:00
25bf34e82c Multiple hints 2018-01-17 18:51:50 +01:00
636ab65990 backend: new option that unlock all challenges 2017-11-25 15:01:01 +01:00
384b6cd212 themes: don't expect authors to be dirty 2017-11-25 15:01:01 +01:00
e0a1aeb053 admin: add ability to add files from local storage 2017-11-25 15:00:54 +01:00