<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/users, branch 0.2.7</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>Merge pull request #110 from azul/feature/cleanup-expired-tokens</title>
<updated>2013-11-12T17:16:45+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-11-12T17:16:45+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=8295db1a8cf334ff8666e5ec29455c199c7ffc73'/>
<id>8295db1a8cf334ff8666e5ec29455c199c7ffc73</id>
<content type='text'>
Feature/cleanup expired tokens</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Feature/cleanup expired tokens</pre>
</div>
</content>
</entry>
<entry>
<title>fix cornercase of non expiring tokens</title>
<updated>2013-11-08T08:45:28+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-07T22:36:37+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=a7cd2ef0877e79302f27fb175384a0cf4ded52d9'/>
<id>a7cd2ef0877e79302f27fb175384a0cf4ded52d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Token.destroy_all_expired to cleanup expired tokens (#4411)</title>
<updated>2013-11-08T08:45:09+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-07T22:27:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e2c0962077cf759b23639276cca42606ea2135ec'/>
<id>e2c0962077cf759b23639276cca42606ea2135ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>only check number of disabled identities to make test more robust</title>
<updated>2013-11-07T11:46:28+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-07T11:46:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=a0e72e6ee7786e3b1fd7276f1c64912c606f4559'/>
<id>a0e72e6ee7786e3b1fd7276f1c64912c606f4559</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use the account lifecycle from UsersController#destroy</title>
<updated>2013-11-06T10:55:43+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-06T10:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=ded302ebc6a9e145775f7847c5e89f91d683c777'/>
<id>ded302ebc6a9e145775f7847c5e89f91d683c777</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>destroy all tickets created by a user when account is destroyed</title>
<updated>2013-11-06T10:30:33+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-06T10:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=24598b5c5e4df20c423ec74ea8e9df1592483c6b'/>
<id>24598b5c5e4df20c423ec74ea8e9df1592483c6b</id>
<content type='text'>
In order to keep the users engine independent of the tickets engine i added a generic load hook to the account model. The tickets engine then monkeypatches the account destruction and destroys all tickets before the user is destroyed.

The tickets are destroyed first so that even if things break there should never be tickets with an outdated user id.

I would have prefered to use super over using an alias_method_chain but I have not been able to figure out a way to make account a superclass of the account extension and still refer to Account from the users engine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to keep the users engine independent of the tickets engine i added a generic load hook to the account model. The tickets engine then monkeypatches the account destruction and destroys all tickets before the user is destroyed.

The tickets are destroyed first so that even if things break there should never be tickets with an outdated user id.

I would have prefered to use super over using an alias_method_chain but I have not been able to figure out a way to make account a superclass of the account extension and still refer to Account from the users engine.
</pre>
</div>
</content>
</entry>
<entry>
<title>integration test for blocking handles after account destroyed</title>
<updated>2013-11-06T09:20:33+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-06T09:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=44d273fd03645af5e546133adf4e9906800d3d5f'/>
<id>44d273fd03645af5e546133adf4e9906800d3d5f</id>
<content type='text'>
has not been run yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
has not been run yet.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: extract method on account test</title>
<updated>2013-11-06T09:10:44+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-06T09:10:44+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=40f24e2887672957acf7ecedce58e692cc9505ca'/>
<id>40f24e2887672957acf7ecedce58e692cc9505ca</id>
<content type='text'>
also test one can't login anymore after destroying the account.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also test one can't login anymore after destroying the account.
</pre>
</div>
</content>
</entry>
<entry>
<title>Identity.destroy_all_disabled will clean up disabled identities</title>
<updated>2013-11-05T16:03:55+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-05T16:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=4a2490cc5eac1803be80fade65bbe9d32fa0bd9b'/>
<id>4a2490cc5eac1803be80fade65bbe9d32fa0bd9b</id>
<content type='text'>
This is mostly for cleaning up after tests so far. But we might expand this to destroy all identities disabled before a certain date.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is mostly for cleaning up after tests so far. But we might expand this to destroy all identities disabled before a certain date.
</pre>
</div>
</content>
</entry>
<entry>
<title>disabled identities to block handles after a user was deleted</title>
<updated>2013-11-05T11:15:08+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-05T11:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=99ecdbf71632970d4c83f99beea325e5d213e4c6'/>
<id>99ecdbf71632970d4c83f99beea325e5d213e4c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
