tjp
629e6a0e0c
add nex protocol support
2023-11-13 07:27:36 -07:00
tjp
1e0f8e0aae
refactor contribs to work with a Protocol interface
2023-11-13 07:27:16 -07:00
tjpcc
f85930d875
spartan support in fs and cgi contribs
...
fixes #17
2023-10-30 11:57:04 -06:00
tjpcc
04449ed66e
support an overridden "cmd" for CGIs
continuous-integration/drone/push Build is failing
Details
2023-10-10 14:47:54 -06:00
tjpcc
775c0c1040
file serving refactor
...
continuous-integration/drone/push Build is failing
Details
* 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-30 20:08:53 -06:00
tjpcc
a768f589b9
add REMOTE_PORT to CGI env
2023-09-14 09:40:31 -06:00
tjpcc
33648cc286
log stderr on failed CGIs
2023-09-09 08:42:21 -06:00
tjpcc
195bdb565e
fix attempt on gopher cgis
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/tag Build is failing
Details
2023-09-07 16:33:53 -06:00
tjpcc
38ff3807b3
all the gopher CGI handlers to support gophernicus behaviors
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/tag Build is failing
Details
continuous-integration/drone Build is failing
Details
2023-09-07 12:36:17 -06:00
tjpcc
c7f8a12925
send request bodies into CGI handlers
continuous-integration/drone Build is failing
Details
2023-05-02 08:56:27 -06:00
tjpcc
0ba3a2779f
name change in the CGI SERVER_SOFTWARE env var
2023-05-01 22:12:55 -06:00
tjpcc
9a2da81b11
name change gus -> sliderule
2023-05-01 07:56:25 -06:00
tjpcc
21e2758145
spartan handler for a CGI directory
2023-04-30 17:31:35 -06:00
tjpcc
46ad450327
Switch Handler to an interface.
...
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-02-15 16:44:29 -07:00
tjpcc
66a1b1f39a
gopher support.
...
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-28 15:01:41 -07:00
tjpcc
32e45e3557
test coverage for the cgi contrib
2023-01-25 08:35:56 -07:00
tjpcc
997514292a
testing and linting and linter fixes
2023-01-24 19:59:47 -07:00
tjpcc
0480e066a3
logging library up to top level
2023-01-23 22:15:16 -07:00
tjpcc
8229f31f70
"tlsauth" contrib package
...
This package adds authentication middlewares via TLS client
certificates.
2023-01-20 10:58:35 -07:00
tjpcc
2ef530daa4
pull request, response, handlers out of the gemini package
2023-01-17 15:59:29 -07:00
tjpcc
918246ed72
remove some debugging prints, gofmt
2023-01-10 17:50:44 -07:00
tjpcc
474a28663f
CGI improvements
2023-01-10 17:22:13 -07:00
tjpcc
96f3a7607f
Add a CGI contrib
2023-01-10 13:46:35 -07:00