vote

simple cgi voting system for web and gopher
git clone git://src.adamsgaard.dk/vote # fast
git clone https://src.adamsgaard.dk/vote.git # slow
Log | Files | Refs | README | LICENSE Back to index

DateCommit messageAuthorFiles+-
2021-01-22 17:09README: add note on slowcgi(8)Anders Damsgaard1+6-4
2020-10-06 15:04README: use stricter location criterion in httpd.conf exampleAnders Damsgaard1+1-1
2020-10-06 14:53allow multiple words in optionsAnders Damsgaard1+2-2
2020-10-04 13:53minor code-style improvementsHiltjo Posthuma1+9-13
2020-10-04 13:52fix unveil, the permissions parameter is mandatoryHiltjo Posthuma1+1-1
2020-10-04 13:51parse_query: use sizeof(choice) for the choice bufferHiltjo Posthuma1+1-1
2020-10-04 13:50add required attribute to input to signal required fields directly to the clientHiltjo Posthuma1+3-3
2020-10-04 13:50add a <label> for the options which allows to click on the label textHiltjo Posthuma1+5-3
2020-10-04 13:49improve HTML output, <form> should be outside table, use <br/>Hiltjo Posthuma1+3-3
2020-10-04 13:48print a status header (for httpd/cgi) to be able to signal some errorsHiltjo Posthuma1+2-0
2020-10-04 13:47fix buffer overflows on very big inputs (more than 4096 bytes)Hiltjo Posthuma1+2-2
2020-10-04 13:46fix check for encoding or truncation for snprintfHiltjo Posthuma1+4-2
2020-10-04 13:45http_status: on unknown statuscode print statusheader before exitingHiltjo Posthuma1+1-1
2020-10-04 13:44util.h: remove duplicate strlcpy declarationHiltjo Posthuma1+0-1
2020-09-28 16:14vote.c: change link color and add disabled results linkAnders Damsgaard1+5-0
2020-09-28 15:55vote.c: various css improvementsAnders Damsgaard1+14-9
2020-09-28 15:30vote.c: tweak stylesheetAnders Damsgaard1+12-10
2020-09-28 14:58vote.c: include cssAnders Damsgaard1+16-5
2020-09-28 14:00vote.c: read style.css if present on webserver rootAnders Damsgaard1+4-0
2020-09-28 13:49vote.c: progressively tighten pledge(2)Anders Damsgaard1+14-3
2020-09-28 12:47vote.c: use 307 redirect to avoid additional voting through refreshAnders Damsgaard1+23-9
2020-09-28 12:09vote.c: implement voting functionalityAnders Damsgaard1+62-29
2020-09-28 11:17vote.c: add function to perform safe vote incrementsAnders Damsgaard1+96-56
2020-09-28 07:43vote.c: remove blank lines in options fieldAnders Damsgaard1+24-22
2020-09-27 22:15list polls and fix install targetAnders Damsgaard2+43-6
2020-09-27 12:25Makefile: set permissions and modes on installed filesAnders Damsgaard1+8-4
2020-09-27 12:19Makefile: add install and uninstall targetsAnders Damsgaard1+9-1
2020-09-27 12:17vote.c: fix html formAnders Damsgaard1+7-5
2020-09-27 12:04vote.c: add html form for creating pollAnders Damsgaard1+35-1
2020-09-27 11:37vote.c: allow creating polls from queryAnders Damsgaard1+57-5
2020-09-27 08:42vote.c: add preliminary implementation to create pollsAnders Damsgaard1+66-6
2020-09-27 08:08vote.c: show poll name in headingAnders Damsgaard1+4-4
2020-09-27 08:05vote.c: improve display of poll filesAnders Damsgaard1+48-2
2020-09-27 07:14vote.c: don't print to stderr on 404Anders Damsgaard1+1-1
2020-09-27 07:12vote.c: use err() for error handling and exitAnders Damsgaard1+16-16
2020-09-27 06:59util.[ch]: add strlcpy for platforms that do not have itAnders Damsgaard2+25-0
2020-09-27 06:54open poll files for reading when ?poll is passedAnders Damsgaard4+47-43
2020-09-27 06:11vote.c: remove raw representation of poll parameterAnders Damsgaard1+1-6
2020-09-27 06:09vote.c: remove now unnecessary platform check for pledge(2)/unveil(2)Anders Damsgaard1+0-2
2020-09-27 06:08util.[ch]: add original copyright noticeAnders Damsgaard2+36-0
2020-09-27 06:05add ISC licenseAnders Damsgaard1+15-0
2020-09-27 06:03add hiltjo posthuma's utilitiesAnders Damsgaard4+263-31
2020-09-27 05:46only pledge(1)/unveil(1) on OpenBSDAnders Damsgaard1+2-0
2020-09-27 00:20throw http error if unveil(2) failsAnders Damsgaard1+1-0
2020-09-27 00:20fix unveil(2) logicAnders Damsgaard1+1-1
2020-09-27 00:18add preliminary poll display logicAnders Damsgaard1+17-2
2020-09-26 23:57add and use function for dying with 500 responseAnders Damsgaard1+8-6
2020-09-26 23:55add unveil(2) and fix error status if polls/ cannot be createdAnders Damsgaard1+7-1
2020-09-26 23:39move query parsing into separate functionAnders Damsgaard1+21-7
2020-09-26 23:10remove diagnostic outputAnders Damsgaard1+0-2
2020-09-26 23:09check if polls/ exists, create it if notAnders Damsgaard1+10-5
2020-09-26 22:52fix mode for polls/Anders Damsgaard1+1-1
2020-09-26 22:51README: add TODOAnders Damsgaard1+2-0
2020-09-26 22:45create polls/ and improve error messagingAnders Damsgaard1+10-1
2020-09-26 22:06vote.c: add attribution for getparamAnders Damsgaard1+1-0
2020-09-26 22:04add README with httpd.conf noteAnders Damsgaard1+7-0
2020-09-26 22:02Add working exampleAnders Damsgaard2+77-0