Commit message (Collapse) | Author | ||
---|---|---|---|
2021-09-30 | Silence owner-info error | June McEnroe | |
cgit runs in a chroot. It is normal that it cannot look up user info in /etc/passwd. | |||
2021-09-30 | pledge(2) mtags | June McEnroe | |
2021-09-30 | pledge(2) htagml | June McEnroe | |
2021-09-30 | pledge(2) hilex | June McEnroe | |
2021-09-29 | Remove link to gopher | June McEnroe | |
Migrating things over, I don't think it's worth continuing to serve text over gopher. | |||
2021-09-27 | Invert doas/sudo alias | June McEnroe | |
Gotten a lot more used to running doas! | |||
2021-09-26 | Add pyro to ssh config | June McEnroe | |
2021-09-27 | Update dash autoconf/automake files | June McEnroe | |
No idea why it made me do this... | |||
2021-09-26 | Add boot commands for serial console | June McEnroe | |
2021-09-26 | Publish "Installing OpenBSD on Linode" | June McEnroe | |
2021-09-26 | Use tiny UTF-8-aware col -b replacement | June McEnroe | |
OpenBSD col(1) doesn't understand UTF-8 and will delete all of it. Stupid, especially when mandoc(1) tells you to use it to remove man formatting. I shouldn't have to write something so trivial. | |||
2021-09-25 | Install up to cgi-bin | June McEnroe | |
2021-09-25 | Clean up up (ugh) somewhat again | June McEnroe | |
2021-09-25 | Update root path in up.sh | June McEnroe | |
2021-09-25 | Disable HashKnownHosts | June McEnroe | |
All this really does is make fixing problems more difficult. | |||
2021-09-25 | Add scout to ssh config | June McEnroe | |
2021-09-25 | Sandbox up on both FreeBSD and OpenBSD | June McEnroe | |
This is a bit messy. pledge(2) calls based on [1]. [1]: https://kristaps.bsd.lv/kcgi/tutorial6.html | |||
2021-09-25 | Set SO_REUSEADDR in quick | June McEnroe | |
2021-09-25 | Revert "Add cat alias using less" | June McEnroe | |
This reverts commit a64c3653d5df5e823fcdd07a540e240283816683. Yeah this really doesn't work on OpenBSD. I kind of got into the habit of explicitly running less anyway. | |||
2021-09-24 | Pledge downgrade | June McEnroe | |
2021-09-24 | Set original socket CLOEXEC | June McEnroe | |
2021-09-24 | Consume request headers using MSG_PEEK | June McEnroe | |
Use MSG_PEEK to determine where the request headers end and consume only up to there, leaving the CGI process to read any request body directly from the socket. | |||
2021-09-24 | Set only HTTP_HOST | June McEnroe | |
And only because kcgi expects it. This is what I wrote originally, because every HTTP_ variable should be unset between each request, but this doesn't track them. | |||
2021-09-23 | Scroll by single lines in xterm | June McEnroe | |
2021-09-23 | Hide htop "function bar" | June McEnroe | |
Useless thing... | |||
2021-09-23 | Allow FocusEvents in xterm | June McEnroe | |
Oops! This whole time I thought OpenBSD xterm for some reason didn't support focus events. It turns out allowMouseOps: false disables them by default. Replace the disallowedMouseOps list with everything but. | |||
2021-09-23 | Use NI_NUMERICSERV | June McEnroe | |
2021-09-23 | Make up build away from FreeBSD | June McEnroe | |
2021-09-23 | Add quick | June McEnroe | |
2021-09-23 | Add The Hobbit | June McEnroe | |
Surprisingly good for something written by a man like a hundred years ago! | |||
2021-09-22 | Remove PSF fonts | June McEnroe | |
They were fun to make but I never actually used them. | |||
2021-09-22 | Remove Linux-specific utilities | June McEnroe | |
I haven't used these in ages. | |||
2021-09-22 | Call sandbox in CGI mode | June McEnroe | |
Otherwise upload won't actually work. | |||
2021-09-22 | Support HTTP PUT in up | June McEnroe | |
For use by Palaver[1]. Unfortunately, at least in the current App Store version of Palaver, this doesn't work correctly with basic auth. [1]: https://palaverapp.com/guides/commands/set.html#ui-image_service | |||
2021-09-22 | Remove default favicon | June McEnroe | |
I hate these things and also this one sucks. | |||
2021-09-21 | Use Z_FILTERED strategy | June McEnroe | |
2021-09-21 | Recalculate various lengths only as needed | June McEnroe | |
This actually speeds things up quite a bit, saving roughly a second on a big PNG screenshot. Almost all the remaining time is spent in deflate. | |||
2021-09-21 | Rewrite pngo, add explicit options | June McEnroe | |
Interesting to see how my code habits have changed. | |||
2021-09-16 | Fix /* **/ comment matching | June McEnroe | |
2021-09-15 | Remove typer, add downgrade to README | June McEnroe | |
2021-09-15 | Set bot mode on downgrade | June McEnroe | |
2021-09-15 | Enter capsicum in downgrade | June McEnroe | |
2021-09-15 | Factor out common parts of downgrade messages | June McEnroe | |
Also bump the message cap to 1024 because that is ostensibly useful for replying to older messages. | |||
2021-09-14 | Add downgrade IRC bot | June McEnroe | |
2021-09-14 | Sort by title if authors match | June McEnroe | |
There are probably better things to sort by but title definitely always exists. | |||
2021-09-13 | Swap-remove tags as they're found | June McEnroe | |
This makes it even faster. From ~1s on a sqlite3.c amalgamation to ~0.85s. | |||
2021-09-12 | Replace htagml regex with strncmp | June McEnroe | |
Since ctags only ever produces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win! | |||
2021-09-11 | Also defer printing comment for lone close-parens | June McEnroe | |
2021-09-10 | Publish "git-comment" | June McEnroe | |
2021-09-10 | Add git comment --pretty option | June McEnroe | |