Commit graph

80 commits

Author SHA1 Message Date
John Firebaugh
c5fc21e6a6 Inline validation errors on sign up page 2013-08-12 13:34:44 -07:00
John Firebaugh
58cd5bfb11 Remove unnecessary div/class/css 2013-08-12 13:34:43 -07:00
John Firebaugh
2690342b08 Reduce welcome email to minimal text
Instead, redirect newly-confirmed users to the welcome
page. If confirmation is not required, redirect immediately
and don't send an email.
2013-08-12 13:34:40 -07:00
John Firebaugh
849e874dce Refactor user creation actions
Create a separate #create action that handles POSTs to
/user/new. This simplifies the other actions and ensures
that the URL is /user/new when validation errors occur,
rather than /user/terms.

Fixes #398
2013-08-01 17:32:40 +01:00
Tom Hughes
8313bf0612 Update tests for changes to signup form 2013-07-08 09:34:59 +01:00
Tom Hughes
92a8894118 Fix up user creation tests to handle cookie check 2013-07-04 14:52:41 +01:00
Tom Hughes
b7b68aee36 Simplify handling of verified emails in OpenID signup
Also make sure that all paths that lead to OpenID based signup
will notice a verified email properly.
2012-10-30 21:43:38 +00:00
Tom Hughes
9813d9f1e4 Get all the tests passing under ruby 1.9 2012-05-27 13:51:25 +01:00
Tom Hughes
3ae17e46ad Replace deprecated response.redirected_to with response.redirect_url 2011-11-14 09:42:50 +00:00
Tom Hughes
7d09beb570 Fixed tests to handle multi-part confirmation email 2011-11-14 09:42:49 +00:00
Tom Hughes
d63d49b967 Removed extension from assert_template calls 2011-11-14 09:42:47 +00:00
Tom Hughes
e007ad3a00 Fix tests to copy with new style mail objects 2011-11-14 09:42:47 +00:00
Tom Hughes
edb68e839f Rail 3 has renamed fieldWithErrors to field_with_errors 2011-11-14 09:42:47 +00:00
Tom Hughes
b84ffebb7b Set Accept-Language in a rails 3 compatible way 2011-11-14 09:42:47 +00:00
Tom Hughes
2a635ab28f Start ROTS for user login tests as well as creation tests 2011-05-21 13:35:15 +01:00
Tom Hughes
3f81257fc5 If we start a ROTS instance then kill it when we're done 2011-05-21 12:35:48 +01:00
Kai Krueger
426778dd2a Start the rots server if it isn't already running 2010-12-06 00:38:42 +00:00
Tom Hughes
c1b65d11fd Fixup openid test to reflect changes merged from master 2010-10-05 00:45:03 +01:00
Tom Hughes
c016bf6c15 Merge branch 'master' into openid
Conflicts:
	app/controllers/user_controller.rb
2010-10-05 00:23:04 +01:00
Tom Hughes
bddf524c88 Allow users to send themselves a new confirmation email
Add a method which generates a new confirmation email, and provide
links to it from appropriate places.
2010-10-04 21:52:58 +01:00
Kai Krueger
a0b76fc2c5 Test openid based user creation right through to the final save 2010-10-01 21:29:23 +01:00
Kai Krueger
ce1e788f82 Add a test for openid failure during user creation 2010-10-01 21:06:57 +01:00
Tom Hughes
bffc0377dd Fix user creation tests to handle terms screen 2010-05-11 22:25:06 +01:00
Tom Hughes
c6609cce24 Fixup tests to work after changes to user controller 2010-05-11 14:12:57 +01:00
Kai Krueger
92af0eccd5 Add test for OpenID login and signup
The tests need the ROTS (Ruby OpenID Test Server) running.
ROTS can be found at http://github.com/roman/rots
If ROTS is not running, there will be 4 failed test cases, but otherwise
things should work
2010-05-02 11:04:51 +01:00
Shaun McDonald
5cbaa2fca7 fix some trace tests, due to a change of the way that your own ones are rendered. 2010-01-10 15:21:53 +00:00
Tom Hughes
d4b8020757 Fix tests to reflect changes to signup form. 2009-10-21 23:35:59 +00:00
Matt Amos
b34b898451 Added referer URL in user_token so that redirections (e.g: from oauth token requests) are followed after the user has confirmed the sign-up. Added test for the same. 2009-08-25 15:00:32 +00:00
Shaun McDonald
887eba8c8d More tests to check that user creation works, and the url in the e-mail is the same. Seems that we can only test that a particular page is loading fine in all locales in the integration tests, and not the functional tests. 2009-06-07 21:07:07 +00:00
Shaun McDonald
0f25285ab6 More tests, found a bug in the data browser, no fix yet. Fix db readme. Don't show the signup page to logged in users, by redirecting them to the home page. Remove unnessesary begin blocks in the browse controller. 2009-04-12 23:20:31 +00:00