]> git.openstreetmap.org Git - rails.git/log
rails.git
16 years agomove index dropping to remove_index method
Andy Allan [Sun, 9 Nov 2008 11:19:46 +0000 (11:19 +0000)]
move index dropping to remove_index method

16 years agobumping the version of composite primary keys for the amf controler as there are...
Shaun McDonald [Sun, 9 Nov 2008 11:13:10 +0000 (11:13 +0000)]
bumping the version of composite primary keys for the amf controler as there are bugs in it

16 years agooops remove my test
Harry Wood [Sun, 9 Nov 2008 10:57:05 +0000 (10:57 +0000)]
oops remove my test

16 years agoUpdate DB readme for PgSQL a bit
Daniel Silverstone [Sun, 9 Nov 2008 10:41:48 +0000 (10:41 +0000)]
Update DB readme for PgSQL a bit

16 years agofix accidental commit of local config changes
Frederik Ramm [Sat, 8 Nov 2008 19:55:13 +0000 (19:55 +0000)]
fix accidental commit of local config changes

16 years agofix version number return for "modify" sections of diff uploads
Frederik Ramm [Sat, 8 Nov 2008 19:43:31 +0000 (19:43 +0000)]
fix version number return for "modify" sections of diff uploads

16 years ago1st amf_controller tests, and some basic sanity check fixes
Dave Stubbs [Sat, 8 Nov 2008 19:41:29 +0000 (19:41 +0000)]
1st amf_controller tests, and some basic sanity check fixes

16 years agoIgnore the bits in tmp/
Daniel Silverstone [Sat, 8 Nov 2008 19:33:41 +0000 (19:33 +0000)]
Ignore the bits in tmp/

16 years agoCREATE FUNCTION statement for pgsql
Daniel Silverstone [Sat, 8 Nov 2008 19:21:03 +0000 (19:21 +0000)]
CREATE FUNCTION statement for pgsql

16 years agoSupport building a postgresql binding for maptile_for_point
Daniel Silverstone [Sat, 8 Nov 2008 19:18:22 +0000 (19:18 +0000)]
Support building a postgresql binding for maptile_for_point

16 years agocosmetic tweaks to user settings form + move 'Mapper since' field onto user profile...
Harry Wood [Sat, 8 Nov 2008 19:03:25 +0000 (19:03 +0000)]
cosmetic tweaks to user settings form + move 'Mapper since' field onto user profile view

16 years agocorrecting typo on gps_points fixtures
Andy Allan [Sat, 8 Nov 2008 18:59:06 +0000 (18:59 +0000)]
correcting typo on gps_points fixtures

16 years agomove fulltext indexes to monkeypatch, since not all dbs have a fulltext analogue
Andy Allan [Sat, 8 Nov 2008 18:44:38 +0000 (18:44 +0000)]
move fulltext indexes to monkeypatch, since not all dbs have a fulltext analogue

16 years agoMove db engine changing into db adaptor monkeypatch
Andy Allan [Sat, 8 Nov 2008 18:04:36 +0000 (18:04 +0000)]
Move db engine changing into db adaptor monkeypatch

16 years agolast of the auto_increments removed from the migrations
Andy Allan [Sat, 8 Nov 2008 17:39:16 +0000 (17:39 +0000)]
last of the auto_increments removed from the migrations

16 years agoFixing boo-boo in r11802 - but you can assign integers to booleans on all dbs
Andy Allan [Sat, 8 Nov 2008 17:08:51 +0000 (17:08 +0000)]
Fixing boo-boo in r11802 - but you can assign integers to booleans on all dbs

16 years agoMoving AUTO_INCREMENTs to monkeypatching. Seems a bit hacky though
Andy Allan [Sat, 8 Nov 2008 16:47:02 +0000 (16:47 +0000)]
Moving AUTO_INCREMENTs to monkeypatching. Seems a bit hacky though

16 years agomessage with a logo and link to Contact page
Harry Wood [Sat, 8 Nov 2008 16:41:51 +0000 (16:41 +0000)]
message with a logo and link to Contact page

