Commit Graph

37 Commits

Author SHA1 Message Date
651d428223 sync: Prefer challenge.toml over challenge.txt
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-16 13:09:13 +02:00
7fbe2f3f8e repochecker: Ensure hint and choice_cost are not higher than gain 2024-04-19 11:48:59 +02:00
3bd6ecf11e sync: Place hints files in the files/ directory 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
dc83efa868 sync: Better perform exception in exercices 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
c5a059bd3b sync: Expose sync.Exists function 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
f9e9bfcb75 repochecker: fix numerous general issues with exception inheritance 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
b0129e5239 sync: Use errors instead of string to report 2022-10-29 17:21:49 +02:00
8b3fbdb64a admin: Use gin-gonic as router 2022-05-22 19:10:17 +02: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
adb424ea03 Use fmt.Errorf 2020-04-15 07:39:38 +02:00
7bec409ab8 sync: fix hint dependancies error not reported 2020-01-30 18:55:56 +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
f2fc142869 api: remote route takes advantage from builds functions 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
eb95d861d3 sync: Extract function that import hints from importer 2019-07-10 13:09:08 +02:00
07ec6cb613 sync: Use hint title if provided 2019-01-21 09:58:36 +01:00
0d8505131e sync: automatically add   before ponctuation 2019-01-21 03:08:06 +01:00
dc4a4925e3 sync: refactor exercice synchronization 2019-01-21 03:08:05 +01:00
87471acf98 sync: import files in markdown, relative to theme/exercice dir 2019-01-21 03:08:04 +01:00
c33390fa80 sync: import texts as Markdown 2018-12-08 03:23:08 +01:00
be7a159815 sync: Perfers content from challenge.txt to import hints 2018-12-08 03:23:08 +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
62aea5413e use more official blake2b checksum 2018-05-11 05:27:51 +02:00
ca41e4edee admin/sync: defines.txt can also contains informations about hints 2018-01-18 12:08:12 +01:00
11d0fe8d1f admin/sync: handle hint files download 2018-01-18 12:08:12 +01:00
6cc40be36a admin/sync: rename Indice to Astuce 2018-01-18 12:08:12 +01:00
de3c78b2ee admin/sync: don't show error when no hints directory to import 2018-01-17 18:52:42 +01:00
8ed23ddc7a admin: localimporter can make symlink instead of copying whole files 2018-01-17 18:52:42 +01:00
762d3a5222 admin: synchronization of exercices, files, hints and keys 2018-01-17 18:52:40 +01:00