summaryrefslogtreecommitdiffstats
path: root/roseh.moe.go
AgeCommit message (Collapse)AuthorFilesLines
2026-09-08Create static templates after parsing flagsRose Hogenson1-24/+44
2026-09-08Use a relative link for projectsRose Hogenson1-1/+5
2026-09-08Pick default portRose Hogenson1-1/+8
2026-09-08Get rid of port and domain flagsRose Hogenson1-15/+42
They are redundant with self-url which has been renamed to url.
2026-09-08Use weak ETagsRose Hogenson1-4/+1
2026-09-08Give static HTML pages an ETagRose Hogenson1-42/+48
2026-09-08Use a different ETag for Content-Encoding gzipRose Hogenson1-0/+3
Apparently this is required. Not sure if there's a less hacky way to do it.
2026-09-08Use /tmp/hole as the hole directory for local runsRose Hogenson1-1/+5
2026-09-06Use path.Clean so that directories can be routedRose Hogenson1-1/+2
2026-09-06Use ServeFileFS for static filesRose Hogenson1-17/+3
This allows listing the directories
2026-09-06Use absolute path for cgitrcRose Hogenson1-1/+5
2026-09-03No need for a separate muxRose Hogenson1-11/+10
It's a little weird that *cgi.Handler needs a circular reference. I guess it makes sense though, in case cgit uses a local redirect which I think is just when the script tells us to call it again with a different URL.
2026-09-02Use the regular roseh.moe branding for cgitRose Hogenson1-2/+1
2026-09-02Fix internal redirectsRose Hogenson1-7/+9
2026-09-02Use cgitRose Hogenson1-7/+20
2026-09-02Tweak redirect codesRose Hogenson1-3/+3
2026-08-26Use fast compression for tar filesRose Hogenson1-1/+4
2026-08-21Validate HostRose Hogenson1-1/+1
2026-08-21Middleware!Rose Hogenson1-51/+33
2026-08-20Support gzip compressionRose Hogenson1-2/+110
2026-08-20Add ETag for static filesRose Hogenson1-3/+37
2026-08-19Remove met art pageRose Hogenson1-367/+3
2026-08-18Improve directory layout a little moreRose Hogenson1-41/+63
2026-08-18Improve URL structureRose Hogenson1-85/+63
2026-08-18Add Met Art pageRose Hogenson1-0/+364
2026-08-15Revert "Properly use code unauthorized"Rose Hogenson1-25/+18
This reverts commit 5325d4b10d39a8873b445ce956a059ad6c2811fb.
2026-08-15Properly use code unauthorizedRose Hogenson1-18/+25
2026-08-15Fix redirect for /nezuko after loginRose Hogenson1-1/+1
2026-08-15Expose nezuko partition on /nezuko endpointRose Hogenson1-0/+14
2026-07-25Rename stallman-shooter to RMS shooterRose Hogenson1-2/+2
2026-07-25Port a game I wrote a long time ago to JSRose Hogenson1-2/+28
2026-07-24Fix path for URL and package indexesRose Hogenson1-2/+2
2026-07-23Avoid some allocations for the index pagesRose Hogenson1-83/+21
2026-07-23Add a command indexRose Hogenson1-2/+45
2026-07-23Add a package indexRose Hogenson1-11/+74
2026-07-23Add a helper function for making an outlined templateRose Hogenson1-9/+23
2026-07-13Handle routing errors in a more sensible wayRose Hogenson1-2/+4
2026-07-09Use PUT for the APIRose Hogenson1-2/+5
2026-07-09Include a newline at the end of the API responseRose Hogenson1-1/+1
2026-07-09Add an API uploadRose Hogenson1-6/+29
2026-07-09Add a /code directoryRose Hogenson1-1/+3
2026-06-09Fix the tar format to PAX formatRose Hogenson1-2/+2
2026-06-07Allow uploading multiple files to the wormholeRose Hogenson1-50/+151
2026-02-26Allow the previous OTPRose Hogenson1-5/+10
2026-02-06Do a little less sha256Rose Hogenson1-6/+4
Since oae2 will internally also call hkdf, there's no reason to hkdf the encryption key twice. We can hkdf it once for the primary key, and then let oae2 hkdf it again for the encryption key. Since the second hkdf uses a 32 byte random salt, the two calls will certainly use different parameters.
2026-02-06Keep redirect query param on incorrect passwordRose Hogenson1-7/+3
This makes it a little less weird when you enter an incorrect password and the URL changes.
2026-01-26Bump depsRose Hogenson1-2/+2
2026-01-21XML!!!Rose Hogenson1-20/+35
2026-01-03Support range requests for wormhole downloadsRose Hogenson1-14/+19
2025-12-29Fix error messagesRose Hogenson1-3/+10