<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/users/test/functional/v1, branch master</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>moving users: app and test files</title>
<updated>2014-04-08T09:49:14+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-08T09:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b6d14dc19dd350a807826e3e097738a36613e083'/>
<id>b6d14dc19dd350a807826e3e097738a36613e083</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rename authorize to require_login</title>
<updated>2014-02-10T13:26:30+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-02-07T13:38:56+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3f9dc65636afb57fed441978dca4bf7d3209bd2d'/>
<id>3f9dc65636afb57fed441978dca4bf7d3209bd2d</id>
<content type='text'>
authorize_admin -&gt; require_admin

also add require_token which will ensure token has been used for auth.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
authorize_admin -&gt; require_admin

also add require_token which will ensure token has been used for auth.
</pre>
</div>
</content>
</entry>
<entry>
<title>Some refactoring, to simplify user model, optimize, and allow messages to be sorted by date (although are not now.)</title>
<updated>2014-01-07T20:57:01+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2014-01-07T20:57:01+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=c7e66852324714a166dd35dc3d5873a0053dcb9b'/>
<id>c7e66852324714a166dd35dc3d5873a0053dcb9b</id>
<content type='text'>
Also, rather than use whenever gem, will have cron job created to call task.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, rather than use whenever gem, will have cron job created to call task.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add authentication to API, but not sure it is best way.</title>
<updated>2013-12-31T20:16:43+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-12-31T20:16:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=47d9b62913789358aefe769de6b7e33da8547891'/>
<id>47d9b62913789358aefe769de6b7e33da8547891</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup of code for messages API and cron job for 1 month payment warning. Authentication still remaining piece.</title>
<updated>2013-12-31T19:48:18+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-12-31T19:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=f9c96f8844205afe3c310b5b914752068728d38f'/>
<id>f9c96f8844205afe3c310b5b914752068728d38f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change structure to be more no-sql-y, rather than relational.</title>
<updated>2013-12-30T23:22:44+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-12-30T23:22:44+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=16b28882aa7659fb89e1661ed8af0c0db72642c8'/>
<id>16b28882aa7659fb89e1661ed8af0c0db72642c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Catching some corner cases &amp; new tests.</title>
<updated>2013-12-24T21:27:22+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-12-24T21:27:22+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=7f12c795207ac818bffac42aa581bf1165f9e424'/>
<id>7f12c795207ac818bffac42aa581bf1165f9e424</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add API tests and some refactoring of messages so we can get a user's messages within the webapp.</title>
<updated>2013-12-24T20:36:42+00:00</updated>
<author>
<name>jessib</name>
<email>jessib@riseup.net</email>
</author>
<published>2013-12-24T20:23:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e4390e2ee5b2df20038f12865db462cf1e208ee6'/>
<id>e4390e2ee5b2df20038f12865db462cf1e208ee6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test helper to expect_logout.</title>
<updated>2013-10-30T19:17:43+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-10-30T19:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=f6924bfe3b540c384fa53e55db9db3a64a34ced3'/>
<id>f6924bfe3b540c384fa53e55db9db3a64a34ced3</id>
<content type='text'>
Currently it expects both the session and the token to be cleared. This might change. But we'll always have a definition of what it means to logout we can test this way.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently it expects both the session and the token to be cleared. This might change. But we'll always have a definition of what it means to logout we can test this way.
</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>
