<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/app/models, branch version/0.6.1</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>client certificates: allow for time units to be specified in client_cert_lifespan config option.</title>
<updated>2015-01-28T20:32:15+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2015-01-28T20:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=eebe08aba43302b080c7b534a746f0f30359f370'/>
<id>eebe08aba43302b080c7b534a746f0f30359f370</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: ensure both user and identity documents are destroyed if there is a problem creating the account.</title>
<updated>2014-12-23T19:52:55+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2014-12-23T19:52:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=42ba688eabcdb428e0ce230175b72c357bea9cdb'/>
<id>42ba688eabcdb428e0ce230175b72c357bea9cdb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: allow deletion of user's identities via api when user is deleted. closes #6550</title>
<updated>2014-12-16T00:07:30+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2014-12-16T00:07:30+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=6e15813d549fd9e56a48fd87d425fd31f37521e8'/>
<id>6e15813d549fd9e56a48fd87d425fd31f37521e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>some cleanup of the messages api and cuke feature</title>
<updated>2014-07-17T10:47:47+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-12T07:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b17387a17669bfc9afce7435653cd8c29c686999'/>
<id>b17387a17669bfc9afce7435653cd8c29c686999</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix tests and simplify time calculations</title>
<updated>2014-07-12T07:14:23+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-09T20:53:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=bdd5060ccc13951524c171e2d3b81eeddec1625d'/>
<id>bdd5060ccc13951524c171e2d3b81eeddec1625d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Identity view cert_fingerprints_by_expiry</title>
<updated>2014-07-12T07:14:23+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-07T08:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=cc1666d9832415058bf0b22bb5912e432261af4f'/>
<id>cc1666d9832415058bf0b22bb5912e432261af4f</id>
<content type='text'>
Also move complex identity views into js designs.
Includes test.

Here's how you would query it from outside rails:
```
$ curl
'localhost:5984/identities/_design/Identity/_view/cert_fingerprints_by_expiry?startkey="2014-07-05"'
{"total_rows":4,"offset":1,"rows":[
{"id":"6c9091d4f13eaeaa6062c9d0528fd34d","key":"2014-07-05","value":"fingerprint"},
{"id":"6f3aa93828b4f6978d551f2623b9d103","key":"2014-07-05","value":"fingerprint"},
{"id":"b6cafacfa65042679691cd5065fb19e3","key":"2014-07-07","value":"fp"}
]}
```

Note that the expiry will be used as the key. So you should use the
current data (or yesterday) as the startkey to get all fingerprints that
have not expired yet.

The fingerprint itself is in the value. No need to include docs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also move complex identity views into js designs.
Includes test.

Here's how you would query it from outside rails:
```
$ curl
'localhost:5984/identities/_design/Identity/_view/cert_fingerprints_by_expiry?startkey="2014-07-05"'
{"total_rows":4,"offset":1,"rows":[
{"id":"6c9091d4f13eaeaa6062c9d0528fd34d","key":"2014-07-05","value":"fingerprint"},
{"id":"6f3aa93828b4f6978d551f2623b9d103","key":"2014-07-05","value":"fingerprint"},
{"id":"b6cafacfa65042679691cd5065fb19e3","key":"2014-07-07","value":"fp"}
]}
```

Note that the expiry will be used as the key. So you should use the
current data (or yesterday) as the startkey to get all fingerprints that
have not expired yet.

The fingerprint itself is in the value. No need to include docs.
</pre>
</div>
</content>
</entry>
<entry>
<title>store expiry with cert fingerprints</title>
<updated>2014-07-12T07:14:23+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-07T08:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=0e9c41a286b49b5ce52abcf0e014668d0167bbae'/>
<id>0e9c41a286b49b5ce52abcf0e014668d0167bbae</id>
<content type='text'>
We used to store the creation date but this way it's easier to query for non expired certs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We used to store the creation date but this way it's easier to query for non expired certs
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #173 from azul/feature/unblock-handles</title>
<updated>2014-07-09T11:25:31+00:00</updated>
<author>
<name>azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-09T11:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=dc740e4311101bf7297996788b25a99edafbe759'/>
<id>dc740e4311101bf7297996788b25a99edafbe759</id>
<content type='text'>
Allow admins to unblock handles</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow admins to unblock handles</pre>
</div>
</content>
</entry>
<entry>
<title>list identities based on search only</title>
<updated>2014-07-09T10:51:16+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-09T10:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=0cc11ebb609de225fbeacbf80788b992b88b6ce6'/>
<id>0cc11ebb609de225fbeacbf80788b992b88b6ce6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>create client certificates with generous not_before (fixes #5884)</title>
<updated>2014-07-09T04:34:04+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2014-07-09T04:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=19da5429308412c19176733d2b32ccbf2c08df1c'/>
<id>19da5429308412c19176733d2b32ccbf2c08df1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
