Commit Graph

75 Commits

Author SHA1 Message Date
6acc752bd9 label flags: Increase allowed size 2024-04-19 11:48:55 +02:00
dc83efa868 sync: Better perform exception in exercices 2024-04-19 11:46:54 +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
aa0e7406c1 Detect theme and exercice language at runtime (not stored) 2024-04-19 11:46:52 +02:00
baa410e654 sync: Import labels of Label flags as Markdown 2024-04-19 11:46:52 +02:00
85027166d7 repochecker: Fix dependency loop detection 2024-04-19 11:46:51 +02:00
a8fa58e111 repochecker: Add loop dependency detection 2024-04-19 11:46:51 +02:00
f9e9bfcb75 repochecker: fix numerous general issues with exception inheritance 2024-04-19 11:46:51 +02:00
19daf69482 admin/sync: New syntax for flag dependency 2024-04-19 11:46:51 +02:00
cc37348aaa repochecker/epita: Check full numbered flag has type number 2024-04-19 11:46:51 +02:00
7b2603afb0 admin/sync: Able to filter on the second column 2024-04-19 11:46:51 +02:00
960122dfb6 Justified MCQ are back! 2024-04-19 11:46:51 +02:00
fb368d79d1 sync: Introduce repochecker-ack.txt to support check exceptions 2024-04-19 11:46:50 +02:00
c78545c18b sync: Report custom errors 2022-10-29 17:21:50 +02:00
e84b1d67cb Fix go vet 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
Élie BRAMI
a3144fac45 feat: Avoid question in label.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-12 23:12:23 +02:00
a414cd22c8 Handle optionnal flags 2022-06-01 12:56:43 +02:00
8b3fbdb64a admin: Use gin-gonic as router 2022-05-22 19:10:17 +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
252ff33b83 sync: Allow Markdown in flag help 2022-01-21 09:00:22 +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
8a6d480d17 sync: Make value lowercase if flag is not case sensitive 2021-12-11 02:02:06 +01:00
49664c3dfe Implement radio flag type 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
495b08463f sync: Check that UCQ value is not 'true' nor 'false' 2021-11-14 17:30:29 +01:00
74e8c3801a fic: Add Order, Help and Type values in struct 2021-08-30 18:33:14 +02:00
8e8fa7c61c sync: use Separator attribute
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-11 21:03:12 +01: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
adb424ea03 Use fmt.Errorf 2020-04-15 07:39:38 +02:00
23b6b2b005 admin: handle case insensitive ucq 2020-01-30 18:55:56 +01:00
4f6480d7f8 sync: add some precision around Empty flags detection 2020-01-23 18:26:30 +01:00
769158a9d7 repochecker: add new option -skipfiledigests to speed up the checks and avoid downloading lots of content 2020-01-23 18:26:30 +01:00
aba311aebd sync: detect bad label wording 2020-01-23 18:26:30 +01: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
f3a34c00db sync: implement hint dependency on flags 2020-01-17 14:57:03 +01:00
d97ecde3fb sync: return binding between challenge.txt IDs and DB item 2020-01-17 14:57:03 +01:00
97a3aa713f sync: fix hash computation by factorizing 2019-11-25 14:52:19 +01:00
0766fbe480 sync: don't rely on map order to import flags
Sometimes, maps order doesn't match file order. Return flag ID as
list to keep the order.
2019-11-25 14:52:19 +01:00
f2fc142869 api: remote route takes advantage from builds functions 2019-11-25 14:52:19 +01:00
ca891cd9b2 sync: Fix non-import of MCQ during sync 2019-11-25 14:52:19 +01:00
6265f85149 sync: Implement vector flags 2019-11-25 14:52:19 +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
4039a394b5 sync: Extract function that import flags from importer 2019-07-10 13:09:08 +02:00