Commit Graph

555 Commits

Author SHA1 Message Date
Neale Pickett 8d47593986 Many changes, unit test
* Everything in /srv/ctf now, set $CTF_BASE to override that
* CGI now accepts parms in argv
* Fix bug with uninitialized CGI vars
2010-09-13 12:23:39 -06:00
Neale Pickett 507dd93d88 Add note about static page generation 2010-09-12 22:34:42 -06:00
Neale Pickett 23b6f28a21 Make puzzles generate static HTML 2010-09-12 22:15:06 -06:00
Neale Pickett 61e6984777 Add puzzles CGI
I just realized I don't need this to be a CGI.
2010-09-12 22:01:21 -06:00
Neale Pickett df3da9c6d3 Make points a long 2010-09-12 22:00:58 -06:00
Neale Pickett 5199cf5cac Move CGI routines into common.c
They're still good general-purpose routines, though.
2010-09-11 23:22:28 -06:00
Neale Pickett c3bf43b132 Add puzzler.cgi, put more into common.c 2010-09-11 22:57:46 -06:00
Neale Pickett c9c24d9a8b Create new fgrepx common function
It's also slightly quicker.
2010-09-10 23:07:40 -06:00
Neale Pickett de5a53c226 Fix cycling 2010-09-09 17:08:57 -06:00
Neale Pickett 7aa23aadb5 Have cycling option for scoreboard 2010-09-09 16:51:11 -06:00
Neale Pickett fd8f53dae3 Store colors on disk & more 2010-09-09 15:14:39 -06:00
Neale Pickett 4bc5ba6eb3 Clean up points display 2010-09-08 22:19:48 -06:00
Neale Pickett b85d328a62 Widen scoreboard page (untested) 2010-09-08 21:55:28 -06:00
Neale Pickett 03c6d4e17b Add usability feature to scoreboard (highlighting on hover) 2010-09-08 21:51:48 -06:00
Neale Pickett 1aff408b66 Working scoreboard with table 2010-09-08 17:39:28 -06:00
Neale Pickett f043173cf4 Working chart output 2010-09-07 23:44:54 -06:00
Neale Pickett be2de973ce pointscli check result of write 2010-09-07 22:43:24 -06:00
Neale Pickett 00dad4865b Pointscli back to "many files" strategy 2010-09-07 22:25:42 -06:00
Neale Pickett a9431200af CGI register was a bad idea
There's just no good way to tell what team is legit and
what team is an attempt at an XSS or whatever tomfoolery
contestants might be up to.  CGI might work for high school
kids, but for that a shell script would probably work.
2010-09-07 21:31:23 -06:00
Neale Pickett a2b8a2873b Further work on scoreboard 2010-09-07 17:47:21 -06:00
Neale Pickett 2fe4123f87 Script to list teams 2010-09-07 17:47:00 -06:00
Neale Pickett 3c7a6e06c3 Adjust text in NMT posters 2010-09-07 17:45:49 -06:00
Neale Pickett a2559871c1 Merge branch 'tokens' of fozzie:src/ctf into tokens
Conflicts:

	src/Makefile
	src/pointscli.c
2010-09-07 14:24:37 -06:00
Neale Pickett a683df8eef Add posters, enhance cgi.c 2010-09-07 14:18:39 -06:00
Neale Pickett aea9f3cbeb Start at scoreboard generation 2010-09-06 21:52:09 -06:00
Neale Pickett c74c457136 Use epoch time for timestamps 2010-09-06 21:39:59 -06:00
Neale Pickett 8e1dfbd0da Add pointscli and common utils 2010-09-03 21:00:02 -06:00
Neale Pickett 739756a994 A little cleanup, and some claim.cgi code 2010-09-03 17:05:42 -06:00
Neale Pickett abe8591569 More error checking in in.tokend 2010-09-03 15:59:08 -06:00
Neale Pickett 074da9af7d Stop using FILE *; make tokens go into a log instead of one per file 2010-09-03 15:51:54 -06:00
Neale Pickett b9ee25cfe8 Working in.tokend 2010-09-03 15:26:51 -06:00
Neale Pickett be41c32fd1 A new C-based register.cgi 2010-09-03 14:54:57 -06:00
Neale Pickett 8d4fea620b Start at in.tokend (not writing files yet) 2010-09-02 17:10:11 -06:00
Neale Pickett d3707d912e Lua register.cgi 2010-09-01 17:39:46 -06:00
Neale Pickett ab842bab4d Allow for generated puzzles 2010-08-31 14:15:21 -06:00
Neale Pickett df8bac171c No longer escape tank team name 2010-05-18 09:03:36 -06:00
Neale Pickett dd25de1ce0 Fix path for tank submission again 2010-05-17 23:41:26 -06:00
Neale Pickett e6a118f709 Fix path for tank submission 2010-05-17 23:24:41 -06:00
Neale Pickett f3dafa5271 Add team colors to tanks 2010-05-17 23:11:30 -06:00
Neale Pickett 935b9b1fb9 Get rid of onload HTML thing 2010-05-17 22:46:58 -06:00
Neale Pickett a7974758f0 New tanks.js to expect what we put out 2010-05-17 22:23:03 -06:00
Neale Pickett 636d55ef08 Change text for Atlanta 2010-05-17 12:59:43 -06:00
Neale Pickett 47a8add2a8 Try to get bots working 2010-05-16 19:57:05 -06:00
Neale Pickett c99198605f Remove tanks, we want that to be its own project 2010-05-15 21:22:44 -06:00
Neale Pickett 1adc53d511 Work on getting bots in there 2010-05-15 17:48:33 -06:00
Neale Pickett 3014ff5653 More cross-compile fixes 2010-05-15 17:25:02 -06:00
Neale Pickett 81915155a5 More fixes for cross-compile 2010-05-15 17:21:47 -06:00
Neale Pickett 53609263e6 Try to resolve config.py problems 2010-05-15 17:08:03 -06:00
Neale Pickett 272f9c5d59 Allow PYTHON override 2010-05-15 12:12:43 -06:00
Neale Pickett 59b41bfb72 Oops, remove bare VAR from Makefile 2010-05-15 10:47:59 -06:00