summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-02-24Update MochiWeb in trunk to r97. Closes COUCHDB-255.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747575 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24added newline to JSON responses, closes COUCHDB-107Noah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747465 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24Fix for COUCHDB-266.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747381 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22add couch_stats.hrl to distribution filesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746768 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22add missing filesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746734 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22Add runtime statistics -- without EUnit tests for now.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746691 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18Better error messages on decoding invalid JSON. Changes the CouchDB version ↵John Christopher Anderson
of mochijson2. Closes COUCHDB-258 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@745401 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17Put file ref_counting into it's own module, to make the speed of opening an ↵Damien F. Katz
already open database faster (by not waiting on file pending operations, particularly fsync). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@745076 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15View etags are now provided. See note in the source about how they could be ↵John Christopher Anderson
more efficient. Changes arity on make_view_fold_fun etc. Closes COUCHDB-4 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744747 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14enhance the Mochiweb streaming api based on feedback from Bob IppolitoJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744309 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-02-13Apply COUCHDB-251. John Christopher Anderson
Allow _list functions to accept arbitrary GET parameters. Thanks Paul Davis. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744210 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13fix COUCHDB-253. Replicator should not use chunked transfer-encoding on GET ↵John Christopher Anderson
requests. thanks Adam Kocoloski git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744193 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13Accept standalone attachment PUTs with Transfer-Encoding: chunked John Christopher Anderson
Includes a patch to mochiweb_request that is under review for inclusion upstream. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743971 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12Fix for spurious 'server restarted' during replicationDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743801 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12Fix `make distcheck` (which builds releases and nightlies)Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743787 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12allow user-configurable directory for view indexes.John Christopher Anderson
closes COUCHDB-168. thanks Adam Kocoloski git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743653 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11Changed _uuid to respond to GET instead of POST. Bug COUCHDB-190Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743373 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11Fix for COUCHDB-238, explicit check and error for doc ids starting with ↵Damien F. Katz
underscore. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743371 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09allow format query param to override accept headers for _list and _showJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@742217 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08extract method couch_httpd:send_redirect(Req, Path)John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@742158 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01Added options member to design docs. Currently the only option is ↵John Christopher Anderson
include_designs (views can now run over design docs as well if they need to), the default is false, which is the current behavior. Thanks davisp for the original patch. Closes COUCHDB-156 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739866 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01via davisp: external server launches on request to avoid runaway errors.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739681 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30all_docs view with descending=true works properly now. fix COUCHDB-109John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739170 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30cleanup long linesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739169 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30swap 412 ad 409 error codes. fixes COUCHDB-226John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739157 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30use the config setting for max document size. fixes COUCHDB-60John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739153 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30POST to create docs returns a Location header. fixes COUCHDB-8John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739133 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29Replacement of inets with ibrowse. Fixes COUCHDB-179 and enhances replication.John Christopher Anderson
Thanks Jason Davies and Adam Kocoloski for the fix, Maximillian Dornseif for reporting. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739047 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27Improved etag handling for show funcs and db_doc requests; main.js cleanup ↵John Christopher Anderson
(baby steps); null doc allowed for show funcs git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@738237 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26Change _slow_view back to _temp_view, as discussed on the mailing list (see ↵Christopher Lenz
http://markmail.org/message/o44cafucgwlpudov). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737859 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25more informative error message on a bad json documentJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737538 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24Make command line test suite succeed again. Patch by Bob Dionne.Jan Lehnardt
Closes COUCHDB-212. Thanks Bob. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737335 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24Don't let a failing db update notification client bring down the entireJan Lehnardt
view_server. Patch by Adam Kocoloski. Closes COUCHDB-206. Thanks Adam. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737334 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-23Added task status checking, to help debug the progress of long running ↵Damien F. Katz
tasks, like view indexing and compaction. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736906 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
2009-01-22Fix some eJSON stragglers (works with mochijson2, but not eep18). thanks ↵John Christopher Anderson
kocolosk! git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736856 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22change update=false to stale=okJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736837 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21don't log thrown errors in http requests, just things like badmatch etcJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736194 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19tests for fix to COUCHDB-215, and changing of how max_dbs_open setting is ↵Damien F. Katz
handled at runtime. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735875 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19fix for COUCHDB-214 (design docs on dbs with slashes)John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735850 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19Fix for COUCHDB-215, we weren't properly converting a config setting to an ↵Damien F. Katz
integer. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735817 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19catch all error handling for HTTP requestsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735803 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15Support for streaming attachment writes.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734849 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12Fix for broken conflict checking inside the db update process.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733917 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12Fix WhitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733674 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12rename _form to _show and move the funcs in the design doc to design.show.docsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733576 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11Polishing _design/doc urls with slashes -- adding auto redirect from the old ↵John Christopher Anderson
%2F style urls to the new pretty ones. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733461 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10include_docs error handlingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733305 13f79535-47bb-0310-9956-ffa450edef68