<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/app/controllers/api, branch drop/ruby-2.1</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>fix: respond with error on invalid pgp key</title>
<updated>2017-11-16T12:18:55+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-11-16T12:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=1ce9a3355ee59181df0359ebb455efa9ef323bb6'/>
<id>1ce9a3355ee59181df0359ebb455efa9ef323bb6</id>
<content type='text'>
We used to just ignore the key.
Also separated the code for handling key updates from other
user updates. This should eventually be moved to a different
route. Mixing the two makes the implementation really hard.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We used to just ignore the key.
Also separated the code for handling key updates from other
user updates. This should eventually be moved to a different
route. Mixing the two makes the implementation really hard.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '8800-hand-out-configs-json-without-authentication' into 'master'</title>
<updated>2017-11-08T06:58:09+00:00</updated>
<author>
<name>azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-11-08T06:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e7dfe732599df8df4299c60d14f7c1e3e112b27d'/>
<id>e7dfe732599df8df4299c60d14f7c1e3e112b27d</id>
<content type='text'>
feat: allow unauthenticated access to list of configs

Closes #8800

See merge request leap/webapp!45</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
feat: allow unauthenticated access to list of configs

Closes #8800

See merge request leap/webapp!45</pre>
</div>
</content>
</entry>
<entry>
<title>fix: sanity checks on user params</title>
<updated>2017-10-24T11:33:03+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-09-17T07:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=325bccc1649c928d512ce7c7b11e14566a8c9eeb'/>
<id>325bccc1649c928d512ce7c7b11e14566a8c9eeb</id>
<content type='text'>
fixes #8801

Includes a test reproducing 500 on lynx

We now make use of ActionController::Parameters require and permit
methods.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #8801

Includes a test reproducing 500 on lynx

We now make use of ActionController::Parameters require and permit
methods.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: allow unauthenticated access to list of configs</title>
<updated>2017-09-11T12:55:14+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-09-11T12:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=ef91e8fe1fb5c1cf8f2f84fd25ef2b115f0ec8c8'/>
<id>ef91e8fe1fb5c1cf8f2f84fd25ef2b115f0ec8c8</id>
<content type='text'>
This should simplify client code significantly according to
platform#8849
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should simplify client code significantly according to
platform#8849
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: set token in forms correctly</title>
<updated>2017-04-20T13:59:18+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-04-20T13:59:18+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=653f92e6ac5c0b61e8113665735d929426deb714'/>
<id>653f92e6ac5c0b61e8113665735d929426deb714</id>
<content type='text'>
We now use the hash of the token for comparison and as the id.
In order to use it you need the original token though. So forms and
thus the session should have token.to_s rather than token.id.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now use the hash of the token for comparison and as the id.
In order to use it you need the original token though. So forms and
thus the session should have token.to_s rather than token.id.
</pre>
</div>
</content>
</entry>
<entry>
<title>respond_to on a per controller basis</title>
<updated>2016-08-19T09:15:31+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-08-18T09:00:16+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=fbad882075e745ab7afbe5f89c67544fb3c607c3'/>
<id>fbad882075e745ab7afbe5f89c67544fb3c607c3</id>
<content type='text'>
If you inherit respond to and call it again in your controller
it will not overwrite the previous but add to it.

Since we always have some exceptions from the rules it's probably
easiest to be explicit in the controllers that require it themselves.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If you inherit respond to and call it again in your controller
it will not overwrite the previous but add to it.

Since we always have some exceptions from the rules it's probably
easiest to be explicit in the controllers that require it themselves.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] restrict is_admin in the user api, to only allow querying</title>
<updated>2016-07-14T13:45:09+00:00</updated>
<author>
<name>NavaL</name>
<email>ayoyo@thoughtworks.com</email>
</author>
<published>2016-07-14T13:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=ab1917c5fe0f03e7719863a5598ad575d9fef302'/>
<id>ab1917c5fe0f03e7719863a5598ad575d9fef302</id>
<content type='text'>
for him/herself

So that it we do not expose the is_admin property to anyone else
including other admins.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for him/herself

So that it we do not expose the is_admin property to anyone else
including other admins.
</pre>
</div>
</content>
</entry>
<entry>
<title>rename destroy_identity to release_handles</title>
<updated>2016-05-23T11:01:52+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-05-23T10:27:14+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=ad208ae3625e67c2551744df7906ebdda94d215e'/>
<id>ad208ae3625e67c2551744df7906ebdda94d215e</id>
<content type='text'>
This expresses the intent rather than the implementation.
Also replace temp with query refactoring.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This expresses the intent rather than the implementation.
Also replace temp with query refactoring.
</pre>
</div>
</content>
</entry>
<entry>
<title>features for API version 2 - keep old ones</title>
<updated>2016-05-18T18:21:04+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-05-18T18:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=83f59164fc069f2593cf6babbc18638d9a68c9a3'/>
<id>83f59164fc069f2593cf6babbc18638d9a68c9a3</id>
<content type='text'>
Now we test both api versions. We want this for backwards compatibility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we test both api versions. We want this for backwards compatibility.
</pre>
</div>
</content>
</entry>
<entry>
<title>api: allow version bumping - bump to 2</title>
<updated>2016-05-18T18:07:41+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-05-01T13:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e05a1b0f5ae40a2aa17976b3009cd563b8e4660a'/>
<id>e05a1b0f5ae40a2aa17976b3009cd563b8e4660a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
