<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit, branch jd/zx2c4-deployment</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/?h=jd%2Fzx2c4-deployment</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/?h=jd%2Fzx2c4-deployment'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2026-05-04T21:03:58Z</updated>
<entry>
<title>css: Support for dark mode</title>
<updated>2026-05-04T21:03:58Z</updated>
<author>
<name>Samuel Lidén Borell</name>
<email>samuel@kodafritt.se</email>
</author>
<published>2023-01-29T16:55:29Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=43fede44a7eb435ab7e0aafd4badeb4334ef6edb'/>
<id>urn:sha1:43fede44a7eb435ab7e0aafd4badeb4334ef6edb</id>
<content type='text'>
Modern browsers have a "dark mode" preference, which enables alternate
styles on web sites that support this.

This patch adds a dark color scheme, that is automatically activated
via a CSS @media query.

Older browsers that do not support color schemes will simply show the
light scheme, but possibly without syntax highlighting.

Note that filters that use color (such as source highlighters) and
logotypes may need to be updated to work with a black background!
See the updated files in the filters/ directory.

Signed-off-by: Samuel Lidén Borell &lt;samuel@kodafritt.se&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>html: double escape literal + in URLs</title>
<updated>2026-05-04T21:03:58Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2018-12-22T01:38:09Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=335986132526494a3e010d41a70f864d5b73dae6'/>
<id>urn:sha1:335986132526494a3e010d41a70f864d5b73dae6</id>
<content type='text'>
It's unclear whether this is correct or whether my server is double
decoding.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>css: switch monospace fonts</title>
<updated>2026-05-04T21:03:58Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-08-02T02:15:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=be267cbd66b2ee70d10b00aa006e5babb1ccae49'/>
<id>urn:sha1:be267cbd66b2ee70d10b00aa006e5babb1ccae49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Steal kernel.org's libravatar lua.</title>
<updated>2026-05-04T21:03:58Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-03-19T08:58:41Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d73763edd7cf8f594072a00a8da42c35c9822395'/>
<id>urn:sha1:d73763edd7cf8f594072a00a8da42c35c9822395</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ZX2C4 specific patches.</title>
<updated>2026-05-04T21:03:58Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2012-07-10T17:26:44Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e11e95a4792f7c18170ee6a449daaea72e936606'/>
<id>urn:sha1:e11e95a4792f7c18170ee6a449daaea72e936606</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump version</title>
<updated>2026-05-04T21:03:51Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-05-04T16:59:41Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=044821677c774cd24f25f1818ea51d09cc64b006'/>
<id>urn:sha1:044821677c774cd24f25f1818ea51d09cc64b006</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>global: fix libc constness warnings</title>
<updated>2026-05-04T21:03:51Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-05-04T21:03:22Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5a0f900569f421422bd7511a45c7346c7668e710'/>
<id>urn:sha1:5a0f900569f421422bd7511a45c7346c7668e710</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>git: update to v2.54.0</title>
<updated>2026-05-04T17:01:20Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2026-04-13T06:18:52Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=44ca1d1ec8eee7f4440fbfd613fc1072a14b441c'/>
<id>urn:sha1:44ca1d1ec8eee7f4440fbfd613fc1072a14b441c</id>
<content type='text'>
Update to git version v2.54.0, this requires changes for these
upstream commits:

* d9ecf268ef3f69130fa269012318470d908978f6
  odb: embed base source in the "files" backend

* cb506a8a69c953f7b87bb3ae099e0bed8218d3ab
  odb: introduce "files" source

... and probably more related.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>cgit: truncate all config values at the newline</title>
<updated>2026-05-04T16:28:27Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-05-04T16:13:13Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ed05b1054df10a2fbc68000cfdd429daec03a456'/>
<id>urn:sha1:ed05b1054df10a2fbc68000cfdd429daec03a456</id>
<content type='text'>
These would be largely invalid anyway (save, I suppose, for Linux file
paths that technically can contain new lines).

The actual problem is that these get printed back out into cached -- and
trusted -- cgitrc files, and if the fields have newlines, the git-config
way of less trusted users configuring repos on a shared system can be
abused to inject newlines, which then can be used to smuggle global
options (including filters, which execute code) into the cached cgitrc.

So now, only ever duplicate up to the newline, when dealing with these
inputs.

Reported-by: Adrian Denkiewicz &lt;adrian@doyensec.com&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>cgit: use strchrnul instead of open coding</title>
<updated>2026-05-04T16:28:27Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-05-04T16:02:57Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e7e8cf1801b06a9f7f5092671b0413689a765fe7'/>
<id>urn:sha1:e7e8cf1801b06a9f7f5092671b0413689a765fe7</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
