Commit Graph

68 Commits

Author SHA1 Message Date
76606b3c80 checker: Ensure a flag is found before considering a good response 2024-04-19 11:49:00 +02:00
d9483ee98c libfic: Missing one ? 2024-04-19 11:48:59 +02:00
26c282138e Extract background color to continue image 2024-04-19 11:48:59 +02:00
398de21793 Apply standalone exercices settings 2024-04-19 11:48:59 +02:00
adb0e36dd4 Able to sync and export standalone exercices 2024-04-19 11:48:59 +02:00
a0bc832910 Theme can be optional: exercices can be standalone 2024-04-19 11:48:59 +02:00
28ad0fa791 fic: Can overwrite authors for each exercice 2024-04-19 11:46:54 +02:00
abe5ad61d4 fic: Exercice can have heading.jpg 2024-04-19 11:46:54 +02:00
4451e41285 New setting: introduce a decote/discount to exercice's gain 2024-04-19 11:46:52 +02:00
eb85b28f5b Add a disabled state to exercices 2024-04-19 11:46:52 +02:00
aa0e7406c1 Detect theme and exercice language at runtime (not stored) 2024-04-19 11:46:52 +02:00
c415e06237 libfic: Can indicate that an exercice is WIP 2024-04-19 11:46:51 +02:00
95aadffb2e fic: Use user order to sort exercices in interface 2022-10-29 17:21:50 +02:00
4b1b5445f7 backend: Don't consider non error in MCQ as good response 2022-06-08 16:49:28 +02:00
a414cd22c8 Handle optionnal flags 2022-06-01 12:56:43 +02:00
081ad1f928 fic: SaveNamedExercice on title and path 2022-01-21 08:02:23 +01:00
f8001653cd sync: Parse resolution.md 2021-12-11 11:20:44 +01:00
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
1a1343596a fic: Add theme recursive deletion 2021-12-11 02:02:06 +01:00
cd73622cae New settings to only count bad submissions 2021-09-09 11:33:59 +02:00
2246e00948 fic: Fix exercice deletion 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
f53a5dbcf9 admin: also delete useless QA content with exercice
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-11 19:38:57 +01:00
7ad36f6141 libfic: fix exercice delete cascade: bad db column name and dependancy 2020-09-06 12:36:11 +02:00
16abc95b4f Fix DB issues 2020-05-16 03:49:27 +02:00
d66de6fb3c libfic: avoid infinite loop in db 2020-01-30 18:55:57 +01:00
5df1cc6e93 admin: add some stats about exercices 2020-01-30 18:55:57 +01:00
4039a394b5 sync: Extract function that import flags from importer 2019-07-10 13:09:08 +02:00
4a4d0f634a settings: add new coefficient for all exercices 2019-01-21 09:58:36 +01:00
a66d6885e7 Refactor flags
Both QCM and Key are Flag
2019-01-21 09:58:35 +01:00
78b6211b94 include id_theme in Exercice struct 2019-01-21 03:08:06 +01:00
910ec94fd8 Add a new setting to don't count same responses in scores 2019-01-21 03:08:05 +01:00
dc4a4925e3 sync: refactor exercice synchronization 2019-01-21 03:08:05 +01:00
7f2ae673d0 sync: try to remove old exercice without any player try 2019-01-21 03:08:04 +01:00
21697f01ca New field for exercice to display a text after exercice validation 2019-01-21 03:08:04 +01:00
8c95782eff Implement and display headlines in interface 2019-01-21 03:08:02 +01:00
0f48b27a04 Avoid Atoi to avoid int convertion 2019-01-21 03:07:47 +01:00
3dcb233c3f handle justified MCQ in interface and submission 2019-01-21 03:07:47 +01:00
195490484c Change exported flags format in my.json 2019-01-21 03:07:47 +01:00
333bb408e1 backend: save the checksum of each try, to be able to detect duplicates after 2018-12-08 20:35:36 +01:00
44d335bc9f Add issue field for exercice, to be able to communicate about problem with exercice 2018-12-08 20:35:36 +01:00
ff56ec9fe3 libfic/flag: add validatorRegexp field 2018-12-08 20:35:32 +01:00
d21f3b0b83 Rename Exercice's Keys as Flags 2018-12-08 20:34:04 +01:00
bcc598ebd5 Write docs! 2018-05-11 15:03:09 +02:00
6d1ef0f51c admin: new route to fill URLIds if they are not defined 2018-05-11 05:27:50 +02:00
0c540a39eb frontend: beautiful URLs 2018-01-26 12:02:32 +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
6903c91df2 Able to check MCQ 2018-01-17 18:52:44 +01:00
9a9d5fcda4 libfic: Type key is now Label 2018-01-17 18:52:41 +01:00