Commit graph

512 commits

Author SHA1 Message Date
Tom Hughes
22d15c090a Add fixtures for user blocks and tokens 2011-11-14 09:42:45 +00:00
Tom Hughes
3d55db46ed Avoid use of deprecated methods on error objects 2011-11-14 09:42:45 +00:00
Tom Hughes
e1213a4651 Use Rails.xxx instead of RAILS_XXX 2011-11-14 09:42:40 +00:00
Tom Hughes
c9fa49c994 Update to rails 3 2011-11-14 09:42:40 +00:00
Tom Hughes
f59747585d Mark all users which have seen the terms as having accepted them 2011-09-24 15:23:24 +01:00
Tom Hughes
0ffb08b070 Add some tests for password logins 2011-09-24 15:19:34 +01:00
Tom Hughes
d9ba5ff31f Update tests for changes to login form 2011-09-24 15:13:40 +01:00
Tom Hughes
18883b59c8 Merge branch 'master' into openstreetbugs 2011-08-24 21:25:05 +01:00
Tom Hughes
c24967d168 Remove :root qualifiers as they don't seem to work in rails 2.3.14 2011-08-22 22:42:38 +01:00
Tom Hughes
72e33046c8 Merge branch 'master' into openstreetbugs
Conflicts:
	app/views/browse/_map.html.erb
	app/views/site/index.html.erb
2011-08-13 11:48:04 +01:00
Tom Hughes
e5c80c80ad Use num_changes to detect empty changesets instead of the bbox 2011-07-12 15:55:17 +01:00
Tom Hughes
7c98b41cc8 Merge branch 'master' into openstreetbugs 2011-06-22 22:36:43 +01:00
Tom Hughes
8382181635 Tidy up the note controller
Go through most of the note controller, tidying things up, fixing
a few bugs, and making sure we have tests for everything.
2011-05-22 17:02:48 +01:00
Tom Hughes
08d6a0c910 Update tests for change in name from "map_bug" to "note" etc 2011-05-22 12:40:56 +01:00
Tom Hughes
4e38994d1b Cleanup merge breakage 2011-05-21 14:05:55 +01: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
Tom Hughes
832b96b75a Merge branch 'master' into openid
Conflicts:
	app/controllers/user_controller.rb
	app/views/user/terms.html.erb
	test/fixtures/users.yml
2011-05-21 12:14:56 +01:00
Tom Hughes
9cb8311f02 Merge branch 'openID' of git://git.openstreetmap.org/rails into openid 2011-05-21 12:11:40 +01:00
Tom Hughes
f4928d0e95 Rename a number of methods in the map_bugs controller 2011-05-18 00:36:02 +01:00
Tom Hughes
882700c5c8 Rename some columns and indexes in the bug tables 2011-05-18 00:36:00 +01:00
Tom Hughes
d2cf09f389 Make sure the ruby quadtile code give the same result as the C version 2011-05-18 00:36:00 +01:00
Tom Hughes
22bef89d1a Use quad tiling to select bugs in an area
Remove the _no_quadtile versiond of the selection routines and switch
to using the ordinary ones but with a (large) limit applied on the size
of the area to prevent us spending ages working out the list of tiles
to be selected.
2011-05-18 00:35:56 +01:00
Tom Hughes
b42a28067d Make sure the ruby quadtile code give the same result as the C version 2011-05-08 15:18:03 +01:00
Tom Hughes
fb4d003ebe Tidy up some of the map bugs code 2011-05-07 13:05:39 +01:00
Tom Hughes
e7cd90f4b4 Merge branch 'master' into openstreetbugs 2011-05-06 22:56:47 +01:00
Tom Hughes
e098d52424 Rearrange changeset list page to put the map beside the list 2011-05-05 20:25:53 +01:00
Matt Amos
3700b534e4 Change the test for whether the CTs have been seen to use the
user preferences API call rather than user details, as that one
is no longer blocked.
2011-05-01 02:34:38 +01:00
Tom Hughes
af68e07272 Merge branch 'master' into openstreetbugs 2011-04-29 17:05:59 +01:00
Tom Hughes
02e186ee5b Allow user details to be fetched without agreeing terms 2011-04-20 21:17:59 +01:00
Tom Hughes
8980da4381 Merge branch 'master' into openstreetbugs 2011-04-20 19:23:39 +01:00
Matt Amos
c21aa5933a Added flash notice for CTs decline
Also ensured that CTs are either accepted or declined and cannot
be inadvertently bypassed.
2011-04-18 00:29:15 +01:00
Tom Hughes
4b20afd51e Preserve the referer at the end of account creation 2011-04-03 13:46:18 +01:00
Tom Hughes
452879ee03 Don't run the user terms tests unless REQUIRE_TERMS_SEEN is set 2011-04-03 13:46:16 +01:00
Matt Amos
8b12abd5bb Phase 2 CTs implementation and tests, with config parameter 2011-04-03 13:46:16 +01:00
Matt Amos
f3ff36418b Fixed bug in changeset queries
The 'or' condition needed to be bracketed within larger 'and' expression.
2011-03-15 13:56:55 +00:00
Tom Hughes
11aff90f63 Merge branch 'master' into openid
Conflicts:
	app/controllers/user_controller.rb
	app/views/user/login.html.erb
	public/stylesheets/common.css
2011-02-10 14:10:19 +00:00
Tom Hughes
2d937f94d5 Add support for conditional deletes in changeset uploads
A delete element in an osmChange upload can now have an if-unused
attribute to indicate that the delete should not be done if the
object is still in use.
2010-12-15 23:59:06 +00:00
Tom Hughes
f20a85a5c5 Allow the client to request errors as an XML document 2010-12-15 23:58:59 +00:00
Shaun McDonald
8e58ec0ff5 Update expected GPS namespace in tests
Update tests to expect the correct GPX namespace URL to reflect the
change made in 7369b7427c ane make the
tests pass again.
2010-12-06 00:40:11 +00:00
Kai Krueger
426778dd2a Start the rots server if it isn't already running 2010-12-06 00:38:42 +00:00
Tom Hughes
0ea9f92be5 Merge branch 'master' into openid
Conflicts:
	app/controllers/user_controller.rb
2010-12-05 15:15:55 +00:00
Tom Hughes
d458bb044c Fix test for change to editor options 2010-12-01 09:27:12 +00:00
Tom Hughes
06105d280c Fixup tests for changes to multi-editor functionality 2010-11-29 21:19:54 +00:00
Matt Amos
cd66a5db99 Initial work on support for multiple editors 2010-11-29 12:20:21 +00:00
Tom Hughes
a1cb0f04d4 Merge branch 'master' into openstreetbugs
Conflicts:
	app/views/site/index.html.erb
2010-10-17 11:02:11 +01:00
Tom Hughes
e09b187cae Merge branch 'master' into openid
Conflicts:
	app/controllers/user_controller.rb
2010-10-17 10:59:29 +01:00
Tom Hughes
7b3e8871d5 There are five trace fixtures now 2010-10-11 23:35:44 +01:00
Tom Hughes
71f1554212 Make trace API a proper CRUD API like other object types 2010-10-11 23:09:27 +01:00
Tom Hughes
c1b65d11fd Fixup openid test to reflect changes merged from master 2010-10-05 00:45:03 +01:00