Age | Commit message (Collapse) | Author |
|
Seal documents before passing them to map functions (JavaScript view server only).
This prevents one map function from modifying a document before it's passed to another map function.
Has no effect on array fields for some Spidermonkey versions (see https://bugzilla.mozilla.org/show_bug.cgi?id=449657).
Closes COUCHDB-925.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1038196 13f79535-47bb-0310-9956-ffa450edef68
|
|
Proper verification of the roles property of a user document.
Closes COUCHDB-790. Thanks Gabriel Farrell.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1037449 13f79535-47bb-0310-9956-ffa450edef68
|
|
Fix recursive call: recursivelySeal is not defined within the body of the anonymous function declaration.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1037246 13f79535-47bb-0310-9956-ffa450edef68
|
|
Bug fix: using undeclared identifier (doc). The function argument is named obj, not doc.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1037215 13f79535-47bb-0310-9956-ffa450edef68
|
|
not a JSON Array.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1037196 13f79535-47bb-0310-9956-ffa450edef68
|
|
Patch by Gabriel Farrell.
Closes COUCHDB-948.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036833 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036824 13f79535-47bb-0310-9956-ffa450edef68
|
|
Make sure that after a local database compaction the old database reference counters don't get unreleased forever because of a
continuous (or long) replication is going on.
Same type of issue as in COUCHDB-926.
Thanks Adam Kocoloski for some suggestions.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036711 13f79535-47bb-0310-9956-ffa450edef68
|
|
Preserve user context when reopening a database.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036629 13f79535-47bb-0310-9956-ffa450edef68
|
|
selecting a view, rather than compacting the associated database by mistake.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036487 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036475 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036473 13f79535-47bb-0310-9956-ffa450edef68
|
|
trunk to make the JavaScript test suite work as well on Chrome/Chromium and Safari.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036449 13f79535-47bb-0310-9956-ffa450edef68
|
|
Make sure that after compaction of the authentication database the old reference counter is released.
Same type of issue as in COUCHDB-926.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036408 13f79535-47bb-0310-9956-ffa450edef68
|
|
Preserve attachment identity length when doing local to local replications.
Closes COUCHDB-930.
Patch by Juuso Väänänen. Thanks.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036380 13f79535-47bb-0310-9956-ffa450edef68
|
|
Make sure that after a database compaction the old database reference counters don't get unreleased forever.
Closes COUCHDB-926.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036295 13f79535-47bb-0310-9956-ffa450edef68
|
|
the one that is used internally.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1035582 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1035230 13f79535-47bb-0310-9956-ffa450edef68
|
|
Improve log(<xml/>);
Patch by Benjamin Young.
Closes COUCHDB-895.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1035105 13f79535-47bb-0310-9956-ffa450edef68
|
|
Added missing semicolons to replication.js test.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1035102 13f79535-47bb-0310-9956-ffa450edef68
|
|
Patch by Jason Smith.
Closes COUCHDB-881.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1035098 13f79535-47bb-0310-9956-ffa450edef68
|
|
Yet another ibrowse fix.
Patch submitted upstream: https://github.com/cmullaparthi/ibrowse/issues/issue/20
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1034405 13f79535-47bb-0310-9956-ffa450edef68
|
|
Use lists:min/1 and lists:max/1 instead of erlang:min/2 and erlang:max/2. The later are not available in earlier OTP releases.
Closes COUCHDB-856.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1034381 13f79535-47bb-0310-9956-ffa450edef68
|
|
Added test for COUCHDB-868 - ensure that a pull replication of design documents with attachments works with HTTP basic auth
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1034376 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1033642 13f79535-47bb-0310-9956-ffa450edef68
|
|
Updated ibrowse to version 2.1.0. It contains fixes for the following important issues:
- https://github.com/cmullaparthi/ibrowse/issues/closed#issue/17
- https://github.com/cmullaparthi/ibrowse/issues/closed#issue/15
- https://github.com/cmullaparthi/ibrowse/issues/closed#issue/19
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1033457 13f79535-47bb-0310-9956-ffa450edef68
|
|
Bug fix: the separator for media types in the 'Accept' header is a comma. The semicolon separates a media type from its parameters.
A more complete solution, which takes into account Q values, was submitted upstream: https://github.com/mochi/mochiweb/issues/issue/21.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1032392 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator: set Content-Length header when posting to _ensure_full_commit. Same reason as for COUCHDB-932.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1031279 13f79535-47bb-0310-9956-ffa450edef68
|
|
Fix ibrowse 2.0.x inactivity timeouts not getting cleared.
Patch submitted upstream: http://github.com/cmullaparthi/ibrowse/issues/#issue/17
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030537 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030432 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030411 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator fix: add Content-Length header to the request that creates the remote DB.
Closes COUCHDB-932.
Patch by Dale Harvey. Thanks.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030406 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030262 13f79535-47bb-0310-9956-ffa450edef68
|
|
GET /db/_design/doc/_info should not trigger an update.
Closes COUCHDB-858.
Patch by Klaus Trainer. Thanks Klaus.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1027228 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1025574 13f79535-47bb-0310-9956-ffa450edef68
|
|
Closes COUCHDB-896.
Patch by Dale Harvey.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1023808 13f79535-47bb-0310-9956-ffa450edef68
|
|
Avoid gen_server call timeout error after compacting a database (seems to happen only for large DBs, but not always).
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1021812 13f79535-47bb-0310-9956-ffa450edef68
|
|
Bug fix: when receiving the compact_done message, make sure the gen_server unlinks itself from the compactor process and purges the compactor's exit message from its mailbox.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1006182 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1003726 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1003718 13f79535-47bb-0310-9956-ffa450edef68
|
|
Bug fix: a user context record was being used instead of a PID.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1001186 13f79535-47bb-0310-9956-ffa450edef68
|
|
Upgrading ibrowse from version 1.6.2 to 2.0.1.
This version fixes a serious issue regarding streaming of chunked HTTP(S) responses.
The issue is that the client occasionally gets blocked or receives a timeout (if inactivity_timeout parameter is given to ibrowse).
This fixes part of ticket COUCHDB-491.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1000883 13f79535-47bb-0310-9956-ffa450edef68
|
|
Correcting ibrowse version number.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@997678 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator bug fix: properly stop link worker processes to avoid noproc exceptions crashing the replicator's changes feed reader process.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@997548 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator bug fix: make sure a replication fails when there's a stale connection to a remote DB's _changes.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@997153 13f79535-47bb-0310-9956-ffa450edef68
|
|
Bumping ibrowse library to version 1.6.2 (latest).
It has a few important bug fixes and new features, such as, for example:
1) fixes https requests not going via the proxy;
2) added SSL support for direct connections;
3) fixes to URL parsing;
4) added option headers_as_is
This is important since it fixes replication through a proxy not working with HTTPS.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@996520 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator changes:
1) avoid badmatch exceptions when there's a failure opening a single document from a remote source;
2) add error log messages describing which remote documents couldn't be opened and why;
3) when replications errors can't be encoded as json, convert and send them as json strings
Closes COUCHDB-884.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@996493 13f79535-47bb-0310-9956-ffa450edef68
|
|
Bug fixes:
1) requests to remote /db/_changes were discarding the proxy options;
2) handle redirect code 302 besides 301
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@996460 13f79535-47bb-0310-9956-ffa450edef68
|
|
Bug fix: add missing case for not preserving HTTP basic auth credentials after a redirect for _changes
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@996401 13f79535-47bb-0310-9956-ffa450edef68
|
|
(discarded user supplied HTTP Basic auth credentials)
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@996295 13f79535-47bb-0310-9956-ffa450edef68
|