<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/users/test, branch 0.2.3</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>Merge pull request #82 from azul/feature/sessions-expire</title>
<updated>2013-09-19T17:41:58+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-09-19T17:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=16b8966a0df0104390ce95e35f1bb17f173f8d4d'/>
<id>16b8966a0df0104390ce95e35f1bb17f173f8d4d</id>
<content type='text'>
Feature/sessions expire</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Feature/sessions expire</pre>
</div>
</content>
</entry>
<entry>
<title>user.account shortcut to Account.new(user)</title>
<updated>2013-09-18T08:27:19+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-18T08:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3ca376a4070428c862c9db48cba25c3d307955ea'/>
<id>3ca376a4070428c862c9db48cba25c3d307955ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>integration tests for session expiry</title>
<updated>2013-09-17T11:04:11+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-17T11:04:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=165e417bc6ba66d51d74764db7b59279fb6a923f'/>
<id>165e417bc6ba66d51d74764db7b59279fb6a923f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use /login instead of /sessions/new and test successful login</title>
<updated>2013-09-04T08:46:15+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-04T08:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=c08a5331347571d7a0a7da5629a16e394da18716'/>
<id>c08a5331347571d7a0a7da5629a16e394da18716</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 #73 from azul/bugfix/3623-teardown-test-data-properly</title>
<updated>2013-09-03T17:48:13+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-09-03T17:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=07d0f6fe1d80cb730bd12a03a107c18d18779acc'/>
<id>07d0f6fe1d80cb730bd12a03a107c18d18779acc</id>
<content type='text'>
Bugfix/3623 teardown test data properly</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bugfix/3623 teardown test data properly</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #75 from azul/feature/token-expiry</title>
<updated>2013-09-03T17:43:34+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-09-03T17:43:34+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=f3e17149116f6a3aeb87f8a6d0ecf29e8e33ad93'/>
<id>f3e17149116f6a3aeb87f8a6d0ecf29e8e33ad93</id>
<content type='text'>
Token expiry</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Token expiry</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #76 from azul/feature/3600-visual-feedback-on-failed-signup</title>
<updated>2013-09-03T17:38:39+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-09-03T17:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=f97777ed0252abe94f8d94cb4565fb5a6c35ab23'/>
<id>f97777ed0252abe94f8d94cb4565fb5a6c35ab23</id>
<content type='text'>
Ensure json requests get json error response on failure</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure json requests get json error response on failure</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup sessions controller - webapp logs in through the api.</title>
<updated>2013-09-03T08:49:00+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-03T08:49:00+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=9a70f0e317e62993337e3e47382dcb7795d65652'/>
<id>9a70f0e317e62993337e3e47382dcb7795d65652</id>
<content type='text'>
So the #create and #update actions were not needed anymore. Also removed the tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So the #create and #update actions were not needed anymore. Also removed the tests
</pre>
</div>
</content>
</entry>
<entry>
<title>Account: Composition to handle User and its identities</title>
<updated>2013-09-03T06:54:25+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-08-30T09:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=859b79d0dcd53c85bb57e3db888a1af702802987'/>
<id>859b79d0dcd53c85bb57e3db888a1af702802987</id>
<content type='text'>
We have a lot of things that act upon a user record and one or more of it's identities at the same time:
* Sing up: Create a user and it's initial identity
* Rename:  Change the username and create a new identity, turn old into an alias
* Cancel Account: Remove user and all their identities.

In order to keep the User and Identity behaviour isolated but still have a this logic represented in a sinle place the Account model deals with all these things.

We could have overwritten the User#create, User#update and User#destroy methods instead. But then we would always create identities, even if we only need a user (for example in tests).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have a lot of things that act upon a user record and one or more of it's identities at the same time:
* Sing up: Create a user and it's initial identity
* Rename:  Change the username and create a new identity, turn old into an alias
* Cancel Account: Remove user and all their identities.

In order to keep the User and Identity behaviour isolated but still have a this logic represented in a sinle place the Account model deals with all these things.

We could have overwritten the User#create, User#update and User#destroy methods instead. But then we would always create identities, even if we only need a user (for example in tests).
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup records after running user integration tests</title>
<updated>2013-09-03T06:54:25+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-08-30T08:44:15+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=0d44e39d2ec591c9ab98464b93a0c867ca96e02a'/>
<id>0d44e39d2ec591c9ab98464b93a0c867ca96e02a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
