<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/app/models, branch 0.5.1</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>destinguish user.email from user.email_address</title>
<updated>2014-05-13T12:42:07+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-13T12:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=bbe9de73352b5aa937173b4158267f6a37e9ca5f'/>
<id>bbe9de73352b5aa937173b4158267f6a37e9ca5f</id>
<content type='text'>
use the former if you want a working email account or nil, the
latter if you want the email address associated with a given
user no matter if the user actually has an email account or not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use the former if you want a working email account or nil, the
latter if you want the email address associated with a given
user no matter if the user actually has an email account or not.
</pre>
</div>
</content>
</entry>
<entry>
<title>keep empty email field if user removed prefill</title>
<updated>2014-05-13T08:52:55+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-13T08:52:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=0261e82686ec4fcfc8b633664fadb1dd6d9c8070'/>
<id>0261e82686ec4fcfc8b633664fadb1dd6d9c8070</id>
<content type='text'>
We should respect the users choice. We can still get their email from the user id if we really need to.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should respect the users choice. We can still get their email from the user id if we really need to.
</pre>
</div>
</content>
</entry>
<entry>
<title>allow for usernames with dots</title>
<updated>2014-05-13T07:51:41+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-13T07:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=86eb9062f1e81302647bf18ce0f5fd981202b68a'/>
<id>86eb9062f1e81302647bf18ce0f5fd981202b68a</id>
<content type='text'>
preparing for #5664 with some test improvements i ran into this issue

This commit includes a fix and the test improvements. In particular it
adds BrowserIntegrationTest#login - so there is no need to go through the signup procedure everytime you want a user to be logged in.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
preparing for #5664 with some test improvements i ran into this issue

This commit includes a fix and the test improvements. In particular it
adds BrowserIntegrationTest#login - so there is no need to go through the signup procedure everytime you want a user to be logged in.
</pre>
</div>
</content>
</entry>
<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>
</feed>
