Commit Graph

93 Commits

Author SHA1 Message Date
John Donaldson 9a8ec19908 Fixing some locking issues 2022-05-17 13:14:09 -07:00
John Donaldson 9793de315a Merge branch '186-implement-admin-api-for-mothd' of https://git.cyberfire.ninja/devs/moth into add_admin_state_mechanisms 2022-05-17 12:41:25 -07:00
Neale Pickett eb08700dd1 Merge branch 'main' of https://git.cyberfire.ninja/devs/moth 2022-05-12 18:03:28 -06:00
Neale Pickett a85df22479 Upgrades, NFS optimization 2022-05-12 18:03:26 -06:00
Neale Pickett cbe231ef12 Remove more debugging 2022-05-10 20:05:16 -06:00
Neale Pickett 243fdfd006 Remove some debugging 2022-05-10 19:57:07 -06:00
Neale Pickett bde4b2c86d A bit cleaner test interface, maybe 2022-05-10 19:48:51 -06:00
Neale Pickett 85f5b96a40 Stop running goroutines in unit tests 2022-05-10 19:36:36 -06:00
Neale Pickett dfc31eb9f3 Merge branch 'main' into 179-intermittent-test-failures-on-gitlab-ci 2022-05-10 19:21:25 -06:00
Neale Pickett be74961e94 still trying to fix race condition 2022-05-10 19:11:47 -06:00
Neale Pickett d014384b05 A possible fix for #179 2022-05-10 17:59:08 -06:00
Neale Pickett 5b6555cd9a Check team existence before registering.
Fixes #156
2022-05-10 17:47:26 -06:00
Neale Pickett eea674b1a4 Remove `events.csv` on init.
Fixes #177
2022-05-10 13:30:44 -06:00
Donaldson b4b867bed8 Adding everything needed to implement admin API, still needs testing,
though
2021-12-30 17:00:14 -08:00
Donaldson 7fc2eec35f * Add message write handler
* Add stub documentation for new required functions
2021-12-30 12:17:17 -08:00
Donaldson ff07ef3b60 Make legacy, fs-backed state more obvious 2021-12-30 11:38:09 -08:00
Neale Pickett 471ded7303 Cache state 2021-10-26 12:48:23 -06:00
Neale Pickett 4bb6819319 Fix to reopening all mothballs every 2s
#180
2021-10-25 13:37:56 -06:00
Neale Pickett e349a18861 Trying to isolate a race condition in tests 2021-10-20 11:29:55 -06:00
Neale Pickett 5adf32f456 CI/CD 2021-10-18 18:30:11 -06:00
Neale Pickett d9299f5e59 Fix test failure 2021-10-14 19:17:38 -06:00
Neale Pickett 41a0e6dffc Prepend timestamp to award filenames
Fixes #168
2021-10-14 19:01:12 -06:00
Neale Pickett 454e643886 Fix broken build? 2021-10-14 15:57:17 -06:00
Neale Pickett 46fea903a6 Remove debug log message 2021-10-13 18:35:33 -06:00
Neale Pickett f68201ab53 Check for new mothballs with the same name
Also updated some error messages to pass newer linter.

Fixes #172
2021-10-13 18:25:27 -06:00
Neale Pickett dd8ca81186 Test case for #144 2021-10-13 22:43:51 +00:00
Neale Pickett ff99f131ea fix test 2021-03-05 14:42:57 -07:00
Neale Pickett 2f49e853e4 remove a debugging log message 2021-03-02 11:25:20 -07:00
Neale Pickett 45fbd34be0 Devel mode now lets you register a team with any ID 2021-02-01 16:53:38 -07:00
Neale Pickett 7b485ababf Nicer format for devel server team names 2020-12-02 19:49:06 -07:00
Neale Pickett d4b37d1efa Devel server: allow any team ID to score ponts. 2020-12-02 19:31:34 -07:00
Neale Pickett 788ce7c3b6 events log -> csv, say we're in devel mode 2020-12-02 17:57:10 -07:00
John Donaldson f4cfb10d97 Rename event.log as events.log 2020-11-19 16:26:53 -05:00
Neale Pickett f558099852 Log registration events, try to fix devel image 2020-10-28 14:16:13 -06:00
Neale Pickett bb2565b06d JSON dicts for back-end API 2020-10-16 14:18:44 -06:00
Neale Pickett 682a6a7f86 More documentation 2020-10-15 10:23:39 -06:00
Neale Pickett 5cb09066e2 More log events 2020-10-14 18:20:49 -06:00
Neale Pickett ed5a4c9005 all tests passing again + editor fail 2020-10-14 10:05:53 -06:00
Neale Pickett 5fe464acbc Don't map the "self" team in unauthenticated states 2020-10-14 10:04:13 -06:00
Neale Pickett 60d7192e04 Properly anonymize all point log entries 2020-10-14 09:52:19 -06:00
Neale Pickett 843996f2c4 Only anonymize team IDs once per team 2020-10-14 09:46:51 -06:00
Neale Pickett 1080783eb9 Fix bug with registration on actual filesystems 2020-10-13 19:48:37 -06:00
Neale Pickett 8874aad7cb Fix bug that required id to get puzzle content 2020-10-13 18:33:12 -06:00
Neale Pickett b39e287e41 Debug prod server, apparently for the first time. 2020-10-13 16:41:50 -06:00
Neale Pickett 854ef771b4 transpiler can now create mothballs 2020-10-12 17:44:44 -06:00
Neale Pickett 4eb0f0a141 Merge branch 'v4' into main 2020-10-12 16:46:51 +00:00
Neale Pickett 3f1c5bf059 Merge branch 'v4' of https://github.com/dirtbags/moth into v4 2020-10-12 16:46:28 +00:00
Neale Pickett e4f34b4c05 Fix typo 2020-10-12 16:46:03 +00:00
Neale Pickett 14b92fe617 Linter and spelling fixes 2020-09-17 19:48:17 -06:00
Neale Pickett 05bfa17a71 Push out mothballs in dev mode 2020-09-15 15:58:21 -06:00