Commit Graph

73 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
f4d0e0001c sync: Don't overwrite theme image if it exists 2024-04-19 11:49:00 +02:00
26c282138e Extract background color to continue image 2024-04-19 11:48:59 +02:00
35d07c1aa4 sync: Peak a deterministic ID if 0 2024-04-19 11:48:59 +02:00
adb0e36dd4 Able to sync and export standalone exercices 2024-04-19 11:48:59 +02:00
1f833d39fc admin: Export more importer functions 2024-04-19 11:48:57 +02:00
b6966d47ce sync: Replace []error by go.uber.org/multierr 2024-04-19 11:48:57 +02:00
d996c12452 repochecker-grammalecte: Fix headline.md spelling error 2024-04-19 11:48:57 +02:00
ec3f818c30 sync: Exercice headline can be in a dedicated file 2024-04-19 11:48:57 +02:00
89334ce57c admin: Fix panic as map is nil 2024-04-19 11:48:56 +02:00
dc83efa868 sync: Better perform exception in exercices 2024-04-19 11:46:54 +02:00
edbb867f62 sync: Allow exercice directory to do not have identifier 2024-04-19 11:46:54 +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
f366d6b8c1 sync: Handle repochecker-ack.txt in exercice directory 2024-04-19 11:46:54 +02:00
d8458e5b49 repochecker: Update documentation URL 2024-04-19 11:46:54 +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
4b09efa9fd sync: Handle finished.md as alternative to finished.txt 2024-04-19 11:46:52 +02:00
3421286c9b repochecker/grammalecte: Check for forbidden strings (raw flags) in resolution.md 2024-04-19 11:46:52 +02:00
80422daffb repochecker/grammalecte: Check resolution.md 2024-04-19 11:46:51 +02:00
257c594dbe sync: Expose GetFileSize 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
23ac512ce6 admin/sync: Keep Exceptions from multiple files 2024-04-19 11:46:50 +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
223f44572e admin: Can import videos 2022-06-12 13:18:18 +02:00
560110ba5e sync: Expose GetFile and GetFileContent functions 2022-05-24 21:52:58 +02:00
45a9240834 Handle special chars in exercice path 2022-05-24 17:36:33 +02:00
4a190f51c5 admin: Fix video route 2022-05-24 12:03:00 +02:00
70bad90756 sync: Handle overview.md and statement.md 2022-05-24 12:03:00 +02:00
f690a4e1c8 sync: Use goldmark instead of blackfriday 2022-05-22 19:10:17 +02:00
8b3fbdb64a admin: Use gin-gonic as router 2022-05-22 19:10:17 +02:00
40a9078b70 sync: Handle title.txt in exercice dir 2022-01-21 08:02:23 +01:00
f8001653cd sync: Parse resolution.md 2021-12-11 11:20:44 +01:00
e6d8f2db1b sync: Try to improve git-lfs support 2021-12-11 11:20:44 +01:00
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
aebfb7bf96 sync: Add Init and Sync functions
Init initializes the directory/repository before the first use.
Sync is called to unsure the directory is up-to-date.
2021-11-14 17:30:29 +01:00
57fe1a7517 sync: Ignore exercice directories not containing at least - sep
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-05-14 01:25:08 +02:00
8b261011b6 repochecker: new option avoiding failure if resolution.mp4 missing 2021-05-14 01:14:30 +02:00
9dc1f401b7 Use go modules 2021-05-14 00:42:40 +02:00
adb424ea03 Use fmt.Errorf 2020-04-15 07:39:38 +02:00
f2fc142869 api: remote route takes advantage from builds functions 2019-11-25 14:52:19 +01:00
d7f0425d8a repochecker: Fix given URL to documentation 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
32f1c86519 sync: ignore directory beginning with . (like .git) 2019-07-10 13:09:08 +02:00
3f99771910 sync: Extract function that builds an exercice from importer 2019-07-06 03:28:44 +02:00
6042f9b477 sync: check video file size during import process 2019-01-21 09:58:36 +01:00