16 years agoBoolean correctness in migrations
Andy Allan [Sat, 8 Nov 2008 15:01:14 +0000 (15:01 +0000)]
Boolean correctness in migrations

16 years agoMake the confrm button into a confirm button
Daniel Silverstone [Sat, 8 Nov 2008 14:11:45 +0000 (14:11 +0000)]
Make the confrm button into a confirm button

16 years agoError message for version mismatch is now more informative.
Matt Amos [Sat, 8 Nov 2008 14:07:34 +0000 (14:07 +0000)]
Error message for version mismatch is now more informative.

16 years agomove bigint_pk id column into table def, no need to be an add_column
Andy Allan [Sat, 8 Nov 2008 12:30:42 +0000 (12:30 +0000)]
move bigint_pk id column into table def, no need to be an add_column

16 years agofixing one cmd that was missed in the resync
Shaun McDonald [Sat, 8 Nov 2008 12:16:42 +0000 (12:16 +0000)]
fixing one cmd that was missed in the resync

16 years agoResyncing from head 10895:11795
Shaun McDonald [Sat, 8 Nov 2008 11:52:58 +0000 (11:52 +0000)]
Resyncing from head 10895:11795

16 years agoAdding some diary fixtures and test stubs
Shaun McDonald [Sat, 8 Nov 2008 11:34:58 +0000 (11:34 +0000)]
Adding some diary fixtures and test stubs

16 years agoChange bigint id column to monkeypatching-friendly syntax
Andy Allan [Sat, 8 Nov 2008 11:01:39 +0000 (11:01 +0000)]
Change bigint id column to monkeypatching-friendly syntax

16 years agomore boolean correcting
Dave Stubbs [Sat, 8 Nov 2008 10:48:07 +0000 (10:48 +0000)]
more boolean correcting

16 years agoAdded a query method for querying bounding boxes, times and users of changesets....
Matt Amos [Fri, 7 Nov 2008 18:24:34 +0000 (18:24 +0000)]
Added a query method for querying bounding boxes, times and users of changesets. Needs (much) more testing.

16 years agofix the indentation only
Shaun McDonald [Fri, 7 Nov 2008 15:08:43 +0000 (15:08 +0000)]
fix the indentation only

16 years agosome boolean correctness work
Andy Allan [Fri, 7 Nov 2008 13:51:09 +0000 (13:51 +0000)]
some boolean correctness work

16 years agoadd fixme
Andy Allan [Fri, 7 Nov 2008 13:27:03 +0000 (13:27 +0000)]
add fixme

16 years agouse boolean flags when using boolean columns
Andy Allan [Fri, 7 Nov 2008 13:24:18 +0000 (13:24 +0000)]
use boolean flags when using boolean columns

16 years agoBooleans should be true/false - coding style comments welcome
Andy Allan [Fri, 7 Nov 2008 11:36:34 +0000 (11:36 +0000)]
Booleans should be true/false - coding style comments welcome

16 years agoD'oh! Fixed stupid errors in changeset controller.
Matt Amos [Fri, 7 Nov 2008 11:36:00 +0000 (11:36 +0000)]
D'oh! Fixed stupid errors in changeset controller.

16 years agousers fixtures should all have creation times
Andy Allan [Fri, 7 Nov 2008 11:21:46 +0000 (11:21 +0000)]
users fixtures should all have creation times

16 years agoBooleans should be true/false for compatibility with other db adapters
Andy Allan [Fri, 7 Nov 2008 11:20:25 +0000 (11:20 +0000)]
Booleans should be true/false for compatibility with other db adapters

16 years agoOoops. Added missing access control to changeset controller.
Matt Amos [Thu, 6 Nov 2008 19:10:19 +0000 (19:10 +0000)]
Ooops. Added missing access control to changeset controller.

16 years agoAdded a changeset/#id/include method to POST to to expand the bounding box.
Matt Amos [Thu, 6 Nov 2008 18:42:06 +0000 (18:42 +0000)]
Added a changeset/#id/include method to POST to to expand the bounding box.

