Commit graph

89 commits

Author SHA1 Message Date
56d43cc65b fill_exercice: define HINT_COST 2017-04-05 02:06:12 +02:00
d7d22fe471 Handle file import digest 2017-04-05 02:06:11 +02:00
65d40773cc admin: various fixes in fill_exercices 2017-04-05 02:06:11 +02:00
4ff0c0ac59 admin: can pass args to fill_exercices to limit the fill to a theme or an exercice 2017-04-05 02:06:10 +02:00
4cea4a4aa0 admin: new argument --rapidimport to speed up the import but don't ensure consistency 2017-04-05 02:06:10 +02:00
ca266c1709 [admin] Add new routes to manage hints, files and keys 2017-04-05 02:06:08 +02:00
f14e9e80c8 [admin] Add events 2017-04-05 02:06:08 +02:00
46d452c82b [admin] Add exercices related pages 2017-04-05 02:06:07 +02:00
c23a71912b [admin] Add page title 2017-04-05 02:06:07 +02:00
632e699fa8 [admin] Add ng-sanitize 2017-04-05 02:06:06 +02:00
5111143d2a Merge exercices API routes 2017-04-05 02:06:05 +02:00
f008aac04c Bump new version API 2017-04-05 02:06:05 +02:00
1bb978a9c6 Use github.com/julienschmidt/httprouter instead of gorilla 2017-04-05 02:06:04 +02:00
0d6e36798c Merge big splitted files before import 2017-04-05 02:06:04 +02:00
4fc4e34a4e WIP misc 2017-04-05 02:05:59 +02:00
ccbc787001 Multiple hints 2017-04-05 02:05:58 +02:00
10dc6c4d30 admin/api: use gorilla/mux instead of Go router 2017-04-05 02:05:57 +02:00
07c1a22d75 themes: don't expect authors to be dirty 2017-04-05 02:05:55 +02:00
7bb7da5338 admin: can give the static dir location 2017-04-05 01:51:24 +02:00
7fb4b22a1f admin: can change the baseurl interface 2017-04-05 01:51:23 +02:00
ab4bf8f307 by default, only listen on localhost 2017-04-05 01:51:22 +02:00
a9da1fe059 fill_team: improve script reliability 2017-04-05 01:51:22 +02:00
1ccec4ab29 admin: add ability to add files from local storage 2017-04-05 01:51:21 +02:00
c137969b6a Add a logger prefix 2017-04-05 01:51:20 +02:00
347f317dd9 [admin] Improve interface 2017-04-05 01:51:20 +02: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