Commit Graph

25 Commits

Author SHA1 Message Date
Donaldson 0efcb24d45 Reopen the events log if it's removed or modified while mothd is running 2020-11-17 12:13:30 -06:00
Neale Pickett 6f1f092e7f when disabled, don't log like a constipated weiner dog 2020-11-17 09:13:49 -07:00
Neale Pickett a1bba870d1 Backport event logging from v4 2020-11-11 13:13:09 -07:00
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
John Donaldson 2d5e8d6f9f Remove some unneeded debugging code 2020-03-02 19:32:25 +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 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
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 97a7e09f35 Devel server using themes 2018-10-03 01:21: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 909271549c Fix puzzles on iOS 2018-09-21 23:45:28 +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 1fdba38ad3 Basic rendering of open puzzles 2018-09-18 03:32:24 +00:00
Neale Pickett 4c3fe34936 Check for duplicate points 2018-09-18 00:02:44 +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