<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/users/app, 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>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>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>
<entry>
<title>refactor: Identity.disable_all_for(user) on user destruction</title>
<updated>2013-11-05T10:40:25+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-05T10:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b4ca13257341792f5e6496264c421af1888bcdb8'/>
<id>b4ca13257341792f5e6496264c421af1888bcdb8</id>
<content type='text'>
This way the identity model defines how identities should be disabled. We currently still destroy them. But it will be easy and nicely isolated to change this next.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way the identity model defines how identities should be disabled. We currently still destroy them. But it will be easy and nicely isolated to change this next.
</pre>
</div>
</content>
</entry>
<entry>
<title>notify user their account was successfully deleted (refs #4216)</title>
<updated>2013-10-30T19:17:43+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-10-28T11:47:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=dd88c7f84cb3c497c6327c364b3c08993c51a08f'/>
<id>dd88c7f84cb3c497c6327c364b3c08993c51a08f</id>
<content type='text'>
Also fixes a cornercase when admins deleted their own account. So far they would be redirected to the users list - which then refused access. Now they'll be redirected to the home landing page as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fixes a cornercase when admins deleted their own account. So far they would be redirected to the users list - which then refused access. Now they'll be redirected to the home landing page as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix button to enable account: https://leap.se/code/issues/4246</title>
<updated>2013-10-28T20:10:12+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-10-28T20:10:12+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=7aaedeaf6fdd2d84ebab7bde2f6a6bdcf8d930b8'/>
<id>7aaedeaf6fdd2d84ebab7bde2f6a6bdcf8d930b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
