]> git.openstreetmap.org Git - rails.git/log
rails.git
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

16 years agoAll API 0.6 functional tests now pass.
Matt Amos [Mon, 13 Oct 2008 15:46:22 +0000 (15:46 +0000)]
All API 0.6 functional tests now pass.

16 years agoFixed up way controller tests for API 0.6.
Matt Amos [Mon, 13 Oct 2008 15:40:32 +0000 (15:40 +0000)]
Fixed up way controller tests for API 0.6.

16 years agoCreating consistency check for creation of nodes, way and relations. Moving some...
Shaun McDonald [Mon, 13 Oct 2008 15:39:21 +0000 (15:39 +0000)]
Creating consistency check for creation of nodes, way and relations. Moving some creation code from the controller to the model, and adding error handling on create errors.

16 years agoFixed problems with the relations functional tests.
Matt Amos [Mon, 13 Oct 2008 15:23:48 +0000 (15:23 +0000)]
Fixed problems with the relations functional tests.

16 years agoFixed xml method of old way model.
Matt Amos [Mon, 13 Oct 2008 14:38:32 +0000 (14:38 +0000)]
Fixed xml method of old way model.

16 years agomoving the check consistency to it's own file so that checks will be able to be loade...
Shaun McDonald [Mon, 13 Oct 2008 14:34:04 +0000 (14:34 +0000)]
moving the check consistency to it's own file so that checks will be able to be loaded into the way and relation models, without loading the node stuff.

16 years agoFix to_xml method of old_relation model.
Matt Amos [Mon, 13 Oct 2008 14:29:30 +0000 (14:29 +0000)]
Fix to_xml method of old_relation model.

16 years agoFixed node functional tests. A couple of changes to the old_node model and node contr...
Matt Amos [Mon, 13 Oct 2008 14:08:31 +0000 (14:08 +0000)]
Fixed node functional tests. A couple of changes to the old_node model and node controller for changesets.

16 years agoMake adding relations work again. Fix from RichardF.
Tom Hughes [Mon, 13 Oct 2008 12:46:00 +0000 (12:46 +0000)]
Make adding relations work again. Fix from RichardF.

16 years agofixing the data browser to be able to cope with the changeset change. changeset brows...
Shaun McDonald [Mon, 13 Oct 2008 12:08:26 +0000 (12:08 +0000)]
fixing the data browser to be able to cope with the changeset change. changeset browsing still needs to be implemented. Also giving a nice error message for 404 not found instead of rendering nothing.

16 years agodisable z12
Richard Fairhurst [Mon, 13 Oct 2008 06:50:02 +0000 (06:50 +0000)]
disable z12

16 years agoSend the new amf/read API call to the bulkapi queue - the write method
Tom Hughes [Sun, 12 Oct 2008 23:28:52 +0000 (23:28 +0000)]
Send the new amf/read API call to the bulkapi queue - the write method
will fall through the main API queue.

16 years agoLog the IP address used to create an account.
Tom Hughes [Sun, 12 Oct 2008 23:20:28 +0000 (23:20 +0000)]
Log the IP address used to create an account.

16 years agoPotlatch 0.10e
Richard Fairhurst [Sun, 12 Oct 2008 23:11:37 +0000 (23:11 +0000)]
Potlatch 0.10e

16 years agoadditional consistency checks. making the error message for the number of nodes use...
Shaun McDonald [Sun, 12 Oct 2008 22:32:51 +0000 (22:32 +0000)]
additional consistency checks. making the error message for the number of nodes use the configured number of nodes, rather than a hard coded number. minor improvements to the way controller functional tests. Not sure if they should be turned into integration tests.

16 years agoDisambiguate order clause.
Tom Hughes [Sun, 12 Oct 2008 18:42:34 +0000 (18:42 +0000)]
Disambiguate order clause.

16 years agoHide diary entries and comments made by deleted users.
Tom Hughes [Sun, 12 Oct 2008 18:38:54 +0000 (18:38 +0000)]
Hide diary entries and comments made by deleted users.

