Commit graph

381 commits

Author SHA1 Message Date
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
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
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
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
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
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
Tom Hughes
cf304fe60f Merge 7649:7673 from trunk. 2008-05-04 11:26:36 +00:00
Tom Hughes
02efd7ba4a Go back to using user_id+k as the primary key for user preferences but
actually using the composite primary key extension this time so that it
really works.

Also stop update_one tring to render a non-existent view, and add a
delete_one method to allow preferences to be deleted.
2008-05-04 11:18:38 +00:00
Gabriel Ebner
5ed2cbce02 api06: Merge changesets code from Frederik. 2008-05-04 10:45:47 +00:00
Frederik Ramm
8c5638d696 initial changeset support 2008-05-04 10:41:42 +00:00
Gabriel Ebner
4424cd5b94 split_node_tags: Merge changes in main branch up to r7649. 2008-05-04 08:31:39 +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
3d0f2130da fix bug 871 - show a good error message if gps trace not found 2008-05-03 14:29:01 +00:00
Gabriel Ebner
7eb181999d split_node_tags: Merge changes from main branch. 2008-05-03 14:11:23 +00:00
Steve Coast
ee1707a4a7 nicer reply messages, bug 529 2008-05-03 14:02:53 +00:00
Steve Coast
ee6165bf9b ability to delete messages 2008-05-03 13:25:34 +00:00
Steve Coast
4b3c207a81 add individual user preference read/write, and default all new users to having public data 2008-05-03 12:57:48 +00:00
Richard Fairhurst
111b865116 Potlatch 0.8c 2008-04-30 22:59:30 +00:00
Tom Hughes
a1378a6bd4 Report a friendly error for attempts to reference a user that does
not exist. Closes #805.
2008-04-27 12:21:32 +00:00
Tom Hughes
cb3992f5a1 Mark map responses as attachments. 2008-04-19 13:35:02 +00:00
Tom Hughes
ddb003f0f2 Headers is an array not a function... 2008-04-19 13:29:10 +00:00
Tom Hughes
8815700a77 Rework AJAX stuff to work on IE. 2008-04-18 22:12:50 +00:00
Tom Hughes
b4791598ea Remove unused method. 2008-04-17 17:47:35 +00:00
Tom Hughes
45a77397f3 Make the /export URL work. 2008-04-17 17:47:15 +00:00
Tom Hughes
4cc400de43 Merged 7296:7388 from rails_port trunk. 2008-04-16 23:52:32 +00:00
Tom Hughes
599c48227a Ajaxify the export tab. 2008-04-16 23:45:16 +00:00
Tom Hughes
d13ef1db02 More work on export tab. 2008-04-14 23:46:10 +00:00
Tom Hughes
0f28e0581e Tweak the namefinder results a bit more. 2008-04-10 08:07:09 +00:00
Tom Hughes
373a3b0577 Provide extra context for namefinder results where the nearest place
is small (a hamlet, village or suburb). Closes #794.
2008-04-09 23:43:38 +00:00
Tom Hughes
1df50231fa Commit initial work on export tab. 2008-04-07 23:23:15 +00:00
Tom Hughes
f7d2bf9e39 Remove export controller from branches where it isn't needed yet. 2008-04-07 23:11:25 +00:00
Tom Hughes
f8adbf080a Remove export controller from branches where it isn't needed yet. 2008-04-07 23:11:25 +00:00
Tom Hughes
400340b138 Enable the namefinder again. 2008-03-25 18:01:10 +00:00
Steve Coast
1f857565a6 more madness 2008-03-21 20:21:49 +00:00
Richard Fairhurst
d2c9ea6cf0 fix problem with blank areas throwing a 500 2008-03-21 19:49:09 +00:00
Richard Fairhurst
112950ca3a various relations fixes 2008-03-21 19:00:39 +00:00
Richard Fairhurst
4a5fb3b46e restore Steve's deleteway stuff 2008-03-19 10:39:50 +00:00
Richard Fairhurst
ae142c554b Potlatch 0.8 - be afraid, be very, very afraid 2008-03-19 01:03:51 +00:00
Frederik Ramm
d0aa199e92 - add old_relation_controller and stuff so that relation history works. fixes #557.
- minor testing fixes.
2008-03-16 23:16:18 +00:00
Tom Hughes
6c15eb7251 Disable the NameFinder and fix cut'n'paste error. 2008-02-26 21:50:53 +00:00
Tom Hughes
1c6a83f0e8 Fix stupid breakage. Closes #708. 2008-02-24 13:43:42 +00:00
Steve Coast
d1f2b4ece9 remove deleteway logic from amf_controller (yay!) TomH: check with RichardF this is sane before deploying. worksforme. 2008-02-23 16:05:45 +00:00