Commit Graph

80 Commits

Author SHA1 Message Date
3c457015eb repochecker: Remove indication on how to circumvent forbidden-string 2024-05-24 10:51:05 +02:00
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
631b2ff990 repochecker/epita: Treat labels as []rune 2024-04-19 11:48:58 +02:00
b52622c772 repochecker: Check flag's help content through mdTextHooks 2024-04-19 11:48:57 +02:00
9896445e00 grammalecte: Force capital letter only if first char is a letter
Fixes: https://gitlab.cri.epita.fr/ing/majeures/srs/fic/server/-/issues/34
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
f328261ea2 repochecker: Fix number of detected choices with step attribute 2024-04-19 11:48:57 +02:00
6163d51e5b repochecker: New option to restrict domain where remote file can come from 2024-04-19 11:48:57 +02:00
dc83efa868 sync: Better perform exception in exercices 2024-04-19 11:46:54 +02:00
d8458e5b49 repochecker: Update documentation URL 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
3103dc1029 repochecker: Use challenge.txt as a more representative file for detecting exercices 2024-04-19 11:46:53 +02:00
f623699f56 repochecker: If a statement file is present, treat as exercice 2024-04-19 11:46:53 +02:00
1720906ec8 repochecker/videos: Use subtitle track language as grammar check lang 2024-04-19 11:46:52 +02:00
a7309b6a00 repochecker/videos: Improve checks when dealing with translated exercices 2024-04-19 11:46:52 +02:00
6b74674123 repochecker/grammalecte: Reduce the avoided checks due to other lang 2024-04-19 11:46:52 +02:00
aa0e7406c1 Detect theme and exercice language at runtime (not stored) 2024-04-19 11:46:52 +02:00
ecc9ae6ef1 repochecker/grammalecte: Add new words to dict 2024-04-19 11:46:52 +02:00
f087213f0a repochecker/grammalecte: Allow * as all paragraphs 2024-04-19 11:46:52 +02:00
ec9a3a408d repochecker/grammalecte: Don't use HTML writer 2024-04-19 11:46:52 +02:00
84f85d631a repochecker/grammalecte: Fix CodeSpan 2024-04-19 11:46:52 +02:00
fee1ab2a26 repochecker/grammalecte: Add some new spelling exceptions 2024-04-19 11:46:52 +02:00
2381dfe4f5 repochecker/grammalecte: Refactor grammar passage extraction 2024-04-19 11:46:52 +02:00
ccc2c5d1d7 repochecker/grammalecte: Write new line only on paragraph exit 2024-04-19 11:46:52 +02:00
ea02fa4617 repochecker/grammalecte: Don't replace CodeSpan by text to avoid repetition 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
20f5656a74 repochecker/file-inspector: ZIP archive shouldn't contain Unix rootfs 2024-04-19 11:46:51 +02:00
c28ad9533b repochecker/*-inspector: Refactor file opening 2024-04-19 11:46:51 +02:00
14f10c91db repochecker/*-inspector: Refactor file opening 2024-04-19 11:46:51 +02:00
60d790f8d3 repochecker/file-inspector: Handle ZIP archives 2024-04-19 11:46:51 +02:00
83be5595ba repochecker/ip-inspector: gofmt + CI 2024-04-19 11:46:51 +02:00
f1a2e6c360 repochecker: New plugin ip-inspector 2024-04-19 11:46:51 +02:00
7c2e97740f repochecker/grammalecte: Overload grammar paragraph in some situations 2024-04-19 11:46:51 +02:00
ad7ad37e7f repochecker/grammalecte: add some new allowed words 2024-04-19 11:46:51 +02:00
ef999999ea repochecker/grammalecte: Fix flag label_majuscule exception and title_majuscule 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
4b8e447b1b repochecker/grammalecte: Fix odd slice bounds out of range 2024-04-19 11:46:51 +02:00
5b47d1c250 repochecker/grammalecte: Don't harass on mc_mot_composé already flag as spelling exception 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
057ce22fb9 repochecker/file-inspector: New checker 2024-04-19 11:46:51 +02:00
7a800b10de repochecker/epita: Ask to compress huge files 2024-04-19 11:46:51 +02:00
76ee40b7f1 repochecker/epita: Fix file format checking 2024-04-19 11:46:51 +02:00
b334122707 repochecker/epita: Check we have the original digest of compressed files 2024-04-19 11:46:51 +02:00
79c251d85f repochecker/epita: Check full numbered flag has type number 2024-04-19 11:46:51 +02:00
50b3e4c739 repochecker/grammalecte: Fix out of bound array 2024-04-19 11:46:51 +02:00
98939e9d61 repochecker/grammalecte: Check labels and titles have upper case 2024-04-19 11:46:51 +02:00
91b2daea2e repochecker/videos: Also check video ratio 2024-04-19 11:46:51 +02:00
5d716106c4 repochecker/videos: Also check grammar in subtitles 2024-04-19 11:46:51 +02:00
acdf0a6261 repochecker/grammalecte: Extract struct in a dedicated lib 2024-04-19 11:46:50 +02:00