Dave Stubbs
|
2aa3daf0e0
|
amf get*_history tests and related fixes
|
2008-11-09 18:48:16 +00:00 |
|
Dave Stubbs
|
436470b057
|
a few more amf tests and associated bug fixes
|
2008-11-09 17:41:38 +00:00 |
|
Frederik Ramm
|
c02c516047
|
fix SCALE, make changeset GET use floats
|
2008-11-09 15:52:10 +00:00 |
|
Frederik Ramm
|
9263c5500c
|
require auth for close
|
2008-11-09 13:44:08 +00:00 |
|
Dave Stubbs
|
eebadd141a
|
1st amf_controller tests, and some basic sanity check fixes
|
2008-11-08 19:41:29 +00:00 |
|
Shaun McDonald
|
bf29550db8
|
Resyncing from head 10895:11795
|
2008-11-08 11:52:58 +00:00 |
|
Dave Stubbs
|
67a50e848c
|
more boolean correcting
|
2008-11-08 10:48:07 +00:00 |
|
Matt Amos
|
b875d14b7c
|
Added a query method for querying bounding boxes, times and users of changesets. Needs (much) more testing.
|
2008-11-07 18:24:34 +00:00 |
|
Andy Allan
|
c253ce3399
|
some boolean correctness work
|
2008-11-07 13:51:09 +00:00 |
|
Andy Allan
|
2700e5110f
|
add fixme
|
2008-11-07 13:27:03 +00:00 |
|
Andy Allan
|
7058d836f7
|
use boolean flags when using boolean columns
|
2008-11-07 13:24:18 +00:00 |
|
Matt Amos
|
527b6f76e3
|
D'oh! Fixed stupid errors in changeset controller.
|
2008-11-07 11:36:00 +00:00 |
|
Matt Amos
|
c760891d63
|
Ooops. Added missing access control to changeset controller.
|
2008-11-06 19:10:19 +00:00 |
|
Matt Amos
|
383f204e64
|
Added a changeset/#id/include method to POST to to expand the bounding box.
|
2008-11-06 18:42:06 +00:00 |
|
Shaun McDonald
|
e932a69bd7
|
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.
|
2008-11-03 18:05:19 +00:00 |
|
Shaun McDonald
|
635daf1773
|
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.
|
2008-11-03 00:12:18 +00:00 |
|
Matt Amos
|
8a57904398
|
Implemented osmChange diff downloads for changesets and a couple of tests.
|
2008-10-27 17:50:28 +00:00 |
|
Matt Amos
|
46d5291350
|
Updated comment to reflect implementation.
|
2008-10-27 16:48:09 +00:00 |
|
Shaun McDonald
|
b45dd63283
|
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.
|
2008-10-26 23:43:37 +00:00 |
|
Matt Amos
|
dc2a959037
|
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).
|
2008-10-23 15:14:17 +00:00 |
|
Richard Fairhurst
|
7aeead9175
|
Potlatch 0.10f
|
2008-10-23 08:42:07 +00:00 |
|
Tom Hughes
|
fb997c0a76
|
Revert r11194 as it doesn't work as the trace_name member does return
the correct result until after the trace is saved.
|
2008-10-21 12:16:12 +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 |
|
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 |
|
Shaun McDonald
|
70ecb3ceef
|
adding the Last-Modified response header to the version action
|
2008-10-16 07:11:28 +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
|
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 |
|
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 |
|
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
|
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 |
|
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
|
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
|
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 |
|
Richard Fairhurst
|
97726826e1
|
Potlatch 0.10d
|
2008-10-05 00:21:35 +00:00 |
|
Tom Hughes
|
fe37259e01
|
Fix test for errors from geocoder.ca to work properly. Closes #1213.
|
2008-10-04 23:20:58 +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 |
|