Commit Graph

105 Commits

Author SHA1 Message Date
nemunaire 7b300d4ffe backend: Check file error
continuous-integration/drone/tag Build is failing Details
continuous-integration/drone/push Build is failing Details
2022-06-08 17:13:41 +02:00
nemunaire 0a8d0dad30 Can Unlock challenge up to a certain level 2022-06-08 16:47:03 +02:00
nemunaire cfde1689cc Remove from frontend the settings distribution role 2022-06-08 02:57:29 +02:00
nemunaire 46d1bb21f7 backend: Also generate scores.json for each team 2022-06-06 13:01:09 +02:00
nemunaire a414cd22c8 Handle optionnal flags 2022-06-01 12:56:43 +02:00
nemunaire e8f6a03cd9 settings: Rename struct to remove FIC occurence 2022-05-01 22:15:16 +02:00
nemunaire 15afbb8b87 settings: Use pointer 2022-05-01 21:32:19 +02:00
nemunaire c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
nemunaire 105034ec8c Add global score coefficient 2021-09-09 11:33:59 +02:00
nemunaire cd73622cae New settings to only count bad submissions 2021-09-09 11:33:59 +02:00
nemunaire de03863f1b backend: Also remove file if no description given 2021-09-09 11:33:59 +02:00
nemunaire 63de5d64b1 fic: Pick HSL function to generate random colors 2021-09-08 02:07:37 +02:00
nemunaire 74e8c3801a fic: Add Order, Help and Type values in struct 2021-08-30 18:33:14 +02:00
nemunaire 8f1b44e3dd New env variable FIC_BASEURL to change the base URL 2021-07-22 16:17:03 +02:00
nemunaire a93d6c8c49 backend: fix bad printf format, thanks to go vet
continuous-integration/drone/push Build is passing Details
2020-11-13 15:25:16 +01:00
nemunaire 64b9e9a251 New option to disallow team creation: join only 2020-05-16 03:51:36 +02:00
nemunaire adb424ea03 Use fmt.Errorf 2020-04-15 07:39:38 +02:00
nemunaire 429cd3010c backend: fix XSS in team name and events 2020-01-30 19:00:14 +01:00
nemunaire 66a72633d6 dashboard: generate a special teams.json with members for trophee scene 2020-01-30 19:00:14 +01:00
nemunaire a0b19f6184 backend: handle SIGUSR1 to retreat all files left in submissions directory and SIGUSR2 to dump statistics 2020-01-30 18:55:57 +01:00
nemunaire edbac43423 frontend: allow players to respond to issues 2020-01-30 18:55:56 +01:00
nemunaire a3ffdeae17 frontend: display issues related to the team 2020-01-30 18:55:56 +01:00
nemunaire 9186bbc229 frontend: add players possibility to report problems with exercices 2020-01-23 18:27:14 +01:00
nemunaire a6e799a635 backend: also create .tmp directory required by rsync 2020-01-23 18:26:30 +01:00
nemunaire 56053f3350 backend: implement hint dependencies 2020-01-17 14:57:03 +01:00
nemunaire 6ad11e49d5 backend: add an identifier to each treated file 2020-01-17 14:57:03 +01:00
nemunaire 20f2597248 backend: fix a pointer reuse 2019-11-25 14:52:19 +01:00
nemunaire c2c5cf4ce3 backend: add parameter to launch a number of generation workers 2019-11-25 14:52:19 +01:00
nemunaire 6d72e6b970 Complete commit 75463dcebbcdabfba6416436e22f6ce639bd5635: if not configured, challenge should not be considered as started 2019-11-25 14:52:19 +01:00
nemunaire 2b75287d16 backend: multithread generation 2019-07-11 19:52:13 +02:00
nemunaire 15d108497e backend: check the team has access to the exercice/flag before doing the action 2019-02-06 03:40:49 +01:00
nemunaire 2b95995104 settings: add canJoinTeam parameter 2019-02-06 03:40:49 +01:00
nemunaire 48fcfec0d0 backend: use a new team field 'active', to avoid some team generation 2019-01-22 08:49:44 +01:00
nemunaire 7d9ad18f42 settings: new parameter to don't respect flag dependancies 2019-01-22 08:49:44 +01:00
nemunaire 4ee70a8781 settings: change param to enable/disable depends by the depth 2019-01-21 09:58:36 +01:00
nemunaire e57ff1be8d frontend: use the new set of icons for notification 2019-01-21 09:58:36 +01:00
nemunaire 8749a7c164 Make go vet -strictshadow mostly happy 2019-01-21 09:58:36 +01:00
nemunaire 75463dcebb backend: rely on configuration instead of started file to determine if the challenge is launched or not 2019-01-21 09:58:36 +01:00
nemunaire 4a4d0f634a settings: add new coefficient for all exercices 2019-01-21 09:58:36 +01:00
nemunaire 8e6b8829ea libfic: new way to handle exercice dependancies 2019-01-21 09:58:36 +01:00
nemunaire c5f8288f39 settings: add coefficient to hint and wchoices 2019-01-21 09:58:36 +01:00
nemunaire bcbf5b35cf backend: use TEAMS dir to resolve symlinks instead of relying on duplicates symlink in submissions 2019-01-21 09:58:35 +01:00
nemunaire 2582b9e208 backend: read links from TEAMS dir 2019-01-21 09:58:35 +01:00
nemunaire a66d6885e7 Refactor flags
Both QCM and Key are Flag
2019-01-21 09:58:35 +01:00
nemunaire ab67146c0f backend: new option --skipInitialGeneration to skip the full static files regeneration on start 2019-01-21 03:08:06 +01:00
nemunaire aa3750bb68 dashboard: improve general design (mostly events related) 2019-01-21 03:08:06 +01:00
nemunaire 78b6211b94 include id_theme in Exercice struct 2019-01-21 03:08:06 +01:00
nemunaire 2b0d16aa0d backend: format events with non-breakable spaces 2019-01-21 03:08:05 +01:00
nemunaire 910ec94fd8 Add a new setting to don't count same responses in scores 2019-01-21 03:08:05 +01:00
nemunaire 2daa04bb5f backend: wording defi instead of challenge 2019-01-21 03:08:05 +01:00