<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/users/app/models, 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>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>blacklist system logins for aliases and logins</title>
<updated>2013-10-17T10:05:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-10-17T10:05:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=9f4b1bcf315f09fd6d302ad187281ec4ed443f04'/>
<id>9f4b1bcf315f09fd6d302ad187281ec4ed443f04</id>
<content type='text'>
We blacklist based on three things:
* blacklist in APP_CONFIG[:handle_blacklist]
* emails in RFC 2142
* usernames in /etc/passwd

The latter two can be allowed by explicitly whitelisting them in APP_CONFIG[:handle_whitelist].

We stick to blocking names that have been configured as both blacklisted and whitelisted - better be save than sorry.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We blacklist based on three things:
* blacklist in APP_CONFIG[:handle_blacklist]
* emails in RFC 2142
* usernames in /etc/passwd

The latter two can be allowed by explicitly whitelisting them in APP_CONFIG[:handle_whitelist].

We stick to blocking names that have been configured as both blacklisted and whitelisted - better be save than sorry.
</pre>
</div>
</content>
</entry>
<entry>
<title>Since local part of email is case sensitive, want to allow remote email addresses with uppercase letters in local part.</title>
<updated>2013-09-26T19:06:25+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-09-26T19:06:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=af9d843d646cf500306de0ad20896c05ecaccd78'/>
<id>af9d843d646cf500306de0ad20896c05ecaccd78</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>This ensures that email addresses contain only lowercase letters, and that an identity's destination is a valid Email.</title>
<updated>2013-09-23T19:23:08+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-09-23T19:23:08+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=a9c68ba0bbba7a95e9b4a3ff24554d1b0af6cbc5'/>
<id>a9c68ba0bbba7a95e9b4a3ff24554d1b0af6cbc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
