Matt Amos
|
5dd3eb769a
|
Refactored test a bit to make it nicer.
|
2008-10-21 11:40:06 +00:00 |
|
Matt Amos
|
498d695064
|
Added test for relations_for_node where the relation had been deleted.
|
2008-10-21 11:38:13 +00:00 |
|
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
|
6889ee7564
|
Making the capabilities api version indipendent
|
2008-10-20 20:40:06 +00:00 |
|
Shaun McDonald
|
138c20322d
|
Adding some api tests for both the map and trackpoints requests. Needs some better bboxes. Adding new changeset controller fnctional tests.
|
2008-10-20 15:05:12 +00:00 |
|
Shaun McDonald
|
3e9ceb0c38
|
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.
|
2008-10-19 07:09:04 +00:00 |
|
Matt Amos
|
654470b896
|
Altered a functional test on way_tags.
|
2008-10-17 11:21:40 +00:00 |
|
Matt Amos
|
df496b44cd
|
More functional tests, this time for way_tags.
|
2008-10-17 11:06:58 +00:00 |
|
Matt Amos
|
89c677d881
|
Fixed fixtures and added new tests for ways and way_nodes.
|
2008-10-16 13:02:09 +00:00 |
|
Shaun McDonald
|
70ecb3ceef
|
adding the Last-Modified response header to the version action
|
2008-10-16 07:11:28 +00:00 |
|
Andy Allan
|
8651215ec3
|
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
|
2008-10-15 16:56:56 +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 |
|
Andy Allan
|
25c3310be4
|
Checking foreign key constraints on message recipients and senders
|
2008-10-15 15:23:56 +00:00 |
|
Andy Allan
|
2939aa9398
|
utf-8 wide-char testing of message title - this will come in useful for other things e.g. k/v pairs
|
2008-10-15 13:17:10 +00:00 |
|
Matt Amos
|
6a276202e5
|
Added more fixtures and tests for node versioning calls.
|
2008-10-15 11:12:26 +00:00 |
|
Shaun McDonald
|
e7147d0d7a
|
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.
|
2008-10-14 18:33:03 +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
|
44034cd781
|
Added some more functional tests for way and relation delete methods.
|
2008-10-14 14:34: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 |
|
Tom Hughes
|
b105304a1b
|
Fix race condition adding traces. Closes #1201.
|
2008-10-13 23:27:49 +00:00 |
|
Tom Hughes
|
0d8e4b4337
|
Disable the query cache.
|
2008-10-13 23:13:34 +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 |
|
Matt Amos
|
1e5782f579
|
Fixed up way controller tests for API 0.6.
|
2008-10-13 15:40:32 +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 |
|
Tom Hughes
|
3c24aa0a9b
|
Make adding relations work again. Fix from RichardF.
|
2008-10-13 12:46:00 +00:00 |
|
Shaun McDonald
|
734cbb967d
|
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.
|
2008-10-13 12:08:26 +00:00 |
|
Richard Fairhurst
|
e413ac3e46
|
disable z12
|
2008-10-13 06:50:02 +00:00 |
|
Tom Hughes
|
784e9c6b83
|
Send the new amf/read API call to the bulkapi queue - the write method
will fall through the main API queue.
|
2008-10-12 23:28:52 +00:00 |
|
Tom Hughes
|
2ccbc55236
|
Log the IP address used to create an account.
|
2008-10-12 23:20:28 +00:00 |
|
Richard Fairhurst
|
caa20ccc40
|
Potlatch 0.10e
|
2008-10-12 23:11:37 +00:00 |
|
Shaun McDonald
|
24b21e4a29
|
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.
|
2008-10-12 22:32:51 +00:00 |
|
Tom Hughes
|
c771557b38
|
Disambiguate order clause.
|
2008-10-12 18:42:34 +00:00 |
|
Tom Hughes
|
6a5749c55c
|
Hide diary entries and comments made by deleted users.
|
2008-10-12 18:38:54 +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
|
4da22eee1a
|
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
|
2008-10-10 13:27:21 +00:00 |
|
Shaun McDonald
|
34bc4686cd
|
Some comment about where to add code to get some more of the functional changesets working.
|
2008-10-10 07:58:33 +00:00 |
|
Grant Slater
|
b13278c815
|
Block bots from /trace/, so they don't attempt to eat all the GPX data.
|
2008-10-09 18:31:36 +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
|
a8b5e2b87d
|
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.
|
2008-10-09 13:40:08 +00:00 |
|
Tom Hughes
|
0b8449d2c9
|
Set the displayProjection on the map.
|
2008-10-09 11:51:51 +00:00 |
|