Commit Graph

756 Commits

Author SHA1 Message Date
35d07c1aa4 sync: Peak a deterministic ID if 0 2024-04-19 11:48:59 +02:00
7fbe2f3f8e repochecker: Ensure hint and choice_cost are not higher than gain 2024-04-19 11:48:59 +02:00
09c1111135 repochecker: Ensure non-optional flag doesn't depend on optional one 2024-04-19 11:48:59 +02:00
357944564b admin: Add title on todo badges 2024-04-19 11:48:59 +02:00
d323bf9ee9 admin: Improve file readability 2024-04-19 11:48:59 +02:00
a0cd651dae admin: Can gunzip files 2024-04-19 11:48:59 +02:00
b9ded53920 admin: Rework progression on home page 2024-04-19 11:48:59 +02:00
c638789b61 admin: Require to be identitied to change the history 2024-04-19 11:48:59 +02:00
977caccc1f admin: Add ability to append element to exercice history 2024-04-19 11:48:59 +02:00
ae5068f8b8 Split Unlock standalone exercices between themes and standalone ex 2024-04-19 11:48:59 +02:00
0ca7aa568d admin: Fix activate timer 2024-04-19 11:48:59 +02:00
398de21793 Apply standalone exercices settings 2024-04-19 11:48:59 +02:00
a1ce2df131 admin: New settings to define how to unlock standalone exercices 2024-04-19 11:48:59 +02:00
adb0e36dd4 Able to sync and export standalone exercices 2024-04-19 11:48:59 +02:00
daae6f4f07 admin: New option to drop all solutions from the database 2024-04-19 11:48:59 +02:00
79afaa8fb2 admin: Handle dashboard later publication through evdist 2024-04-19 11:48:59 +02:00
d44fc4f715 admin: Use datetime-local input types in settings 2024-04-19 11:48:59 +02:00
ad72eb0b95 admin: public sid can't contains / to avoid path traversal 2024-04-19 11:48:59 +02:00
19481962d5 admin: Update old bootstrap 2024-04-19 11:48:59 +02:00
0c45b52e04 admin: Reexpose themed exercices_stats.json
Lost in 8b3fbdb64a
2024-04-19 11:48:59 +02:00
c7fc18bfb4 admin: Really expose route to update team history
Related-to: a35aa7be70
2024-04-19 11:48:59 +02:00
a0bc832910 Theme can be optional: exercices can be standalone 2024-04-19 11:48:59 +02:00
3519f7416d Remove deadcode or fix unreachable code 2024-04-19 11:48:59 +02:00
e4f404d8d6 Remove unused StripPrefix
Not used since 8b3fbdb64a
2024-04-19 11:48:58 +02:00
632eb62f1f admin: Add a button to permit deleting strange submissions 2024-04-19 11:48:58 +02:00
0b04185933 sync: It the repository is on the wrong branch and shallow, update the config 2024-04-19 11:48:58 +02:00
904ef661ba sync: Continue sync if just submodule update fails 2024-04-19 11:48:58 +02:00
81cd6fe3a1 admin: Base challenge start on server time 2024-04-19 11:48:58 +02:00
b93c57f704 sync: If step is undefined, use the default value 2024-04-19 11:48:58 +02:00
3bd6ecf11e sync: Place hints files in the files/ directory 2024-04-19 11:48:58 +02:00
afcc7f2de0 Allow more parameters to be passed in environment 2024-04-19 11:48:58 +02:00
954cf84f0f repochecker: Test number step are in phase with response precision
Closes: https://gitlab.cri.epita.fr/ing/majeures/srs/fic/server/-/issues/36
2024-04-19 11:48:58 +02:00
636cc2b55b repochecker: Markdown: unescape path to images 2024-04-19 11:48:58 +02:00
9a5347b8ef admin: Don't consider non-git directory as Fatal 2024-04-19 11:48:58 +02:00
c9e3a9ac3c Introducing get-remote-files to download remote files 2024-04-19 11:48:58 +02:00
c3353572e6 sync: Export DownloadExerciceFile function 2024-04-19 11:48:58 +02:00
1f833d39fc admin: Export more importer functions 2024-04-19 11:48:57 +02:00
b52622c772 repochecker: Check flag's help content through mdTextHooks 2024-04-19 11:48:57 +02:00
ecf5cac9c9 Add tests 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
9f49a689fd Fix (CWE-118): Implicit memory aliasing in for loop. 2024-04-19 11:48:57 +02:00
6fd14306e1 Don't take case in count when sorting non-ordered vector flag
Fixes: https://gitlab.cri.epita.fr/ing/majeures/srs/fic/server/-/issues/30
2024-04-19 11:48:57 +02:00
20272e7bad Display a badge to inform about case sensitivity (can be disabled by setting) 2024-04-19 11:48:57 +02:00
190fdfe422 sync: Label flags can contain more than 255 chars in database 2024-04-19 11:48:57 +02:00
d6ff46ca7f New option to allow teams to self reset their progression 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
08107931ea admin: View out of sync repositories 2024-04-19 11:48:57 +02:00
b08039c997 admin: New routes to expose git repositories status 2024-04-19 11:48:57 +02:00
d996c12452 repochecker-grammalecte: Fix headline.md spelling error 2024-04-19 11:48:57 +02:00
ba26dd6bb1 sync: Don't warn on remote compressed files 2024-04-19 11:48:57 +02:00