16 years agoImplemented changeset bounding box handling for relations, based on the conversation...
Matt Amos [Thu, 6 Nov 2008 17:56:24 +0000 (17:56 +0000)]
Implemented changeset bounding box handling for relations, based on the conversation on the mailing list. Its a bit complex...

16 years agoDoing the update version part of the migration in chunks of 10000 instead of all...
Shaun McDonald [Thu, 6 Nov 2008 17:15:22 +0000 (17:15 +0000)]
Doing the update version part of the migration in chunks of 10000 instead of all at once so that MySQL doesn't choke with running out of table locks.

16 years agoRemoving depricated config option in the development env
Shaun McDonald [Thu, 6 Nov 2008 14:20:07 +0000 (14:20 +0000)]
Removing depricated config option in the development env

16 years agoFixing the migration so that it will better match the live databetter.
Shaun McDonald [Wed, 5 Nov 2008 18:42:38 +0000 (18:42 +0000)]
Fixing the migration so that it will better match the live databetter.

16 years agoUpdating the cycle map to use all zoom levels as per Andy Allan's message.
Shaun McDonald [Wed, 5 Nov 2008 17:37:14 +0000 (17:37 +0000)]
Updating the cycle map to use all zoom levels as per Andy Allan's message.

16 years agoAdded first attempt at bounding box support in changesets and tests for the same.
Matt Amos [Tue, 4 Nov 2008 15:52:22 +0000 (15:52 +0000)]
Added first attempt at bounding box support in changesets and tests for the same.

16 years agoMinor fix (integer => bigint) to one of the migrations so that they will run fully...
Shaun McDonald [Tue, 4 Nov 2008 13:54:45 +0000 (13:54 +0000)]
Minor fix (integer => bigint) to one of the migrations so that they will run fully again.

16 years agoAdding an extra test to make sure that the correct response is returned when an inval...
Shaun McDonald [Mon, 3 Nov 2008 18:54:19 +0000 (18:54 +0000)]
Adding an extra test to make sure that the correct response is returned when an invalid changeset action is uploaded.

16 years agoAdditional api tests for the changes. Also making sure that you cannot request a...
Shaun McDonald [Mon, 3 Nov 2008 18:05:19 +0000 (18:05 +0000)]
Additional api tests for the changes. Also making sure that you cannot request a change of 0 length, so that you can detect erronious input.

16 years agoAdding a restriction to prevent more than 2000 nodes to be added to any way. Tests...
Shaun McDonald [Mon, 3 Nov 2008 00:12:18 +0000 (00:12 +0000)]
Adding a restriction to prevent more than 2000 nodes to be added to any way. Tests still need to be written. Capabilities api request also updated.

16 years agoAdd a description meta tag for the all web pages. Wording probably needs to be improved.
Shaun McDonald [Fri, 31 Oct 2008 18:02:12 +0000 (18:02 +0000)]
Add a description meta tag for the all web pages. Wording probably needs to be improved.

16 years agoStarting the gpx trace testing with additional fixtures
Shaun McDonald [Thu, 30 Oct 2008 18:50:45 +0000 (18:50 +0000)]
Starting the gpx trace testing with additional fixtures

16 years agoAdded custom validator for UTF-8 strings.
Matt Amos [Wed, 29 Oct 2008 16:27:15 +0000 (16:27 +0000)]
Added custom validator for UTF-8 strings.

16 years agoadd a comment about why the error handler is required, as per mail from TomH. Also...
Shaun McDonald [Wed, 29 Oct 2008 15:45:48 +0000 (15:45 +0000)]
add a comment about why the error handler is required, as per mail from TomH. Also adding the option so that we are using the old style of migrations, rather than the 2.1+ migrations.

16 years agoBetter error message and test for invalid UTF-8 sequences.
Matt Amos [Wed, 29 Oct 2008 15:33:23 +0000 (15:33 +0000)]
Better error message and test for invalid UTF-8 sequences.

