Commit Graph

722 Commits

Author SHA1 Message Date
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
7573717f71 admin: Fix generator return format (was base64 bytes) 2024-04-19 11:48:57 +02:00
4b03f0befd admin: Create the SYNC directory if it doesn't exist 2024-04-19 11:48:57 +02:00
49aa1682d7 sync: Refactor how and when remote files are downloaded 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
3e1c01031f admin: Fix missing return 2024-04-19 11:48:57 +02:00
8b50029f4d admin: Fix errors reporting 2024-04-19 11:48:57 +02:00
1d4b79bf90 sync: Handle remote challenge files 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
11662d8c5e dashboard: Allow countdown to be hidden 2024-04-19 11:48:56 +02:00
d2f409db7a New setting delegated_qa to store QA managers 2024-04-19 11:48:56 +02:00
89334ce57c admin: Fix panic as map is nil 2024-04-19 11:48:56 +02:00
6acc752bd9 label flags: Increase allowed size 2024-04-19 11:48:55 +02:00
5dd92a6603 CI: Use ./... instead of listing all packages 2024-04-19 11:48:55 +02:00
f097c029f3 Security fix: Incorrect permission assignment for critical resource 2024-04-19 11:48:55 +02:00
499e251796 security fix: Uncontrolled resource consumption (Slowloris) 2024-04-19 11:48:55 +02:00
1769938205 generator: Can perform synchronous generation 2024-04-19 11:48:55 +02:00
ed091e761c Split backend service into checker and generator
Both are linked through a unix socket.
2024-04-19 11:48:55 +02:00
1ca5452707 Rename frontend as receiver 2024-04-19 11:48:51 +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
b86a6ebc0c admin: Add an animation when modifications are in progress 2024-04-19 11:46:54 +02:00
34f175e57b admin: Use branch indication to access the repo 2024-04-19 11:46:54 +02:00
28ad0fa791 fic: Can overwrite authors for each exercice 2024-04-19 11:46:54 +02:00
ab23ef8f71 admin: Fix API response 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
c06d667088 fixup! svelte-migrate: updated files 2024-04-19 11:46:54 +02:00
3a38a75e25 admin: Readd missing route to add exercice from ui 2024-04-19 11:46:54 +02:00
edc5c25a29 sync: Try to handle new submodules on pull 2024-04-19 11:46:54 +02:00
d8458e5b49 repochecker: Update documentation URL 2024-04-19 11:46:54 +02:00
78189aab37 Rename ValidatorRegexp to CaptureRegexp 2024-04-19 11:46:54 +02:00
890a532d01 Minimize needed images 2024-04-19 11:46:54 +02:00
20dc1f65dc dashboard: can customize main image background 2024-04-19 11:46:54 +02:00
37dde01444 New settings hide_header to hide the top banner with partners and countdown 2024-04-19 11:46:53 +02:00