Commit Graph

134 Commits

Author SHA1 Message Date
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
2a941a4fc7 db: support real UTF-8
https://medium.com/@adamhooper/in-mysql-never-use-utf8-use-utf8mb4-11761243e434
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
9ab5738cff admin/sync: theme's name is now part of the theme's dirname 2018-12-08 03:23:07 +01:00
cb02fa98dd libfic: fix WipeMCQ which didn't work 2018-12-08 03:23:07 +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
Thibaut
12cb4e95f4 libfic: update SQL modes to be compatible with lastest MySQL version 2018-06-05 13:37:03 +02:00
f70fb20a70 reset db: use transaction when turncating tables 2018-05-13 14:16:06 +02:00
dcb67fba63 Docs, docs, docs! 2018-05-13 14:15:07 +02:00
156a87abc0 admin/pki: use symlink instead of DB to associate certificate to team 2018-05-11 15:03:10 +02: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
68e5c4cd2b pki: improve serial number generation + fix team association
Replace math/rand by crypto/rand.

Fix big when associating certificate with leading zero: nginx prepend 0 wherehas we don't.
2018-05-11 05:27:51 +02:00
1e36eb8b2f events.json: display 10 events instead of 6 2018-05-11 05:27:51 +02:00
91663f55af my-public.json: prefer display overview instead of statement, if available 2018-05-11 05:27:51 +02:00
3c8f9e55b6 db: allow multiple identical events 2018-05-11 05:27:51 +02:00
627c28cd94 libfic: don't show useless decimals to gain 2018-05-11 05:27:50 +02:00
6d1ef0f51c admin: new route to fill URLIds if they are not defined 2018-05-11 05:27:50 +02:00
8ae4d1c42f libfic: remove trailing - at the end of some urlids 2018-05-11 05:27:50 +02:00
3f1f60030c db: increase DB connection retries 2018-05-11 05:27:50 +02:00
c118035c33 Introducing new PKI management 2018-05-11 05:27:50 +02:00
992221a6da Remove old PKI 2018-05-11 05:27:50 +02:00
e083da2f72 Remove team's initial_name, replaced by their ID 2018-05-11 05:27:50 +02:00
0c540a39eb frontend: beautiful URLs 2018-01-26 12:02:32 +01:00
1eef71923a admin: new interface to manage claims 2018-01-18 12:08:12 +01:00
3932bba83d db: when DB is unreachable, retry 5 times before fatal return 2018-01-18 12:08:12 +01:00
e7d3e34c0b libfic: explode theme file 2018-01-18 12:08:12 +01:00
beba0a615f improve overall exercices interfaces 2018-01-18 12:08:12 +01:00
11d0fe8d1f admin/sync: handle hint files download 2018-01-18 12:08:12 +01:00
2aa1d6eeca libfic: fix bad hints displayed 2018-01-18 12:08:11 +01:00
9a1a64c41c admin: complet API and interface with files checking page 2018-01-18 12:08:11 +01:00
184714aeeb frontend: team registration 2018-01-18 12:08:11 +01:00
ea3f3b709d admin/sync: import theme introductions 2018-01-18 12:08:10 +01:00
e9910fe827 admin: can delete team history item 2018-01-17 18:52:48 +01:00
a0737d91b9 libfic: force MySQL charset 2018-01-17 18:52:47 +01:00
4052969304 libfic/mcq: remove Kind, as we can only handle checkbox; another kind of record should be created to handle select/radio 2018-01-17 18:52:46 +01:00
e630bc3d75 Improve bootstrap 4 support 2018-01-17 18:52:46 +01:00
838918da66 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.
2018-01-17 18:52:45 +01:00
830dacd6f5 Save MCQ diff 2018-01-17 18:52:45 +01:00
b079f7891c admin: sync mcq/ucq 2018-01-17 18:52:45 +01:00
d6012dfffb frontend: display MCQ in interface 2018-01-17 18:52:45 +01:00
6903c91df2 Able to check MCQ 2018-01-17 18:52:44 +01:00
c36cd202e8 libfic: start working on MCQ: structures done 2018-01-17 18:52:44 +01:00
9a9d5fcda4 libfic: Type key is now Label 2018-01-17 18:52:41 +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