John Donaldson
cf72f8f253
Extract and use X-Forwarded-For headers in mothd logging
2020-03-05 02:19:46 +00:00
Jack Miner
7726444a98
Added id parameter to points.json to return only a team's score
2019-11-19 19:16:21 -07:00
Neale Pickett
8af56b515d
go fmt
2019-11-13 20:47:56 +00:00
John Donaldson
3e079616c1
Fixing issue where still-locked puzzle content could be downloaded
2019-11-07 19:22:15 +00:00
John Donaldson
7cea6e919e
Changing manifest URL
...
Removing unecessary dehydrator
2019-10-28 17:38:27 +00:00
John Donaldson
8e6d58b643
Adding button to cache content
...
Adding server-side support for disabling manifest exports
2019-10-28 15:50:49 +00:00
John Donaldson
95bcc860e0
Working cache support
2019-10-25 23:53:40 +01:00
John Donaldson
0e54a6f9f5
Staging some intermediate dehydrator work
2019-10-21 15:36:20 +01:00
Neale Pickett
1614b02b66
Throttle submissions per team (more...)
...
* Preload team hashes in maintenance goroutine
* Check team hash weirdness at maintenance time
* Check team hash validity before checking answer
* Rate limit answer submissions (adjustable with -attempt flag)
* ... and more!
2019-03-07 22:03:48 -05:00
Neale Pickett
628d8a0b05
go fmt
2019-02-25 16:07:53 +00:00
Neale Pickett
8e67abe0c0
Now you can hit enter to sign in
2019-02-22 19:09:38 -07:00
Neale Pickett
ad9dab3d8f
work on updated client API
2019-02-23 00:43:04 +00:00
Neale Pickett
e68a041f33
Add basic authentication and remove legacy html responses
2019-02-21 23:00:06 +00:00
Neale Pickett
68b3cc6218
Move the idea of "tokens" into the client
2018-10-02 21:54:22 +00:00
Neale Pickett
25a12c00c2
Note in generated HTML that you do not need to use generated HTML
2018-10-02 21:34:54 +00:00
Neale Pickett
d1b41dd8aa
Stop trying to put static files in the binary
2018-09-27 23:12:29 +00:00
Neale Pickett
fab2470975
Merge branch 'master' of https://github.com/dirtbags/moth
2018-09-24 20:00:21 +00:00
Neale Pickett
82d029b357
Generate proper JSON
2018-09-24 20:00:18 +00:00
Neale Pickett
6ad8b41047
Friendler error message if you got the right answer
2018-09-20 20:44:56 +00:00
Neale Pickett
e460f5b6b3
Cache points.json and puzzles.json
2018-09-20 03:44:34 +00:00
Neale Pickett
21902ce8e4
I think I'm done.
2018-09-19 23:56:26 +00:00
Neale Pickett
5075bb601d
Everything but puzzle content serving
2018-09-19 03:29:05 +00:00
Neale Pickett
7942f4fc5a
Add scoreboard plus formatting tweaks
2018-09-19 00:22:03 +00:00
Neale Pickett
1fdba38ad3
Basic rendering of open puzzles
2018-09-18 03:32:24 +00:00
Neale Pickett
2dc0b0690f
New rule: (category, points) must be unique across the contest. No more having 2 tokens in a category with the same point value.
2018-09-18 00:06:29 +00:00
Neale Pickett
4c3fe34936
Check for duplicate points
2018-09-18 00:02:44 +00:00
Neale Pickett
78f2e2a79c
Flesh out remaining handlers
...
I think at this point we just need to drop in text for puzzle.html, puzzle-list.html, and scoreboard.html,
and we'll have a working server.
2018-09-17 23:40:05 +00:00
Neale Pickett
5b018eab42
Moving toward a working server
2018-09-17 23:00:08 +00:00
Neale Pickett
61c1129e0f
A passable start at a go-based mothd
2018-09-15 00:24:48 +00:00