16 years agoPut back the units on all the zero values. Just because you can remove
Tom Hughes [Wed, 29 Oct 2008 13:49:45 +0000 (13:49 +0000)]
Put back the units on all the zero values. Just because you can remove
something doesn't mean it's a good idea...

16 years agoFix for bug #1242, css foreground set + css shorthands used
Hugh Barnes [Wed, 29 Oct 2008 13:05:14 +0000 (13:05 +0000)]
Fix for bug #1242, css foreground set + css shorthands used

16 years agoUpdating to use Rails 2.1.2. Moving the gem dependancies to the config/environment...
Shaun McDonald [Tue, 28 Oct 2008 20:42:48 +0000 (20:42 +0000)]
Updating to use Rails 2.1.2. Moving the gem dependancies to the config/environment.rb file. Moving the vendor/plugins externals into our svn.

16 years agomessage title shouldn't accept invalid utf-8 sequences - test currently fails
Andy Allan [Tue, 28 Oct 2008 18:34:05 +0000 (18:34 +0000)]
message title shouldn't accept invalid utf-8 sequences - test currently fails

16 years agoMade full test a bit more thorough.
Matt Amos [Tue, 28 Oct 2008 15:01:17 +0000 (15:01 +0000)]
Made full test a bit more thorough.

16 years agoAdded tests for relations for way/relation and a bit of DRYing up.
Matt Amos [Tue, 28 Oct 2008 14:49:51 +0000 (14:49 +0000)]
Added tests for relations for way/relation and a bit of DRYing up.

16 years agoAdding stub functional test files for all the controllers that should have tests...
Shaun McDonald [Tue, 28 Oct 2008 12:49:51 +0000 (12:49 +0000)]
Adding stub functional test files for all the controllers that should have tests written for them.

16 years agoMoving all the functional tests to the Rails 2 way, which uses less code by having...
Shaun McDonald [Tue, 28 Oct 2008 12:27:10 +0000 (12:27 +0000)]
Moving all the functional tests to the Rails 2 way, which uses less code by having an additional sub-class to take care of the duplicate code in every test. There is a bug in rails 2.0.2, which means that super doesn't get called in the setup method in the functional tests. This is fixed in Rails 2.1.2, thus a version bump should really be done.

16 years agoPrepare for Rails 2.1+, as we will no longer be able to use a symbol in the set_fixtu...
Shaun McDonald [Mon, 27 Oct 2008 18:45:28 +0000 (18:45 +0000)]
Prepare for Rails 2.1+, as we will no longer be able to use a symbol in the set_fixture_class method, instead we must use a Class. This change doesn't affect Rails 2.0.2, as currently used. All tests still work. :-)

16 years agoImplemented osmChange diff downloads for changesets and a couple of tests.
Matt Amos [Mon, 27 Oct 2008 17:50:28 +0000 (17:50 +0000)]
Implemented osmChange diff downloads for changesets and a couple of tests.

16 years agoUpdated comment to reflect implementation.
Matt Amos [Mon, 27 Oct 2008 16:48:09 +0000 (16:48 +0000)]
Updated comment to reflect implementation.

16 years agocover the other extreme in the map bounary sanitizeation. Ading some documentation...
Shaun McDonald [Sun, 26 Oct 2008 23:43:37 +0000 (23:43 +0000)]
cover the other extreme in the map bounary sanitizeation. Ading some documentation, which is parsed when running rake doc:app. Fixing up a couple of tests.

16 years agoBots Disallow /edit* & /login*, Nothing to see here... move right along.
Grant Slater [Sun, 26 Oct 2008 17:26:39 +0000 (17:26 +0000)]
Bots Disallow /edit* & /login*, Nothing to see here... move right along.

16 years agofix broken YAML
Richard Fairhurst [Fri, 24 Oct 2008 14:35:01 +0000 (14:35 +0000)]
fix broken YAML

