<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/filters, branch v0.10.1</title>
<subtitle>a hyperfast web frontend for git written in c</subtitle>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/'/>
<entry>
<title>simple-authentication: style</title>
<updated>2014-01-22T23:58:07+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-22T23:58:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=aa6d5b105de9de6d01855c15217e46fd36890dbc'/>
<id>aa6d5b105de9de6d01855c15217e46fd36890dbc</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: document tweakables in lua script</title>
<updated>2014-01-17T14:34:44+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-17T14:34:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=9dde6d38e9fc273fc62386eeda0da2e89a2cebfc'/>
<id>9dde6d38e9fc273fc62386eeda0da2e89a2cebfc</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: have cgit calculate login address</title>
<updated>2014-01-16T22:21:54+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T22:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=a431326e8fab8153905fbde036dd3c9fb4cc8eaa'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: lua string comparisons are time invariant</title>
<updated>2014-01-16T18:47:35+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T18:47:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=df00ab1096868b3cffe563c48de5572f78b50392'/>
<id>df00ab1096868b3cffe563c48de5572f78b50392</id>
<content type='text'>
By default, strings are compared by hash, so we can remove this comment.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default, strings are compared by hash, so we can remove this comment.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>authentication: use hidden form instead of referer</title>
<updated>2014-01-16T11:13:39+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T10:39:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=b826537cb4aa2358027ffcb1dd6a87274734e962'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: add basic authentication filter framework</title>
<updated>2014-01-16T01:28:12+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-14T20:49:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=d6e9200cc35411f3f27426b608bcfdef9348e6d3'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>email-gravatar: fix html syntax issues</title>
<updated>2014-01-15T13:43:02+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2014-01-15T12:39:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=8ae1d8b8fd0b097b10716d0d2d8acaadbd7a46f7'/>
<id>8ae1d8b8fd0b097b10716d0d2d8acaadbd7a46f7</id>
<content type='text'>
an attribute value specification must be an attribute value literal
unless SHORTTAG YES is specified
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
an attribute value specification must be an attribute value literal
unless SHORTTAG YES is specified
</pre>
</div>
</content>
</entry>
<entry>
<title>email-gravatar: do not scale icons up</title>
<updated>2014-01-14T17:57:51+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-14T17:57:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=5bda21faf4df44ba089ee745b72f0806115c322b'/>
<id>5bda21faf4df44ba089ee745b72f0806115c322b</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>filter: allow returning exit code from filter</title>
<updated>2014-01-14T17:09:52+00:00</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-14T17:07:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=6ca734da8fb246ad2272826331e0d56428b96fa1'/>
<id>6ca734da8fb246ad2272826331e0d56428b96fa1</id>
<content type='text'>
Filters can now indicate a status back to cgit by means of the exit code
for exec, or the return value from close for Lua.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Filters can now indicate a status back to cgit by means of the exit code
for exec, or the return value from close for Lua.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>email-gravatar: fix html syntax issues</title>
<updated>2014-01-14T12:55:44+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2014-01-14T11:01:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/cgit/commit/?id=1167dbb95bcd6bb2916312a7900e360c101e7eca'/>
<id>1167dbb95bcd6bb2916312a7900e360c101e7eca</id>
<content type='text'>
* make ampersand a html entity
* add required alt attribute
* add required img end tag
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* make ampersand a html entity
* add required alt attribute
* add required img end tag
</pre>
</div>
</content>
</entry>
</feed>
