Gabriel Ebner
7151fa05e4
api06: simplify exception handling and add exception handling to the diff
...
upload.
2008-05-13 12:15:06 +00:00
Gabriel Ebner
86b4d1bc2c
api06: Move version-checking into the models, raising an exception on mismatch
...
(still not implemented for delete requests though.)
2008-05-12 21:05:11 +00:00
Christopher Schmidt
618908319c
prevent update of any object without providing the correct/current
...
version as part of the XML. This affects update-only at this time:
DELETE doesn't work the same way because we don't provide the data as
part of a DELETE
2008-05-11 21:49:33 +00:00
Christopher Schmidt
7a216c0ce6
Make edits return version numbers as plain text strings
2008-05-11 19:47:19 +00:00
Gabriel Ebner
6ebb7045fe
api06: Fix diff uploading (still doesn't give a useful response):
...
Modification and deletion works fine now. Rollback also works apparently.
Just auto increment doesn't get reset.
2008-05-04 15:16:58 +00:00
Gabriel Ebner
3d6e1c67fb
api06: Preliminary support for diff uploading. This will not return anything
...
useful and the code will need some heavy refactoring.
2008-05-04 13:52:43 +00:00
Gabriel Ebner
6ae23bed90
split_node_tags:
...
- Use InnoDB.
- Put version column on the current_* tables.
- Use transactions (untested).
2008-05-03 16:27:49 +00:00
Steve Coast
dbf4e32671
add last-modified header to relation read
2008-01-21 17:42:57 +00:00
Tom Hughes
f09b16cade
When asked for ways which use a node, or relations which use some given
...
object, return 200 OK with an empty document if not matches are found
rather than 400 Bad Request (for ways) or 404 Not Found (for relations).
2007-11-24 14:47:50 +00:00
Tom Hughes
e4df9a8219
Allow objects to be resurrected.
2007-10-31 15:52:36 +00:00
Tom Hughes
0fd29dc003
Render an empty text string instead of nothing (which actually generate a
...
single space character) for 410 and 412 responses as there is a bug in
lighttpd (http://trac.lighttpd.net/trac/ticket/1055 ) that prevents it
passing on the response body for these codes, leading to the client blocking
waiting for the data until it times out. Closes #537 .
2007-10-17 23:22:51 +00:00
Tom Hughes
7b190a18f1
Pass a list of visible nodes when generating XML for a way. Closes #553 .
2007-10-08 16:54:34 +00:00
Frederik Ramm
25ad9dd38c
fix for preconditions
2007-09-28 20:47:01 +00:00
Gabriel Ebner
cfbdd3f7e1
Merge rails_port as of r4613 & fix tests.
2007-09-20 14:37:29 +00:00
Frederik Ramm
6d44c78407
fixed "full" and "relationships_for_object" modes
2007-09-13 11:08:15 +00:00
Frederik Ramm
603af36a83
some changes suggested by SteveC / yet untested
2007-08-29 23:08:13 +00:00
Frederik Ramm
78b440ffc1
preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue
2007-08-29 22:00:26 +00:00