Tom Hughes
45dfd0f05f
Fix spelling mistake.
2009-04-15 08:03:26 +00:00
Tom Hughes
09fdee5493
Add a "database readonly" state that allows all writes to the database
...
to be suppressed.
2009-04-14 14:27:30 +00:00
Steve Coast
9328e84ba1
Some node documentation
2008-01-24 13:04:04 +00:00
Steve Coast
3e355d7dc0
emit last-modified headers on nodes and ways
2008-01-21 17:41:57 +00:00
Tom Hughes
e4df9a8219
Allow objects to be resurrected.
2007-10-31 15:52:36 +00:00
Tom Hughes
0fd29dc003
Render an empty text string instead of nothing (which actually generate a
...
single space character) for 410 and 412 responses as there is a bug in
lighttpd (http://trac.lighttpd.net/trac/ticket/1055 ) that prevents it
passing on the response body for these codes, leading to the client blocking
waiting for the data until it times out. Closes #537 .
2007-10-17 23:22:51 +00:00
Gabriel Ebner
e03ea17a22
rails_port_0.5: Merge rails_port r4643
2007-09-22 19:55:33 +00:00
Tom Hughes
9c01c4cb63
Allow the API to be taken offline completely as well as being put into
...
readonly mode,
2007-09-20 23:51:11 +00:00
Gabriel Ebner
cfbdd3f7e1
Merge rails_port as of r4613 & fix tests.
2007-09-20 14:37:29 +00:00
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
Gabriel Ebner
37cfb17809
Merge commit 'git-svn'
2007-08-30 09:29:34 +00:00
Frederik Ramm
78b440ffc1
preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue
2007-08-29 22:00:26 +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