Commit Graph

229 Commits

Author SHA1 Message Date
adb424ea03 Use fmt.Errorf 2020-04-15 07:39:38 +02:00
66a72633d6 dashboard: generate a special teams.json with members for trophee scene 2020-01-30 19:00:14 +01:00
d66de6fb3c libfic: avoid infinite loop in db 2020-01-30 18:55:57 +01:00
5df1cc6e93 admin: add some stats about exercices 2020-01-30 18:55:57 +01:00
f4c74f57d6 admin: Fix bad names in update choices 2020-01-30 18:55:56 +01:00
edbac43423 frontend: allow players to respond to issues 2020-01-30 18:55:56 +01:00
d8584a8a31 admin: can sort claim by last_update 2020-01-30 18:55:56 +01:00
a3ffdeae17 frontend: display issues related to the team 2020-01-30 18:55:56 +01:00
4820d42327 Implement hint dependancy on mcq 2020-01-29 16:02:30 +01:00
6921431a77 Flag MCQ can now depend on MCQ 2020-01-29 16:02:30 +01:00
e937073588 Files can now depends on MCQ 2020-01-29 16:02:30 +01:00
f3fdb36929 Allow store files bigger than 4GB 2020-01-29 16:02:30 +01:00
32dc9c1a8c admin: improve claims with related exercices 2020-01-23 18:27:14 +01:00
2e3f7c6894 admin: claims now reference exercices 2020-01-23 18:27:14 +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
3465406b6f libfic: add missing tables during reset 2020-01-17 14:57:04 +01:00
b4fa57f9c9 sync: introducing showlines property for vectors
It allows players to know in advance how many items the vector is composed.
2020-01-17 14:57:03 +01:00
698c2f1a47 libfic: add new functions to retrieve the Id of some contents from Title, Label, ... 2020-01-17 14:57:03 +01:00
6740256a32 sync: implement hint dependency on flags 2020-01-17 07:02:40 +01:00
97a3aa713f sync: fix hash computation by factorizing 2019-11-25 14:52:19 +01:00
4e01377a29 sync: search theme's label in a title.txt file, fallback on dirname 2019-11-25 14:52:19 +01:00
41a3279bf8 libfic: avoid stange MYSQL_HOST variable, expect IP or DN 2019-11-25 14:52:19 +01:00
8131fda0e7 admin: display file dependancies and be able to remove them 2019-07-21 23:50:26 +02:00
ba5642da8f admin: new form to update history coefficient 2019-07-12 19:21:07 +02:00
4c7fd839b6 fixup! sync: Extract function that import flags from importer 2019-07-10 16:58:20 +02:00
4039a394b5 sync: Extract function that import flags from importer 2019-07-10 13:09:08 +02:00
3f55845374 sync: Extract function that import files from importer 2019-07-06 04:08:29 +02:00
682598fdbb sync: Extract function that builds a theme from importer 2019-07-06 03:28:44 +02:00
15d108497e backend: check the team has access to the exercice/flag before doing the action 2019-02-06 03:40:49 +01:00
a35aa7be70 admin: add a new route to update team history coefficient 2019-02-06 03:40:49 +01:00
6a1f73c895 admin: include coefficient in history.json 2019-02-06 03:40:49 +01:00
60ec9704e3 admin: add exercice history.json 2019-02-06 03:40:49 +01:00
2381fb490b libfic: fix checks in handling of team history deletiion 2019-02-06 03:40:49 +01:00
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