Commits
- Commit:
2d61e38170df9e7e558024fa6f3c05196148f15a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: fix typo in diff nlines > 0 check
We want to check if *nlines is greater than zero here.
ok op@ and stsp@
- Commit:
e4556f5ad27817d84c98b820f3e952b57c4e926c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotwebd.8: explicitly point out that gotwebd and httpd share a user ID
- Commit:
f21aef012e9407e826ba90b441056a0b38cbc720
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
hint at SNI support in gotwebd.conf.5; suggested by tracey
- Commit:
e0e2a8619d6af348681b5e70adf4b100b07f6559
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Xr httpd manual pages
- Commit:
7e047b0e30dcf01c845aa006837d82fbc4e5f288
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing whitespace; spotted by tracey
- Commit:
5fc4f020b7640899b280b5090a906480ce67666e
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
use Xo/Xc in the man pages
Patch by Josiah Frentsos; ok kn@
- Commit:
0dd809988fabd40f85513e145656511e2b94abca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document gotwebd's server concept better; requested by tracey
- Commit:
d69013de25e17ed6f981d46d94d23f626a0e6325
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotwebd.conf should Xr gotwebd, not gotweb
- Commit:
59975c69cab9a8e55c23a6c9dbfb0283be951941
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
initial pass over gotwebd docs
tracey is fine with gotwebd.8 but gotweb.conf.5 still needs some work
- Commit:
67d8de2a7e03c31bd8c93553fcb950fa7afc0db7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow multiple "listen on" statements per server in gotwebd.conf
ok tracey
- Commit:
17132eaa7c11854dadce91afd817b4676e716b04
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
change gotwebd.conf fcgi socket syntax to "listen on 'foo' port 'bar'"
ok op@
- Commit:
f0680473a7db1e5941bffdc2ab5f80ddec209122
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix NULL deref on ENOMEM in gotweb_process_request
ok tracey@
- Commit:
b7efc9b3ebc727cc522b23b39d3eec8f34166e66
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix memory leak introduced in d927f8c
ok tracey@
- Commit:
40831471082f880a26b73987b595a52dc1c93794
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
don't create signed tag objects with trailing NUL
Although Git itself did not care, the superfluous NUL at the end of
the tag object was breaking GitHub's SSH signature detection.
ok stsp@
- Commit:
4d648b92ac1ac5f952a42f29052c56e8d32547a3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add CSP policy
ok tracey@
- Commit:
f897bb2469da024a8db3b1fae10d24ac7cf040e1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix for possible NULL beign passed to fcgi_printf
reported by and ok tracey@
- Commit:
d927f8c8203baf6607d4e64fa3520e2d164100e6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: make sure to escape possibly unsafe strings
this fixes only the HTML escaping of strings, the urlencode is still
missig.
while here also plug a memory leak in gotweb_render_branches and drop
some needless ternary operators.
ok tracey@
- Commit:
336c64e8b8d86804e345f9ad6cd5e9690768d48d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: minor tweaks to the generated HTML
spotted by validator.w3.org:
- use target="_blank" instead of `_sotd'
- drop `alt' attributes in `a' tags
This fixes all the errors reported; only a warning suggesting to add a
`lang' attribute on the <html> tag remains.
- Commit:
026ac2c462910064c5c9143a96b17a920e6bbc58
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
mark functions internally used by sockets.c as static
ok tracey
- Commit:
859aa9f48371a84128b60e2c2ba9f873a4ea70cf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix previous: store port number in host byte order, convert for struct sockaddr
With the previous patch the listen port was correct, but the debug log output
was still displaying the swapped port number. Now both listen behaviour and
debug log output agree.
- Commit:
d72940a3a166aaa6620b4b444af1fa16b5e216f5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotwebd default fcgi listen port byte-order (port 10275 -> port 9000)
ok tracey
- Commit:
2fb25d87ff7b3572bc98a7bea5f7380727b180e5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotwebd: listen on localhost only by default
ok tracey
- Commit:
610dd8c9f454e1625b0eddc16af87b765279b0a5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotwebd: struct socket_conf can only use a single address, so don't use a list
ok tracey
- Commit:
01498c42e0fc9fb6355312a236656cf2f36cebc0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add fcgi_printf
instead of fcgi_gen_response which outputs only a fixed strings provide
a printf-like fcgi_printf: it greatly simplifies the generation of the
HTML pages.
While here also (probably) fix some HTML errors: the output was verified
with the W3C validator and it's correct (in the sense that the tags are
properly closed, there are still some other things the validator
complains about.)
ok/encouragement baseprime@, ok jamsek
Thanks for reading such a boring diff!
- Commit:
85f2c2e0132ed34974446382474602b11d336f3a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix overflow in blame callback
spotted by noticing gotwebd crashing on some blame requests.
Diff from stsp@ with a fix from tracey@, I'm committing it only because
he is short on time.
ok stsp@