Gabriel Ebner
5cc8afd896
api06: remove debugging output.
2008-05-13 13:42:03 +00:00
Gabriel Ebner
d96f238801
api06: simplify diff uploading.
2008-05-13 13:24:31 +00:00
Gabriel Ebner
866c3ff782
api06: diff upload: don't read the whole request into memory.
...
Note: libxml-ruby-0.5.4 will segfault on this:
https://rubyforge.org/tracker/index.php?func=detail&aid=20117&group_id=494&atid=1971
2008-05-13 12:53:59 +00:00
Gabriel Ebner
e823ce2fc4
api06: Fix OSM::APIVersionMismatchError.render_opts
2008-05-13 12:32:43 +00:00
Gabriel Ebner
2ff2cdf63d
api06: fix syntax errors.
2008-05-13 12:27:38 +00:00
Gabriel Ebner
7151fa05e4
api06: simplify exception handling and add exception handling to the diff
...
upload.
2008-05-13 12:15:06 +00:00
Christopher Schmidt
4a9ee4c736
The ordering of these shouldn't have mattered, but it did, because I didn't put a regex filter on my :id, so "upload" was being treated as an ID (which clearly wouldn't work); This fix obviates the need for r7789, sorry about that.
2008-05-12 21:12:30 +00:00
Gabriel Ebner
cddded9569
api06: Fix typo.
2008-05-12 21:11:51 +00:00
Gabriel Ebner
ea1961e3ce
api06: s/delete_with_relations_and_history/delete_with_history/g
2008-05-12 21:10:38 +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
Gabriel Ebner
ec916b7429
api06: Make diff uploading work again.
2008-05-12 20:43:35 +00:00
Richard Fairhurst
f365881a62
splash screen
2008-05-12 10:18:57 +00:00
Christopher Schmidt
697449d6f1
node.tags is now (apparently) the same as tags_as_hash.
2008-05-12 01:22:04 +00:00
Christopher Schmidt
322f3d7576
make error_message spit out the message text to the user as well as
...
putting it in the header.
2008-05-11 23:12:54 +00:00
Christopher Schmidt
97cb1fd7fa
undo composite keys change on old_ndoe
2008-05-11 23:02:06 +00:00
Christopher Schmidt
df11677afd
from_xml sets a version on nodes
2008-05-11 22:27:40 +00:00
Christopher Schmidt
e9b86e914d
add to_xml method for oldnode
2008-05-11 22:26:46 +00:00
Christopher Schmidt
604f9ddd46
spit out whether the changeset is open in the xml
2008-05-11 22:26: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
6aa9ec599f
Make capabilities report the current version for from/to version
...
identifier
2008-05-11 21:23:38 +00:00
Christopher Schmidt
412472212b
change 'no nodes' response to use API_VERSION in output
2008-05-11 21:21:30 +00:00
Christopher Schmidt
6f1aad0d04
add support for closing changesets
2008-05-11 21:18:42 +00:00
Richard Fairhurst
e2cfc813f3
hmmm, probably best not to gratuitously send the same request every second
2008-05-11 20:25:11 +00:00
Richard Fairhurst
3b02a27190
Potlatch 0.9a
2008-05-11 20:16:09 +00:00
Christopher Schmidt
9cbc370a7e
add FIXME FIXME FIXME for serializing changes in a changeset
2008-05-11 20:07:47 +00:00
Christopher Schmidt
e48cbc6a5f
Add support for accessing changesets as XML through the API via the
...
changeset controller "read" method
2008-05-11 20:03:17 +00:00
Christopher Schmidt
7a216c0ce6
Make edits return version numbers as plain text strings
2008-05-11 19:47:19 +00:00
Tom Hughes
cf9f5ba933
Add maximiseMap() and minimiseMap() functions to the edit page to allow the
...
size of the editing area to be toggled.
2008-05-11 16:15:35 +00:00
Tom Hughes
75f160aeb4
Fix what looks like an accidental change to the stylesheeet.
2008-05-11 14:42:44 +00:00
Tom Hughes
4d8ea0eed0
Only add the data layer to the main map, and use the visibility changed
...
event to handle turning the data layer on and off.
2008-05-11 14:41:11 +00:00
Tom Hughes
5620d7263a
Merge 7452:7744 from trunk.
2008-05-09 23:22:26 +00:00
Tom Hughes
369c81a414
Add the marker to the map correctly.
2008-05-09 14:10:10 +00:00
Richard Fairhurst
b2289c29d4
Potlatch 0.9
2008-05-08 10:24:17 +00:00
Tom Hughes
801f02fdd9
Remove bogus apostrophe.
2008-05-07 11:05:17 +00:00
Tom Hughes
74b6dabb7f
Tidy up handling of unknown traces.
2008-05-06 16:57:40 +00:00
Tom Hughes
895eb829c9
Backout message deletion functionality as it has unfortunate side effects
...
as it also removes the message from the sender's outbox.
2008-05-06 16:35:24 +00:00
Tom Hughes
a47fcb0857
Fix replying to diary comments, and tidy a few things up.
2008-05-05 23:01:05 +00:00
Tom Hughes
af1e733bee
Quote reply messages properly.
2008-05-05 22:52:19 +00:00
Tom Hughes
210e26f40e
Reinstate stripping of Re: prefixes that Steve dropped...
2008-05-05 22:46:56 +00:00
Gabriel Ebner
013ef53c97
api06: Fix normal way and relation uploading (i.e. not as part of a diff).
...
(I'm sorry that I couldn't commit it earlier, but I didn't have access to an
internet connection until now.)
2008-05-05 22:41:32 +00:00
Tom Hughes
feb47bc739
Rework the new Go button on the search form so that it actually stands
...
some chance of rendering as intended.
It's still not really ideal to steal space from the seach box of course...
Closes #589 .
2008-05-05 16:39:33 +00:00
Gabriel Ebner
e7c550cf3f
api06: Diff upload works now (but no integration with changesets whatsoever as
...
of now)
2008-05-04 15:56:10 +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
Tom Hughes
e7e5ae7aaa
The current_way_nodes table is already an InnoDB table.
2008-05-04 14:50:53 +00:00
Gabriel Ebner
1bbc523e0f
api06: Fix diff uploading (creation works fine now)
2008-05-04 14:37:12 +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
0499559f79
api06: Fix tag parsing in the node-tags-normalization helper, as suggested by
...
Jon Burgess.
2008-05-04 13:51:45 +00:00
Gabriel Ebner
db52fe6923
api06: Use 2-byte ints and check malloc return value.
2008-05-04 12:03:05 +00:00
Gabriel Ebner
2b596387d2
api06: Fix bounds check.
2008-05-04 11:50:12 +00:00
Gabriel Ebner
e0e5423fb9
api06: 013_populate_node_tags_and_remove_helper: Initialize memory.
2008-05-04 11:44:36 +00:00