summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd_external.erl
AgeCommit message (Collapse)Author
2010-06-16provide a uuid to update functions (and all other functions) that they can ↵John Christopher Anderson
use to create new docs. closes COUCHDB-802. Thanks Jason Smith, Zachary Zolton, and Dmitry Unkovsky. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@955389 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07json startkey, endkey, and key should be decoded before being sent to the ↵John Christopher Anderson
query server or externals git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919949 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05use OTP base64 lib. Patch by Filipe Manana. Closes COUCHDB-681Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919449 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23Follow RFC 2616 closer and use "verb" instead of "method"Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893364 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22move query server to a design-doc based protocol, closes COUCHDB-589John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893249 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@882903 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18log external reqests like any other requestsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826345 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09allow case-insensitive content-type from external, and other cleanupAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@823378 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23Include peer in req object for externals: _show, _list, _update etc.Jason David Davies
Closes COUCHDB-470. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@818316 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11Initial commit of _update handler. Thanks to Paul Davis, Jason Davies for ↵John Christopher Anderson
code and others for discussion. The _update handler accepts POSTs to paths like: /db/_design/foo/_update/bar and PUTs which include docids, like: /db/_design/foo/_update/bar/docid The function signature: function(doc, req) { doc.a_new_field = req.query.something; return [doc, "<h1>added something to your doc</h1>"]; } The tests in update_documents.js are fairly complete and include examples of bumping a counter, changing only a single field, parsing from (and returning) XML, and creating new documents. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@803245 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04Initial check-in of OAuth and cookie authentication.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800938 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06trimmed trailing whitespaceNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04send utf-8 hearders with list and show responses. closes COUCHDB-392John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791145 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15Send CouchDB Server: header for all external queries. Fixes COUCHDB-379.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@784706 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27Fixes COUCHDB-363Paul Joseph Davis
Applying the patch provided by Benoit Chesneau for 363 which fixes an error when POST'ing to _external handlers. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@778949 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05allow multi-key POST requests for _list. John Christopher Anderson
closes COUCHDB-269. thanks Jason Davies git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750565 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13apply COUCHDB-252.John Christopher Anderson
Allow _list functions to signal that iteration of the view should cease. Thanks davisp. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744240 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24Improve show/list API and send external responses without chunked as it's ↵John Christopher Anderson
not needed. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737304 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23View list functions can stream views in any format. See list_views test for ↵John Christopher Anderson
details. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736876 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29merge form branch to trunkJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730016 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19shorter path to _action servers, external supports better routing controlJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727973 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16the external process handlerJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727136 13f79535-47bb-0310-9956-ffa450edef68