Commit Graph

26 Commits

Author SHA1 Message Date
a0cd651dae admin: Can gunzip files 2024-04-19 11:48:59 +02:00
bd19d31577 New attribute "disclaimer" on downloadable files 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
8b3fbdb64a admin: Use gin-gonic as router 2022-05-22 19:10:17 +02:00
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
74e8c3801a fic: Add Order, Help and Type values in struct 2021-08-30 18:33:14 +02:00
adb424ea03 Use fmt.Errorf 2020-04-15 07:39:38 +02:00
e937073588 Files can now depends on MCQ 2020-01-29 16:02:30 +01:00
2bae30a841 admin/api: new route to list remote files and their properties 2020-01-23 18:26:30 +01:00
8131fda0e7 admin: display file dependancies and be able to remove them 2019-07-21 23:50:26 +02:00
973363b3da admin/api: refactor file API 2019-07-21 21:55:11 +02:00
20dfd99ec0 admin: new route to check file on disk 2018-12-08 03:23:08 +01:00
9a1a64c41c admin: complet API and interface with files checking page 2018-01-18 12:08:11 +01:00
8f7de926d3 admin: Implement sychronization backends
We are now able, depending on configuration, to retrieve files from either WebDAV or local file system.
2018-01-17 18:52:39 +01:00
cd5a9d06ea Define global default value at initialisation 2018-01-17 18:52:39 +01:00
e6e6e6c206 Use BLAKE2b checksum instead of SHA-1 and SHA-512 2018-01-17 18:52:38 +01:00
9325419002 import: avoid ugly padding = at the end of base32 pathname 2018-01-17 18:52:38 +01:00
d4177f6228 admin: allow import of remote hint and partials remote parts 2018-01-17 18:52:31 +01:00
b772a22705 Hints can something else than text 2018-01-17 18:52:29 +01:00
1bd403cd8c Handle file import digest 2018-01-17 18:51:53 +01:00
63931f73ba admin: new argument --rapidimport to speed up the import but don't ensure consistency 2018-01-17 18:51:53 +01:00
2e718b22b6 Merge exercices API routes 2018-01-17 18:51:52 +01:00
3b320469b5 Use github.com/julienschmidt/httprouter instead of gorilla 2018-01-17 18:51:52 +01:00
5a0b81ba32 Merge big splitted files before import 2018-01-17 18:51:52 +01:00
1054dd7086 admin/api: use gorilla/mux instead of Go router 2018-01-17 18:51:44 +01:00