Age | Commit message (Collapse) | Author |
|
By default, allow only admins to trigger delegated replications
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095650 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095642 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095585 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095584 13f79535-47bb-0310-9956-ffa450edef68
|
|
Backport of 1095581 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095582 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095578 13f79535-47bb-0310-9956-ffa450edef68
|
|
Partial backport of 1066932 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095576 13f79535-47bb-0310-9956-ffa450edef68
|
|
Backport of 1095569 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095570 13f79535-47bb-0310-9956-ffa450edef68
|
|
This is a backport of 1095557 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095564 13f79535-47bb-0310-9956-ffa450edef68
|
|
This is a backport of 1095523 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095524 13f79535-47bb-0310-9956-ffa450edef68
|
|
Avoid replicator_db.js test failures due to timing issues
These happen sometimes on slower machines.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095387 13f79535-47bb-0310-9956-ffa450edef68
|
|
Avoid replicator crash on list_to_existing_atom/1 calls
This happens when a remote endpoint exposes new information in the database URI
that is not recognized by this CouchDB version.
Closes COUCHDB-1004. Applied Adam's simple 1 line fix.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095356 13f79535-47bb-0310-9956-ffa450edef68
|
|
Don't set Content-Encoding headers with value "identity"
This is dictated by RFC 2616 and causes problems with Microsoft's ISA 2006 proxy.
Closes COUCHDB-1128.
Thanks Paul Davis and Andrew Gleave.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095204 13f79535-47bb-0310-9956-ffa450edef68
|
|
Avoid ocassional crash (noproc error on gen_server call)
This happens, for examplem after compacting a database immediately
after one of its view groups is compacted.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095190 13f79535-47bb-0310-9956-ffa450edef68
|
|
couch_httpd_proxy: IPv6 addresses must be surrounded by square brackets
As dictacted by RFC 2732. IPv6 support was enabled by ibrowse 2.2.0.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094706 13f79535-47bb-0310-9956-ffa450edef68
|
|
Fixing replicator_db.js test failures due to timing issues
Failures in this test shouldn't happen so frequently on slower
machines anymore.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094480 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator: fix proxy feature after upgrading ibrowse to version 2.2.0
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094420 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094205 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094202 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094201 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094199 13f79535-47bb-0310-9956-ffa450edef68
|
|
In show and list functions in the Javascript query server, the this
member is a reference to the design doc object. The same should be true
in the functions registered by Mime.provides(), for consistency.
Closes COUCHDB-959
Patch by Tim Smith.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094140 13f79535-47bb-0310-9956-ffa450edef68
|
|
Closes COUCHDB-1015
Patch by Benjamin Young.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094083 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094081 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094079 13f79535-47bb-0310-9956-ffa450edef68
|
|
Closes COUCHDB-1014
Patch by Benjamin Young.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094077 13f79535-47bb-0310-9956-ffa450edef68
|
|
in their id.
Closes COUCHDB-1111
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094050 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094042 13f79535-47bb-0310-9956-ffa450edef68
|
|
Found this while debugging COUCHDB-1116.
Closes COUCHDB-1116
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094031 13f79535-47bb-0310-9956-ffa450edef68
|
|
Closes COUCHDB-1016
Patch by Felix Hummel.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094025 13f79535-47bb-0310-9956-ffa450edef68
|
|
Include OTP minor release information in the Server header
This is mostly to help diagnose issues that might be related
to specific OTP releases.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1092251 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator: retry connection to remote _changes on close
This clause was missing. Two different ibrowse errors signal
that the connection was closed: sel_conn_closed and connection_closed.
The later is received for streaming connections (like those to _changes).
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1092109 13f79535-47bb-0310-9956-ffa450edef68
|
|
Add support for replication over IPv6 (part 2)
On redirect, enclose the IPv6 address between square brackets (RFC 2732).
Closes COUCHDB-665.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1091742 13f79535-47bb-0310-9956-ffa450edef68
|
|
Add support for replication over IPv6 (part 1)
This change upgrades ibrowse to version 2.2.0. This version adds support
for IPv6 (https://github.com/cmullaparthi/ibrowse/pull/34).
This is part of COUCHDB-665.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1091741 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1088544 13f79535-47bb-0310-9956-ffa450edef68
|
|
In OTP versions prior to R14B02, the OAuth signature was correctly calculated
due to a bug in the OTP stdlib. This was fixed in R14B02 (OTP-8989, check
http://erlang.org/download/otp_src_R14B02.readme).
Before R14B02:
Erlang R14B01 (erts-5.8.2) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.8.2 (abort with ^G)
1> lists:flatten(io_lib:format("%~2.1.0s", [erlang:integer_to_list($+, 16)])).
"%2B"
In R14B02:
Erlang R14B02 (erts-5.8.3) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.8.3 (abort with ^G)
1> lists:flatten(io_lib:format("%~2.1.0s", [erlang:integer_to_list($+, 16)])).
"%02"
This doesn't affect the erlang-oauth application in trunk, since it's a more recent version
with a different implementation.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1087661 13f79535-47bb-0310-9956-ffa450edef68
|
|
conflicted
document.
Closes COUCHDB-1065
Patch by Randall Leeds, verified by Robert Dionne.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1086240 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator: fix error when restarting replications in OTP R14B02
This is a workaround for a change introduced in OTP R14B02 to the supervisor
module. There's an erlang-bugs thread about this issue:
http://erlang.org/pipermail/erlang-bugs/2011-March/002273.html
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1086186 13f79535-47bb-0310-9956-ffa450edef68
|
|
Fix for crashes in continuous and filtered changes feeds
Fixes COUCHDB-1093.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1086009 13f79535-47bb-0310-9956-ffa450edef68
|
|
Closes COUCHDB-1056
Patch by Randall Leeds.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1085801 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1083325 13f79535-47bb-0310-9956-ffa450edef68
|
|
Add replication ID version information to checkpoints
Now that we have versioned replication IDs (introduced by COUCHDB-810),
it's useful to know which version is being used in the replication
checkpoints. This is mostly for debugging purposes.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1081107 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator database: only validate user_ctx if doc is not being deleted
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1081104 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator manager: do basic validation of replication documents
Now the default design document of the replicator database validates
each replication document added to the database so that necessary
fields must be present and have the right type, and optional replication
related fields have the correct type as well.
Closes COUCHDB-1088.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1080954 13f79535-47bb-0310-9956-ffa450edef68
|
|
Parameter "include_docs" now honors parameter "conflicts"
When querying a map view, /db/_all_docs/ or /db/_changes/ with
"include_docs=true", if "conflicts=true" is given as well, the
documents will contain the conflicts list (if there are conflicting
revisions).
Closes COUCHDB-549.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1079941 13f79535-47bb-0310-9956-ffa450edef68
|
|
Renamed module couch_rep_db_listener to couch_replication_manager
This new name is more appropriate since it describes more precisely
what the modules does.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1079478 13f79535-47bb-0310-9956-ffa450edef68
|
|
Catch all in couch_util:to_binary/1 list argument clause
When a list_to_binary call fails, the error tag is 'error' and not 'throw'.
This was noticed when this clause was being hit in an error clause of the
replication http handler (couch_httpd_replicator.erl).
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1078317 13f79535-47bb-0310-9956-ffa450edef68
|
|
Added replicator database compaction test
A test to confirm that ongoing replications are not
stopped when/after the replicator database is compacted.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1076570 13f79535-47bb-0310-9956-ffa450edef68
|
|
Replicator database: add document ID to log message
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1071791 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1071191 13f79535-47bb-0310-9956-ffa450edef68
|