Commits
- Commit:
46e48ac738ef3d714f4258bd513bca84369a457d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
enforce gotd request timeout > 0; the code doesn't handle zero right now
spotted by + ok op@
- Commit:
1b18f4cd75fddf070589d9b045e083ac02d8baba
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: tweak gotweb_render_content_type_file parameters type
`type' and `file' are strings so use `const char *' for both.
- Commit:
fc89c9001a9df4312083343d1cabb3a8ad055af5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add conf_limit_user_connection prototype at the top of parse.y
different yacc implementations (e.g. GNU bison) may put the various
parts in a different order, and so the definition of the function may
not be visible in the generated code.
- Commit:
40b85cca5d86ebef3a353efd464af989c3ebf18b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce connection options to gotd.conf
Allow administrators to tweak the default authentication and request
timeouts if needed, and to tweak the limit of concurrent connections
for specific user accounts.
with several tweaks from and ok op@
- Commit:
3bf00f2542ea6e7825f52c155e5f3f5fecb136e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'tog log' display the committer handle by default, '@' switches to author
People coming from CVS might not expect names of patch contributers to
show up in commit history listings, so make things easy for them.
discussed with op@
- Commit:
2507ffb7f18f4e8d71f47efc0cc1e746177e9167
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
log_warnx and fatalx prepend the program name internally, don't add it manually
- Commit:
3b70620381319263c9c5e4d4ddbc07118aa5fb87
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd.conf: complain if a repository lacks a path in the configuration file
- Commit:
7683f79a1159f06db89b132aa5fceb5f3146bb2a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd.conf: treat empty repository names as a syntax error
- Commit:
fa7014189021ca34283ee2283918646f21b26f9b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd.conf: treat repositories without any parameters as a syntax error
Because gotd expects some parameters to be present they must not be
optional at the syntax level.
- Commit:
05791aa0b360dbff2a5212ef7babf4f96caf3940
- From:
- Paul W. Rankin <hello@paulwrankin.com>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove got_prefix in gotwebd.conf(5) example
- Commit:
8556b86bf794dcc61ebc907767dca29b3b5ac27f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
0825911ffb6acf5d97f012898d66799cb2f2dcad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
adjust the first gotwebd.8 httpd.conf example to work out of the box
gotwebd defaults to listening on a unix socket, and this man page
aims to provide an appropriate configuration snippet in EXAMPLES.
suggested by Paul Wrankin via gameoftrees IRC
- Commit:
a5d6823449b7d974ef01516c247fd832002e7e03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix previous; name must be initialized
otherwise if binaryfilename fails to match the line, `name' may be left
pointing to free'd memory.
- Commit:
684a9a6c2461ac3b30d1f0445ec45c94add21931
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: handle the removal of binary files
Diffs that remove binary files don't have hunks so got patch would skip
over them, treating that part of the diff as "noise".
Different programs outputs a slightly different diff for this kind of
patches, but the "Binary files ... and /dev/null differ" is usually
shown, so try to match it.
The adedd regress test covers got diff, git diff, and OpenBSD'
/usr/bin/diff. CVS diffs will currently fail because the guessed file
name will be wrong. CVS prints the file name in the Index and RCS lines
which got patch currently ignores, and shows an useless path in the
"Binary files /tmp/cvs... and /dev/null differ" line.
Discussed with and ok stsp@
- Commit:
cf536071bc57734308f29cda79d67c88abb3b9f0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: print commit message too in gotweb_render_commits
Regression from 156a1144 spotted by stsp, thanks!
- Commit:
0d8212e7f0c629b48075f35e028f3a4147a5e04c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotwebd is a Web daemon
- Commit:
0699137833e7cb9e377669787add963cafb545bc
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
farewell, gotweb. you served us well. rm gotweb, ok stsp@
- Commit:
7a0564e3ba8d55d4f066d3ba0f35ff64fd6a8d60
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
enforce a per-uid connection limit in the gotd listen process
For now the limit is set at compile-time. It will become configurable
via gotd.conf soon.
ok op@
- Commit:
b1b2091b92cf99c8f0fe87488f2757f4d712e094
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: drop redundant NULL check
qs is guaranteed to be not NULL reached that point.
- Commit:
e73ab4217d50bcfc9f6a2d0a42a87a13cf72bf5d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove useless comment
should be placed further down, after BLOB and RSS are handled, but the
call to `gotweb_render_header' is successfully clear on its own.
- Commit:
77d0cae1993d80e742dbcf69ace80700ed616831
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
c602198afc6ce7d8c96397f6482e7aff4e02db41
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd listen process forgot to initialize its client table siphash key
- Commit:
1a52c9bfc78a8d9769fbe735203345492730e813
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert gotd repo_read.c and repo_write.c to single-client
Because these processes are now started on demand per client connection
there is no need to keep track of multiple clients anymore. Also, these
processes can now exit when a disconnect event is received.
ok op, jamsek
- Commit:
7fdc3e586448ae55ae38bef76bb5a0a34538e5e6
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
gotd: nix trailing whitespace and indentation fix
ok op@, stsp@
- Commit:
44587340e4924f8f07bf02c57a9a1c2527c2d8d4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove filesystem access via bind(2) from gotd auth process
op@ pointed out a problem in my initial patch where I forgot
to call unveil(2) with a path before unveil(NULL, NULL).
ok op, jamsek