summary refs log tree commit diff
Commit message (Collapse)AuthorAge
* Build and copy static binaries to /var/wwwJune McEnroe2021-09-30
| | | | Ideally these wouldn't require sh, cat, rm, mktemp.
* Silence owner-info errorJune McEnroe2021-09-30
| | | | | cgit runs in a chroot. It is normal that it cannot look up user info in /etc/passwd.
* pledge(2) mtagsJune McEnroe2021-09-30
|
* pledge(2) htagmlJune McEnroe2021-09-30
|
* pledge(2) hilexJune McEnroe2021-09-30
|
* Remove link to gopherJune McEnroe2021-09-29
| | | | | Migrating things over, I don't think it's worth continuing to serve text over gopher.
* Invert doas/sudo aliasJune McEnroe2021-09-27
| | | | Gotten a lot more used to running doas!
* Add pyro to ssh configJune McEnroe2021-09-26
|
* Update dash autoconf/automake filesJune McEnroe2021-09-27
| | | | No idea why it made me do this...
* Add boot commands for serial consoleJune McEnroe2021-09-26
|
* Publish "Installing OpenBSD on Linode"June McEnroe2021-09-26
|
* Use tiny UTF-8-aware col -b replacementJune McEnroe2021-09-26
| | | | | | 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.
* Install up to cgi-binJune McEnroe2021-09-25
|
* Clean up up (ugh) somewhat againJune McEnroe2021-09-25
|
* Update root path in up.shJune McEnroe2021-09-25
|
* Disable HashKnownHostsJune McEnroe2021-09-25
| | | | All this really does is make fixing problems more difficult.
* Add scout to ssh configJune McEnroe2021-09-25
|
* Sandbox up on both FreeBSD and OpenBSDJune McEnroe2021-09-25
| | | | | | This is a bit messy. pledge(2) calls based on [1]. [1]: https://kristaps.bsd.lv/kcgi/tutorial6.html
* Set SO_REUSEADDR in quickJune McEnroe2021-09-25
|
* Revert "Add cat alias using less"June McEnroe2021-09-25
| | | | | | | This reverts commit 8e3eea73f069cdbbc16da14e48a44d610dd07a07. Yeah this really doesn't work on OpenBSD. I kind of got into the habit of explicitly running less anyway.
* Pledge downgradeJune McEnroe2021-09-24
|
* Set original socket CLOEXECJune McEnroe2021-09-24
|
* Consume request headers using MSG_PEEKJune McEnroe2021-09-24
| | | | | | 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.
* Set only HTTP_HOSTJune McEnroe2021-09-24
| | | | | | 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.
* Scroll by single lines in xtermJune McEnroe2021-09-23
|
* Hide htop "function bar"June McEnroe2021-09-23
| | | | Useless thing...
* Allow FocusEvents in xtermJune McEnroe2021-09-23
| | | | | | | 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.
* Use NI_NUMERICSERVJune McEnroe2021-09-23
|
* Make up build away from FreeBSDJune McEnroe2021-09-23
|
* Add quickJune McEnroe2021-09-23
|
* Add The HobbitJune McEnroe2021-09-23
| | | | | Surprisingly good for something written by a man like a hundred years ago!
* Remove PSF fontsJune McEnroe2021-09-22
| | | | They were fun to make but I never actually used them.
* Remove Linux-specific utilitiesJune McEnroe2021-09-22
| | | | I haven't used these in ages.
* Call sandbox in CGI modeJune McEnroe2021-09-22
| | | | Otherwise upload won't actually work.
* Support HTTP PUT in upJune McEnroe2021-09-22
| | | | | | | | 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
* Remove default faviconJune McEnroe2021-09-22
| | | | I hate these things and also this one sucks.
* Use Z_FILTERED strategyJune McEnroe2021-09-21
|
* Recalculate various lengths only as neededJune McEnroe2021-09-21
| | | | | | 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.
* Rewrite pngo, add explicit optionsJune McEnroe2021-09-21
| | | | Interesting to see how my code habits have changed.
* Fix /* **/ comment matchingJune McEnroe2021-09-16
|
* Remove typer, add downgrade to READMEJune McEnroe2021-09-15
|
* Set bot mode on downgradeJune McEnroe2021-09-15
|
* Enter capsicum in downgradeJune McEnroe2021-09-15
|
* Factor out common parts of downgrade messagesJune McEnroe2021-09-15
| | | | | Also bump the message cap to 1024 because that is ostensibly useful for replying to older messages.
* Add downgrade IRC botJune McEnroe2021-09-14
|
* Sort by title if authors matchJune McEnroe2021-09-14
| | | | | There are probably better things to sort by but title definitely always exists.
* Swap-remove tags as they're foundJune McEnroe2021-09-13
| | | | | This makes it even faster. From ~1s on a sqlite3.c amalgamation to ~0.85s.
* Replace htagml regex with strncmpJune McEnroe2021-09-12
| | | | | | | | | | 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!
* Also defer printing comment for lone close-parensJune McEnroe2021-09-11
|
* Publish "git-comment"June McEnroe2021-09-10
|