Commit graph

23 commits

Author SHA1 Message Date
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
2c98558c86 Add support for segment/:id/ways and node/:id/segments API calls. Fixes #452. 2007-06-21 22:52:40 +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
21fd6d3126 updates to api 2007-05-10 19:37:33 +00:00
Steve Coast
15d3958627 close #411 segments should not be allowed where node_a == node_b 2007-04-22 10:10:43 +00:00
Steve Coast
c91b86a1d1 change mime type and reformat search controller 2007-04-18 11:25:59 +00:00
Steve Coast
668f8020cc simplify grabbing of a xml base doc 2007-04-07 12:43:48 +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
e7c2d2a211 New seg id is now returned complete 2007-03-20 13:10:45 +00:00
Nick Black
f75401ae29 Fixed precondition typo and segment_controller foreign key 2007-03-12 15:49:11 +00:00
Steve Coast
9189093997 precondition stuff 2006-12-13 16:05:37 +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
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
a6f61bd18a more segment bits 2006-08-24 19:09:23 +00:00
Steve Coast
8a2db368f1 nodes done, segment skelaton 2006-08-24 18:55:12 +00:00