Commit Graph

194 Commits

Author SHA1 Message Date
c4aa220b2c frontend: don't reuse tries in public interface; use a separate field to store total tries count for an exercice; and display it in interface 2019-02-06 03:40:48 +01:00
e97cf884ce libfic: add igncorecase flag to regexp related to ignorecase flag 2019-02-06 03:40:48 +01:00
db22c4af1b frontend: polish public version checks 2019-02-06 03:40:48 +01:00
c9347f45e2 dashboard: fix solved number in summary table 2019-01-23 18:29:52 +01:00
3f7e217316 db: store file size as unsigned int 2019-01-22 08:49:44 +01:00
eee2cd6a2f admin: add a button to edit the raw flag value instead of the checksum 2019-01-22 08:49:44 +01:00
48fcfec0d0 backend: use a new team field 'active', to avoid some team generation 2019-01-22 08:49:44 +01:00
f32e46c699 libfic: db: increase db boot time to 90 seconds 2019-01-22 08:49:44 +01:00
50a51ba628 libfic: Fix MCQ dependency on flag 2019-01-22 08:49:44 +01:00
7d9ad18f42 settings: new parameter to don't respect flag dependancies 2019-01-22 08:49:44 +01:00
cfb06009c9 Revert "db: cap the maximum number of simultaneous connections to the database"
This reverts commit 29ea78f0394a175100666894a15de056ce286b57.
2019-01-21 09:58:36 +01:00
6be7ba09a5 libfic: fix wipefiles: it didn't delete its dependencies 2019-01-21 09:58:36 +01:00
b6769086c2 frontend: treat MCQ justification as key flag, instead of special case 2019-01-21 09:58:36 +01:00
891b2ea6bf libfic: fix a potential memory/SQL connection leak 2019-01-21 09:58:36 +01:00
4a4d0f634a settings: add new coefficient for all exercices 2019-01-21 09:58:36 +01:00
8e6b8829ea libfic: new way to handle exercice dependancies 2019-01-21 09:58:36 +01:00
c5f8288f39 settings: add coefficient to hint and wchoices 2019-01-21 09:58:36 +01:00
2623d9dd61 admin: new route to generate htpasswd corresponding to certificate in use by team 2019-01-21 09:58:36 +01:00
5d31ac6e04 libfic: implement more dependancies kind 2019-01-21 09:58:35 +01:00
1e183f60ee libfic: extract validation_regexp execution 2019-01-21 09:58:35 +01:00
a66d6885e7 Refactor flags
Both QCM and Key are Flag
2019-01-21 09:58:35 +01:00
f3eabd74fc admin: add wchoices in team_history.json 2019-01-21 03:08:06 +01:00
1b75547308 db: cap the maximum number of simultaneous connections to the database 2019-01-21 03:08:06 +01:00
aa3750bb68 dashboard: improve general design (mostly events related) 2019-01-21 03:08:06 +01:00
78b6211b94 include id_theme in Exercice struct 2019-01-21 03:08:06 +01:00
a1c94d582d admin: score grid is a JSON to display scoring detail for a team 2019-01-21 03:08:05 +01:00
910ec94fd8 Add a new setting to don't count same responses in scores 2019-01-21 03:08:05 +01:00
8dc460b507 rank: count wchoices in score 2019-01-21 03:08:05 +01:00
2c5144aac0 fic: improve ranking query lisibility 2019-01-21 03:08:05 +01:00
74550f8907 rank: fix long running scoring error 2019-01-21 03:08:05 +01:00
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