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
Robert (Jamie) Munro
6ace541442
Made way controller return text/xml instead of text/html. Fixes #450
...
Also fixed some line endings and trailing spaces.
2007-05-13 14:06:55 +00:00
Steve Coast
6d8353821b
cleanup
2007-05-07 15:00:33 +00:00
Nick Burch
343e01bb86
Support getting a way, and all the segments and nodes it depends on, via /way/:id/full
2007-04-22 11:06:48 +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
932c2d4f8f
New way id is now returned complete
2007-03-20 13:07:38 +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
25936fad05
ways plural api
2006-12-01 10:09: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
1a6765f1a2
ways now work
2006-11-27 13:05:27 +00:00
Steve Coast
db1e02adb5
rails way bits
2006-11-27 10:35:10 +00:00
Steve Coast
b95e9d2759
more way bits
2006-08-26 21:36:21 +00:00
Steve Coast
222d31e435
way stuff
2006-08-26 20:49:16 +00:00