16 years agofix indentation. Get teh api version from the constant, rather than hard coding it...
Shaun McDonald [Fri, 10 Oct 2008 18:24:07 +0000 (18:24 +0000)]
fix indentation. Get teh api version from the constant, rather than hard coding it. Using right save method, so that exception is thrown. Some comment questions.

16 years agoreverting the javascript change in changeset 10926, that needs to be specific to...
Shaun McDonald [Fri, 10 Oct 2008 13:27:21 +0000 (13:27 +0000)]
reverting the javascript change in changeset 10926, that needs to be specific to each rails setup (if run out of another dir), until we turn the file into an erb that can insert the rails root into the javascript file

16 years agoSome comment about where to add code to get some more of the functional changesets...
Shaun McDonald [Fri, 10 Oct 2008 07:58:33 +0000 (07:58 +0000)]
Some comment about where to add code to get some more of the functional changesets working.

16 years agoBlock bots from /trace/, so they don't attempt to eat all the GPX data.
Grant Slater [Thu, 9 Oct 2008 18:31:36 +0000 (18:31 +0000)]
Block bots from /trace/, so they don't attempt to eat all the GPX data.

16 years agomoving the conistency checks for updates and deletes to library, hopefully got the...
Shaun McDonald [Thu, 9 Oct 2008 16:22:05 +0000 (16:22 +0000)]
moving the conistency checks for updates and deletes to library, hopefully got the updates and deletes working now.

16 years agoBackporting the change that I made to the api06 branch to bring the classic_paginatio...
Shaun McDonald [Thu, 9 Oct 2008 13:40:08 +0000 (13:40 +0000)]
Backporting the change that I made to the api06 branch to bring the classic_pagination into our svn. This will make it easier for people to setup a rails version of the server.

16 years agoSet the displayProjection on the map.
Tom Hughes [Thu, 9 Oct 2008 11:51:51 +0000 (11:51 +0000)]
Set the displayProjection on the map.

16 years agoSmall fixes to unit tests where user_id has become changeset_id.
Matt Amos [Thu, 9 Oct 2008 10:19:16 +0000 (10:19 +0000)]
Small fixes to unit tests where user_id has become changeset_id.

16 years agoMake data browser work with OpenLayers 2.7.
Tom Hughes [Wed, 8 Oct 2008 23:38:45 +0000 (23:38 +0000)]
Make data browser work with OpenLayers 2.7.

16 years agoadding the controller code to be able to get a specific version of a node, way or...
Shaun McDonald [Wed, 8 Oct 2008 18:03:41 +0000 (18:03 +0000)]
adding the controller code to be able to get a specific version of a node, way or relation.  Add some node checks on update. Some code indentation cleanup.

16 years agoFix the data config, so that the development database is not the same as the test...
Shaun McDonald [Wed, 8 Oct 2008 15:42:42 +0000 (15:42 +0000)]
Fix the data config, so that the development database is not the same as the test database. Make a good stab at getting the creates and updates for relations working, adding some new error exceptions. Some code indentation cleanup.

16 years agosome useful notes in code for ideas that require implementing.
Shaun McDonald [Tue, 7 Oct 2008 23:49:53 +0000 (23:49 +0000)]
some useful notes in code for ideas that require implementing.

16 years agoAdding the classic_pagination to svn as the svn external is no longer working
Shaun McDonald [Tue, 7 Oct 2008 22:59:59 +0000 (22:59 +0000)]
Adding the classic_pagination to svn as the svn external is no longer working

16 years agoUpdating the fixtures for the new changesets
Shaun McDonald [Tue, 7 Oct 2008 22:40:28 +0000 (22:40 +0000)]
Updating the fixtures for the new changesets

16 years agofolder empty and components are dead and gone with rails 2 anyway, so deleting this...
Shaun McDonald [Tue, 7 Oct 2008 22:11:05 +0000 (22:11 +0000)]
folder empty and components are dead and gone with rails 2 anyway, so deleting this folder.

16 years agoMore changes from the live server.
Tom Hughes [Mon, 6 Oct 2008 23:31:41 +0000 (23:31 +0000)]
More changes from the live server.

