Commit Graph

15 Commits

Author SHA1 Message Date
9a1a64c41c admin: complet API and interface with files checking page 2018-01-18 12:08:11 +01:00
48e6ba7861 admin: add route to handle quiz 2018-01-17 18:52:45 +01:00
b079f7891c admin: sync mcq/ucq 2018-01-17 18:52:45 +01:00
3d59042802 admin: sync.ImportFile takes Importer as first arg 2018-01-17 18:52:41 +01:00
9a9d5fcda4 libfic: Type key is now Label 2018-01-17 18:52:41 +01:00
993b83f8e7 admin: can sync exercices 2018-01-17 18:52:40 +01:00
38a0f4c9b5 libfic: Add new row in exercices table, to store relative path to exercice 2018-01-17 18:52:40 +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
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
f0621fa191 [admin] Add new routes to manage hints, files and keys 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
25bf34e82c Multiple hints 2018-01-17 18:51:50 +01:00
1054dd7086 admin/api: use gorilla/mux instead of Go router 2018-01-17 18:51:44 +01:00