Commit Graph

100 Commits

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