Commit graph

276 commits

Author SHA1 Message Date
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
1d4bfd3bed backend: detect non-atomic file operation to look at another event 2017-11-25 15:12:21 +01:00
9704617376 backend: new parameter to debug inotify 2017-11-25 15:12:21 +01:00
1420917b1c backend: prefer watching Create event 2017-11-25 15:12:21 +01:00
e9c99d7af9 backend: don't watch inotification under .tmp 2017-11-25 15:12:21 +01:00
aec140901c frontend: light treatment on prefix to avoid multiple / 2017-11-25 15:12:21 +01:00
f1d6b92267 Move settings and started file into SETTINGS directory 2017-11-25 15:12:20 +01:00
0d7d49e033 frontend: refactor submission handlers 2017-11-25 15:12:20 +01:00
69ffb48a26 frontend: don't give too much right on created files 2017-11-25 15:12:20 +01:00
6267b68cbe frontend: add script to change frontend base URL 2017-11-25 15:12:20 +01:00
c29ced587d admin: add comments 2017-11-25 15:02:15 +01:00
f5bdc60573 admin: display publication confirmation; show an alert when empty scene 2017-11-25 15:02:15 +01:00
2c1506853b admin: display team history 2017-11-25 15:02:15 +01:00
0696da2fdf admin: add history route in API 2017-11-25 15:02:15 +01:00
c402d28056 frontend: inside public interface, hide hints 2017-11-25 15:02:15 +01:00
e2370c9511 admin: alert can contains yes/no buttons 2017-11-25 15:02:15 +01:00