16 years agoCommit updated dispatch rules from live server.
Tom Hughes [Mon, 6 Oct 2008 23:27:36 +0000 (23:27 +0000)]
Commit updated dispatch rules from live server.

16 years agoUpdate cross domain policy to only allow API access.
Tom Hughes [Mon, 6 Oct 2008 23:21:57 +0000 (23:21 +0000)]
Update cross domain policy to only allow API access.

16 years agoadd railway=platform
Richard Fairhurst [Sun, 5 Oct 2008 22:20:04 +0000 (22:20 +0000)]
add railway=platform

16 years agoslight fix to prevent empty tag values
Richard Fairhurst [Sun, 5 Oct 2008 14:51:43 +0000 (14:51 +0000)]
slight fix to prevent empty tag values

16 years agoPotlatch 0.10d
Richard Fairhurst [Sun, 5 Oct 2008 00:21:35 +0000 (00:21 +0000)]
Potlatch 0.10d

16 years agoUpdate to OpenLayers 2.7.
Tom Hughes [Sat, 4 Oct 2008 23:45:08 +0000 (23:45 +0000)]
Update to OpenLayers 2.7.

16 years agoMake sure the zoom level is valid when positioning the map. Closes #1158.
Tom Hughes [Sat, 4 Oct 2008 23:44:41 +0000 (23:44 +0000)]
Make sure the zoom level is valid when positioning the map. Closes #1158.

16 years agoFix test for errors from geocoder.ca to work properly. Closes #1213.
Tom Hughes [Sat, 4 Oct 2008 23:20:58 +0000 (23:20 +0000)]
Fix test for errors from geocoder.ca to work properly. Closes #1213.

16 years agoFixing a bug in my foreign keys. I can now upload and download nodes and ways using...
Shaun McDonald [Fri, 3 Oct 2008 17:09:58 +0000 (17:09 +0000)]
Fixing a bug in my foreign keys. I can now upload and download nodes and ways using JOSM in the new API.

16 years agoChanging if not to unless to make code more readable.
Shaun McDonald [Fri, 3 Oct 2008 13:57:20 +0000 (13:57 +0000)]
Changing if not to unless to make code more readable.

16 years agochanging the belongs_to and has_many items in the models to reflect the new foriegn...
Shaun McDonald [Tue, 30 Sep 2008 18:21:56 +0000 (18:21 +0000)]
changing the belongs_to and has_many items in the models to reflect the new foriegn keys in the db and the fact that a (old)node/way/relation now belong to a changeset, which in turn has a user.

16 years agowrong foreign key command in the migration
Shaun McDonald [Tue, 30 Sep 2008 15:52:54 +0000 (15:52 +0000)]
wrong foreign key command in the migration

16 years agowrong foreign key command in the migration
Shaun McDonald [Tue, 30 Sep 2008 15:44:55 +0000 (15:44 +0000)]
wrong foreign key command in the migration

16 years agousing the wrong field name in one of the migrations
Shaun McDonald [Tue, 30 Sep 2008 15:24:25 +0000 (15:24 +0000)]
using the wrong field name in one of the migrations

16 years agochanging the changesets migrations, so that the user id is now the changeset id for...
Shaun McDonald [Tue, 30 Sep 2008 14:29:44 +0000 (14:29 +0000)]
changing the changesets migrations, so that the user id is now the changeset id for the nodes/ways/relations

16 years agoadding some version reading for the nodes
Shaun McDonald [Mon, 29 Sep 2008 16:28:51 +0000 (16:28 +0000)]
adding some version reading for the nodes

16 years agoAdd Flash crossdomain.xml policy file
Grant Slater [Sat, 27 Sep 2008 17:55:54 +0000 (17:55 +0000)]
Add Flash crossdomain.xml policy file

16 years agofixing hard coded images/scripts, so that the site works better when deploy as a...
Shaun McDonald [Fri, 26 Sep 2008 15:17:30 +0000 (15:17 +0000)]
fixing hard coded images/scripts, so that the site works better when deploy as a sub directory using passenger phusion.

16 years agofixing the test that was broken in the resync
Shaun McDonald [Thu, 25 Sep 2008 16:20:36 +0000 (16:20 +0000)]
fixing the test that was broken in the resync

