Commit Graph

71 Commits

Author SHA1 Message Date
40a9b0d187 fic: Define gain even if the estimation fails 2022-02-04 17:32:55 +01:00
0355ec1a54 Improve logging of gain estimation errors 2022-02-03 17:36:59 +01:00
01b05aaed0 Implement label only flag
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-21 13:26:52 +01:00
5a79343af8 Implement sort_regexp_validator_groups 2022-01-21 08:44:51 +01:00
63d8ae4ecd settings: Add an option to show MCQ distance from good 2022-01-21 08:02:23 +01:00
0cc72712a4 Trim flags to avoid mistakes due to empty lines or espaces... 2021-12-11 11:20:44 +01:00
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
61fccca070 Implement unit property for flags 2021-12-11 02:02:06 +01:00
c3742ade4e Implement number flags 2021-12-11 02:02:06 +01:00
105034ec8c Add global score coefficient 2021-09-09 11:33:59 +02:00
815f4b9037 ui: Add a progress bar indicating total number of flags 2021-09-01 01:49:28 +02:00
ef899ee99b fic: Sort mixed flags by order before packing them 2021-08-30 20:03:17 +02:00
74e8c3801a fic: Add Order, Help and Type values in struct 2021-08-30 18:33:14 +02:00
a0155c6deb Replace old Help term by Placeholder
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-07 19:34:10 +02:00
47ba134b55 Implement flag type 'text': this is like keys, but on multiple lines 2020-01-23 18:26:30 +01:00
b4fa57f9c9 sync: introducing showlines property for vectors
It allows players to know in advance how many items the vector is composed.
2020-01-17 14:57:03 +01:00
6740256a32 sync: implement hint dependency on flags 2020-01-17 07:02:40 +01:00
97a3aa713f sync: fix hash computation by factorizing 2019-11-25 14:52:19 +01:00
4c7fd839b6 fixup! sync: Extract function that import flags from importer 2019-07-10 16:58:20 +02:00
c4aa220b2c frontend: don't reuse tries in public interface; use a separate field to store total tries count for an exercice; and display it in interface 2019-02-06 03:40:48 +01:00
db22c4af1b frontend: polish public version checks 2019-02-06 03:40:48 +01:00
7d9ad18f42 settings: new parameter to don't respect flag dependancies 2019-01-22 08:49:44 +01:00
b6769086c2 frontend: treat MCQ justification as key flag, instead of special case 2019-01-21 09:58:36 +01:00
c5f8288f39 settings: add coefficient to hint and wchoices 2019-01-21 09:58:36 +01:00
5d31ac6e04 libfic: implement more dependancies kind 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
78b6211b94 include id_theme in Exercice struct 2019-01-21 03:08:06 +01:00
c05609f85f fic: fix exercice indicated as solved 2019-01-21 03:08:04 +01:00
0e36a850cf Array flags can be non-ordered 2019-01-21 03:08:04 +01:00
dbf1985d25 Implement flag arrays 2019-01-21 03:08:04 +01:00
476f0f553c implement choices_cost 2019-01-21 03:08:04 +01:00
f9abdd23c6 Dependancy between flags 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
87471acf98 sync: import files in markdown, relative to theme/exercice dir 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
d40922629b Utilise a new field to send justifications instead of too complex guessing crap 2019-01-21 03:07:47 +01:00
69a866bbbf frontend: when a justification is valid, check the MCQ box 2019-01-21 03:07:47 +01:00
3dcb233c3f handle justified MCQ in interface and submission 2019-01-21 03:07:47 +01:00
01368dd6f4 frontend: expose UCQ choices 2019-01-21 03:07:47 +01:00
5c742834ea frontend: public part now validate through blake2b.js flags and MCQs 2019-01-21 03:07:47 +01:00
8ac2776cca Export help format string in my.json 2019-01-21 03:07:47 +01:00
195490484c Change exported flags format in my.json 2019-01-21 03:07:47 +01:00
d7553f0392 Handle justified MCQ in admin and sync part 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
d21f3b0b83 Rename Exercice's Keys as Flags 2018-12-08 20:34:04 +01:00
1e2a74f3ca sync: add dependency on flag to download file 2018-12-08 03:23:08 +01:00
bcc598ebd5 Write docs! 2018-05-11 15:03:09 +02:00
91663f55af my-public.json: prefer display overview instead of statement, if available 2018-05-11 05:27:51 +02:00
627c28cd94 libfic: don't show useless decimals to gain 2018-05-11 05:27:50 +02:00