summaryrefslogtreecommitdiff
path: root/src/couchdb
AgeCommit message (Collapse)Author
2010-06-02trailing whitespace pedantryJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950545 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02add license bannerJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950542 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01better tests for the vhost globals, fixed a bugJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@949912 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22Major whitespace cleanup, no functional changes.Jan Lehnardt
Patch by Volker Mische. Closes COUCHDB-771. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@947344 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22Fix Solaris compat.Jan Lehnardt
Patch by Gavin Sherry and Timothy Smith. Closes COUCHDB-666 \m/ git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@947337 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20Refactoring of various internal APIs, particularly those dealing with ↵Damien F. Katz
replicating documents with attachments. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946803 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19Renaming `jsonp = false` ini option to `allow_jsonp = false` to beJan Lehnardt
more clear about its intention. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946474 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19no newlines in .ini filesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946465 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19Unused variable.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946434 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19Strip password from URLs before adding them to the tasks databaseJan Lehnardt
and before sending it to the logger. Closes COUCHDB-756. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946428 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19jsonp callbacks are ignored unless jsonp is configured to trueJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946400 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19Don't use module name for module-local function calls that don't affectJan Lehnardt
hot code reloading. Patch by Volker Mische. Closes COUCHDB-765. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946377 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17oops, don't commit hacked-up icu_driverAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@945114 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17use O_APPEND to skip some lseeks, COUCHDB-754Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@945110 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14faster implementation of pread_iolist. Closes COUCHDB-762Adam Kocoloski
Why it's faster: - 2 pread() calls (instead of 3) for MD5-prefixed terms - 1 gen_server:call (instead of 3) in all cases, also guarantees that we don't intersperse pread() calls to different parts of the file when we have concurrent readers. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@944336 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13vhost_global_handlers bypass rewrite rules and are available in all vhostsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@943764 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05rewriter security to allow isolation of databases via subdomainsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@941451 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04use crypto:md5 when available. thx fdmanana. Closes COUCHDB-757Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@941033 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04use keysearch BIF to search ejson props. Closes COUCHDB-747Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@940708 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28Fix to make dbclose synchronous, to prevent unnecessary slowdown caused by ↵Damien F. Katz
many already completed client requests having a single db open, and the vm waiting a long time to asynchronously process the close messages. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@939009 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25make before commit, make before commit, make before commitJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@937793 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24tabs to spacesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@937633 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23faster default view collation. Closes COUCHDB-746Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@937528 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23identity transfer w/ Content-Length when possible. thx rnewson. COUCHDB-745Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@937352 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22compaction preserves instance_start_time. Closes COUCHDB-744Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@936996 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22fix erlang filter funs and normalize filter fun api. thanks fdmanana. closes ↵John Christopher Anderson
COUCHDB-740 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@936889 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19Fix to close users db immediately after authentication.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@935737 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15accept gzipped attachments w/ standalone api. thx fdmanana. COUCHDB-712Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@934481 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15refactor att compression to allow more encodings. thanks fdmanana. COUCHDB-710Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@934475 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11bugfix for replication keepalive. Closes COUCHDB-730Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@933039 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08fix last straggler view update_seq bugs, thanks tisba and bitdiddle for the ↵John Christopher Anderson
report git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931731 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07make max_concurrent_connections configurable via Randall Leeds / COUCHDB-705John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931663 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07temp_views should be only available to server and database adminsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931655 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07somehow I missed this badarity bug running the test suite last night. ↵John Christopher Anderson
completes the last (update_seq) commit. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931650 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07include update_seq in view responses, patch via Joscha Feth, (mostly) closes ↵John Christopher Anderson
COUCHDB-650 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931439 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07changes is less likely to miss updates, and changes test is more robustJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931407 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02Removed _sleep from all tests. replaced with loops that spin until a ↵Damien F. Katz
condition is true. Makes tests faster and less likely to fail sporadically. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930430 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02change couch_server calls to have infinity timeout, because it might have to ↵Damien F. Katz
wait for disk io. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930365 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02Fix hang with view shutdown.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930364 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02Deterministic/synchronous shutdown code.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930363 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28allows more complex keys in the rewriter, so it could ease theBenoit Chesneau
pagination (only array for now) : { "from": "simpleForm/complexView5/:a/:b", "to": "_list/simpleForm/complexView3", "query": { "key": [":a", ":b"] } }, git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28typo.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928364 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28allows client to retrieve the revision of document updated via _update,Benoit Chesneau
by providing it in headers. Header is named "X-Couch-Update-NewRev. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928361 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25restart using init:restart() for better test reliabilityJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@927545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21Take query options into account when generating replication ids.Jan Lehnardt
Patch by Filipe Manana. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925879 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20backwards compatible ids for non-docid replicationsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925497 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19Do not use the doc_id list from the previous replication requestJan Lehnardt
on subsequent replication requests. Closes COUCHDB-703. Patch by Filipe Manana. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925488 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16Fixes couch_server:all_databases/0Paul Joseph Davis
The logic was failing when the database path had a '.' path component in the middle because Filename -- Root is not a prefix operation. This patch adds a normalization function to couch_util that is run on the Root and Filename variables before doing the array subtraction. I could probably make it smarter and error out but I got lazy. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@923526 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15Made the opening of databases asynchronous, so that requests to open ↵Damien F. Katz
databases that are already in the open database cache do not have to wait on the file system. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@923456 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11make sure we pass etags in header when we send docBenoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@921707 13f79535-47bb-0310-9956-ffa450edef68