Commit Graph

264 Commits

Author SHA1 Message Date
f5529ff72d admin: New option to pass branch to use 2024-04-19 11:46:53 +02:00
c5a059bd3b sync: Expose sync.Exists function 2024-04-19 11:46:53 +02:00
1d3a75ff82 sync: Don't stop parsing after the first treated image 2024-04-19 11:46:52 +02:00
0f65babdf4 admin/sync: typo 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
4b09efa9fd sync: Handle finished.md as alternative to finished.txt 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
93eed8d5e4 sync: Display import error in markdown processing 2024-04-19 11:46:52 +02:00
f079ecd9e3 repochecker/grammalecte: Allow redondances in resolution.md 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
bd19d31577 New attribute "disclaimer" on downloadable files 2024-04-19 11:46:51 +02:00
257c594dbe sync: Expose GetFileSize 2024-04-19 11:46:51 +02:00
9bcf4a481e repochecker: Check gunziped file hash 2024-04-19 11:46:51 +02:00
6ca71230c1 Refactor sync file reading 2024-04-19 11:46:51 +02:00
541e32e10b sync: Return the reader from importer instead of writing to a given Writer 2024-04-19 11:46:51 +02:00
f4c3f1e15e sync: Create empty file for nginx gzip-static module 2024-04-19 11:46:51 +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
cd07bec05b admin: Use branch main instead of master 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
ae1378780f admin/sync: Also handle uncompressed file in CheckExerciceFiles 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
a28f108b8a db: Add a published attribute, filled by challenge.txt 2024-04-19 11:46:51 +02:00
6b7ed273b7 db: Add cksum_shown field to files in order to store second checksum in case of gziped content 2024-04-19 11:46:51 +02:00
38a4e21e28 admin/sync: Use globbing for ack handling 2024-04-19 11:46:51 +02:00
23ac512ce6 admin/sync: Keep Exceptions from multiple files 2024-04-19 11:46:50 +02:00
5d07634d0d admin/sync: Add custom hooks that plugins can register and call 2024-04-19 11:46:50 +02:00
a790ced236 admin/sync: Removes windows \r in exceptions 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
95c992555c admin: Fix marshal of error in SyncReport 2022-10-29 17:21: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
223f44572e admin: Can import videos 2022-06-12 13:18:18 +02:00
dfe62e0b97 sync: Also allow overview.md for themes 2022-06-12 12:06:02 +02:00
9f45f10775 sync: Also ignore theme directories starting by _ 2022-06-10 18:54:25 +02:00
9a2fd85d57 sync: Unneeded log
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-07 01:06:31 +02:00
11a12e1d44 Import logos from challenge.json
Some checks are pending
continuous-integration/drone/push Build is running
2022-06-06 20:42:46 +02:00
a414cd22c8 Handle optionnal flags 2022-06-01 12:56:43 +02:00
aab66bf612 sync: Implement writable importer 2022-05-24 22:57:16 +02:00
560110ba5e sync: Expose GetFile and GetFileContent functions 2022-05-24 21:52:58 +02:00
2c76b5c7a3 admin: Add link to forge 2022-05-24 21:25:51 +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
9d639a0315 sync: Non-empty directory without .git is Fatal 2022-05-17 18:18:33 +02:00
3c0751a78a sync: Fix division by zero 2022-05-17 18:18:33 +02:00
86748b36c8 sync: Use git reset --hard --recurse-submodule
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-22 08:10:53 +01:00
d4a81aa660 sync: Improve git sync reliability
Some checks are pending
continuous-integration/drone/push Build is running
2022-01-22 07:51:02 +01: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
40a9078b70 sync: Handle title.txt in exercice dir 2022-01-21 08:02:23 +01:00
2645109839 admin: Display commit ID in admin interface 2022-01-21 08:02:23 +01:00
f8001653cd sync: Parse resolution.md 2021-12-11 11:20:44 +01:00
0cc72712a4 Trim flags to avoid mistakes due to empty lines or espaces... 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
8a6d480d17 sync: Make value lowercase if flag is not case sensitive 2021-12-11 02:02:06 +01:00
57d351c6c1 sync: Allow free hint 2021-12-11 02:02:06 +01:00
43be59b97d admin: Create a GitImporter based on git binaries 2021-12-11 02:02:06 +01:00
9fe1374a77 sync: Try to use a ssh key if no ssh-agent configured 2021-12-11 02:02:06 +01:00
724b00b825 repochecker: Enforce archive types 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
89ca192890 sync: Add Git Importer 2021-11-14 17:30:29 +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
74d77dce9f sync: Add partner's info 2021-09-08 02:07:37 +02:00
6223d2be36 sync: Also import hints during speed sync 2021-08-31 19:34:47 +02:00
74e8c3801a fic: Add Order, Help and Type values in struct 2021-08-30 18:33:14 +02:00
867e9bb345 sync: Fix a div by 0 when no exercice detected in theme 2021-08-30 18:31:32 +02:00
7e9c2ccbe9 sync: Ignore some hidden files/dirs
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-30 11:32:23 +02: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
9fa89e0793 repochecker: fix file concatenation 2021-05-14 00:42:40 +02:00
9dc1f401b7 Use go modules 2021-05-14 00:42:40 +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
0bc42282aa frontend: resize heading pictures as thumb file 2020-01-30 18:55:56 +01:00
7bec409ab8 sync: fix hint dependancies error not reported 2020-01-30 18:55:56 +01:00
823328ead2 sync: fix file merging when using symlinks 2020-01-29 16:02:30 +01:00
a4c87b92a5 admin: introducing speedy deep sync and themed deep sync 2020-01-23 18:26:30 +01:00
f7762c0828 sync: don't try to import part of splitted files, just import the whole file 2020-01-23 18:26:30 +01:00
2bae30a841 admin/api: new route to list remote files and their properties 2020-01-23 18:26:30 +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
aee3500fdf sync: avoid depending on database when importing files 2020-01-23 18:26:30 +01:00
aba311aebd sync: detect bad label wording 2020-01-23 18:26:30 +01:00