16 years agoAdded tests for changeset upload code. Refactored diff reading code and put it into...
Matt Amos [Thu, 23 Oct 2008 15:14:17 +0000 (15:14 +0000)]
Added tests for changeset upload code. Refactored diff reading code and put it into /lib. Changed the route of a changeset upload to explicitly refer to the changeset it applies to (i.e: resource).

16 years agoPotlatch 0.10f
Richard Fairhurst [Thu, 23 Oct 2008 08:42:07 +0000 (08:42 +0000)]
Potlatch 0.10f

16 years agoFixing the error messages
Shaun McDonald [Wed, 22 Oct 2008 09:40:16 +0000 (09:40 +0000)]
Fixing the error messages

16 years agoAdding new browse controller test, which is mostly stubs just now. Also adding the...
Shaun McDonald [Tue, 21 Oct 2008 16:18:18 +0000 (16:18 +0000)]
Adding new browse controller test, which is mostly stubs just now. Also adding the version number of the recently changed nodes in the data browser.

16 years agomaking it clearer when a test case fails, as to which test case it is that is failing...
Shaun McDonald [Tue, 21 Oct 2008 14:28:52 +0000 (14:28 +0000)]
making it clearer when a test case fails, as to which test case it is that is failing. Adding some more bboxes for testing.

16 years agoAdded min_lat > max_lat test.
Matt Amos [Tue, 21 Oct 2008 14:00:08 +0000 (14:00 +0000)]
Added min_lat > max_lat test.

16 years agoRevert r11194 as it doesn't work as the trace_name member does return
Tom Hughes [Tue, 21 Oct 2008 12:16:12 +0000 (12:16 +0000)]
Revert r11194 as it doesn't work as the trace_name member does return
the correct result until after the trace is saved.

16 years agoRefactored test a bit to make it nicer.
Matt Amos [Tue, 21 Oct 2008 11:40:06 +0000 (11:40 +0000)]
Refactored test a bit to make it nicer.

16 years agoAdded test for relations_for_node where the relation had been deleted.
Matt Amos [Tue, 21 Oct 2008 11:38:13 +0000 (11:38 +0000)]
Added test for relations_for_node where the relation had been deleted.

16 years agoAdded tests for ways_for_node. Altered behaviour to not return deleted ways. Fixed...
Matt Amos [Tue, 21 Oct 2008 10:52:52 +0000 (10:52 +0000)]
Added tests for ways_for_node. Altered behaviour to not return deleted ways. Fixed ways fixture where most recent history != current.

16 years agoRemoved debugging code.
Matt Amos [Tue, 21 Oct 2008 09:31:36 +0000 (09:31 +0000)]
Removed debugging code.

16 years agoMaking the capabilities api version indipendent
Shaun McDonald [Mon, 20 Oct 2008 20:40:06 +0000 (20:40 +0000)]
Making the capabilities api version indipendent

16 years agoAdding some api tests for both the map and trackpoints requests. Needs some better...
Shaun McDonald [Mon, 20 Oct 2008 15:05:12 +0000 (15:05 +0000)]
Adding some api tests for both the map and trackpoints requests. Needs some better bboxes. Adding new changeset controller fnctional tests.

16 years agomore testing of the api. Changing the generator so that it is a constant to come...
Shaun McDonald [Sun, 19 Oct 2008 07:09:04 +0000 (07:09 +0000)]
more testing of the api. Changing the generator so that it is a constant to come in line with the server url and the api version. Adding tracepoints per page to the capabilities api call. Better error message for api call.

16 years agoAltered a functional test on way_tags.
Matt Amos [Fri, 17 Oct 2008 11:21:40 +0000 (11:21 +0000)]
Altered a functional test on way_tags.

16 years agoMore functional tests, this time for way_tags.
Matt Amos [Fri, 17 Oct 2008 11:06:58 +0000 (11:06 +0000)]
More functional tests, this time for way_tags.

16 years agoFixed fixtures and added new tests for ways and way_nodes.
Matt Amos [Thu, 16 Oct 2008 13:02:09 +0000 (13:02 +0000)]
Fixed fixtures and added new tests for ways and way_nodes.

