Commit Graph

48 Commits

Author SHA1 Message Date
954cf84f0f repochecker: Test number step are in phase with response precision
Closes: https://gitlab.cri.epita.fr/ing/majeures/srs/fic/server/-/issues/36
2024-04-19 11:48:58 +02:00
b6966d47ce sync: Replace []error by go.uber.org/multierr 2024-04-19 11:48:57 +02:00
1d4b79bf90 sync: Handle remote challenge files 2024-04-19 11:48:57 +02:00
78189aab37 Rename ValidatorRegexp to CaptureRegexp 2024-04-19 11:46:54 +02:00
2140939364 sync: Allow using challenge.toml instead of challenge.txt 2024-04-19 11:46:53 +02:00
3421286c9b repochecker/grammalecte: Check for forbidden strings (raw flags) in resolution.md 2024-04-19 11:46:52 +02:00
bd19d31577 New attribute "disclaimer" on downloadable files 2024-04-19 11:46:51 +02:00
c415e06237 libfic: Can indicate that an exercice is WIP 2024-04-19 11:46:51 +02:00
19daf69482 admin/sync: New syntax for flag dependency 2024-04-19 11:46:51 +02:00
a28f108b8a db: Add a published attribute, filled by challenge.txt 2024-04-19 11:46:51 +02:00
c78545c18b sync: Report custom errors 2022-10-29 17:21:50 +02:00
b0129e5239 sync: Use errors instead of string to report 2022-10-29 17:21:49 +02:00
a414cd22c8 Handle optionnal flags 2022-06-01 12:56:43 +02:00
560110ba5e sync: Expose GetFile and GetFileContent functions 2022-05-24 21:52:58 +02: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
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
57d351c6c1 sync: Allow free hint 2021-12-11 02:02:06 +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
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
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
99fcc99e82 sync: turn IgnoreCase on by default with reverse field CaseSensitive 2019-11-25 14:52:19 +01:00
33f7d104e4 sync: MCQ justifications are given in the choice tag directly 2019-11-25 14:52:19 +01:00
c8ece39cb2 sync: alert about unknown keys in challenge.txt 2019-07-21 22:38:45 +02:00
4039a394b5 sync: Extract function that import flags from importer 2019-07-10 13:09:08 +02:00
4f98536f91 sync: import MCQ justification as Flag 2019-01-21 09:58:36 +01:00
ff3dec059c sync: Refactor exercice flags 2019-01-21 09:58:35 +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
abd7fc6bef sync: randomize imports: themes order, MCQ and UCQ choices 2019-01-21 03:07:47 +01:00
c5b65289d3 Add new helper string related to justified MCQ flag 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
f183985982 admin: Add exercice's tags: sync, api, interface done 2018-12-08 20:35:36 +01:00
ff56ec9fe3 libfic/flag: add validatorRegexp field 2018-12-08 20:35:32 +01:00
f36e1c4e4d Stores ignorecase property for flags 2018-12-08 20:33:39 +01:00
1e2a74f3ca sync: add dependency on flag to download file 2018-12-08 03:23:08 +01:00
f9e1cf6691 sync: add a new section to allow locking file waiting flag validation 2018-12-08 03:23:08 +01:00
Thibaut
af55c5af9f sync: handle new sync format: extends challenge defines 2018-12-08 03:23:07 +01:00
Thibaut
d303ecfa38 sync: handle new sync format: filenames and locations 2018-06-22 20:34:35 +02:00
bcc598ebd5 Write docs! 2018-05-11 15:03:09 +02:00
ca41e4edee admin/sync: defines.txt can also contains informations about hints 2018-01-18 12:08:12 +01:00
332aa90931 admin/sync: handle exercice gain from toml file: defines.txt 2018-01-18 12:08:12 +01:00