Commit Graph

89 Commits

Author SHA1 Message Date
b9ce37d557 fill_exercice: define HINT_COST 2017-02-22 04:37:14 +01:00
a5c81196d4 Handle file import digest 2017-02-22 04:37:14 +01:00
be05ace19d admin: various fixes in fill_exercices 2017-02-22 04:37:14 +01:00
4ab9d8f63b admin: can pass args to fill_exercices to limit the fill to a theme or an exercice 2017-02-22 04:37:14 +01:00
fa7e0e25c4 admin: new argument --rapidimport to speed up the import but don't ensure consistency 2017-02-22 04:37:14 +01:00
c64f1969d9 [admin] Add new routes to manage hints, files and keys 2017-02-22 04:37:14 +01:00
875cb11747 [admin] Add events 2017-02-22 04:37:13 +01:00
2b9c449df6 [admin] Add exercices related pages 2017-02-22 04:37:13 +01:00
288e6a1c7f [admin] Add page title 2017-02-22 04:37:13 +01:00
13c6d44953 [admin] Add ng-sanitize 2017-02-22 04:37:13 +01:00
793ae81244 Merge exercices API routes 2017-02-22 04:37:13 +01:00
14f0e6cf8e Bump new version API 2017-02-22 04:37:13 +01:00
d867835385 Use github.com/julienschmidt/httprouter instead of gorilla 2017-02-22 04:37:13 +01:00
9c56f5cb30 Merge big splitted files before import 2017-02-22 04:37:13 +01:00
eac69d4b59 WIP misc 2017-02-22 03:29:28 +01:00
3525cd610b Multiple hints 2017-02-22 03:29:25 +01:00
173dafa69e admin/api: use gorilla/mux instead of Go router 2017-01-29 18:16:07 +01:00
bfaf8c8305 themes: don't expect authors to be dirty 2017-01-29 18:16:06 +01:00
ef7a1fe196 admin: can give the static dir location 2017-01-29 18:16:06 +01:00
a25f72a762 admin: can change the baseurl interface 2017-01-29 18:16:06 +01:00
6f91b0810f by default, only listen on localhost 2017-01-29 18:16:06 +01:00
a253099725 fill_team: improve script reliability 2017-01-29 18:16:06 +01:00
783469fad4 admin: add ability to add files from local storage 2017-01-29 18:16:06 +01:00
ef8b5e7645 Add a logger prefix 2017-01-29 18:16:06 +01:00
84a1610286 [admin] Improve interface 2017-01-29 18:16:06 +01:00
017adfb2b1 [admin] statistic generation 2017-01-12 11:55:30 +01:00
5e74b3f7ce [admin] Can retrieves tries rate 2017-01-12 11:55:29 +01:00
bde582ad4b Don't use the default mux for handling requests 2016-10-13 19:56:31 +02:00
fc0834ea4c log.Fatal already do Exit(1) 2016-10-13 19:56:31 +02:00
ad95ce6f16 admin: display team details instead of members 2016-10-13 19:56:30 +02:00
c711f9e78e admin: add exercices/ API to access and modify exercices 2016-10-13 19:56:30 +02:00
61f96a643c Use initial name instead of ID 2016-10-13 19:56:29 +02:00
467641f4f2 Add initial_name field in DB 2016-10-13 19:56:29 +02:00
1c62f61bf0 Backend: extract file generation and team renaming in dedicated files 2016-10-13 19:56:27 +02:00
ee67788d59 Expect full downloadable file pathname (allow CDN) 2016-10-13 19:56:26 +02:00
bd0deecc89 Team colors are uint32 2016-10-13 19:56:25 +02:00
a8031452f7 New scripts to get files 2016-10-13 19:56:23 +02:00
f3a15b00e9 Too much things 2016-02-01 16:07:41 +01:00
9b293b7d32 themes.json: add stat of tries count 2016-01-25 03:08:42 +01:00
6863891ba2 Improve team interface 2016-01-24 16:49:00 +01:00
e207e90c2e my.json now contains team members, instead of teams.json 2016-01-24 14:33:16 +01:00
2b2b1a893d admin: page for team binding 2016-01-24 14:33:16 +01:00
86d36589d4 Generate 12 empty extra teams 2016-01-24 14:33:16 +01:00
645f40f0c6 format 2016-01-23 13:19:28 +01:00
8788eea4f0 Use MySQL instead of SQLite 2016-01-23 13:17:24 +01:00
859dbc68cb Add authors in themes 2016-01-23 12:57:15 +01:00
e628e7931c Extract my.json generation 2016-01-23 12:57:15 +01:00
992dbfc67d Bufferize file download (to avoid OOM) 2016-01-23 12:57:14 +01:00
499346e611 Fully automated fill_exercice.sh 2016-01-23 12:57:14 +01:00
58fb73f742 admin: Don't download file already downloaded 2016-01-23 12:57:14 +01:00