Commit graph

291 commits

Author SHA1 Message Date
bfca9d3bc2 admin/sync: handle dependancy between exercices 2017-12-18 00:34:33 +01:00
954dd7540a change request log format, close to nginx ones 2017-12-18 00:34:33 +01:00
bc4a1ee7de Exercice: add overview field
This field is use as a high level description of the exercice. It will be
displayed on the public interface only: not to players.
2017-12-18 00:34:32 +01:00
f211278c8b admin: add route to handle quiz 2017-12-18 00:34:32 +01:00
893e8bf836 Save MCQ diff 2017-12-18 00:34:32 +01:00
89b75c281b admin: sync mcq/ucq 2017-12-18 00:34:32 +01:00
e72baf680d frontend: display MCQ in interface 2017-12-18 00:34:32 +01:00
e31f325177 Able to check MCQ 2017-12-17 16:15:32 +01:00
a51aa38d74 frontend: fix orthograph, typography, ... 2017-12-17 16:15:32 +01:00
b5b791f076 frontend: improve design 2017-12-17 16:15:32 +01:00
c298d94fdc libfic: start working on MCQ: structures done 2017-12-17 16:15:32 +01:00
cb21af9206 admin: msgbox can contains lists 2017-12-17 16:15:31 +01:00
a502a536f0 Update angularJS to 1.6.6 2017-12-17 16:15:31 +01:00
a0fa102e77 Update bootstrap to 4.0-beta 2017-12-17 16:15:31 +01:00
6047dcd6a9 js: compatible with angular 1.6 2017-12-17 16:14:23 +01:00
d965aab14a admin/sync: remove old exercices no more in tree 2017-12-17 16:14:23 +01:00
a89de24ad0 admin/sync: hide full URI from error message 2017-12-17 16:14:23 +01:00
57b7695931 admin/sync: can only perform one deep sync at a time 2017-12-17 16:14:23 +01:00
b8b86fa71e admin/sync: don't show error when no hints directory to import 2017-12-17 16:14:23 +01:00
c4b6c1c268 admin/sync: regenerate backend after deep sync 2017-12-17 16:14:23 +01:00
0321e0d30e settings: new function to regenerate files 2017-12-17 16:14:23 +01:00
058c2eda57 admin: API version bump 2017-12-17 16:14:23 +01:00
17dd69ac30 admin: localimporter can make symlink instead of copying whole files 2017-12-17 16:14:22 +01:00
ad5ea6801e admin: new route to display import report 2017-12-17 16:14:22 +01:00
7676d8ac8f admin: able to sync splitted files 2017-12-17 16:14:22 +01:00
9ad10e3723 admin/sync: generate report on full import 2017-12-17 16:14:22 +01:00
906a1c869d admin: sync.ImportFile takes Importer as first arg 2017-12-17 16:14:22 +01:00
05cbcc924d libfic: Type key is now Label 2017-12-17 16:14:22 +01:00
afa77a7b60 Display read-only settings for information purpose 2017-12-17 16:14:22 +01:00
3e42ac4661 Perform full deep synchronisation 2017-12-17 16:14:22 +01:00
9abac6e47b admin: interface to synchronize 2017-12-17 15:39:20 +01:00
98d948f758 admin: can sync exercices 2017-12-12 07:14:12 +01:00
3253707824 admin: synchronization of exercices, files, hints and keys 2017-12-12 07:14:12 +01:00
e5777e604b admin: new function to retrieve file content 2017-12-12 07:14:12 +01:00
6571bbdda4 libfic: increase authors field size 2017-12-12 07:14:12 +01:00
5fbeefd97b libfic: add function to get exercice by title 2017-12-12 07:14:12 +01:00
2c25d917b3 libfic: add functions to wipe {files,hints,keys} 2017-12-12 07:14:12 +01:00
3713659930 libfic: Add new row in exercices table, to store relative path to exercice 2017-12-12 07:14:12 +01:00
27a09a28f6 tmp 2017-12-12 07:14:12 +01:00
8664b84b37 admin: Implement theme synchronization 2017-12-12 07:14:12 +01:00
682f3fe3a3 libfic: new function to get theme by name 2017-12-12 07:14:12 +01:00
dddf72267d admin: Implement sychronization backends
We are now able, depending on configuration, to retrieve files from either WebDAV or local file system.
2017-12-12 07:14:12 +01:00
b701aa1710 Change Key.Value to Key.Checksum 2017-12-12 07:14:12 +01:00
ea12b6a0d2 New functions to get file by path 2017-12-12 07:14:12 +01:00
e0f5db7fab admin: Take cloud URL, user and pass from environment 2017-12-12 07:14:12 +01:00
c2dd27d9a5 Define global default value at initialisation 2017-12-12 07:14:12 +01:00
41c543eb59 fill_exercices: we are in 2018! 2017-12-12 07:14:12 +01:00
54cbdef7e4 fill_teams: fix path to import team members 2017-12-12 07:14:12 +01:00
917d8a6c81 Use BLAKE2b checksum instead of SHA-1 and SHA-512 2017-12-12 07:14:12 +01:00
9e1308a2b4 import: avoid ugly padding = at the end of base32 pathname 2017-11-25 15:12:21 +01:00