Neale Pickett
b896969d80
fix for #107 that doesn't require a mutex
...
I didn't look into why the mutex was causing some sort of deadlock condition
on retrieving points. This fixes it, as long as the underlying filesystem
supports atomic file renames. So don't run this with NFS.
2020-03-10 20:50:03 -06:00
int00h5525
e286f265b9
Merge pull request #135 from dirtbags/sort_points.log
...
Sort points.log
2020-03-05 18:06:52 -06:00
John Donaldson
d9277ad423
Make X-Forwarded-For handling an optional flag
2020-03-05 03:22:34 +00:00
John Donaldson
d0ccdd2a72
Force points.log to be sorted chronologically
2020-03-02 19:23:51 +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
8e6d58b643
Adding button to cache content
...
Adding server-side support for disabling manifest exports
2019-10-28 15:50:49 +00:00
John Donaldson
d5e7ce98c3
Rolling back a bad part of a commit
2019-10-03 16:28:04 -05:00
Neale Pickett
bf44352fd7
New draggable list helper
2019-09-10 00:31:34 +00:00
Neale Pickett
03247983bb
Possibly fix race condition in rate limiting
2019-04-30 03:31:16 +00: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
651c8fdfa4
Path traversal fix, beginning to work on teamid as auth
2019-02-21 22:08:21 -07:00
Neale Pickett
3a11cc65ef
Remove a couple ambiguous letters
2019-02-21 19:40:48 -07:00
Neale Pickett
45c0cad5d4
Better token generation
2019-02-21 19:38:53 -07:00
Neale Pickett
e68a041f33
Add basic authentication and remove legacy html responses
2019-02-21 23:00:06 +00:00
Neale Pickett
d1b41dd8aa
Stop trying to put static files in the binary
2018-09-27 23:12:29 +00:00
Neale Pickett
55800efe3f
Fix inline images, only award to extant teams
2018-09-20 20:42:24 +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
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