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
Tom Hughes
8cd02f4136
Drop the username from the "new diary entry" link to avoid problems
...
with caching - we don't need it as we know who the logged in user is
when a diary posting is made.
2010-02-04 15:48:40 +00: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
Tom Hughes
fc9df968fc
Fix tests which do logins to handle the cookie test.
2009-10-09 09:13:13 +00:00
Matt Amos
1e3b3c1f10
Refactored user_role and controller. Now much more DRY.
2009-10-01 17:15:34 +00:00
Matt Amos
77851bac7b
Added better messages and error handling in a couple of places. Added integration checks to ensure that the blocking is actually working. Tests FTW.
2009-09-30 17:39:42 +00:00
Tom Hughes
49906c99cd
Workaround rails 2.3.4 bogus deprecation warnings.
2009-09-04 10:52:58 +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
Matt Amos
0a122639c9
Ooops. Should have committed the test too.
2009-08-04 13:15:19 +00:00
Matt Amos
655dc6787e
Reorganised OAuth clients and tokens details page. Made clients info editable and some more stuff translatable in the OAuth pages.
2009-08-03 17:08:40 +00:00
Tom Hughes
64fb530581
Merge 16110:16487 from trunk.
2009-07-14 08:03:24 +00:00
Matt Amos
feae60fb69
Fixed short link integration test so that it would have caught a bug in shortlink charset.
2009-07-03 11:19:23 +00:00
Matt Amos
1d8e66016c
Adding 'shortlink' functions which will allow URLs like http://osm.org/go/XXXX suitable for use in twitter, etc...
2009-06-25 23:31:53 +00:00
Tom Hughes
f4571eeb7c
Revert r16046.
...
DO NOT COMMIT MAJOR ENHANCEMENTS TO TRUNK WITHOUT TALKING TO ME FIRST.
2009-06-23 02:48:38 +00:00
Matt Amos
b8f6dbd403
Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests.
2009-06-22 16:54:37 +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
0b6ac3b3e1
Fix the integration test
2009-05-31 17:59:39 +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
Shaun McDonald
22f3d7ce2e
more diary entry test
2008-11-11 18:33:08 +00:00
Shaun McDonald
995c9df195
more diary entry tests, and a minor fix to the relation member that makes the code a bit more readable.
2008-11-11 18:07:59 +00:00
Shaun McDonald
5ed41857f7
adding first integration for testing user diaries, as multiple controllers are required. more work required.
2008-11-09 19:51:56 +00:00