Tom Hughes
ef820ade46
Fix some incorrect tests that relied on the default routes
2012-03-09 20:16:18 +00:00
Tom Hughes
90e46a58de
Add routing tests for all supported routes
2012-03-09 19:49:44 +00:00
Tom Hughes
81d6b9dd28
Update note controller tests for new GeoJSON output
2012-03-09 00:42:22 +00:00
Tom Hughes
e660e60966
Merge branch 'master' into openstreetbugs
...
Conflicts:
Gemfile
Gemfile.lock
lib/migrate.rb
2012-03-08 18:23:27 +00:00
Tom Hughes
6ffee1cf4b
Sort node ids in test_ways_for_node
...
The ways_for_node method on the way controller does not guarantee
to return nodes in any particular order so we shouldn't rely on it
doing so in our tests.
2012-01-14 13:35:30 +00:00
Tom Hughes
52e5fa6ad7
Merge branch 'master' into openstreetbugs
...
Conflicts:
app/views/browse/_map.html.erb
app/views/site/index.html.erb
config/initializers/mime_types.rb
config/routes.rb
lib/map_boundary.rb
lib/migrate.rb
lib/osm.rb
vendor/assets/openlayers/OpenLayers.js
2012-01-05 20:15:53 +00:00
Tom Hughes
b705af948b
Add some password recovery tests
2011-12-13 19:13:34 +00:00
Tom Hughes
5c557cfe7c
Add some tests for updating users
2011-12-13 10:28:17 +00:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
33fb432beb
Update tests to set the username cookie as necessary
2011-11-14 09:42:59 +00:00
Peter Gray
95d899786a
Refactor bounding box code
...
Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
2011-11-14 09:42:57 +00:00
Tom Hughes
fc25c3d412
Rename all ID columns that aren't unique
...
Having a table with a column called ID that is only part of the
primary key really doesn't work as rails likes to treat ID as a
special name so it becomes impossible to assign to it or read it.
2011-11-14 09:42:52 +00:00
Tom Hughes
1da4cecaf6
List all objects that are blocking a delete, in a well defined order
2011-11-14 09:42:49 +00:00
Tom Hughes
bd7a912aa6
Specify the format when requesting an RSS feed
2011-11-14 09:42:48 +00:00
Tom Hughes
edb68e839f
Rail 3 has renamed fieldWithErrors to field_with_errors
2011-11-14 09:42:47 +00:00
Tom Hughes
b89486eab0
Rework AMF controller's streaming output for rails 3
2011-11-14 09:42:46 +00: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
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
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
Kai Krueger
001ff5764b
Merge branch 'master' into openstreetbugs2
2011-04-19 22:00:30 -06:00
Tom Hughes
4b20afd51e
Preserve the referer at the end of account creation
2011-04-03 13:46:18 +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
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
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
71f1554212
Make trace API a proper CRUD API like other object types
2010-10-11 23:09:27 +01:00
Tom Hughes
6fb8570200
Merge branch 'master' into openstreetbugs
...
Conflicts:
config/environment.rb
config/routes.rb
2010-09-06 12:51:50 +01:00
Matt Amos
838b1ee7e9
Fixed AMF controller to validate changeset comments
...
Fixed AMF controller so that it doesn't accept non-UTF8 comments, and
throws away non-XML characters.
2010-08-08 16:23:11 +01:00
Tom Hughes
f07819d81a
Rework application configuration
...
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.
The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
52395b3cdf
Merge branch 'master' into openstreetbugs
2010-07-28 21:30:55 +01:00
Tom Hughes
6f73468f18
Convert diary views to use CSS based user specific components
2010-07-21 22:24:35 +01:00
Tom Hughes
959442d087
Merge branch 'master' into openstreetbugs
2010-05-11 19:53:57 +01:00
Tom Hughes
e005926131
Update test to reflect changes in signup page
2010-05-11 19:17:14 +01:00
Tom Hughes
acbc99ac16
Merge branch 'master' into openstreetbugs
2010-04-19 21:30:42 +01:00