<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/app/models, 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>adopt service_level config to platform settings</title>
<updated>2014-04-18T11:08:45+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-18T10:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=be81b7430e0a2046125be7c3a4b01b8725f4afe6'/>
<id>be81b7430e0a2046125be7c3a4b01b8725f4afe6</id>
<content type='text'>
cost  -&gt; rate
quota -&gt; storage
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cost  -&gt; rate
quota -&gt; storage
</pre>
</div>
</content>
</entry>
<entry>
<title>bringing back empty cert prefixes</title>
<updated>2014-04-18T10:39:27+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-18T10:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=966e390d401b84dad98127e647d2ec634f1cbc15'/>
<id>966e390d401b84dad98127e647d2ec634f1cbc15</id>
<content type='text'>
if neither limited nor unlimited certs are allowed there will be no prefix. Not sure if this is desired - but it's the way things used to be before the refactoring
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if neither limited nor unlimited certs are allowed there will be no prefix. Not sure if this is desired - but it's the way things used to be before the refactoring
</pre>
</div>
</content>
</entry>
<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>Adding in what used to be leap webapp demo</title>
<updated>2012-09-27T20:14:06+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2012-09-27T20:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=54a12a93b5d8621b26c003d25ef80c01293e45a7'/>
<id>54a12a93b5d8621b26c003d25ef80c01293e45a7</id>
<content type='text'>
we're merging repositories into one
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we're merging repositories into one
</pre>
</div>
</content>
</entry>
</feed>