16 years agoadding the Last-Modified response header to the version action
Shaun McDonald [Thu, 16 Oct 2008 07:11:28 +0000 (07:11 +0000)]
adding the Last-Modified response header to the version action

16 years agoset the db encoding to utf-8, otherwise data is stored incorrectly in db. Can be...
Andy Allan [Wed, 15 Oct 2008 16:56:56 +0000 (16:56 +0000)]
set the db encoding to utf-8, otherwise data is stored incorrectly in db. Can be seen by roundtrip truncating at 255 bytes instead of 255 chars. Connection setting (here) is independant of mysql setup

16 years agoAdding a lower and upper length on various web site varchar fields. Fixes one test.
Shaun McDonald [Wed, 15 Oct 2008 16:20:43 +0000 (16:20 +0000)]
Adding a lower and upper length on various web site varchar fields. Fixes one test.

16 years agoChecking foreign key constraints on message recipients and senders
Andy Allan [Wed, 15 Oct 2008 15:23:56 +0000 (15:23 +0000)]
Checking foreign key constraints on message recipients and senders

16 years agoutf-8 wide-char testing of message title - this will come in useful for other things...
Andy Allan [Wed, 15 Oct 2008 13:17:10 +0000 (13:17 +0000)]
utf-8 wide-char testing of message title - this will come in useful for other things e.g. k/v pairs

16 years agoAdded more fixtures and tests for node versioning calls.
Matt Amos [Wed, 15 Oct 2008 11:12:26 +0000 (11:12 +0000)]
Added more fixtures and tests for node versioning calls.

16 years agomore work on the data browser to show the changesets. Also showing the version number...
Shaun McDonald [Tue, 14 Oct 2008 18:33:03 +0000 (18:33 +0000)]
more work on the data browser to show the changesets. Also showing the version number. Would be good to have an additional route for showing a specific version of the node/way/relation from the changeset.

16 years agoCleaned up some unreachable code. Added first test on the 'old' node controller.
Matt Amos [Tue, 14 Oct 2008 16:40:17 +0000 (16:40 +0000)]
Cleaned up some unreachable code. Added first test on the 'old' node controller.

16 years agoAdded some more functional tests for way and relation delete methods.
Matt Amos [Tue, 14 Oct 2008 14:34:17 +0000 (14:34 +0000)]
Added some more functional tests for way and relation delete methods.

16 years agoFixed up delete methods on nodes, ways and relations to return the new version number...
Matt Amos [Tue, 14 Oct 2008 14:27:12 +0000 (14:27 +0000)]
Fixed up delete methods on nodes, ways and relations to return the new version number and added some more tests.

16 years agoFix race condition adding traces. Closes #1201.
Tom Hughes [Mon, 13 Oct 2008 23:27:49 +0000 (23:27 +0000)]
Fix race condition adding traces. Closes #1201.

16 years agoDisable the query cache.
Tom Hughes [Mon, 13 Oct 2008 23:13:34 +0000 (23:13 +0000)]
Disable the query cache.

16 years agoadding changeset stuff for the data browser
Shaun McDonald [Mon, 13 Oct 2008 20:48:58 +0000 (20:48 +0000)]
adding changeset stuff for the data browser

16 years agoAdded a bunch more tests on the API 0.6. Fixed node/way/relation from_xml code to...
Matt Amos [Mon, 13 Oct 2008 17:50:15 +0000 (17:50 +0000)]
Added a bunch more tests on the API 0.6. Fixed node/way/relation from_xml code to disallow duplicate tag keys.

16 years agonow you will actually save the changeset on updating ways. Showing the changeset...
Shaun McDonald [Mon, 13 Oct 2008 17:05:52 +0000 (17:05 +0000)]
now you will actually save the changeset on updating ways. Showing the changeset in the data browser detail.

16 years agofix so that changeset will be closed without an exception due to double validation
Shaun McDonald [Mon, 13 Oct 2008 16:11:57 +0000 (16:11 +0000)]
fix so that changeset will be closed without an exception due to double validation