summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-08COUCHDB-103 Fixed incompatibilty with new javascript (1.8) that no longer ↵Damien F. Katz
supports sealing document, making them immutable. The problem is arrays can no longer be sealed, and an error is generated when it is attempted. The fix here is to simply remove the document sealing, and map function placed in the same design document will have to be trustworthy that they don't modify the document (the same document is passed to multiple map functions). Non-trustworthy map functions can be placed in their own design documents, they will be run in isolation. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@684023 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07Fix for bug COUCHDB-100.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@683704 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05Fixed restart testing by making it far less likely a HTTP client will get a ↵Damien F. Katz
network error on a restart request. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@682809 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05slight rewordingNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@682796 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05Fixed bug where we attempted to match a linked port to the current fd, but ↵Damien F. Katz
fail because the fd structure is more than the linked port. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@682792 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05Readded file name checks for open and delete, as an attacker could use ↵Damien F. Katz
relative file names to open/delete otherwise inaccessible db files. Also changed view server shutdown when the parent db shutdowns into a non-normal termination, so that the linked supservisor correctly removes the process from its indexes. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@682790 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05added note to CHANGES about documentation changeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@682782 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05changed example sudo invokation to use -i optionNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@682780 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05Added new erlang source file to build system.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@682571 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05Added concurrent open db limit and a LRU cache for closing old databases ↵Damien F. Katz
when limit reached (configurable via MaxDbsOpen var in couch.ini). Refactored db update code in couch_db.erl into couch_db_updater.erl. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@682560 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01Experimental tabbed interface in Futon document view to switch between ↵Christopher Lenz
tabular fields display and a raw JSON display. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@681878 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01Fix collapsing of nested objects in Futon document view in Safari.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@681852 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01Fix auto-expanding of view editor textareas for temp views.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@681843 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29Fix for problem with count query arg in grouped reduce views. Previous fix ↵Damien F. Katz
would keep enumerating over subsequent view results despite not returning them. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680796 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29Removed some debugging stuff I left in the tests. oops.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680765 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29Test changes I forgot to check in earlier. Contains a formatting change and ↵Damien F. Katz
a bug fix in the test itself. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680763 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28Adjusted btree chunk size to give a 25% performance increase in random testing.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680420 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27removed individual committer copyright statements as per policyNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680156 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25Update NEWS and CHANGES for 0.8.1 release.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679850 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25Apply patch by Yoan Blanc to fix the view selector in Futon for Opera and ↵Christopher Lenz
IE. Closes COUCHDB-81. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679846 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25Fix to previous commit r679840.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679843 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25Use a method compatible with Erlang R11B to put the Erlang OTP version in ↵Christopher Lenz
the HTTP Server response header. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679840 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25removed awk subst from automakeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679823 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25couchdb script no longer uses awk for configuration checksNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679821 13f79535-47bb-0310-9956-ffa450edef68
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-22added OpenSSL dependancy to READMENoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@678743 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-03bumped version number to 0.9.0Noah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@673778 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-25corrected spelling errorNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@671610 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-23Create more docs in the database for the compaction test, so that the ↵Christopher Lenz
difference between non-compacted and compacted on-disk size of the database is actually noticeable on file systems with larger block sizes. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670738 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Follow fixes to r670732 for COUCHDB-83.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670737 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Improve error handling for undefined values emitted by map functions. Closes ↵Christopher Lenz
COUCHDB-83. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670732 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Follow-up to r670653: Implement deep sealing in Javascript as using the ↵Christopher Lenz
native `JS_SealObject` function in deep mode somehow also locked down outer scopes, leading to various obscure errors. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670720 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Seal the document in Javascript view functions in 'deep' mode so that it's ↵Christopher Lenz
not possible to modify values in nested arrays and objects. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670653 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16Change version number in links to static resources from 0.8.0a to 0.8.0.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668269 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16changed header format to be consistent with NEWSNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668248 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