<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/users, branch 0.2.2</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<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>fix login form - use api session url</title>
<updated>2013-09-04T07:48:30+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-04T07:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e915e1090d2b5a17a0dcde8b11a63d11565c62a7'/>
<id>e915e1090d2b5a17a0dcde8b11a63d11565c62a7</id>
<content type='text'>
There's no non api sessions resource anymore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no non api sessions resource anymore.
</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>clearify usage of V1::UsersController#index for autocomplete</title>
<updated>2013-09-03T09:08:55+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-03T09:08:42+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=31429466c9e21f3360c9b550fa93170200f15493'/>
<id>31429466c9e21f3360c9b550fa93170200f15493</id>
<content type='text'>
[skip ci]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[skip ci]
</pre>
</div>
</content>
</entry>
<entry>
<title>use the login logout named route instead of sessions resource</title>
<updated>2013-09-03T09:06:20+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-03T09:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e81357bcb0be14a08aa185680b8b98ea92e45fab'/>
<id>e81357bcb0be14a08aa185680b8b98ea92e45fab</id>
<content type='text'>
The main part of the sessions resource now lives in the API. the two named routes are just fine for what is left.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The main part of the sessions resource now lives in the API. the two named routes are just fine for what is left.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove email aliases controller - we don't use it anymore</title>
<updated>2013-09-03T08:50:00+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-03T08:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=78e918609a2a5cf9e0222dab81888de968e33222'/>
<id>78e918609a2a5cf9e0222dab81888de968e33222</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
</feed>
