vote, branch HEAD simple cgi voting system for web and gopher ae1634f7992a6ca39f15487f6ac0fefb334ba262 2021-01-22T17:09:23Z 2021-01-22T17:09:23Z README: add note on slowcgi(8) Anders Damsgaard anders@adamsgaard.dk commit ae1634f7992a6ca39f15487f6ac0fefb334ba262 parent 4e15fd477f221f6ed8d335b14a83fa362c6df14b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 22 Jan 2021 18:09:23 +0100 README: add note on slowcgi(8) 4e15fd477f221f6ed8d335b14a83fa362c6df14b 2020-10-06T15:04:38Z 2020-10-06T15:04:38Z README: use stricter location criterion in httpd.conf example Anders Damsgaard anders@adamsgaard.dk commit 4e15fd477f221f6ed8d335b14a83fa362c6df14b parent 1667fba9d224363f85f8cb4c610a6be55d84b66c Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 6 Oct 2020 17:04:38 +0200 README: use stricter location criterion in httpd.conf example 1667fba9d224363f85f8cb4c610a6be55d84b66c 2020-10-06T14:53:18Z 2020-10-06T14:53:18Z allow multiple words in options Anders Damsgaard anders@adamsgaard.dk commit 1667fba9d224363f85f8cb4c610a6be55d84b66c parent aa9b98e360f92e876192fd8cbe90dcc9f2da448b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 6 Oct 2020 16:53:18 +0200 allow multiple words in options aa9b98e360f92e876192fd8cbe90dcc9f2da448b 2020-10-04T13:53:08Z 2020-10-05T05:54:23Z minor code-style improvements Hiltjo Posthuma hiltjo@codemadness.org commit aa9b98e360f92e876192fd8cbe90dcc9f2da448b parent b0c8f6f22789317760958fec93e974faea523241 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:53:08 +0200 minor code-style improvements Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> b0c8f6f22789317760958fec93e974faea523241 2020-10-04T13:52:13Z 2020-10-05T05:54:23Z fix unveil, the permissions parameter is mandatory Hiltjo Posthuma hiltjo@codemadness.org commit b0c8f6f22789317760958fec93e974faea523241 parent e1ed36fc26b81cb79ca811aeec29e844e4115d40 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:52:13 +0200 fix unveil, the permissions parameter is mandatory Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> e1ed36fc26b81cb79ca811aeec29e844e4115d40 2020-10-04T13:51:40Z 2020-10-05T05:54:23Z parse_query: use sizeof(choice) for the choice buffer Hiltjo Posthuma hiltjo@codemadness.org commit e1ed36fc26b81cb79ca811aeec29e844e4115d40 parent 5adcb826f99b42970d38689b758d91812bf4483c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:51:40 +0200 parse_query: use sizeof(choice) for the choice buffer Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> 5adcb826f99b42970d38689b758d91812bf4483c 2020-10-04T13:50:57Z 2020-10-05T05:54:23Z add required attribute to input to signal required fields directly to the client Hiltjo Posthuma hiltjo@codemadness.org commit 5adcb826f99b42970d38689b758d91812bf4483c parent 3b3d8028f259aa8c06d9fda45c38de975b3df2d2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:50:57 +0200 add required attribute to input to signal required fields directly to the client Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> 3b3d8028f259aa8c06d9fda45c38de975b3df2d2 2020-10-04T13:50:19Z 2020-10-05T05:54:23Z add a <label> for the options which allows to click on the label text Hiltjo Posthuma hiltjo@codemadness.org commit 3b3d8028f259aa8c06d9fda45c38de975b3df2d2 parent b1543e65991695c6b455382a9a9b86b1bec42a6c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:50:19 +0200 add a <label> for the options which allows to click on the label text Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> b1543e65991695c6b455382a9a9b86b1bec42a6c 2020-10-04T13:49:41Z 2020-10-05T05:54:23Z improve HTML output, <form> should be outside table, use <br/> Hiltjo Posthuma hiltjo@codemadness.org commit b1543e65991695c6b455382a9a9b86b1bec42a6c parent f5592f94b672d1c35cb7e58f1aa1d5104c4331c3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:49:41 +0200 improve HTML output, <form> should be outside table, use <br/> Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> f5592f94b672d1c35cb7e58f1aa1d5104c4331c3 2020-10-04T13:48:09Z 2020-10-05T05:54:23Z print a status header (for httpd/cgi) to be able to signal some errors Hiltjo Posthuma hiltjo@codemadness.org commit f5592f94b672d1c35cb7e58f1aa1d5104c4331c3 parent bdffc606de2cab60a78349fe387c97a0a0220e38 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:48:09 +0200 print a status header (for httpd/cgi) to be able to signal some errors Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> bdffc606de2cab60a78349fe387c97a0a0220e38 2020-10-04T13:47:23Z 2020-10-05T05:54:23Z fix buffer overflows on very big inputs (more than 4096 bytes) Hiltjo Posthuma hiltjo@codemadness.org commit bdffc606de2cab60a78349fe387c97a0a0220e38 parent 542105db6abb6ea8f555fe1c60343aebb85dd91b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:47:23 +0200 fix buffer overflows on very big inputs (more than 4096 bytes) Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> 542105db6abb6ea8f555fe1c60343aebb85dd91b 2020-10-04T13:46:19Z 2020-10-05T05:54:23Z fix check for encoding or truncation for snprintf Hiltjo Posthuma hiltjo@codemadness.org commit 542105db6abb6ea8f555fe1c60343aebb85dd91b parent 273ce99a3b8fe03c3808861b41f8cbfcbdc8f0b3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:46:19 +0200 fix check for encoding or truncation for snprintf Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> 273ce99a3b8fe03c3808861b41f8cbfcbdc8f0b3 2020-10-04T13:45:38Z 2020-10-05T05:54:23Z http_status: on unknown statuscode print statusheader before exiting Hiltjo Posthuma hiltjo@codemadness.org commit 273ce99a3b8fe03c3808861b41f8cbfcbdc8f0b3 parent a6b0af117e74c1704a22aa4dcb1264b6f131bee4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:45:38 +0200 http_status: on unknown statuscode print statusheader before exiting (This condition never happens though) Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> a6b0af117e74c1704a22aa4dcb1264b6f131bee4 2020-10-04T13:44:41Z 2020-10-05T05:54:23Z util.h: remove duplicate strlcpy declaration Hiltjo Posthuma hiltjo@codemadness.org commit a6b0af117e74c1704a22aa4dcb1264b6f131bee4 parent d2b9657de60d35864eca24c99735963907839872 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Oct 2020 15:44:41 +0200 util.h: remove duplicate strlcpy declaration Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk> d2b9657de60d35864eca24c99735963907839872 2020-09-28T16:14:09Z 2020-09-28T16:14:09Z vote.c: change link color and add disabled results link Anders Damsgaard anders@adamsgaard.dk commit d2b9657de60d35864eca24c99735963907839872 parent 799aa192f31b743ef61a3485b473b6fea11eaa7f Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 18:14:09 +0200 vote.c: change link color and add disabled results link 799aa192f31b743ef61a3485b473b6fea11eaa7f 2020-09-28T15:55:43Z 2020-09-28T15:55:43Z vote.c: various css improvements Anders Damsgaard anders@adamsgaard.dk commit 799aa192f31b743ef61a3485b473b6fea11eaa7f parent fea90f097b99c13d3a5bf7bb6f8c80a711a0ebe0 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 17:55:43 +0200 vote.c: various css improvements fea90f097b99c13d3a5bf7bb6f8c80a711a0ebe0 2020-09-28T15:30:58Z 2020-09-28T15:30:58Z vote.c: tweak stylesheet Anders Damsgaard anders@adamsgaard.dk commit fea90f097b99c13d3a5bf7bb6f8c80a711a0ebe0 parent 9f0bfbe30bcc20cbf5a144d8bf087ef24c3447bb Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 17:30:58 +0200 vote.c: tweak stylesheet 9f0bfbe30bcc20cbf5a144d8bf087ef24c3447bb 2020-09-28T14:58:52Z 2020-09-28T14:58:52Z vote.c: include css Anders Damsgaard anders@adamsgaard.dk commit 9f0bfbe30bcc20cbf5a144d8bf087ef24c3447bb parent 0994d7f990110621e0dec05f95503a65cf4170c6 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 16:58:52 +0200 vote.c: include css 0994d7f990110621e0dec05f95503a65cf4170c6 2020-09-28T14:00:49Z 2020-09-28T14:00:49Z vote.c: read style.css if present on webserver root Anders Damsgaard anders@adamsgaard.dk commit 0994d7f990110621e0dec05f95503a65cf4170c6 parent d87240294456e9516fdd64fc6d6f02aa5e6bfadf Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 16:00:49 +0200 vote.c: read style.css if present on webserver root d87240294456e9516fdd64fc6d6f02aa5e6bfadf 2020-09-28T13:49:02Z 2020-09-28T13:49:02Z vote.c: progressively tighten pledge(2) Anders Damsgaard anders@adamsgaard.dk commit d87240294456e9516fdd64fc6d6f02aa5e6bfadf parent 6cf52771bc127fbf083ca9badeeac6dba89d65fb Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 15:49:02 +0200 vote.c: progressively tighten pledge(2) 6cf52771bc127fbf083ca9badeeac6dba89d65fb 2020-09-28T12:47:37Z 2020-09-28T12:47:37Z vote.c: use 307 redirect to avoid additional voting through refresh Anders Damsgaard anders@adamsgaard.dk commit 6cf52771bc127fbf083ca9badeeac6dba89d65fb parent 0b3501599120c01cca8c2e8532fcd31e781f48ec Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 14:47:37 +0200 vote.c: use 307 redirect to avoid additional voting through refresh 0b3501599120c01cca8c2e8532fcd31e781f48ec 2020-09-28T12:09:43Z 2020-09-28T12:09:43Z vote.c: implement voting functionality Anders Damsgaard anders@adamsgaard.dk commit 0b3501599120c01cca8c2e8532fcd31e781f48ec parent d5823861bfb88b89fc65a8844cd7e9a623bb0690 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 14:09:43 +0200 vote.c: implement voting functionality d5823861bfb88b89fc65a8844cd7e9a623bb0690 2020-09-28T11:17:43Z 2020-09-28T11:17:43Z vote.c: add function to perform safe vote increments Anders Damsgaard anders@adamsgaard.dk commit d5823861bfb88b89fc65a8844cd7e9a623bb0690 parent c214ae3ad448784c1da35ec3b14dec92fc92fccd Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 13:17:43 +0200 vote.c: add function to perform safe vote increments c214ae3ad448784c1da35ec3b14dec92fc92fccd 2020-09-28T07:43:11Z 2020-09-28T07:43:11Z vote.c: remove blank lines in options field Anders Damsgaard anders@adamsgaard.dk commit c214ae3ad448784c1da35ec3b14dec92fc92fccd parent 524a5c649d588c13e3ec21a599765bb55bee2501 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 09:43:11 +0200 vote.c: remove blank lines in options field 524a5c649d588c13e3ec21a599765bb55bee2501 2020-09-27T22:15:40Z 2020-09-27T22:15:40Z list polls and fix install target Anders Damsgaard anders@adamsgaard.dk commit 524a5c649d588c13e3ec21a599765bb55bee2501 parent 56220268f3d1ce5110b6a3b2a3281a9d6e21f401 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Sep 2020 00:15:40 +0200 list polls and fix install target 56220268f3d1ce5110b6a3b2a3281a9d6e21f401 2020-09-27T12:25:26Z 2020-09-27T12:25:26Z Makefile: set permissions and modes on installed files Anders Damsgaard anders@adamsgaard.dk commit 56220268f3d1ce5110b6a3b2a3281a9d6e21f401 parent ab248d07e87bb0d90520cad5be7225b853a6bc5e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 14:25:26 +0200 Makefile: set permissions and modes on installed files ab248d07e87bb0d90520cad5be7225b853a6bc5e 2020-09-27T12:19:14Z 2020-09-27T12:19:14Z Makefile: add install and uninstall targets Anders Damsgaard anders@adamsgaard.dk commit ab248d07e87bb0d90520cad5be7225b853a6bc5e parent ae82a3af5bda85afefcbc4de1cee199c849f370b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 14:19:14 +0200 Makefile: add install and uninstall targets ae82a3af5bda85afefcbc4de1cee199c849f370b 2020-09-27T12:17:04Z 2020-09-27T12:17:04Z vote.c: fix html form Anders Damsgaard anders@adamsgaard.dk commit ae82a3af5bda85afefcbc4de1cee199c849f370b parent bb0bbb833f049070754af126b632cfa4aa9148e7 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 14:17:04 +0200 vote.c: fix html form bb0bbb833f049070754af126b632cfa4aa9148e7 2020-09-27T12:04:11Z 2020-09-27T12:04:11Z vote.c: add html form for creating poll Anders Damsgaard anders@adamsgaard.dk commit bb0bbb833f049070754af126b632cfa4aa9148e7 parent 3089fdd4c6326fa81bef1daa7b401513eaed785e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 14:04:11 +0200 vote.c: add html form for creating poll 3089fdd4c6326fa81bef1daa7b401513eaed785e 2020-09-27T11:37:30Z 2020-09-27T11:37:30Z vote.c: allow creating polls from query Anders Damsgaard anders@adamsgaard.dk commit 3089fdd4c6326fa81bef1daa7b401513eaed785e parent 4cb97e229cbb0d54d85e3960e3d7c4daa53a429e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 13:37:30 +0200 vote.c: allow creating polls from query 4cb97e229cbb0d54d85e3960e3d7c4daa53a429e 2020-09-27T08:42:16Z 2020-09-27T08:42:16Z vote.c: add preliminary implementation to create polls Anders Damsgaard anders@adamsgaard.dk commit 4cb97e229cbb0d54d85e3960e3d7c4daa53a429e parent f5b5aff4672c9a58d24ef7a2d06629870e411a6e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 10:42:16 +0200 vote.c: add preliminary implementation to create polls f5b5aff4672c9a58d24ef7a2d06629870e411a6e 2020-09-27T08:08:19Z 2020-09-27T08:08:19Z vote.c: show poll name in heading Anders Damsgaard anders@adamsgaard.dk commit f5b5aff4672c9a58d24ef7a2d06629870e411a6e parent 10c2ffb581321cb59e676d3f577ce0946debe5c6 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 10:08:19 +0200 vote.c: show poll name in heading 10c2ffb581321cb59e676d3f577ce0946debe5c6 2020-09-27T08:05:36Z 2020-09-27T08:05:36Z vote.c: improve display of poll files Anders Damsgaard anders@adamsgaard.dk commit 10c2ffb581321cb59e676d3f577ce0946debe5c6 parent 9afaec1473d2044388e45ede5f1a4ed38d198939 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 10:05:36 +0200 vote.c: improve display of poll files 9afaec1473d2044388e45ede5f1a4ed38d198939 2020-09-27T07:14:36Z 2020-09-27T07:14:36Z vote.c: don't print to stderr on 404 Anders Damsgaard anders@adamsgaard.dk commit 9afaec1473d2044388e45ede5f1a4ed38d198939 parent 3934b097745f258d593dc8eaf39073e60e1872fc Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 09:14:36 +0200 vote.c: don't print to stderr on 404 3934b097745f258d593dc8eaf39073e60e1872fc 2020-09-27T07:12:16Z 2020-09-27T07:12:52Z vote.c: use err() for error handling and exit Anders Damsgaard anders@adamsgaard.dk commit 3934b097745f258d593dc8eaf39073e60e1872fc parent 5190a3453c2755d07cb5e6afeb9689d27275d4da Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 09:12:16 +0200 vote.c: use err() for error handling and exit 5190a3453c2755d07cb5e6afeb9689d27275d4da 2020-09-27T06:59:58Z 2020-09-27T06:59:58Z util.[ch]: add strlcpy for platforms that do not have it Anders Damsgaard anders@adamsgaard.dk commit 5190a3453c2755d07cb5e6afeb9689d27275d4da parent a6ae3f0db3f76e55a4ecc84bf09ee62e629881e3 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 08:59:58 +0200 util.[ch]: add strlcpy for platforms that do not have it a6ae3f0db3f76e55a4ecc84bf09ee62e629881e3 2020-09-27T06:54:15Z 2020-09-27T06:54:15Z open poll files for reading when ?poll is passed Anders Damsgaard anders@adamsgaard.dk commit a6ae3f0db3f76e55a4ecc84bf09ee62e629881e3 parent c7fdf4bc6fe1740d10b874ce6da7005f7ca46635 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 08:54:15 +0200 open poll files for reading when ?poll is passed c7fdf4bc6fe1740d10b874ce6da7005f7ca46635 2020-09-27T06:11:31Z 2020-09-27T06:11:31Z vote.c: remove raw representation of poll parameter Anders Damsgaard anders@adamsgaard.dk commit c7fdf4bc6fe1740d10b874ce6da7005f7ca46635 parent a813862768457b63444e4006b480ec4627a4cd77 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 08:11:31 +0200 vote.c: remove raw representation of poll parameter a813862768457b63444e4006b480ec4627a4cd77 2020-09-27T06:09:19Z 2020-09-27T06:09:19Z vote.c: remove now unnecessary platform check for pledge(2)/unveil(2) Anders Damsgaard anders@adamsgaard.dk commit a813862768457b63444e4006b480ec4627a4cd77 parent dcdc78dcfa9f05729c646ca66f3a37e9ca074b4b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 08:09:19 +0200 vote.c: remove now unnecessary platform check for pledge(2)/unveil(2) dcdc78dcfa9f05729c646ca66f3a37e9ca074b4b 2020-09-27T06:08:40Z 2020-09-27T06:08:40Z util.[ch]: add original copyright notice Anders Damsgaard anders@adamsgaard.dk commit dcdc78dcfa9f05729c646ca66f3a37e9ca074b4b parent 8df58982ab54ae3f28c0da696fd3a3eb8e5f9124 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 08:08:40 +0200 util.[ch]: add original copyright notice 8df58982ab54ae3f28c0da696fd3a3eb8e5f9124 2020-09-27T06:05:00Z 2020-09-27T06:05:00Z add ISC license Anders Damsgaard anders@adamsgaard.dk commit 8df58982ab54ae3f28c0da696fd3a3eb8e5f9124 parent 93cfbe7466a3f69bcdf8928fdef8e3dde1d732e5 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 08:05:00 +0200 add ISC license 93cfbe7466a3f69bcdf8928fdef8e3dde1d732e5 2020-09-27T06:03:51Z 2020-09-27T06:03:51Z add hiltjo posthuma's utilities Anders Damsgaard anders@adamsgaard.dk commit 93cfbe7466a3f69bcdf8928fdef8e3dde1d732e5 parent f49595b9c30a3a21c5380807654b1b43379e5b0d Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 08:03:51 +0200 add hiltjo posthuma's utilities from git://git.codemadness.org/frontends f49595b9c30a3a21c5380807654b1b43379e5b0d 2020-09-27T05:46:29Z 2020-09-27T05:46:29Z only pledge(1)/unveil(1) on OpenBSD Anders Damsgaard anders@adamsgaard.dk commit f49595b9c30a3a21c5380807654b1b43379e5b0d parent f01eecbd79247d95d642b91d732dd5338c944417 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 07:46:29 +0200 only pledge(1)/unveil(1) on OpenBSD f01eecbd79247d95d642b91d732dd5338c944417 2020-09-27T00:20:42Z 2020-09-27T00:20:42Z throw http error if unveil(2) fails Anders Damsgaard anders@adamsgaard.dk commit f01eecbd79247d95d642b91d732dd5338c944417 parent 4bb5484779e4c0562cbe9393ab9df8caf3f24728 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 02:20:42 +0200 throw http error if unveil(2) fails 4bb5484779e4c0562cbe9393ab9df8caf3f24728 2020-09-27T00:20:13Z 2020-09-27T00:20:13Z fix unveil(2) logic Anders Damsgaard anders@adamsgaard.dk commit 4bb5484779e4c0562cbe9393ab9df8caf3f24728 parent b2d48df0f716bde905d6eb17e0520014cc3171ca Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 02:20:13 +0200 fix unveil(2) logic b2d48df0f716bde905d6eb17e0520014cc3171ca 2020-09-27T00:18:50Z 2020-09-27T00:18:50Z add preliminary poll display logic Anders Damsgaard anders@adamsgaard.dk commit b2d48df0f716bde905d6eb17e0520014cc3171ca parent 60cce502c63f387f1505a113c9b90ca14f929b06 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 02:18:50 +0200 add preliminary poll display logic 60cce502c63f387f1505a113c9b90ca14f929b06 2020-09-26T23:57:52Z 2020-09-26T23:57:52Z add and use function for dying with 500 response Anders Damsgaard anders@adamsgaard.dk commit 60cce502c63f387f1505a113c9b90ca14f929b06 parent 22acb208bf624709b5693518ec831f9bbc2c8319 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 01:57:52 +0200 add and use function for dying with 500 response 22acb208bf624709b5693518ec831f9bbc2c8319 2020-09-26T23:55:10Z 2020-09-26T23:55:10Z add unveil(2) and fix error status if polls/ cannot be created Anders Damsgaard anders@adamsgaard.dk commit 22acb208bf624709b5693518ec831f9bbc2c8319 parent 74b58729c204508d0e3fbe2162a3325d2f3d5aeb Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 01:55:10 +0200 add unveil(2) and fix error status if polls/ cannot be created 74b58729c204508d0e3fbe2162a3325d2f3d5aeb 2020-09-26T23:39:22Z 2020-09-26T23:39:22Z move query parsing into separate function Anders Damsgaard anders@adamsgaard.dk commit 74b58729c204508d0e3fbe2162a3325d2f3d5aeb parent c7654831e7c7bc274ca47f940c93392a55a74cb2 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 01:39:22 +0200 move query parsing into separate function c7654831e7c7bc274ca47f940c93392a55a74cb2 2020-09-26T23:10:02Z 2020-09-26T23:25:27Z remove diagnostic output Anders Damsgaard anders@adamsgaard.dk commit c7654831e7c7bc274ca47f940c93392a55a74cb2 parent 338931d646f13dcfa659fe1ecebefcc79abdda1b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 01:10:02 +0200 remove diagnostic output 338931d646f13dcfa659fe1ecebefcc79abdda1b 2020-09-26T23:09:12Z 2020-09-26T23:09:12Z check if polls/ exists, create it if not Anders Damsgaard anders@adamsgaard.dk commit 338931d646f13dcfa659fe1ecebefcc79abdda1b parent cb2cf1d1ce9a181c872544f55ef5531725e57864 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 01:09:12 +0200 check if polls/ exists, create it if not cb2cf1d1ce9a181c872544f55ef5531725e57864 2020-09-26T22:52:52Z 2020-09-26T22:52:52Z fix mode for polls/ Anders Damsgaard anders@adamsgaard.dk commit cb2cf1d1ce9a181c872544f55ef5531725e57864 parent bdce2ea7346baf238f503b73cf219558fd53a28d Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 00:52:52 +0200 fix mode for polls/ bdce2ea7346baf238f503b73cf219558fd53a28d 2020-09-26T22:51:04Z 2020-09-26T22:51:04Z README: add TODO Anders Damsgaard anders@adamsgaard.dk commit bdce2ea7346baf238f503b73cf219558fd53a28d parent 7be65d231cd9ea138f2aaa8e06a1ad6c2dc496be Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 00:51:04 +0200 README: add TODO 7be65d231cd9ea138f2aaa8e06a1ad6c2dc496be 2020-09-26T22:45:20Z 2020-09-26T22:45:20Z create polls/ and improve error messaging Anders Damsgaard anders@adamsgaard.dk commit 7be65d231cd9ea138f2aaa8e06a1ad6c2dc496be parent 71c26ce31eeddf5ccbc2e56c10281ca742648364 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 00:45:20 +0200 create polls/ and improve error messaging 71c26ce31eeddf5ccbc2e56c10281ca742648364 2020-09-26T22:06:02Z 2020-09-26T22:06:02Z vote.c: add attribution for getparam Anders Damsgaard anders@adamsgaard.dk commit 71c26ce31eeddf5ccbc2e56c10281ca742648364 parent 6219f16f30c819b46112d86893f329f84f1dbb06 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 00:06:02 +0200 vote.c: add attribution for getparam 6219f16f30c819b46112d86893f329f84f1dbb06 2020-09-26T22:04:33Z 2020-09-26T22:04:33Z add README with httpd.conf note Anders Damsgaard anders@adamsgaard.dk commit 6219f16f30c819b46112d86893f329f84f1dbb06 parent 3925bb8d6b4fe0b136655a5adbfef61ae27b1f48 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 00:04:33 +0200 add README with httpd.conf note 3925bb8d6b4fe0b136655a5adbfef61ae27b1f48 2020-09-26T22:02:57Z 2020-09-26T22:02:57Z Add working example Anders Damsgaard anders@adamsgaard.dk commit 3925bb8d6b4fe0b136655a5adbfef61ae27b1f48 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 00:02:57 +0200 Add working example