<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgit.h, 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.h?h=jk%2Fcollapsible-sections</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/cgit.h?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>shared: make cgit_free_taginfo() public</title>
<updated>2016-10-01T10:46:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:52:51Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b19d889f6cb2b8ded469c1676dddb3c71751b0ee'/>
<id>urn:sha1:b19d889f6cb2b8ded469c1676dddb3c71751b0ee</id>
<content type='text'>
We will use this function from ui-tag.c in the next patch.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>shared: remove return value from cgit_free_commitinfo()</title>
<updated>2016-10-01T10:46:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-08-13T10:51:58Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d9dff37691633aa44524ecae216c103ea497e940'/>
<id>urn:sha1:d9dff37691633aa44524ecae216c103ea497e940</id>
<content type='text'>
This return value is never used and the function always returns NULL.

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>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-atom: avoid DATE_STRFTIME</title>
<updated>2016-02-08T17:29:11Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T15:06:27Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=75298209bf8386656b82f185e2901690ac5b671c'/>
<id>urn:sha1:75298209bf8386656b82f185e2901690ac5b671c</id>
<content type='text'>
Git's DATE_STRFTIME ignores the timezone argument and just uses the
local timezone regardless of whether the "local" flag is set.

Since Atom accepts ISO8601 dates [1], we can use Git's
DATE_ISO8601_STRICT instead, which does get this right.  Additionally,
we never use the local timezone here so we can use the
date_mode_from_type() wrapper to simplify the code a bit.

[1] https://tools.ietf.org/html/rfc4287#section-3.3

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Avoid DATE_STRFTIME for long/short dates</title>
<updated>2016-02-08T17:28:18Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-02-08T15:05:54Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9c15f3c6954e43c5ffd36230e666eccf112803f2'/>
<id>urn:sha1:9c15f3c6954e43c5ffd36230e666eccf112803f2</id>
<content type='text'>
Git's DATE_STRFTIME ignores the timezone argument and just uses the
local timezone regardless of whether the "local" flag is set.

Since our existing FMT_LONGDATE and FMT_SHORTDATE are pretty-much
perfect matches to DATE_ISO8601 and DATE_SHORT, switch to taking a
date_mode_type directly in cgit_date_mode().

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>parsing: add timezone to ident structures</title>
<updated>2016-02-08T13:20:08Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2016-01-19T19:33:02Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=45c87ca1c32dcd5ffd4a681fadf05627d9ce7770'/>
<id>urn:sha1:45c87ca1c32dcd5ffd4a681fadf05627d9ce7770</id>
<content type='text'>
This will allow us to mimic Git's behaviour of showing times in the
originator's timezone when displaying commits and tags.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&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>
</feed>
