Commit Graph

26 Commits

Author SHA1 Message Date
c7569b5e54 Use pointer receiver more offen 2021-12-11 11:20:44 +01:00
abf0715dbf admin: Insert $team assignee in db automatically 2021-09-08 02:07:37 +02:00
74e8c3801a fic: Add Order, Help and Type values in struct 2021-08-30 18:33:14 +02:00
99e53ccfe6 admin: use hexadecimal certificate ID 2020-01-29 16:02:30 +01:00
8131fda0e7 admin: display file dependancies and be able to remove them 2019-07-21 23:50:26 +02:00
b778d29dd9 admin: allow certid to finish by .p12, to permit downloading .p12 file 2019-02-06 03:40:49 +01:00
14d31737e0 admin: new route and interface to manage symlink for team association exclusing certificates 2019-02-06 03:40:49 +01:00
a66d6885e7 Refactor flags
Both QCM and Key are Flag
2019-01-21 09:58:35 +01:00
0f48b27a04 Avoid Atoi to avoid int convertion 2019-01-21 03:07:47 +01:00
488a032eba Handle choices in UCQ (db, sync done) 2018-12-08 20:35:36 +01:00
d21f3b0b83 Rename Exercice's Keys as Flags 2018-12-08 20:34:04 +01:00
6034246015 Retrieve time through X-FIC-Time header instead of time.json 2018-12-08 03:23:08 +01:00
bcc598ebd5 Write docs! 2018-05-11 15:03:09 +02:00
0ec90b14c6 Fixes thanks to go vet 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
c118035c33 Introducing new PKI management 2018-05-11 05:27:50 +02:00
5b558bcf00 admin/api: bytes handlers now returned data as application/octet-stream 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
1eef71923a admin: new interface to manage claims 2018-01-18 12:08:12 +01:00
9a1a64c41c admin: complet API and interface with files checking page 2018-01-18 12:08:11 +01:00
edc6ca9b7a change request log format, close to nginx ones 2018-01-17 18:52:45 +01:00
48e6ba7861 admin: add route to handle quiz 2018-01-17 18:52:45 +01:00
d03350f6b3 Fix generated JSON in case of error 2018-01-17 18:52:35 +01:00
f0621fa191 [admin] Add new routes to manage hints, files and keys 2018-01-17 18:51:53 +01:00
3b320469b5 Use github.com/julienschmidt/httprouter instead of gorilla 2018-01-17 18:51:52 +01:00
1054dd7086 admin/api: use gorilla/mux instead of Go router 2018-01-17 18:51:44 +01:00