summaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)Author
2024-01-13dial timeouts for clients, and catch up on test fixestjp
2023-11-14bugfixes from the Protocol refactorv1.6.0tjp
2023-11-13remove the old contrib/sharedhost replacement approachtjp
2023-11-13add nex protocol supporttjp
2023-11-13refactor contribs to work with a Protocol interfacetjp
2023-10-30spartan support in fs and cgi contribstjpcc
fixes #17
2023-10-10support an overridden "cmd" for CGIstjpcc
2023-10-09more useful tlsauth.Approver typetjpcc
the predicate function should be able to see the whole context and request
2023-10-09contrib/fs.TitanUpload improvementstjpcc
* use temporary gemini failure responses on errors * chmod created/updated files to 0644
2023-10-09improves filetype detectiontjpcc
2023-09-30file serving refactortjpcc
* do away with fs.FS usage in gemini, like the previous refactor in gopher * remove spartan code in contrib * standardize fsroot/urlroot string arguments to file serving handlers
2023-09-23improve shared host path handlingtjpcc
2023-09-14add REMOTE_PORT to CGI envtjpcc
2023-09-09log stderr on failed CGIstjpcc
2023-09-07fix attempt on gopher cgisv1.3.2tjpcc
2023-09-07all the gopher CGI handlers to support gophernicus behaviorsv1.3.0tjpcc
2023-09-06contrib/fs.GuessGopherItemType -> gopher.GuessItemTypetjpcc
2023-05-09correct direction of the binary search for dir default filestjpcc
2023-05-09correctly use path.Ext() resultstjpcc
2023-05-09recognize gophermap files as menu types in dir listingstjpcc
2023-05-06don't start in-FS paths with ./tjpcc
this was tricky, it didn't fail until I got it on a FreeBSD host
2023-05-03TitanUpload middleware in contrib/fstjpcc
2023-05-03hide private files from the FStjpcc
- ResolveFile acts like ErrNotFound - ResolveDirectory acts like ErrNotFound - RenderDirectoryListing strips out dot-prefixed entries
2023-05-02send request bodies into CGI handlerstjpcc
2023-05-01name change in the CGI SERVER_SOFTWARE env vartjpcc
2023-05-01name change gus -> slideruletjpcc
2023-04-30spartan handler for a CGI directorytjpcc
2023-04-29spartan FS servertjpcc
2023-02-15Switch Handler to an interface.tjpcc
HandlerFunc is much better as a function returning a Handler, rather than a newtype for the function type itself. This way there is no confusion creating a type-inferenced variable with HandlerFunc(func(... and then using a HandlerFunc where a Handler is expected. Much better to only have one public type.
2023-01-28fix tests for #15 changetjpcc
2023-01-28permanently redirect from /dir to /dir/ on gemini. fixes #15tjpcc
2023-01-28gopher support.tjpcc
Some of the contrib packages were originally built gemini-specific and had to be refactored into generic core functionality and thin protocol-specific wrappers for each of gemini and gopher.
2023-01-26test coverage and resulting bugfixestjpcc
2023-01-25test coverage for the cgi contribtjpcc
2023-01-24testing and linting and linter fixestjpcc
2023-01-23logging library up to top leveltjpcc
2023-01-20"tlsauth" contrib packagetjpcc
This package adds authentication middlewares via TLS client certificates.
2023-01-19New sharedhost contrib package.tjpcc
ReplaceTilde simply replaces a leading ~ in the URL. Fixes #9.
2023-01-19package documentation: gemini, gemtext, contribtjpcc
2023-01-18bugfix and some docs cleanuptjpcc
2023-01-17pull request, response, handlers out of the gemini packagetjpcc
2023-01-10remove some debugging prints, gofmttjpcc
2023-01-10CGI improvementstjpcc
2023-01-10Add a CGI contribtjpcc
2023-01-09Initial commit.tjpcc
some basics: - minimal README - some TODOs - server and request handler framework - contribs: file serving, request logging - server examples - CI setup