<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/test, 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>minor: clean up account test</title>
<updated>2017-11-16T12:17:22+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-11-16T12:17:22+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=ae0aa02d038f16bb0919eebee805624bb891f48f'/>
<id>ae0aa02d038f16bb0919eebee805624bb891f48f</id>
<content type='text'>
also ensures that created user is cleaned up even if test fails
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also ensures that created user is cleaned up even if test fails
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: alternate email dialogue</title>
<updated>2017-11-13T12:16:41+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-11-13T12:16:41+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=028376fe1ea7638f0119ba9614629f66453d206f'/>
<id>028376fe1ea7638f0119ba9614629f66453d206f</id>
<content type='text'>
fixes #8796

Cleaned up UserController#update earlier but missed that it was
used to change fallback email addresses. Now it is back. This
time including an integration test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #8796

Cleaned up UserController#update earlier but missed that it was
used to change fallback email addresses. Now it is back. This
time including an integration test.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix #8010 - publish public key in webfinger</title>
<updated>2017-11-08T10:47:17+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-11-08T10:47:17+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=d12e6029889f7905c8b1586d93f653ed0978a88e'/>
<id>d12e6029889f7905c8b1586d93f653ed0978a88e</id>
<content type='text'>
we were simply referring to the wrong key.
includes test
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we were simply referring to the wrong key.
includes test
</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>fix: also remove invite codes used for tmp users</title>
<updated>2017-10-24T10:12:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-10-24T10:12:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=3a1a6fde9a1fc2ea2a8f081a9d2578ec718bdd32'/>
<id>3a1a6fde9a1fc2ea2a8f081a9d2578ec718bdd32</id>
<content type='text'>
fixes #8807
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #8807
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: destroy invites used to create test accounts</title>
<updated>2017-10-17T09:05:53+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-10-17T09:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=9414e8ddf4ce7e951a6dc9130d99fa12c5696b94'/>
<id>9414e8ddf4ce7e951a6dc9130d99fa12c5696b94</id>
<content type='text'>
Production instances are getting cluttered with invites from
test accounts. Instead of marking them as used we will now completely
remove them.

refers to #8804
refers to #8807\
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Production instances are getting cluttered with invites from
test accounts. Instead of marking them as used we will now completely
remove them.

refers to #8804
refers to #8807\
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: login error message with locale set</title>
<updated>2017-10-16T13:47:39+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-10-16T13:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=aba11e35fa483ae72203854e323445e8330ed71b'/>
<id>aba11e35fa483ae72203854e323445e8330ed71b</id>
<content type='text'>
On a failed login the warden failure app gets called.
Some of the params are changed accordingly but controller
and action remain.
set_locale would detect there was no locale in the path
and thus attempt to redirect. However the params still
belong to the previous request which was a POST to
  Api::SessionsController.
This route does not respond to get requests and so it
would trigger a 404 in production and a 500 in development.

This commit prevents set_locale to act upon warden failure
app controller calls by adding /new to the list of
`NON_LOCALE_PATHS`. (The path is updated by warden to the
name of the action called in the failure app).

A test is included in this commit that tries to login
with an invalid username, password combination and a german
locale set.

fixes #8805
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On a failed login the warden failure app gets called.
Some of the params are changed accordingly but controller
and action remain.
set_locale would detect there was no locale in the path
and thus attempt to redirect. However the params still
belong to the previous request which was a POST to
  Api::SessionsController.
This route does not respond to get requests and so it
would trigger a 404 in production and a 500 in development.

This commit prevents set_locale to act upon warden failure
app controller calls by adding /new to the list of
`NON_LOCALE_PATHS`. (The path is updated by warden to the
name of the action called in the failure app).

A test is included in this commit that tries to login
with an invalid username, password combination and a german
locale set.

fixes #8805
</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>
</feed>
