Commit Graph

97 Commits

Author SHA1 Message Date
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 041b582935 Remove external library dependencies 2019-02-26 16:27:20 -07: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 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 97a7e09f35 Devel server using themes 2018-10-03 01:21:54 +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 1b4767543b Merge branch 'mothv3' 2018-09-23 03:38:32 +00:00
Neale Pickett 909271549c Fix puzzles on iOS 2018-09-21 23:45:28 +00:00
Neale Pickett b25b87fa85 Fix scoreboard formatting and iframe styling 2018-09-21 20:29:05 +00:00
Neale Pickett 6ad8b41047 Friendler error message if you got the right answer 2018-09-20 20:44:56 +00:00
Neale Pickett 55800efe3f Fix inline images, only award to extant teams 2018-09-20 20:42:24 +00:00
Neale Pickett e147839966 Documentation updates 2018-09-20 16:15:34 +00:00
Neale Pickett e460f5b6b3 Cache points.json and puzzles.json 2018-09-20 03:44:34 +00:00
Neale Pickett bc6b373659 Dockerize and cleanup 2018-09-20 00:18:04 +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
Neale Pickett ec2483f4c9 Mothball work 2018-05-10 03:52:52 +00:00
Neale Pickett 6a00d30c84 Dockerize 2017-09-11 03:08:18 +00:00
Neale Pickett f57b44db44 Make an actually working server, hopefully 2017-02-05 16:42:41 -07:00
Neale Pickett 92f6e25d86 Fix up legacy puzzle generation, installer 2017-01-23 16:35:38 +00:00
Neale Pickett 53404d43e5 Puzzle.randword, don't escape HTML, change mono font 2016-11-28 15:17:12 -07:00
Neale Pickett b0d44f5b85 Shuffle files around: keep your campsite neat and tidy 2016-10-20 11:32:21 -06:00
Neale Pickett fadf42a3e8 Lua-based puzzle lister 2015-04-19 22:57:35 -06:00
Neale Pickett 913d6b785d Add in sponsors 2015-04-15 15:58:46 -06:00
Neale Pickett 56c3813211 Snarky recommendation for windows wget 2015-04-15 14:33:46 -06:00
Neale Pickett 40233fe0c8 And with that, I think it is working again 2015-04-12 11:11:15 -06:00
Neale Pickett d4e4a10a98 Registration is working 2015-04-12 09:16:48 -06:00
Neale Pickett 4acc889c09 installing okay now 2015-04-10 16:37:21 -06:00
Neale Pickett 23e750ed85 Installation script 2015-04-09 17:40:03 -06:00
Neale Pickett a2c4e56d9f Remove more legacy junk 2012-05-25 21:39:59 -06:00
Neale Pickett 82d9edff6f multi-point tokens in radio 2011-11-03 18:51:28 -06:00
Neale Pickett 7fbe6d2650 cleanup, add lxc package (broken) 2011-09-23 17:05:14 -06:00
Neale Pickett 103688df85 fix arc4 definition 2011-09-21 17:31:13 -06:00