<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/test/integration/browser, 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: 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: 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>remove merge cruft</title>
<updated>2017-08-15T18:32:21+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2017-08-15T18:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=8b0974e22f4b48ddb4d1fded9c4f65d4b6a88180'/>
<id>8b0974e22f4b48ddb4d1fded9c4f65d4b6a88180</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use i18n for login test</title>
<updated>2017-08-15T18:31:04+00:00</updated>
<author>
<name>elijah</name>
<email>elijah@riseup.net</email>
</author>
<published>2017-08-15T18:31:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=bc9dc8e62a01b9f961026e7d33be4d9f92763920'/>
<id>bc9dc8e62a01b9f961026e7d33be4d9f92763920</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>feature: delete user clearing username</title>
<updated>2017-04-03T08:43:42+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-04-03T08:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=e9bdd2aa5a0662a9fc6d5ce730e26cfd560210ba'/>
<id>e9bdd2aa5a0662a9fc6d5ce730e26cfd560210ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>upgrade: simple_form to bootstrap 3</title>
<updated>2017-03-27T08:39:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2017-03-24T11:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=b1b523f08a9ce7ea5fe0d50dc8b86995e00b48d6'/>
<id>b1b523f08a9ce7ea5fe0d50dc8b86995e00b48d6</id>
<content type='text'>
* reran the simple form initializer.
* wrapped submit buttons are now broken and need a fix.
* disabled confirmation validation in client side validations as the
  error message always is attached to the wrong field.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reran the simple form initializer.
* wrapped submit buttons are now broken and need a fix.
* disabled confirmation validation in client side validations as the
  error message always is attached to the wrong field.
</pre>
</div>
</content>
</entry>
<entry>
<title>move signup from users to account_controller</title>
<updated>2016-05-23T11:01:51+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-05-23T10:17:31+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=f47fc9d6522886cf81cfea26ec1f396219c539ba'/>
<id>f47fc9d6522886cf81cfea26ec1f396219c539ba</id>
<content type='text'>
There was a lot of special case handling going on in the users_controller
for this. Lot simpler this way.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was a lot of special case handling going on in the users_controller
for this. Lot simpler this way.
</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>
<entry>
<title>split up integration account test</title>
<updated>2016-05-02T11:24:41+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-03-24T08:03:30+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=0ac511a31a6652ab00bbc765079b1c56128b191f'/>
<id>0ac511a31a6652ab00bbc765079b1c56128b191f</id>
<content type='text'>
AccountLivecycleTest -&gt; CRUD accounts
SecurityTest -&gt; security specific tests
AdminTest -&gt; admin specific tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AccountLivecycleTest -&gt; CRUD accounts
SecurityTest -&gt; security specific tests
AdminTest -&gt; admin specific tests
</pre>
</div>
</content>
</entry>
</feed>
