| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
| |
20 is what everyone else seems to do. It's not too large putting
them all in right now, but it's infeasible to do forever.
|
|
|
|
|
| |
Eliminates the need for a shell inside the chroot, along with cat,
mktemp and rm. It's likely a bit faster too.
|
|
|
|
| |
I'm not serving gopher anymore.
|
| |
|
|
|
|
| |
Ideally these wouldn't require sh, cat, rm, mktemp.
|
|
|
|
|
| |
cgit runs in a chroot. It is normal that it cannot look up user
info in /etc/passwd.
|
|
|
|
|
| |
Migrating things over, I don't think it's worth continuing to serve
text over gopher.
|
| |
|
| |
|
|
|
|
|
|
| |
OpenBSD col(1) doesn't understand UTF-8 and will delete all of it.
Stupid, especially when mandoc(1) tells you to use it to remove man
formatting. I shouldn't have to write something so trivial.
|
| |
|
| |
|
|
|
|
|
|
| |
This is a bit messy. pledge(2) calls based on [1].
[1]: https://kristaps.bsd.lv/kcgi/tutorial6.html
|
| |
|
|
|
|
| |
Otherwise upload won't actually work.
|
|
|
|
|
|
|
|
| |
For use by Palaver[1]. Unfortunately, at least in the current App
Store version of Palaver, this doesn't work correctly with basic
auth.
[1]: https://palaverapp.com/guides/commands/set.html#ui-image_service
|
|
|
|
| |
I hate these things and also this one sucks.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It can't be used correctly and has been removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes several RFC 4287 violations:
> 4.1.1. The "atom:feed" Element
> o atom:feed elements MUST contain exactly one atom:id element.
> o atom:feed elements SHOULD contain one atom:link element with a rel
> attribute value of "self". This is the preferred URI for
> retrieving Atom Feed Documents representing this Atom feed.
> o atom:feed elements MUST contain exactly one atom:updated element.
An atom:id element is generated from cgit_currentfullurl(), and an
atom:link element with a rel attribute of "self" is generated with
the same URL. An atom:updated element is generated from the date
of the first commit in the revision walk.
> 4.1.2. The "atom:entry" Element
> o atom:entry elements MUST NOT contain more than one atom:content
> element.
The second atom:content element with the type of "xhtml" is removed.
> 4.2.6. The "atom:id" Element
> Its content MUST be an IRI, as defined by [RFC3987]. Note that the
> definition of "IRI" excludes relative references. Though the IRI
> might use a dereferencable scheme, Atom Processors MUST NOT assume it
> can be dereferenced.
The atom:id elements for commits now use URNs in the "sha1" or
"sha256" namespaces. Although these are not registered URN namespaces,
they see use in the wild, for instance as part of magnet URIs.
|
|
|
|
| |
This version of cgit is modified and doesn't track upstream releases.
|
| |
|
|
|
|
| |
OpenBSD tar(1) has no -J.
|
|
|
|
| |
RIP.
|
| |
|
| |
|
|
|
|
|
| |
For example any URL that starts with a real repo name but isn't
valid.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
So that only "published" text files are included.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Previously it was only used if owners were displayed on the index.
|
|
|
|
|
| |
It's not documented that you can set logo to empty string to remove
it, I just noticed by reading print_header.
|
| |
|