summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-07-25Fix for problem with Safari and mochiweb.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679636 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22Fix for compacted databases reporting 0 documents after compactionDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@678923 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18Fix for problem when saving bulk documents with invalid idsDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@677892 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17Allow for empty attachments.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@677682 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16Fixed replication problems where read ad write queues can get backed up. ↵Damien F. Katz
With this fixed, throughput might be reduced. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@677426 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16Increase more filesystem layer timeouts. Patch by randall <dizzot> leeds ↵Jan Lehnardt
<atface> gmail git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@677373 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15fix for attachment editing when their are conflictsDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@677087 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10Wait for the OS to flush our newly written data to disk without timing out ↵Jan Lehnardt
too quickly. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@675780 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10Make RESTful attachment API concurrency aware and the code a little more ↵Jan Lehnardt
concise (thanks Damien!) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@675699 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06Add RESTful API for document attachments as per ↵Jan Lehnardt
http://groups.google.com/group/couchdb/browse_thread/thread/c84c5f35afb5db2a with not yet comprehensive tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@674334 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03Improve error message. If the couch_erl_driver.so is no goodJan Lehnardt
for some reason (linking e.g.) you get something along the lines of {"init terminating in do_boot","Driver is an inappropriate Mach-O file"} instead of {"init terminating in do_boot",{error,{open_error,-12}}} Patch by Dale Johnson <dale.johnson@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@673634 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03Expose endkey_docid as a view query option through the HTTP API (including ↵Jan Lehnardt
tests). git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@673631 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24Change `Server` HTTP header to say CouchDB instead of MochiWeb, and add a ↵Christopher Lenz
`Cache-Control: must-revalidate` header to all JSON and attachment responses. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@671151 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24Updated MochiWeb in trunk to r82.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@671125 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Apply patch by Chris Anderson that fixes an edge case in the HTTP view ↵Christopher Lenz
interface resulting in an invalid JSON response body. Closes COUCHDB-84. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670774 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16renamed directory variables, stage twoNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668234 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16renamed directory variables, stage oneNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668231 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13Fix for bug when reopening view indexes.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@667522 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12fix for problem when view index header data exceeds 2k.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@667236 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12Fix for COUCHDB-78. Couchdb was failing to close open file handles when ↵Damien F. Katz
compaction attempts need to be retried. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@667188 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10slight change to startup messageNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@666182 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09Changed name of 'combine' phase of reduce to 'rereduce', to avoid confusion.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@665852 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07removed old, broken, datarootdir hackNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@664372 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07corrected use of erlc to $(ERLC)Noah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@664364 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05Added reduce/combine example. Fixed broken node chunking with very large ↵Damien F. Katz
keys/reduction values git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663786 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05Remove /db/_search API call. This will be maintained in the lucene-search ↵Jan Lehnardt
branch and merged back after a 0.8 release when things got more stable. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663744 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04Use linebreaks between rows for view results with a negative count value, ↵Christopher Lenz
same as for a positive value. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663345 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04Enable the use of an unencoded slash in the URL of design documents. Closes ↵Christopher Lenz
COUCHDB-49. Thanks to Paul Davis for the patch. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663055 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02Increase the request body size limitations on bulk_docs and document POST to ↵Christopher Lenz
4GB. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@662591 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29Grouped reduce support. Needs performance work.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@661476 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Experimental functionality to increment database update seq, might go away, ↵Damien F. Katz
use at own risk. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660315 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Add back /_restart URL that got lost in the transition to MochiWeb.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660183 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26* Respond to DELETE requests with a "200 OK" status code instead of "202 ↵Christopher Lenz
Accepted", as the deletion is performed immediately. * The "content-type" member in attachment structures is now named "content_type" (underscore) for consistency and to be more accessible from Javascript (and presumably other languages, too) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Improve the debug logging of request details. As the logging was split into ↵Christopher Lenz
multiple log messages, concurrent requests would get mixed up in the log. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660166 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Remove incomplete Lucene integration (will be moved to a branch).Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660142 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Change error handling on unknown private paths to be more consistent with ↵Christopher Lenz
how other errors are handled. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660139 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Updated MochiWeb in trunk to r76. Closes COUCHDB-42.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660136 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25Use limit of 4GB for document PUT requests, instead of the MochiWeb default ↵Christopher Lenz
of 1MB. Closes COUCHDB-37. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660050 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25Fix for file attachments using too much space in compacted databasesDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660049 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25Enable Etag processing for document GET requests that include the '?rev' ↵Christopher Lenz
query string parameter. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660046 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23improved private path error wordingNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659690 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23fix for missing conflict check during serialized updateDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659676 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23Patch MochiWeb for compatibility with R11B. This patch has been rejected ↵Christopher Lenz
upstream, but it's simple enough to just apply here. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659636 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23fix for bug with reusing map btree indexes when multiple views have the same ↵Damien F. Katz
map function git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659596 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22Updated MochiWeb in trunk to r73.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659244 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20Only use chunked encoding when we actually make use of it to iteratively ↵Christopher Lenz
write the response (for example for views). Otherwise just send a normal response with a Content-Length header. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@658408 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20Fixed design document view definitions to be consistent with temp views. ↵Damien F. Katz
Changed the name of the map(K,V) call in the javascript views to emit(K,V) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@658405 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19Changed temp view definition to always be jsonobjects with map/reduce source ↵Damien F. Katz
as members of the object. Everywhere we used 'text/javascript' or 'application/javascript', we now just use 'javascript' git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657926 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18Fix for pattern matching bug during reduceDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657606 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18- remove leftover debugging lineJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657553 13f79535-47bb-0310-9956-ffa450edef68