<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/users/app/controllers, 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>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>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>use token auth when accessing the api from webapp</title>
<updated>2013-09-24T08:48:32+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-09-23T17:55:22+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=193bf6446b384dce1699e8fb82be6f16cb8cb5f6'/>
<id>193bf6446b384dce1699e8fb82be6f16cb8cb5f6</id>
<content type='text'>
One failing integration test still needs to be fixed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One failing integration test still needs to be fixed
</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>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>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>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>
