<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgitrc.5.txt, branch v0.11.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/cgitrc.5.txt?h=v0.11.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/cgitrc.5.txt?h=v0.11.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2015-01-29T15:41:14Z</updated>
<entry>
<title>Add repo.hide and repo.ignore</title>
<updated>2015-01-29T15:41:14Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2015-01-29T11:52:49Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c58cec9dff273b44c428cfaee24e5e3743c0034e'/>
<id>urn:sha1:c58cec9dff273b44c428cfaee24e5e3743c0034e</id>
<content type='text'>
These options can be used to hide a repository from the index or
completely ignore a repository, respectively. They are particularly
useful when used in combination with scan-path.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>repolist: add owner-filter</title>
<updated>2014-12-24T02:08:20Z</updated>
<author>
<name>Chris Burroughs</name>
<email>chris.burroughs@gmail.com</email>
</author>
<published>2014-08-04T13:23:08Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=96ceb9a95a7a321209cff347fefd141a9fffc7ca'/>
<id>urn:sha1:96ceb9a95a7a321209cff347fefd141a9fffc7ca</id>
<content type='text'>
This allows custom links to be used for repository owners by
configuring a filter to be applied in the "Owner" column in the
repository list.
</content>
</entry>
<entry>
<title>cgitrc.5: we mean a cgi response, not request</title>
<updated>2014-08-01T15:37:27Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-08-01T15:37:27Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=efa2879ad760f6f12c1aa9d2bb9918f0afe9f084'/>
<id>urn:sha1:efa2879ad760f6f12c1aa9d2bb9918f0afe9f084</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove trailing whitespaces from source files</title>
<updated>2014-04-17T10:55:09Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2014-04-17T09:55:46Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b431282c91deea24916578395d88084261410968'/>
<id>urn:sha1:b431282c91deea24916578395d88084261410968</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up cache documentation.</title>
<updated>2014-02-21T00:36:20Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-02-21T00:36:20Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95'/>
<id>urn:sha1:2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>Skip cache slot when time-to-live is zero</title>
<updated>2014-02-21T00:19:45Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-02-20T19:59:22Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6ceba453a27ead382d0116d95bdeb6b6be1149e2'/>
<id>urn:sha1:6ceba453a27ead382d0116d95bdeb6b6be1149e2</id>
<content type='text'>
If time-to-live is set to zero, we don't need to regenerate the cache
slots on every request. Instead, just skip the caching process and
immediately provide the dynamically generated version of the page.
Setting time-to-live to zero is useful when you want to disable caching
for certain pages.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add a cache-snapshot-ttl configuration variable</title>
<updated>2014-02-20T18:56:44Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-02-05T09:23:58Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a3722ec3c6660ace9fe637d617a0ca225acfacbc'/>
<id>urn:sha1:a3722ec3c6660ace9fe637d617a0ca225acfacbc</id>
<content type='text'>
This can be used to specify the TTL for snapshots. Snapshots are usually
static and do not ever change. On the other hand, tarball generation is
CPU intensive.

One use case of this setting (apart from increasing the lifetime of
snapshot cache slots) is caching of snapshots while disabling the cache
for static/dynamic HTML pages (by setting TTL to zero for everything
except for snapshot requests).

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>auth: have cgit calculate login address</title>
<updated>2014-01-16T22:21:54Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T22:21:54Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a431326e8fab8153905fbde036dd3c9fb4cc8eaa'/>
<id>urn:sha1:a431326e8fab8153905fbde036dd3c9fb4cc8eaa</id>
<content type='text'>
This way we're sure to use virtual root, or any other strangeness
encountered.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>authentication: use hidden form instead of referer</title>
<updated>2014-01-16T11:13:39Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T10:39:17Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b826537cb4aa2358027ffcb1dd6a87274734e962'/>
<id>urn:sha1:b826537cb4aa2358027ffcb1dd6a87274734e962</id>
<content type='text'>
This also gives us some CSRF protection. Note that we make use of the
hmac to protect the redirect value.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>auth: add basic authentication filter framework</title>
<updated>2014-01-16T01:28:12Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-14T20:49:31Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d6e9200cc35411f3f27426b608bcfdef9348e6d3'/>
<id>urn:sha1:d6e9200cc35411f3f27426b608bcfdef9348e6d3</id>
<content type='text'>
This leverages the new lua support. See
filters/simple-authentication.lua for explaination of how this works.
There is also additional documentation in cgitrc.5.txt.

Though this is a cookie-based approach, cgit's caching mechanism is
preserved for authenticated pages.

Very plugable and extendable depending on user needs.

The sample script uses an HMAC-SHA1 based cookie to store the
currently logged in user, with an expiration date.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
