Commit Graph

164 Commits

Author SHA1 Message Date
dc4a4925e3 sync: refactor exercice synchronization 2019-01-21 03:08:05 +01:00
7f2ae673d0 sync: try to remove old exercice without any player try 2019-01-21 03:08:04 +01:00
c05609f85f fic: fix exercice indicated as solved 2019-01-21 03:08:04 +01:00
0e36a850cf Array flags can be non-ordered 2019-01-21 03:08:04 +01:00
dbf1985d25 Implement flag arrays 2019-01-21 03:08:04 +01:00
3ad7976e4b libfic: simplify git usability of the reset list 2019-01-21 03:08:04 +01:00
476f0f553c implement choices_cost 2019-01-21 03:08:04 +01:00
f9abdd23c6 Dependancy between flags 2019-01-21 03:08:04 +01:00
21697f01ca New field for exercice to display a text after exercice validation 2019-01-21 03:08:04 +01:00
87471acf98 sync: import files in markdown, relative to theme/exercice dir 2019-01-21 03:08:04 +01:00
8c95782eff Implement and display headlines in interface 2019-01-21 03:08:02 +01:00
614003a7cd libfic: handle mcq in team history 2019-01-21 03:07:47 +01:00
c5b65289d3 Add new helper string related to justified MCQ flag 2019-01-21 03:07:47 +01:00
0f48b27a04 Avoid Atoi to avoid int convertion 2019-01-21 03:07:47 +01:00
d40922629b Utilise a new field to send justifications instead of too complex guessing crap 2019-01-21 03:07:47 +01:00
69a866bbbf frontend: when a justification is valid, check the MCQ box 2019-01-21 03:07:47 +01:00
3dcb233c3f handle justified MCQ in interface and submission 2019-01-21 03:07:47 +01:00
01368dd6f4 frontend: expose UCQ choices 2019-01-21 03:07:47 +01:00
5c742834ea frontend: public part now validate through blake2b.js flags and MCQs 2019-01-21 03:07:47 +01:00
8ac2776cca Export help format string in my.json 2019-01-21 03:07:47 +01:00
195490484c Change exported flags format in my.json 2019-01-21 03:07:47 +01:00
17ef0b0a32 libfic: fix hint deletion in team history 2019-01-21 03:07:47 +01:00
0effdbcf5e Themes can have header image 2018-12-09 20:41:43 +01:00
d7553f0392 Handle justified MCQ in admin and sync part 2018-12-08 20:35:36 +01:00
488a032eba Handle choices in UCQ (db, sync done) 2018-12-08 20:35:36 +01:00
333bb408e1 backend: save the checksum of each try, to be able to detect duplicates after 2018-12-08 20:35:36 +01:00
44d335bc9f Add issue field for exercice, to be able to communicate about problem with exercice 2018-12-08 20:35:36 +01:00
f183985982 admin: Add exercice's tags: sync, api, interface done 2018-12-08 20:35:36 +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
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