Commits
- Commit:
d19d9fcec89a7d18ca8325b70f5edde7b4e6369a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: use DOCUMENT_URI rather than SCRIPT_NAME
the latter is empty when serving from a directory-like path prefix with
an httpd.conf(5) as per gotwebd(8).
ok tracey@
- Commit:
be4f45b5bf0e1675373554243f024efb2d45a2e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename repo_req_wrong_commit.sh to req_wrong_commit.sh for consistency
- Commit:
6eb6bfed344145baeb3edf2fb884be0852bf857f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak naming in new gotd regress test for consistency
- Commit:
44ff0a4492e37763f0d19d4eeb2157221122cb1b
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a gotd regression test which requests a non-existent commit
Patch by Mikhail
- Commit:
b2b1792329f5adf1e755614e710d49388845293e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: adjust my address
- Commit:
156a11447a870d2128d6ddce97013fca0cfd4e6a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_commits
ok tracey@
- Commit:
b4c0bd7275f121f6250964ddfdf8db160ad486df
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_navs
ok tracey@
- Commit:
03f6a843c825ee4566446557cfa33bd1ebb1827b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: drop index_page_str and page_str
gotwebd uses sprintf to update index_page_str and page_str if they were
negative. While this specific usage is safe, let's drop it. Since the
index_page_str and page_str fields are never read from, remove them.
This saves two allocations per request too.
ok tracey@
- Commit:
6169d054065c0cf8901f97798d42785fc28819cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix broken navigation in commits page since 8d02314
ok tracey@
- Commit:
ed619ca07e51b9c984c8404ca2b1153efdb14d1e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: start using the template system
ok tracey@
- Commit:
2c02675e51b8f7413665e81e1e2f3bf77ee9acb7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
import template
ok tracey@
- Commit:
eec68231a79adb345b1a6a3194e5ddb353570356
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch gotd from chroot(2) to unveil(2)
In the future, gotd will fork+exec new processes for each client connection.
Using unveil instead of chroot avoids having to start such processes as root.
The -portable version could use chroot(2) where no equivalent to unveil(2)
exists. A future component which starts new processes will be isolated as
a separate process, which could run as root in the -portable version.
ok op@
- Commit:
d93ecf7dc6dd75bc506128cc5666c1b76761e0a0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a gotd "listen" process which watches the unix socket
ok op@
- Commit:
b546f5e4a2345f89a875526edc57cf729564decf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
functionality proposed in TODO as 'gotamin repack' already exists as 'pack -a'
- Commit:
44ff20fcdbb666cac99b55f4da39f8db2d08078d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add some TODO items for gotadmin
- Commit:
b1a9f90ef84695ba812232cf18f1d358fc27c96e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in gotd regress, use USER instead of USERNAME and check for sudo/doas users
Problem where USERNAME is not usually set on OpenBSD reported by Mikhail
ok jamsek
- Commit:
30eb1ad6b8cdffd307215e60396bdcd58e7ccf17
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix spurious gotd regress failures caused by fixing gotsh echo_error()
- Commit:
d10629e6628f13c08f5b6013d0f1b68630acc383
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove bogus abort() call from gotsh echo_error()
- Commit:
62192466ab5788fb06092a4aed86ed2682cdee81
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it easier to run gotd regress via doas(1); ok kn, tracey
- Commit:
b1142068fd26fa24285c533f10e3afcb61719759
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd startup without any -v options
- Commit:
6970304f7fbe7bb6534af3f344013b472a1a9698
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: simplify bit of gotweb_process_request
ok tracey
- Commit:
24b7de1c04072bf25db2df8acbf93a7ba7bbabfd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid copying reused deltas to delta cache file; copy from pack file instead
ok op@
- Commit:
522b54885b4f7cb277c5858109188e658c10efdb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd_imsg_flush() retry if imsg_flush() returns EAGAIN
ok op@
- Commit:
fe78d7cec3f01df183b57495dd079225ed14e989
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove done todo item; gotd now has per-repo read/write authorization rules
- Commit:
270c41a2b8c0d37d0ea9710a656369efa551dfcd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: provide maximum value for the description and cloneurl
ok stsp@