pict

PICT container
git clone https://git.mitxela.com/pict.git
Log | Files | Refs | README

Branches

Name Last commit date Author
container2022-08-09 17:16:56 +0100mitxela
master2022-08-09 16:49:07 +0000mitxela

File Tree (HEAD)

Name Size
.gitignore139B
.htaccess282B
QRCode.js32.29K
_archive.php3.935K
_db.php.example163B
_draw_def.php5.875K
_draw_etch.php7.219K
cah_whitecards.txt10.62K
erase.png308B
etch.png48.41K
index.php30.31K
nounsList.txt2.627K
readme.md425B
tex_squares.jpg4.721K
wordList.txt1.537K

History

* b1f1e74 (HEAD -> master) | mitxela 2022-08-09 16:46 | sort links | * 4407b60 | mitxela 2022-08-09 17:25 | block discordbot | * 8f75b46 | mitxela 2022-08-09 17:18 | add readme | * 743d643 | mitxela 2022-08-05 15:50 | Add brown (was committed to other repo) | * d6dcfc2 | mitxela 2022-08-05 15:48 | Add 45 seconds (committed to other repo) | * a4564a0 | mitxela 2022-08-05 15:15 | Show pretty error page on mitxela.com | * 088cd99 | mitxela 2022-08-05 11:15 | at least send a 404 header | * f6febfa | Tom Spurling 2020-02-22 01:22 | Don't bother specifying a cookie domain; chrome hates localhost and IPs | * dad0119 | Tom Spurling 2020-02-22 00:09 | Revert "No more SHORTNESS" | * d4bf377 | Tom Spurling 2020-02-22 00:09 | No more SHORTNESS | * 6cdf34c | Tom Spurling 2020-02-17 20:19 | start screaming | * d937a6f | mitxela 2020-02-09 13:25 | Move img dir check to "host" url so it doesn't do it on every request, add telegrambot to banned agents | * 752eb72 | mitxela 2020-02-07 23:04 | fix tick display on linux/firefox | * 9da5a8d | mitxela 2020-02-07 23:03 | Add twitterbot to banned agents | * e4b1ff1 | mitxela 2020-02-07 20:15 | Ensure img dir is writable before game begins | * 9249262 | mitxela 2020-02-07 19:44 | Pretty print URL, but only when hosted on mitxela.com | * 6ac9cdb | mitxela 2020-02-07 19:43 | Fix https support | * ec844e4 | mitxela 2020-02-07 15:18 | Explicitly kick bots so we don't have to wait for them to time out | * 5c01e4e | mitxela 2020-02-07 14:40 | Handle query errors controllably | * f521366 | mitxela 2020-02-07 13:57 | Rename db.php to be consistent with hidden files | * 47db303 | mitxela 2020-02-07 13:52 | Reduce latency when running on local network | * 9a7d279 | Tom Spurling 2020-02-05 08:25 | Ignore "dev" script from container wrapper | * f2f48a6 | Tom Spurling 2020-02-05 08:23 | Let SSL be disabled with an environment variable | * d7e152b | Tom Spurling 2020-02-05 08:10 | Unfortunately, / is a special case for dirname | * 24be366 | Tom Spurling 2020-02-04 23:09 | WIP TODO deal with optional ssl... see also cookie secureness, consider special NO_SSL SetEnv or something? | * 145434b | Tom Spurling 2020-02-04 23:09 | WIP TODO strict mode blundering | * 53ab9dd | Tom Spurling 2020-02-04 23:08 | Make debugging messages more helpful | * be20ce4 | Tom Spurling 2020-02-04 23:06 | Correct actual link to actual mitxela.com/ | * f027780 | Tom Spurling 2020-02-04 23:05 | Avoid depending on hosting domain | * 570c26e | Tom Spurling 2020-02-04 22:04 | Return 404 on all includes and example files | * f2dfe3c | Tom Spurling 2020-02-04 21:42 | Directly include QR code library | | * f1fcaa3 (container) | | mitxela 2022-08-09 17:16 | | add readme | | | * dce171c | | mitxela 2022-08-05 11:20 | | 404 .git too | | | * 834d90b | | mitxela 2022-08-05 11:14 | | 404 on _php files | | | * 1ccb52e | | mitxela 2022-08-05 11:13 | | Pick an old version of alpine to mitigate build problems | | | * 7abc7f8 | | Tom Spurling 2020-02-22 01:09 | | Better documentation of service scripts | | | * 55cee18 | | Tom Spurling 2020-02-22 00:48 | | Newline just looks silly | | | * 5227192 | | Tom Spurling 2020-02-22 00:46 | | Less shitty comments in nginx conf | | | * 8fdbf87 | | Tom Spurling 2020-02-22 00:30 | | Fix db-setup | | | * e2686df | | Tom Spurling 2020-02-22 00:15 | | Move env defaults into container build so it is easier to run standalone | | | * d8eeee6 | | Tom Spurling 2020-02-22 00:15 | | no short tag in _db.php | | | * 2c45d77 | | Tom Spurling 2020-02-21 23:33 | | Unclean build warning! | | | * 1d8329e | | Tom Spurling 2020-02-21 23:17 | | _db.php is mandatory for container build | | | * 6748be6 | | Tom Spurling 2020-02-21 23:08 | | Consistent style even in shell in shell | | | * 41e4aa8 | | Tom Spurling 2020-02-21 23:06 | | Main branch should NOT be called "redo" | | | * f08a9d5 | | Tom Spurling 2020-02-21 22:59 | | No need for sudo cheat if you CONFIGURE YOUR SYSTEM CORRECTLY | | | * 1c2ad9d | | Tom Spurling 2020-02-21 22:45 | | fixup! Pointless attempt to label logs | | | * f02cabf | | Tom Spurling 2020-02-18 12:06 | | Pointless attempt to label logs | | | * 4c8cc9c | | Tom Spurling 2020-02-18 12:04 | | Make database startup safer by blocking it during setup | | | * c0c5185 | | Tom Spurling 2020-02-18 00:18 | | Much smaller image in exchange for slightly slower startup | | | * 71fb66b | | Tom Spurling 2020-02-17 20:18 | | Start from scratch for a hopefully smaller container | | | * 269f3a2 | | mitxela 2020-02-07 14:01 | | Rename db.php to be consistent with hidden files | | | * 4c87332 | | mitxela 2020-02-07 14:01 | | JS poll time as env var | | | * 317f5e6 | | Tom Spurling 2020-02-06 08:38 | | fixup! Use worktree by default | | | * 70a9a46 | | Tom Spurling 2020-02-06 08:38 | | fixup! Single script to get it running with local source | | | * aec96c4 | | Tom Spurling 2020-02-06 07:45 | | fixup! Forget the submodule thing, it is a pain | | | * 4554386 | | Tom Spurling 2020-02-05 08:40 | | Use worktree by default | | | * d978c47 | | Tom Spurling 2020-02-05 08:40 | | Forget the submodule thing, it is a pain | | | * f718b17 | | Tom Spurling 2020-02-05 08:26 | | Fix things, and disable SSL through new environment variable | | | * 98c6f15 | | Tom Spurling 2020-02-04 23:12 | | add self as submodule | | | * 848536e | | Tom Spurling 2020-02-04 23:10 | | OOPS | | | * c2b5451 | | Tom Spurling 2020-01-25 10:32 | | Can move docker-compose.yml out of the way, now that a wrapper exists | | | * e7efcb4 | | Tom Spurling 2020-01-25 10:22 | | Make the image create the db by default, without being reminded | | | * 0056562 | | Tom Spurling 2020-01-25 10:19 | | Single script to get it running with local source | | | * ddac54c | | Tom Spurling 2020-01-25 10:18 | | fixup! containerz | | | * 61d62ea | | mitxela 2020-01-25 01:51 | | Revert "Revert "continue to use local source"" | | | * e4695f5 | | mitxela 2020-01-25 01:50 | | fixup! Rearrange with src/ directory so that build can be done nicely | | | * 148ac24 | | mitxela 2020-01-25 01:40 | | default db config for image | | | * dc58550 | | mitxela 2020-01-25 01:32 | | Revert "continue to use local source" | | | * e472f32 | | mitxela 2020-01-25 01:32 | | continue to use local source | | | * d395c22 | | mitxela 2020-01-25 01:30 | | Rearrange with src/ directory so that build can be done nicely | | | * f70ca5e | | mitxela 2020-01-25 00:13 | | better urls with HOST header | | | * f6db7c7 | | mitxela 2020-01-25 00:11 | | qr code | | | * 2dfa26a | | mitxela 2020-01-24 20:04 | | This was impoRTAnT | | | * 47339eb | | mitxela 2020-01-24 19:57 | | Avoid wrong URLs and specific file locations | | | * 865b48b | | mitxela 2020-01-24 19:56 | | Disable strict SQL mode because for some reason NFS do that | | | * 1f093fe | | mitxela 2020-01-24 19:32 | | actually we don't want to do that because the sql_mode is wrong | | | * bea1e1f |/ mitxela 2020-01-24 19:28 | containerz | * 5352ffc | mitxela 2020-01-24 13:42 | Add new word list | * 3556d7c | mitxela 2020-01-24 13:27 | Cop-out solution, set timeout to 30 and let users still entering their name get kicked | * 65ff048 | mitxela 2020-01-22 14:40 | Escape all entities in the database, to deal with lack of utf8mb4 support | * 62f5039 | mitxela 2020-01-21 12:50 | fix archive links while logged in | * 87c9ceb | mitxela 2020-01-20 17:33 | Add QR code to join page | * 8d389a6 | mitxela 2020-01-20 17:30 | add sort to archive page | * d260f06 | mitxela 2019-03-07 00:14 | Add archive page | * e0369bc | mitxela 2019-03-05 23:32 | Fix iphone touch problem | * ec4ae38 | mitxela 2018-07-09 19:09 | Increase size of colour buttons | * c08965e | mitxela 2018-07-08 20:57 | Add immediate end mechanism | * d02f8d0 | mitxela 2018-07-07 19:49 | Redirect to new game only if it hasn't started yet | * bcad9ea | mitxela 2018-07-07 19:48 | increase fontsize for result descriptions | * f58909e | mitxela 2018-07-07 17:02 | Alter results screen to show the same order for everyone | * 34efa46 mitxela 2018-06-28 15:41 Initial commit, just after adding colours to draw_def

Contents of readme.md:

PICT

Revel in the glorious PHP abomination that is the PICT source code.

For the docker image, look at the container branch.

For explanations that go into an uncomfortable level of detail, see the original pict page and the writeup about containerising it.

To just play PICT, head to mitxela.com/pict