Commit Graph

50 Commits

Author SHA1 Message Date
tjp b36a7be80f split up documentation into README and REFERENCE 2023-12-29 12:19:28 -07:00
tjp 15cdefb6ec bump dependencies 2023-11-14 21:54:41 -07:00
tjp 7baecfca55 add support for syw git views on nex 2023-11-14 21:50:15 -07:00
tjp b081308884 minor optimization for git routes 2023-11-14 21:48:48 -07:00
tjp 04b5ba5d9d nex protocol fix to allow servers without hostnames 2023-11-14 19:21:47 -07:00
tjp 84374f083d document the nex protocol support in READMEs 2023-11-14 19:06:49 -07:00
tjp 2cdc569840 initial support for nex protocol 2023-11-14 18:58:06 -07:00
tjp a2b05982a2 sliderule bump 2023-11-14 18:56:49 -07:00
tjp de6853760c fixes and adjusting to a sliderule bump 2023-11-14 15:47:13 -07:00
tjpcc 1a3ec70d3f move 'auth' to a modifier
fixes #12
2023-10-31 11:15:08 -06:00
tjpcc 9d102cb910 use MultiTLS to support separate TLS configs when virtualhosting gemini
fixes #10
2023-10-31 08:22:51 -06:00
tjpcc 9a20e4b1da add git support for spartan
fixes #19
2023-10-30 17:27:46 -06:00
tjpcc e492c9d983 add autoatom support to spartan
fixes #20
2023-10-30 14:47:58 -06:00
tjpcc 0b57acaa2d Add support for spartan protocol
spartan server definitions are very similar to gemini.

The major changes are:
  * no "servertls" directives
  * no "autoatom" modifier (to be fixed)
  * no "git" directives (to be fixed)

Fixes #15
2023-10-30 13:02:37 -06:00
tjpcc deb9bd7551 README cleanup 2023-10-18 17:52:08 -06:00
tjpcc c614473af6 README with full documentation 2023-10-18 17:48:20 -06:00
tjpcc ad7fbaae7a fix Modifiers.Empty() and "git with templates" 2023-10-18 12:49:14 -06:00
tjpcc 059d440270 identify and error on conflicting servertls directives on merged gemini servers
fixes #7
2023-10-10 18:30:22 -06:00
tjpcc 04450c5f1d example.conf comment fix 2023-10-10 18:20:23 -06:00
tjpcc f5478f396d support showyourwork template override directories on git directives
fixes #5
2023-10-10 18:13:59 -06:00
tjpcc 365b6bd531 support server TLS in gopher and finger
fixes #8
2023-10-10 16:53:51 -06:00
tjpcc 38a195c6e6 "cmd" modifier to override CGI executable
fixes #6
2023-10-10 16:51:24 -06:00
tjpcc 7efb04b5d7 improved gemini{servertls} support 2023-10-10 09:39:14 -06:00
tjpcc 7fa3dd2eaf improved server startup logging 2023-10-10 09:30:34 -06:00
tjpcc 9b0e9a9581 remove stray debugging print 2023-10-10 08:58:14 -06:00
tjpcc 4a5f2098a2 send a 53 gemini response when no hostname matches a request 2023-10-10 08:06:48 -06:00
tjpcc 3d02a271f4 fix gemini git routing 2023-10-09 10:32:25 -06:00
tjpcc 8e3f1e83c1 dependency bumps 2023-10-09 09:05:58 -06:00
tjpcc 6e1c25af36 config file refactor 2023-10-09 08:47:37 -06:00
tjpcc b4f45f7c65 sample/example config file
exercising a bunch of features

I'll work backwards from this to implement a parser for it
2023-09-25 18:41:23 -06:00
tjpcc 212c56f1f6 dependency bump 2023-09-23 13:21:45 -06:00
tjpcc 308ec52c05 README update 2023-09-19 16:07:16 -06:00
tjpcc 8b6ec37932 add syw and gemini and gopher routers at /git/ 2023-09-17 18:39:02 -06:00
tjpcc b8cd694a2d sliderule bump v1.3.3 2023-09-17 18:08:19 -06:00
tjpcc 7e90f5da8a sliderule bump 2023-09-08 14:55:29 -06:00
tjpcc 4b937d2f1c gophermaps and cgi 2023-09-08 14:55:02 -06:00
tjpcc 030d05d57a opt-in AutoAtom support for gemini 2023-09-08 14:55:02 -06:00
tjpcc 45565e27f1 gopher request parsing fix in sliderule 2023-09-08 14:55:02 -06:00
tjpcc 7517538d2f fixes & improvements
- refactored main.go to do everything which requires root *first*,
  before dropping privs. this includes binding to finger and gopher
  ports.
- added gopher support!
- fixed CGI handling
- new cgi-bin/private directory handling in gemini which requires
  specific TLS client certs (can't do this in gopher, no TLS)
- sliderule version bump brings in lots of fixes on the sliderule side
2023-09-08 14:55:02 -06:00
tjpcc 62eb4353f7 README updates 2023-09-08 14:55:01 -06:00
tjpcc 4bfee463bb README addition 2023-09-08 14:55:01 -06:00
tjpcc 4c0e1bc89d finger support 2023-09-08 14:54:59 -06:00
tjpcc ac35303316 first .gitignore 2023-09-08 14:54:58 -06:00
tjpcc 873f04dc84 bump sliderule dependency 2023-09-08 14:54:57 -06:00
tjpcc 023838345d support an env var for allowlisting uploaders by cert fingerprint 2023-09-08 14:54:56 -06:00
tjpcc 06ec0efd4f apply GeminiOnly filter middleware and add support for titan uploads 2023-09-08 14:54:55 -06:00
tjpcc 25e0c48d6d linter fixes 2023-09-08 14:54:55 -06:00
tjpcc 60f140913b update sliderule dependency 2023-09-08 14:54:54 -06:00
tjpcc 467a3c3016 moar README 2023-09-08 14:54:53 -06:00
tjpcc 1f519d05bf Initial commit.
A gemini server which drops privileges to the 'nobody' user, hosts files
including directory listings (index.gmi or a default listing), and runs
CGIs out of /cgi-bin/*.
2023-09-08 14:54:53 -06:00