<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/test/unit, branch version/0.7.1</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>add support for rotating tokens and sessions databases, and for a special tmp db for test users.</title>
<updated>2015-03-18T05:36:27+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2015-03-11T08:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=9266c3ac58404894539e25e514d8d8a6775c701f'/>
<id>9266c3ac58404894539e25e514d8d8a6775c701f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>minor: remove @s added by search and replace</title>
<updated>2014-07-14T15:59:09+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-14T15:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=2f1ceb63bfef2fa7d92fcbad73a5ead5bd17b23e'/>
<id>2f1ceb63bfef2fa7d92fcbad73a5ead5bd17b23e</id>
<content type='text'>
meant to move id -&gt; @id, also turned identity in the test titles into
@identity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
meant to move id -&gt; @id, also turned identity in the test titles into
@identity.
</pre>
</div>
</content>
</entry>
<entry>
<title>minor: fix identity test for storing certs</title>
<updated>2014-07-14T08:54:31+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-10T10:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3885308e9a2aa48f25313567525e375362253f47'/>
<id>3885308e9a2aa48f25313567525e375362253f47</id>
<content type='text'>
we compare the cert that expires last to the one we just saved. So we need to make sure the one we saved is the one that expires last.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we compare the cert that expires last to the one we just saved. So we need to make sure the one we saved is the one that expires last.
</pre>
</div>
</content>
</entry>
<entry>
<title>allow querying for the expiry of a particular fingerprint</title>
<updated>2014-07-12T07:55:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-07-12T07:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3bbfdf29bbc40432c21e34fe84060cf9ae70273f'/>
<id>3bbfdf29bbc40432c21e34fe84060cf9ae70273f</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>clearify identity validations</title>
<updated>2014-05-29T09:19:21+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-29T09:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=bbe7b3b7deb2b44d34f7c39dda2c3db284e2bf10'/>
<id>bbe7b3b7deb2b44d34f7c39dda2c3db284e2bf10</id>
<content type='text'>
Identity.new.valid? should not crash. So validate presence where needed and
skip the other validations if the value is absent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identity.new.valid? should not crash. So validate presence where needed and
skip the other validations if the value is absent.
</pre>
</div>
</content>
</entry>
<entry>
<title>hand on errors from Email to Identity to User</title>
<updated>2014-05-29T08:04:07+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-29T08:04:07+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e0d31118d6e4110d2c280afa9415cfe9def29deb'/>
<id>e0d31118d6e4110d2c280afa9415cfe9def29deb</id>
<content type='text'>
errors.each iterates through all errors for all attrbibutes nicely.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
errors.each iterates through all errors for all attrbibutes nicely.
</pre>
</div>
</content>
</entry>
<entry>
<title>adopt tests to new error messages for identities</title>
<updated>2014-05-28T10:29:50+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-28T10:29:50+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=5b601707c8af8454dacf2edd846bc3386e148253'/>
<id>5b601707c8af8454dacf2edd846bc3386e148253</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #163 from azul/feature/3398-save-hashed-token</title>
<updated>2014-05-26T08:08:27+00:00</updated>
<author>
<name>azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-26T08:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=1d0d61389011a8d0d169bc139590d90a6fbbac60'/>
<id>1d0d61389011a8d0d169bc139590d90a6fbbac60</id>
<content type='text'>
hash token with sha512 against timing attacs #3398</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
hash token with sha512 against timing attacs #3398</pre>
</div>
</content>
</entry>
<entry>
<title>hash token with sha512 against timing attacs #3398</title>
<updated>2014-05-26T07:58:40+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-01T08:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=5764daae090227bf4c5967900b708392c967be47'/>
<id>5764daae090227bf4c5967900b708392c967be47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
