<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/users/test/functional/v1, branch 0.2.5</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<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>clear token on logout with test</title>
<updated>2013-08-27T12:57:44+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-08-27T12:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=420bfb326f974eec14b04d6a170ed2d28c14180f'/>
<id>420bfb326f974eec14b04d6a170ed2d28c14180f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>first steps towards enabling token based auth</title>
<updated>2013-08-27T12:57:44+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-08-26T08:59:18+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=7ad6d054d72d3c76098f689e4e7890265a3604c8'/>
<id>7ad6d054d72d3c76098f689e4e7890265a3604c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>separate signup and settings service objects for user</title>
<updated>2013-07-24T08:56:45+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-07-19T14:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=d70c5796a2989b7b43f7e287899fb1394ae28280'/>
<id>d70c5796a2989b7b43f7e287899fb1394ae28280</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>user tests -- user update has been moved entirely to api controller, so fix tests to reflect this.</title>
<updated>2013-07-04T11:15:04+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2013-07-04T09:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=64bacc45ea1a023b154b07ec0790f762a79d20d5'/>
<id>64bacc45ea1a023b154b07ec0790f762a79d20d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>adopting tests to new behavior</title>
<updated>2013-04-09T19:04:48+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-04-09T19:04:48+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=53e3198196033f2dd77c09be6919cbef72f3f5d8'/>
<id>53e3198196033f2dd77c09be6919cbef72f3f5d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>return token on successful login via api</title>
<updated>2013-04-09T07:01:34+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-04-02T10:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=2bd36ec96d42f0b4585a15759f33ff7f89075dcc'/>
<id>2bd36ec96d42f0b4585a15759f33ff7f89075dcc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>send more meaningful error message on completely failed login attempt</title>
<updated>2013-04-02T14:56:11+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-04-02T14:56:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=d781dbdd61d1d24ec4828859a28815b55310154d'/>
<id>d781dbdd61d1d24ec4828859a28815b55310154d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>send salt on Session#create without srp ephemeral A</title>
<updated>2013-04-02T12:20:55+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-04-02T12:20:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=62c48c5a14ea0c1221216c3e40eb82ef594f2771'/>
<id>62c48c5a14ea0c1221216c3e40eb82ef594f2771</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>api for sessions fixed</title>
<updated>2013-02-26T10:45:56+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-02-26T10:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=4a92bab4d8c231a17a14afc81c391f9a1f91c063'/>
<id>4a92bab4d8c231a17a14afc81c391f9a1f91c063</id>
<content type='text'>
* now we return the user id on login
* allow a destroy request for logging out
* added test for api sessions controller
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* now we return the user id on login
* allow a destroy request for logging out
* added test for api sessions controller
</pre>
</div>
</content>
</entry>
</feed>
