Commit Graph

2110 Commits

Author SHA1 Message Date
993b83f8e7 admin: can sync exercices 2018-01-17 18:52:40 +01:00
762d3a5222 admin: synchronization of exercices, files, hints and keys 2018-01-17 18:52:40 +01:00
a033f81f5f admin: new function to retrieve file content 2018-01-17 18:52:40 +01:00
ae7e1ede14 libfic: increase authors field size 2018-01-17 18:52:40 +01:00
38d7cb00b6 libfic: add function to get exercice by title 2018-01-17 18:52:40 +01:00
f97e114a81 libfic: add functions to wipe {files,hints,keys} 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
bfd7126e1e tmp 2018-01-17 18:52:40 +01:00
4d1dde4528 admin: Implement theme synchronization 2018-01-17 18:52:39 +01:00
38606f28c7 libfic: new function to get theme by name 2018-01-17 18:52:39 +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
6237f7755a Change Key.Value to Key.Checksum 2018-01-17 18:52:39 +01:00
b84fe87f48 New functions to get file by path 2018-01-17 18:52:39 +01:00
99975d9df4 admin: Take cloud URL, user and pass from environment 2018-01-17 18:52:39 +01:00
cd5a9d06ea Define global default value at initialisation 2018-01-17 18:52:39 +01:00
bf86e40db0 fill_exercices: we are in 2018! 2018-01-17 18:52:39 +01:00
07a372ab79 fill_teams: fix path to import team members 2018-01-17 18:52:38 +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
21590655cb backend: detect non-atomic file operation to look at another event 2018-01-17 18:52:38 +01:00
4bd8d5f93e backend: new parameter to debug inotify 2018-01-17 18:52:38 +01:00
ddd1773777 backend: prefer watching Create event 2018-01-17 18:52:38 +01:00
557b576da5 backend: don't watch inotification under .tmp 2018-01-17 18:52:38 +01:00
3f13d81eb3 frontend: light treatment on prefix to avoid multiple / 2018-01-17 18:52:38 +01:00
f17541e252 Move settings and started file into SETTINGS directory 2018-01-17 18:52:38 +01:00
31d98285a4 frontend: refactor submission handlers 2018-01-17 18:52:37 +01:00
fb1d8f90ed frontend: don't give too much right on created files 2018-01-17 18:52:37 +01:00
b31f009d2e frontend: add script to change frontend base URL 2018-01-17 18:52:37 +01:00
76a4c09f37 admin: add comments 2018-01-17 18:52:37 +01:00
eefac93091 admin: display publication confirmation; show an alert when empty scene 2018-01-17 18:52:37 +01:00
f2089c4d96 admin: display team history 2018-01-17 18:52:37 +01:00
41400a8710 admin: add history route in API 2018-01-17 18:52:37 +01:00
e362700031 frontend: inside public interface, hide hints 2018-01-17 18:52:36 +01:00
7b2fdaf0ad admin: alert can contains yes/no buttons 2018-01-17 18:52:36 +01:00
070807b485 admin: can dismiss alert 2018-01-17 18:52:36 +01:00
def822cd45 frontend: avoid RW access to TEAMS dir by placing startedFile into submissions 2018-01-17 18:52:36 +01:00
df5c9532cd admin: add confirmation message box on error and some success 2018-01-17 18:52:36 +01:00
1458c71cfa admin: improve team-print view 2018-01-17 18:52:36 +01:00
88ef2f64c0 admin: ensure _public is created at startup 2018-01-17 18:52:36 +01:00
17d983221d libfic: split team removal in two requests 2018-01-17 18:52:36 +01:00
510e25e351 frontend: fix timer location 2018-01-17 18:52:35 +01:00
4a97b06520 Set SQL_MODES, waiting https://jira.mariadb.org/browse/MDEV-10426 to be solved 2018-01-17 18:52:35 +01:00
a15b285090 admin: fix form to append teams 2018-01-17 18:52:35 +01:00
82ecd0d6dd admin: Fix redirections when using baseurl 2018-01-17 18:52:35 +01:00
d03350f6b3 Fix generated JSON in case of error 2018-01-17 18:52:35 +01:00
ce46313dd1 admin: make baseurl optional 2018-01-17 18:52:35 +01:00
410ab529ae admin: don't need submission directory anymore 2018-01-17 18:52:35 +01:00
8a93f4bdd1 Use /bin/sh instead of bash 2018-01-17 18:52:35 +01:00
d0f588e47d Generate DNS from env 2018-01-17 18:52:34 +01:00
fad2534267 frontend: improve home page 2018-01-17 18:52:34 +01:00