summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-10-09make check now runs the JavaScript test suiteJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@703276 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09remove content-length header from file attachment responses. see inline commentsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@703275 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09make couch_httpd:send_error/4 publicJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@703274 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08add db_name back to database info, and testJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@702965 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06tiny whitespace fix for 409 database errorJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701960 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05include_docs option adds a doc member to view rows with the latest _rev of ↵John Christopher Anderson
the document (or the _rev specified in the row value) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701847 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05added multi-key requests to _view, _temp_view, and _all_docs (with help from ↵John Christopher Anderson
davisp) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701814 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05refactor couch_httpd_view to use output_map_viewJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701749 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05remove unnecessary negative count featureJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701748 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02Added files forgotten in the httpd refactoring checkin.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701174 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02HTTPd refactoring. Moved most code out of couch_httpd into associated ↵Damien F. Katz
modules (couch_httpd_view, couch_httpd_db, couch_httpd_misc_handlers). Also a fix to removed previous doc_by_seq index entries on compaction retry. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701173 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23fix for COUCHDB-119 - replication is incremental between local and remote ↵John Christopher Anderson
databases git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@698333 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23Changed call to Req:recv_body() by Damien's request.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@698260 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23Fix config file writer issue, where doplicate sections would be createdJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@698202 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21change integer handling in mochijson2 to fix JSON regression COUCHDB-118John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@697512 13f79535-47bb-0310-9956-ffa450edef68
2008-09-20reduce=false closes COUCHDB-76John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@697427 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17removed useless lineNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@696349 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16Add HTTP API for getting the complete config, and add a page to Futon that ↵Christopher Lenz
displays the configuration. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@696041 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15Fix for error when saving an attachment during a compaction.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@695607 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13Moved most of the startup services from being hard coded in couch_server_sup ↵Damien F. Katz
to being loaded from the ini file. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@695024 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13Changes and refactorings to couch_configDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@694989 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11Check-in of document purge functionality.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@694430 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09Fix for attachment content-type conversion from/to binary in RESTful API.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@693435 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08Fix retrieval of specific document revisions, which needed to be updated for ↵Christopher Lenz
the internal change to binaries. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@693115 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02Fix for bug COUCHDB-109.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@691322 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31Fix the config HTTP API for the changed JSON representation, remove the POST ↵Christopher Lenz
handling for setting option values (leaving only PUT), and add a GET /_config/section handler that allows enumerating the options in a section. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690670 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31Merged json_term_changes branch back into trunk.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690668 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30Rename 'module' to 'section', and 'variable' to 'option' in the config code.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690595 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30Implement attachment uploading in Futon.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690590 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30- Remove dependency on test/local.iniJan Lehnardt
- Write out new variables in key = value format - Fix tests git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690584 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30Missed a configuration option earlier.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690531 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30- Rename configuration options and sections to allow for a nicer .ini file ↵Jan Lehnardt
and HTTP API calls. - Enable .ini parser to read variable assignments with spaces around the '='-sign. - Remove inadequate comment. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690513 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30Some cosmetic cleanup (removed trailing whitespace, fixed indentation, make ↵Christopher Lenz
the test runner script executable). git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690487 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24fix for occasional crash when attempting to open a database on a heavily ↵Damien F. Katz
loaded server git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@688540 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22Fix for couch_server process crash when databases that don't exist are ↵Damien F. Katz
attempted to be opened. Removed old comments and fixed the AllowRemoteRestart testing option. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@688129 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20Fix for possible multi-threading bottleneck in ICU driver.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@687438 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20add missing filesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@687339 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20Merge runtimeconfig branch back into trunkJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@687336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14CouchDB performance work. Faster Btree updates and lookups.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@685975 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12HTTP COPY & MOVE for documents with testsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@685171 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08Idempotent document creation support, new HTTP api to generate UUIDs and ↵Damien F. Katz
support in the couch.js library for using them. Creating uuids client side ensure that document creation happens only once, despite automatic network retries. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@684092 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-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 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-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-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