Commit graph

25 commits

Author SHA1 Message Date
Tom Hughes
0975858cdb Allow exceptions processing node and segment requests to propagate and
be handled by the default handler so they are logged.
2007-08-31 10:11:15 +00:00
Tom Hughes
e70d94c54a Don't create sessions for API calls. 2007-08-14 13:59:07 +00:00
Tom Hughes
9dbe1a497a Add a flag to allow the API to be placed in read-only mode. 2007-07-26 17:15:23 +00:00
Tom Hughes
7901811752 Make sure we clear the tags and segments for a way when it is deleted.
Also remove some redundant setting of timestamps that will be overwritten
by the model when saving.
2007-06-27 23:44:40 +00:00
Tom Hughes
dcad29dad0 Split the rest action into sparate read, update and delete actions thus
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.

Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Tom Hughes
0c198107af Correctly record which user deleted an object. 2007-06-22 15:37:57 +00:00
Tom Hughes
c11d961f62 Close a number of holes in the API by making it validate changes
more carefully.
2007-06-19 23:20:39 +00:00
Steve Coast
c91b86a1d1 change mime type and reformat search controller 2007-04-18 11:25:59 +00:00
Dan Moore
d07277efba API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
* traces - added some routes, replicated data access / pagination, but presentation and pending file control not complete
* edit - setup so that applet can be loaded + token authorisation enabled
* API - tests out ok against applet, but had to change segment-node associations
* misc - gems version required upgraded to 1.2.3 (latest stable rails version), changed some find_first to find(:first... calls
2007-03-23 23:13:19 +00:00
Nick Black
19f05fbf8d New node id is now returned complete 2007-03-20 13:05:53 +00:00
Steve Coast
c38e4bf4a0 compression! 2006-12-01 11:07:31 +00:00
Steve Coast
f4743c08ac nodes and segments plural API calls 2006-12-01 09:51:18 +00:00
Steve Coast
e799022131 rails API support for history of node/segment/way + various bugfixes and cleanups 2006-11-30 18:44:40 +00:00
Steve Coast
2803612d9d various map API rails stuff 2006-11-27 15:06:34 +00:00
Steve Coast
8c9544e60a various bits 2006-11-17 20:56:01 +00:00
Steve Coast
59cc0015f5 various things 2006-11-17 19:56:54 +00:00
Steve Coast
b95e9d2759 more way bits 2006-08-26 21:36:21 +00:00
Steve Coast
613e88c4a8 rails updates 2006-08-26 16:34:52 +00:00
Steve Coast
8a2db368f1 nodes done, segment skelaton 2006-08-24 18:55:12 +00:00
Steve Coast
85f197b6df bit nicer 2006-08-19 08:11:33 +00:00
Steve Coast
84f3668fc4 nearly there on the node controller 2006-08-18 18:23:30 +00:00
Steve Coast
c8f9387420 various fixes 2006-08-18 17:54:41 +00:00
Steve Coast
758beeb2e8 dao db and map request fixes 2006-08-16 11:17:52 +00:00
Steve Coast
37bd2971b4 more rails updates 2006-08-01 17:50:10 +00:00
Steve Coast
d2877982a2 more skelaton stuff 2006-07-29 10:09:52 +00:00