Matt Amos
|
6339473cb7
|
Added tests for ways_for_node. Altered behaviour to not return deleted ways. Fixed ways fixture where most recent history != current.
|
2008-10-21 10:52:52 +00:00 |
|
Matt Amos
|
a8eb3a6ada
|
Removed debugging code.
|
2008-10-21 09:31:36 +00:00 |
|
Shaun McDonald
|
a5e5cbc739
|
Adding a lower and upper length on various web site varchar fields. Fixes one test.
|
2008-10-15 16:20:43 +00:00 |
|
Matt Amos
|
45a9d94337
|
Cleaned up some unreachable code. Added first test on the 'old' node controller.
|
2008-10-14 16:40:17 +00:00 |
|
Matt Amos
|
b56f57ec43
|
Fixed up delete methods on nodes, ways and relations to return the new version number and added some more tests.
|
2008-10-14 14:27:12 +00:00 |
|
Shaun McDonald
|
2c16177174
|
adding changeset stuff for the data browser
|
2008-10-13 20:48:58 +00:00 |
|
Matt Amos
|
cf24a5a3ee
|
Added a bunch more tests on the API 0.6. Fixed node/way/relation from_xml code to disallow duplicate tag keys.
|
2008-10-13 17:50:15 +00:00 |
|
Shaun McDonald
|
9e1946b283
|
now you will actually save the changeset on updating ways. Showing the changeset in the data browser detail.
|
2008-10-13 17:05:52 +00:00 |
|
Shaun McDonald
|
1d4a957c79
|
fix so that changeset will be closed without an exception due to double validation
|
2008-10-13 16:11:57 +00:00 |
|
Matt Amos
|
3549d8900f
|
All API 0.6 functional tests now pass.
|
2008-10-13 15:46:22 +00:00 |
|
Shaun McDonald
|
fb5f39f19a
|
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.
|
2008-10-13 15:39:21 +00:00 |
|
Matt Amos
|
127bb4523e
|
Fixed problems with the relations functional tests.
|
2008-10-13 15:23:48 +00:00 |
|
Matt Amos
|
b38b2c2d0f
|
Fixed xml method of old way model.
|
2008-10-13 14:38:32 +00:00 |
|
Shaun McDonald
|
b91b514cf2
|
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.
|
2008-10-13 14:34:04 +00:00 |
|
Matt Amos
|
2d373c6f20
|
Fix to_xml method of old_relation model.
|
2008-10-13 14:29:30 +00:00 |
|
Matt Amos
|
a2498928e4
|
Fixed node functional tests. A couple of changes to the old_node model and node controller for changesets.
|
2008-10-13 14:08:31 +00:00 |
|
Shaun McDonald
|
233a97bfcb
|
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.
|
2008-10-10 18:24:07 +00:00 |
|
Shaun McDonald
|
3d24694add
|
moving the conistency checks for updates and deletes to library, hopefully got the updates and deletes working now.
|
2008-10-09 16:22:05 +00:00 |
|
Shaun McDonald
|
2b7a40069f
|
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.
|
2008-10-08 18:03:41 +00:00 |
|
Shaun McDonald
|
e1b205913c
|
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.
|
2008-10-08 15:42:42 +00:00 |
|
Shaun McDonald
|
2347761266
|
some useful notes in code for ideas that require implementing.
|
2008-10-07 23:49:53 +00:00 |
|
Shaun McDonald
|
328d47e506
|
Fixing a bug in my foreign keys. I can now upload and download nodes and ways using JOSM in the new API.
|
2008-10-03 17:09:58 +00:00 |
|
Shaun McDonald
|
40414cf324
|
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.
|
2008-09-30 18:21:56 +00:00 |
|
Shaun McDonald
|
d9e070e069
|
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.
|
2008-09-25 15:06:05 +00:00 |
|
Tom Hughes
|
34189cf761
|
Add basic support for logically deleting a user.
|
2008-08-24 16:53:42 +00:00 |
|
Tom Hughes
|
64ecd02f0b
|
Allow users to change their email address. Closes #546.
|
2008-08-13 11:39:33 +00:00 |
|
Tom Hughes
|
f8367c3ee1
|
Allow a user's email address to be marked invalid, and suppress most
notification mails for such users.
|
2008-08-13 10:45:49 +00:00 |
|
Tom Hughes
|
6d7e69d4d3
|
Make the location of the GPX traces configurable.
|
2008-08-07 11:31:42 +00:00 |
|
Tom Hughes
|
8dbaf76e7c
|
Ignore any files in an __MACOSX folder in a zip file, as these are
metadata files added by the MAC OS X zip tool.
|
2008-07-31 08:06:09 +00:00 |
|
Tom Hughes
|
fb5f6bb4a2
|
Rework GPX import daemon to use libxml2 for speed.
|
2008-07-30 08:37:05 +00:00 |
|
Shaun McDonald
|
1bcc2242c0
|
Make sure that there is a sender and a recipient of a message. New test to make sure that there a message also has a sender and a recipient, as the validates_associated doesn't do anything if they are nil.
|
2008-07-18 16:44:14 +00:00 |
|
Tom Hughes
|
b9fc5e662b
|
Cope with being asked to find relations for any empty set of objects.
|
2008-07-18 13:13:28 +00:00 |
|
Tom Hughes
|
d6e047d7d4
|
Optimise finding of relations, partially reversing change #8443 but in
a more rails like way.
|
2008-07-16 23:42:59 +00:00 |
|
Tom Hughes
|
34d9360bee
|
Minor tidyups.
|
2008-07-15 18:23:00 +00:00 |
|
Tom Hughes
|
6fa8647855
|
Rename unique_nodes to unshared_node_ids to make it's purpose a bit clearer
and rework it to be a bit tidier.
|
2008-07-15 18:18:37 +00:00 |
|
Richard Fairhurst
|
62a1ec4748
|
Potlatch 0.10
|
2008-07-09 22:19:48 +00:00 |
|
Shaun McDonald
|
c9a171c745
|
Removing the in_world test from the model since it is included in the geo_record library. Adding visible and version to the nodes and current_nodes fixtures. Adding old node test. Slightly different comparisions.
|
2008-07-08 18:17:08 +00:00 |
|
Tom Hughes
|
700da2b347
|
Tidy up a bit after shaun's merge...
|
2008-07-07 16:16:05 +00:00 |
|
Shaun McDonald
|
64a5e21f53
|
Fixing the resync that I had done wrong at the end of last week on the nodes. All unit tests now do work. More assertions added. Using a scaling factor as a constant, so that the nodes are stored in the db correctly. Using the same scaling factor in the georecord library, to make code more readable, and reduce errors. Removing duplicate code that is in the GeoRecord include library.
|
2008-07-07 14:20:27 +00:00 |
|
Shaun McDonald
|
5f8ab9e924
|
Merge changes from trunk 7673:8632.
|
2008-07-03 13:06:24 +00:00 |
|
Shaun McDonald
|
0a459023d3
|
Now all the unit tests work
|
2008-07-03 10:56:17 +00:00 |
|
Tom Hughes
|
97aefa23d0
|
Merge data browser branch to trunk.
|
2008-06-27 23:09:05 +00:00 |
|
Tom Hughes
|
def60c1935
|
Railsify relation selection (aka ripping out the f***in SQL).
|
2008-06-24 23:42:39 +00:00 |
|
Tom Hughes
|
398d5fa329
|
Improve the layout of the object browser views.
|
2008-06-24 16:44:45 +00:00 |
|
Tom Hughes
|
d69a518b9e
|
Merge 8377:8381 from trunk.
|
2008-06-22 14:46:46 +00:00 |
|
Tom Hughes
|
b72fedb162
|
Make the polymorphic relation association work properly.
|
2008-06-22 14:44:34 +00:00 |
|
Tom Hughes
|
960d13488a
|
Merge 7922:8377 from trunk.
|
2008-06-22 12:23:43 +00:00 |
|
Tom Hughes
|
b527d27674
|
Use a polymorphic association to model relation members and add
associations for upward links from objects to relations that they
are a part of.
|
2008-06-21 17:38:17 +00:00 |
|
Tom Hughes
|
a21824f754
|
Removed bogus belongs_to user declaration.
|
2008-06-21 16:19:36 +00:00 |
|
Tom Hughes
|
7d9bf3634c
|
Work around the fact that exists? no longer works for models with
no primary key.
|
2008-06-07 22:40:39 +00:00 |
|