<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgit.c, branch jk/collapsible-sections</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/cgit.c?h=jk%2Fcollapsible-sections</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/cgit.c?h=jk%2Fcollapsible-sections'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2016-10-01T10:51:07Z</updated>
<entry>
<title>ui-repolist: Allow sections to be collapsible</title>
<updated>2016-10-01T10:51:07Z</updated>
<author>
<name>Andy Doan</name>
<email>andy.doan@linaro.org</email>
</author>
<published>2016-09-13T03:54:08Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=1a66e7f3c15bf8d0d5d1b198c6674911a213779e'/>
<id>urn:sha1:1a66e7f3c15bf8d0d5d1b198c6674911a213779e</id>
<content type='text'>
The index page can be difficult to navigate for really large git
servers. This change allows a configuration like:

 section-collapse=people
 section-collapse=tests

And an index page would only display the "people" and "tests" section
headers entries (not their repos) with a hyperlink that can be used to
drill down into each section.

Additionally the boolean logic around displaying sections in
ui-repolist.c was simplified to eliminate an impossible condition.

Signed-off-by: Andy Doan &lt;andy.doan@linaro.org&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>git: update to v2.10.0</title>
<updated>2016-09-04T10:38:18Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-09-04T10:38:18Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=11695a58fd732689be486edf88d145578a787c89'/>
<id>urn:sha1:11695a58fd732689be486edf88d145578a787c89</id>
<content type='text'>
Upstream continues to replace unsigned char *sha1 with struct
object_id old_oid. This makes the required changes.

The git lib has its own main function now. Rename our main function
to cmd_main, it is called from main then.
</content>
</entry>
<entry>
<title>Fix qry.head leak on error</title>
<updated>2016-07-11T23:06:04Z</updated>
<author>
<name>Richard Maw</name>
<email>richard.maw@gmail.com</email>
</author>
<published>2016-07-02T19:28:10Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ff9893ac8192579a00dd4c73ddff18ab232099a6'/>
<id>urn:sha1:ff9893ac8192579a00dd4c73ddff18ab232099a6</id>
<content type='text'>
This is run soon before exiting so it wasn't leaked for long.

Signed-off-by: Richard Maw &lt;richard.maw@gmail.com&gt;
</content>
</entry>
<entry>
<title>Hosted on HTTPS now</title>
<updated>2016-06-07T12:49:35Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-24T17:01:42Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d88ec849c4f7af41a8a41af1a4f79a2b4d41717a'/>
<id>urn:sha1:d88ec849c4f7af41a8a41af1a4f79a2b4d41717a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ui-shared: add homepage to tabs</title>
<updated>2016-02-22T17:40:13Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-22T15:04:15Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5f2664f13c90f083b827d8fafa6cfc01c0c4f513'/>
<id>urn:sha1:5f2664f13c90f083b827d8fafa6cfc01c0c4f513</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ui-plain: add enable-html-serving flag</title>
<updated>2016-01-14T14:42:56Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-14T13:53:28Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c326f3eb026d67650f79a6dda9a1a42c55d10a25'/>
<id>urn:sha1:c326f3eb026d67650f79a6dda9a1a42c55d10a25</id>
<content type='text'>
Unrestricts plain/ to contents likely to be executed by browser.
</content>
</entry>
<entry>
<title>ui-blob: Do not accept mimetype from user</title>
<updated>2016-01-14T13:31:13Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-01-14T13:31:13Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=1c581a072651524f3b0d91f33e22a42c4166dd96'/>
<id>urn:sha1:1c581a072651524f3b0d91f33e22a42c4166dd96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>filter: avoid integer overflow in authenticate_post</title>
<updated>2015-11-24T10:31:43Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-11-24T10:28:00Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=4458abf64172a62b92810c2293450106e6dfc763'/>
<id>urn:sha1:4458abf64172a62b92810c2293450106e6dfc763</id>
<content type='text'>
ctx.env.content_length is an unsigned int, coming from the
CONTENT_LENGTH environment variable, which is parsed by strtoul. The
HTTP/1.1 spec says that "any Content-Length greater than or equal to
zero is a valid value." By storing this into an int, we potentially
overflow it, resulting in the following bounding check failing, leading
to a buffer overflow.

Reported-by: Erik Cabetas &lt;Erik@cabetas.com&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>cgit.c: remove useless null check</title>
<updated>2015-10-09T08:54:19Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-10-08T22:23:56Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=94182d6031df0d956a94ecd7ece233e345468961'/>
<id>urn:sha1:94182d6031df0d956a94ecd7ece233e345468961</id>
<content type='text'>
Everywhere else in this function we do not check whether the value is
null and parse_configfile() never passes a null value to this callback.

Coverity-id: 13846
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>cmd: no need for pre function hook now</title>
<updated>2015-08-14T13:54:32Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-08-14T13:54:32Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=03de473354dc8c17a3b23a973b5cc67752ad20cb'/>
<id>urn:sha1:03de473354dc8c17a3b23a973b5cc67752ad20cb</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