16 years agoMinor fix for the migration that was moved
Shaun McDonald [Thu, 25 Sep 2008 15:57:59 +0000 (15:57 +0000)]
Minor fix for the migration that was moved

16 years agoDoing a resync from mainline 8633:10895. There was one simple to resolve conflict...
Shaun McDonald [Thu, 25 Sep 2008 15:06:05 +0000 (15:06 +0000)]
Doing a resync from mainline 8633:10895. There was one simple to resolve conflict on app/models/node.rb. Also moving the migrations for API0.6 to new sequence numbers since there was some new migrations added to mainline, where the migration numbers would conflict if not moved.

16 years agoGet rails to do asset tagging for the SWF file.
Tom Hughes [Thu, 25 Sep 2008 03:58:18 +0000 (03:58 +0000)]
Get rails to do asset tagging for the SWF file.

16 years agoPotlatch 0.10c... part two
Richard Fairhurst [Sat, 20 Sep 2008 12:07:48 +0000 (12:07 +0000)]
Potlatch 0.10c... part two

16 years agoPotlatch 0.10c
Richard Fairhurst [Thu, 18 Sep 2008 17:04:28 +0000 (17:04 +0000)]
Potlatch 0.10c

16 years agoAdd the noname layer to the main map.
Tom Hughes [Tue, 9 Sep 2008 17:50:09 +0000 (17:50 +0000)]
Add the noname layer to the main map.

16 years agoRun web authorisation for all non-api requests. Closes #1152.
Tom Hughes [Sun, 7 Sep 2008 15:07:44 +0000 (15:07 +0000)]
Run web authorisation for all non-api requests. Closes #1152.

16 years agoUpdate for new cycle map location.
Tom Hughes [Thu, 28 Aug 2008 23:09:42 +0000 (23:09 +0000)]
Update for new cycle map location.

16 years agoFix migration.
Tom Hughes [Sun, 24 Aug 2008 16:56:34 +0000 (16:56 +0000)]
Fix migration.

16 years agoAdd basic support for logically deleting a user.
Tom Hughes [Sun, 24 Aug 2008 16:53:42 +0000 (16:53 +0000)]
Add basic support for logically deleting a user.

16 years agoTidy up diary code a bit.
Tom Hughes [Sun, 24 Aug 2008 15:12:20 +0000 (15:12 +0000)]
Tidy up diary code a bit.

16 years agoedit diary entries
Richard Fairhurst [Thu, 21 Aug 2008 21:40:23 +0000 (21:40 +0000)]
edit diary entries

16 years agomore testing of node tags
Shaun McDonald [Mon, 18 Aug 2008 13:55:21 +0000 (13:55 +0000)]
more testing of node tags

16 years agoCommit new route for email confirmation changes.
Tom Hughes [Mon, 18 Aug 2008 07:28:26 +0000 (07:28 +0000)]
Commit new route for email confirmation changes.

16 years agoDon't user flash[:notice] when we're not redirecting as it will
Tom Hughes [Wed, 13 Aug 2008 11:44:53 +0000 (11:44 +0000)]
Don't user flash[:notice] when we're not redirecting as it will
persist to the next request and cause confusion.

16 years agoAllow users to change their email address. Closes #546.
Tom Hughes [Wed, 13 Aug 2008 11:39:33 +0000 (11:39 +0000)]
Allow users to change their email address. Closes #546.

16 years agoAllow a user's email address to be marked invalid, and suppress most
Tom Hughes [Wed, 13 Aug 2008 10:45:49 +0000 (10:45 +0000)]
Allow a user's email address to be marked invalid, and suppress most
notification mails for such users.

16 years agoAdd an administrator flag to the user table.
Tom Hughes [Wed, 13 Aug 2008 08:12:09 +0000 (08:12 +0000)]
Add an administrator flag to the user table.

16 years agoMake the cleanup script work a chunk at a time so we don't run out of
Tom Hughes [Fri, 8 Aug 2008 15:49:29 +0000 (15:49 +0000)]
Make the cleanup script work a chunk at a time so we don't run out of
memory when there are lots of sessions.

