<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/app/controllers, branch 0.5.1-rc2</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>change service level configuration strategy</title>
<updated>2014-04-18T10:30:52+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-18T09:55:40+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=9216ab8252246a263c5d17f6755a7d3887145f94'/>
<id>9216ab8252246a263c5d17f6755a7d3887145f94</id>
<content type='text'>
The changes to the configuration required some non minor changes to the platform and also added some flexibility we don't require yet - and thus some new possibilities for errors.

So instead we still use the allow_..._certs and ..._cert_prefix options.
They basically provide the framework in which service levels can operate.

The service level configuration will not include the cert prefix anymore.
It only states if the service level is rate limited or not.
This avoids conflicts between the two configuration options.

I also removed the anonymous service level entirely.
It was also turning a boolean decision (do we provide anonymous eip or not) into something way more complex. Instead I added the AnonymousServiceLevel class to handle the corner cases for people who are not logged in.

Furthermore i renamed the UnauthenticatedUser to AnonymousUser so it matches the Anonymous Service Level nicely. It's also shorter and more intuitive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The changes to the configuration required some non minor changes to the platform and also added some flexibility we don't require yet - and thus some new possibilities for errors.

So instead we still use the allow_..._certs and ..._cert_prefix options.
They basically provide the framework in which service levels can operate.

The service level configuration will not include the cert prefix anymore.
It only states if the service level is rate limited or not.
This avoids conflicts between the two configuration options.

I also removed the anonymous service level entirely.
It was also turning a boolean decision (do we provide anonymous eip or not) into something way more complex. Instead I added the AnonymousServiceLevel class to handle the corner cases for people who are not logged in.

Furthermore i renamed the UnauthenticatedUser to AnonymousUser so it matches the Anonymous Service Level nicely. It's also shorter and more intuitive.
</pre>
</div>
</content>
</entry>
<entry>
<title>make use of the UnauthorizedUser</title>
<updated>2014-04-17T17:27:47+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-17T17:27:47+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=7a9ece43bd61246b450471ed6bb1089570321e38'/>
<id>7a9ece43bd61246b450471ed6bb1089570321e38</id>
<content type='text'>
Null Pattern for current_user - use it to get rid of some conditionals
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Null Pattern for current_user - use it to get rid of some conditionals
</pre>
</div>
</content>
</entry>
<entry>
<title>UnauthenticatedUser as current_user</title>
<updated>2014-04-17T10:07:13+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-17T10:06:38+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=614745c84cab37dd03f2bd8f06160fd01c7fabdb'/>
<id>614745c84cab37dd03f2bd8f06160fd01c7fabdb</id>
<content type='text'>
this still allows us to do current_user.service_level.

Have not gone through the rest of the code yet.
Only made sure logged_in? now tests for is_a? User instead of !!current_user
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this still allows us to do current_user.service_level.

Have not gone through the rest of the code yet.
Only made sure logged_in? now tests for is_a? User instead of !!current_user
</pre>
</div>
</content>
</entry>
<entry>
<title>initial commit for the service level api</title>
<updated>2014-04-17T09:42:13+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-17T09:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=8cc5ba134f6c5a1a06d91407aa78b962545c54ac'/>
<id>8cc5ba134f6c5a1a06d91407aa78b962545c54ac</id>
<content type='text'>
:api/service will return a hash of the current users service level

This is failiing if the user is not logged in. Instead it should return the service description for an anonymous user.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
:api/service will return a hash of the current users service level

This is failiing if the user is not logged in. Instead it should return the service description for an anonymous user.
</pre>
</div>
</content>
</entry>
<entry>
<title>move certs into toplevel</title>
<updated>2014-04-10T10:54:36+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-10T10:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=c1486cb9688d53c5ae266ff22ab279ead12eaa36'/>
<id>c1486cb9688d53c5ae266ff22ab279ead12eaa36</id>
<content type='text'>
cleaned up all the engine stuff that was never really used.
Afterwards there is not that much left that makes it into the toplevel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cleaned up all the engine stuff that was never really used.
Afterwards there is not that much left that makes it into the toplevel.
</pre>
</div>
</content>
</entry>
<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>added default pricing, privacy policy and tos pages.</title>
<updated>2014-01-23T19:37:49+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2014-01-21T21:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=87383e624855def55e13d238b2f20b79c418c1d9'/>
<id>87383e624855def55e13d238b2f20b79c418c1d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Return 'provider.json' via a controller, to better be able to control the response headers (in particular, 'X-Minimum-Client-Version'). It must now be placed in config/provider/provider.json</title>
<updated>2013-12-30T03:25:05+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2013-12-30T03:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=f619178085d0c2729e275fa4f46f9cd981189d3e'/>
<id>f619178085d0c2729e275fa4f46f9cd981189d3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>locale prefix support:</title>
<updated>2013-12-22T10:00:49+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2013-12-22T09:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=665964bcbba69829a4ff1e7d7bd936f90d49b3f7'/>
<id>665964bcbba69829a4ff1e7d7bd936f90d49b3f7</id>
<content type='text'>
* set locale based on request header
* enforce locale path prefix when current locale is not the default
* note: don't use root_path anymore, instead use home_path
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* set locale based on request header
* enforce locale path prefix when current locale is not the default
* note: don't use root_path anymore, instead use home_path
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: remove Overview controller - we can use Users#show</title>
<updated>2013-12-13T13:44:04+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-12-13T13:27:15+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=496817bd512fe43c4cb80cc49a19dae3ed3eb165'/>
<id>496817bd512fe43c4cb80cc49a19dae3ed3eb165</id>
<content type='text'>
we were only using Users#show to redirect to the edit action. So I replaced that with the overview and we have no more use for the extra controller.

This also simplifies linking to the users in question a lot.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we were only using Users#show to redirect to the edit action. So I replaced that with the overview and we have no more use for the extra controller.

This also simplifies linking to the users in question a lot.
</pre>
</div>
</content>
</entry>
</feed>
