Commit Graph

40 Commits

Author SHA1 Message Date
8b3fbdb64a admin: Use gin-gonic as router 2022-05-22 19:10:17 +02:00
5a79343af8 Implement sort_regexp_validator_groups 2022-01-21 08:44:51 +01:00
0cc72712a4 Trim flags to avoid mistakes due to empty lines or espaces... 2021-12-11 11:20:44 +01:00
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
61fccca070 Implement unit property for flags 2021-12-11 02:02:06 +01:00
74e8c3801a fic: Add Order, Help and Type values in struct 2021-08-30 18:33:14 +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
084d39f6cf Fix typos 2020-01-23 18:26:30 +01:00
47ba134b55 Implement flag type 'text': this is like keys, but on multiple lines 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
3f55845374 sync: Extract function that import files from importer 2019-07-06 04:08:29 +02:00
6be7ba09a5 libfic: fix wipefiles: it didn't delete its dependencies 2019-01-21 09:58:36 +01:00
a66d6885e7 Refactor flags
Both QCM and Key are Flag
2019-01-21 09:58:35 +01:00
476f0f553c implement choices_cost 2019-01-21 03:08:04 +01:00
0f48b27a04 Avoid Atoi to avoid int convertion 2019-01-21 03:07:47 +01:00
ff56ec9fe3 libfic/flag: add validatorRegexp field 2018-12-08 20:35:32 +01:00
d21f3b0b83 Rename Exercice's Keys as Flags 2018-12-08 20:34:04 +01:00
f36e1c4e4d Stores ignorecase property for flags 2018-12-08 20:33:39 +01:00
2a6fbd4e32 admin&sync: insert format helper in database 2018-12-08 20:32:33 +01:00
1e2a74f3ca sync: add dependency on flag to download file 2018-12-08 03:23:08 +01:00
dcfb34c6fd libfic: fix missing field retrieve in EFile 2018-12-08 03:23:08 +01:00
20dfd99ec0 admin: new route to check file on disk 2018-12-08 03:23:08 +01:00
5b30788cff libfic: Fix a nil dereference when checking size of not found files 2018-12-08 03:23:08 +01:00
d05c211a7c sync/file: hide by default the whole calculated digest
This is to avoid direct copy/paste to DIGESTS.txt without real local calculation.
2018-12-08 03:23:07 +01:00
bcc598ebd5 Write docs! 2018-05-11 15:03:09 +02:00
62aea5413e use more official blake2b checksum 2018-05-11 05:27:51 +02:00
9a1a64c41c admin: complet API and interface with files checking page 2018-01-18 12:08:11 +01:00
f97e114a81 libfic: add functions to wipe {files,hints,keys} 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
b84fe87f48 New functions to get file by path 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
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
a8031452f7 New scripts to get files 2016-10-13 19:56:23 +02:00
992dbfc67d Bufferize file download (to avoid OOM) 2016-01-23 12:57:14 +01:00
69ad64715c Import file from owncloud 2016-01-21 05:33:59 +01:00
c33c2b8e8a Cache file size 2016-01-21 05:33:57 +01:00
92b81e467f Move common structs to libfic 2016-01-19 14:42:37 +01:00