16 years agoImport the output_compression plugin as the SVN external never works.
Tom Hughes [Thu, 7 Aug 2008 17:59:27 +0000 (17:59 +0000)]
Import the output_compression plugin as the SVN external never works.

16 years agoImport the daemon generator as the SVN external never works.
Tom Hughes [Thu, 7 Aug 2008 17:46:34 +0000 (17:46 +0000)]
Import the daemon generator as the SVN external never works.

16 years agoMake the location of the GPX traces configurable.
Tom Hughes [Thu, 7 Aug 2008 11:31:42 +0000 (11:31 +0000)]
Make the location of the GPX traces configurable.

16 years agoLink to user pages.
Tom Hughes [Sun, 3 Aug 2008 20:58:58 +0000 (20:58 +0000)]
Link to user pages.

16 years agoPotlatch 0.10b
Richard Fairhurst [Thu, 31 Jul 2008 22:48:12 +0000 (22:48 +0000)]
Potlatch 0.10b

16 years agoIgnore any files in an __MACOSX folder in a zip file, as these are
Tom Hughes [Thu, 31 Jul 2008 08:06:09 +0000 (08:06 +0000)]
Ignore any files in an __MACOSX folder in a zip file, as these are
metadata files added by the MAC OS X zip tool.

16 years agoCorrect versions of z12/13 keys
Steve Chilton [Wed, 30 Jul 2008 14:37:55 +0000 (14:37 +0000)]
Correct versions of z12/13 keys

16 years agonew versions of map keys to z12 and z13
Steve Chilton [Wed, 30 Jul 2008 14:19:15 +0000 (14:19 +0000)]
new versions of map keys to z12 and z13

16 years agoadd "non-exclusively" to new user signup message
Frederik Ramm [Wed, 30 Jul 2008 13:20:33 +0000 (13:20 +0000)]
add "non-exclusively" to new user signup message

16 years agoRework GPX import daemon to use libxml2 for speed.
Tom Hughes [Wed, 30 Jul 2008 08:37:05 +0000 (08:37 +0000)]
Rework GPX import daemon to use libxml2 for speed.

16 years agoPotlatch 0.10a
Richard Fairhurst [Tue, 29 Jul 2008 00:33:33 +0000 (00:33 +0000)]
Potlatch 0.10a

16 years agoRemoving rspec from svn externals, as it isn't being used.
Shaun McDonald [Fri, 25 Jul 2008 10:35:59 +0000 (10:35 +0000)]
Removing rspec from svn externals, as it isn't being used.

16 years agoRemoving rspec from svn, as it isn't being used.
Shaun McDonald [Fri, 25 Jul 2008 10:22:52 +0000 (10:22 +0000)]
Removing rspec from svn, as it isn't being used.

16 years agoStarting to test the output of the xml to make sure that it is what we expect to...
Shaun McDonald [Thu, 24 Jul 2008 10:56:29 +0000 (10:56 +0000)]
Starting to test the output of the xml to make sure that it is what we expect to be returned by teh api for ways tests.

16 years agoShow whether a trace is public or private in the trace list, so that a user can easil...
Shaun McDonald [Wed, 23 Jul 2008 14:33:45 +0000 (14:33 +0000)]
Show whether a trace is public or private in the trace list, so that a user can easily find traces that are private, when they really wanted them to be public. Only show 'in ...tags...', if there are some tags. Improve indentation.

16 years agoRender nothing on a successful delete.
Tom Hughes [Tue, 22 Jul 2008 14:16:07 +0000 (14:16 +0000)]
Render nothing on a successful delete.

16 years agoNow just got one test to sort on the functional tests. All other tests are working...
Shaun McDonald [Tue, 22 Jul 2008 14:06:53 +0000 (14:06 +0000)]
Now just got one test to sort on the functional tests. All other tests are working and pass. Plenty more to write though.

16 years agoEnable JPEG export from Osmarender again.
Tom Hughes [Tue, 22 Jul 2008 08:53:34 +0000 (08:53 +0000)]
Enable JPEG export from Osmarender again.