git commit: COUCHDB-1424 Fix etap to not consume any message

2012-10-31 Thread fdmanana
Updated Branches: refs/heads/1424-fix-etap-consuming-any-test-message [created] 67d531b02 COUCHDB-1424 Fix etap to not consume any message Turns out that etap consumes any message in the mailbox in some cases. This can make some tests that use message passing hang, as etap itself consumes the

git commit: Avoid possible timeout initializing replications

2012-05-25 Thread fdmanana
Updated Branches: refs/heads/master a6eaf9f15 - e4d3e15ca Avoid possible timeout initializing replications If 2 different replications start and finish at about the same time, there's a chance one is doing a synchronous gen_server call to the replication manager (to notify it that it started)

git commit: Avoid possible timeout initializing replications

2012-05-25 Thread fdmanana
Updated Branches: refs/heads/1.2.x 51000fd9c - 5f93f0414 Avoid possible timeout initializing replications If 2 different replications start and finish at about the same time, there's a chance one is doing a synchronous gen_server call to the replication manager (to notify it that it started)

git commit: More efficient view updates

2012-03-05 Thread fdmanana
Updated Branches: refs/heads/1.2.x d78bd158b - fb72251bc More efficient view updates In several scenarios the writer process of the view updater was collecting very small batches of map values, which is not optimal regarding efficiency. This change ensures the batches are larger by queing

git commit: Fix fold reduce with non-inclusive end key

2012-02-22 Thread fdmanana
Updated Branches: refs/heads/1.2.x ba271a70b - 368ca5d02 Fix fold reduce with non-inclusive end key Fold reducing a btree with with end_key_gt was not producing the correct values. For example, for view queries with startkey and starkey_docid and/or endkey and endkey_docid and inclusive_end

git commit: Update CHANGES/NEWS to reflect COUCHDB-1413

2012-02-22 Thread fdmanana
Updated Branches: refs/heads/master edbbe4319 - 3c8432e4d Update CHANGES/NEWS to reflect COUCHDB-1413 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/3c8432e4 Tree:

git commit: Update CHANGES/NEWS to reflect COUCHDB-1413

2012-02-22 Thread fdmanana
Updated Branches: refs/heads/1.2.x 368ca5d02 - 13fbee4ab Update CHANGES/NEWS to reflect COUCHDB-1413 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/13fbee4a Tree:

git commit: Fix fold reduce with non-inclusive end key

2012-02-21 Thread fdmanana
Updated Branches: refs/heads/master fd0ca45d2 - 1e6a1b526 Fix fold reduce with non-inclusive end key Fold reducing a btree with with end_key_gt was not producing the correct values. For example, for view queries with startkey and starkey_docid and/or endkey and endkey_docid and inclusive_end

git commit: JSON encode start seq number in _changes requests

2012-02-09 Thread fdmanana
Updated Branches: refs/heads/master 970f01836 - 597de1b99 JSON encode start seq number in _changes requests This ensures replication from BigCouch 0.4 works. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/597de1b9

git commit: JSON encode start seq number in _changes requests

2012-02-09 Thread fdmanana
Updated Branches: refs/heads/1.2.x 836cfff20 - 3458eb462 JSON encode start seq number in _changes requests This ensures replication from BigCouch 0.4 works. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/3458eb46

git commit: Don't include rev tree in credentials

2012-01-28 Thread fdmanana
Updated Branches: refs/heads/master 127cbe36c - bb3862ee7 Don't include rev tree in credentials couch_query_servers:json_doc/1 adds the full revision tree to the resulting EJSON object. This is not necessary at all. Detail noticed thanks to COUCHDB-1390. Project:

git commit: Ensure compaction respects compression setting

2012-01-26 Thread fdmanana
Updated Branches: refs/heads/master 6282b5d03 - 7309340cf Ensure compaction respects compression setting For a database with file format version 6 (CouchDB 1.2+), if the file_compression setting was changed, compaction ignored it, making it impossible to change the compression method of a

git commit: Ensure compaction respects compression setting

2012-01-26 Thread fdmanana
Updated Branches: refs/heads/1.2.x c7765f657 - 450f4e2bb Ensure compaction respects compression setting For a database with file format version 6 (CouchDB 1.2+), if the file_compression setting was changed, compaction ignored it, making it impossible to change the compression method of a

git commit: Small tweaks to test 242-replication-many-leaves.t

2012-01-23 Thread fdmanana
Updated Branches: refs/heads/master 50ae62f71 - 84366a5aa Small tweaks to test 242-replication-many-leaves.t These tweaks make the test pass on slower machines/environments. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

git commit: Small tweaks to test 242-replication-many-leaves.t

2012-01-23 Thread fdmanana
Updated Branches: refs/heads/1.2.x 384a75b65 - b1d8738a6 Small tweaks to test 242-replication-many-leaves.t These tweaks make the test pass on slower machines/environments. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

git commit: Close view compaction file when compaction is canceled

2012-01-22 Thread fdmanana
Updated Branches: refs/heads/1.2.x c43fbc921 - 12a593c61 Close view compaction file when compaction is canceled Closes COUCHDB-1384 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/12a593c6 Tree:

[3/50] git commit: Fix test test/etap/075-auth-cache.t

2012-01-22 Thread fdmanana
Fix test test/etap/075-auth-cache.t Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0ea61035 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0ea61035 Diff:

[1/50] git commit: Merge remote-tracking branch 'asf-write/master' into COUCHDB-1342

2012-01-22 Thread fdmanana
Updated Branches: refs/heads/COUCHDB-1342 4f7336ed3 - 209e65ef1 Merge remote-tracking branch 'asf-write/master' into COUCHDB-1342 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/209e65ef Tree:

[4/50] git commit: Remove dead _all_docs code

2012-01-22 Thread fdmanana
Remove dead _all_docs code Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d59cdd71 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d59cdd71 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d59cdd71

[5/50] git commit: Merge remote-tracking branch 'asf-write/master' into COUCHDB-1342

2012-01-22 Thread fdmanana
Merge remote-tracking branch 'asf-write/master' into COUCHDB-1342 Conflicts: src/couchdb/couch_db.erl Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/62ce6101 Tree:

[8/50] git commit: updated INSTALL.Unix instructions for homebrew on Mac OS X

2012-01-22 Thread fdmanana
updated INSTALL.Unix instructions for homebrew on Mac OS X Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d7cbddc4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d7cbddc4 Diff:

[6/50] git commit: Propagate file read errors to callers

2012-01-22 Thread fdmanana
Propagate file read errors to callers Instead of having the file reader process crash with a badmatch after a file:pread/3, send the result to to the caller, which will in turn get a badmatch error. The advantage of this is to get a much more meaningful stack trace (relative to the client).

[9/50] git commit: Fix SpiderMonkey version detection

2012-01-22 Thread fdmanana
Fix SpiderMonkey version detection Randall's last patch to only test for JSOPTION_ANONFUNFIX ended up reordering the test before the headers were located. This ran into errors in version detection. This patch reorders the header location as well as adds a few more default search paths when no

[11/50] git commit: Fix ets lookup case_clause error after ddoc is updated

2012-01-22 Thread fdmanana
Fix ets lookup case_clause error after ddoc is updated This happens if the ddoc_updated event is received after a client opens the new view group or if a design document is updated several times in a row and there are still clients streaming views from 2 or more view groups that match old

[12/50] git commit: Fixes for COUCHDB-188 fix

2012-01-22 Thread fdmanana
Fixes for COUCHDB-188 fix On conflict, keep using the current revision tree. Issue noticed by Paul Davis. Thanks. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ca51333f Tree:

[13/50] git commit: COUCHDB-1380 Revert Better logger performance

2012-01-22 Thread fdmanana
COUCHDB-1380 Revert Better logger performance This reverts commit 9f2398faef3936a844caffbaf3eef8675383ccfd which switched couch_log to use disk_log. Unfortunately that module performs positioned writes which prevents the usual logrotation strategy from working correctly. Project:

[15/50] git commit: fix couch_httpd:host_for_request/1 for ssl

2012-01-22 Thread fdmanana
fix couch_httpd:host_for_request/1 for ssl Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/1e284b97 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1e284b97 Diff:

[10/50] git commit: Allow persistent cookies

2012-01-22 Thread fdmanana
Allow persistent cookies COUCHDB-1304 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/da33e344 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/da33e344 Diff:

[14/50] git commit: Move myself from THANKS to AUTHORS with new spiffy @apache.org email

2012-01-22 Thread fdmanana
Move myself from THANKS to AUTHORS with new spiffy @apache.org email Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ef368d7c Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ef368d7c Diff:

[17/50] git commit: Use enif_is_number on OTP R15B or higher

2012-01-22 Thread fdmanana
Use enif_is_number on OTP R15B or higher The NIF API in OTP R15B introduced the enif_is_number function. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/fcd7f804 Tree:

[21/50] git commit: COUCHDB-1339 - stop couchdb on js cli exits

2012-01-22 Thread fdmanana
COUCHDB-1339 - stop couchdb on js cli exits Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2921c786 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2921c786 Diff:

[20/50] git commit: improve the startup delay for js test harness

2012-01-22 Thread fdmanana
improve the startup delay for js test harness Change waitForSuccess to catch errors in the sync request that's used to hand control back to the JS engine. Then, use waitForSuccess to see if CouchDB has started and remove the 1 second sleep before the tests start. Project:

[22/50] git commit: Don't send Content-Type in GET/HEAD requests

2012-01-22 Thread fdmanana
Don't send Content-Type in GET/HEAD requests This partially reverts 55d2c9e390cf06a76ff6715a60b85f8f4ca26f97, adding only a Content-Type of application/json to post requests against _revs_diff. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[24/50] git commit: Set COUCHDB_NO_START=1 to not start CouchDB during JavaScript tests

2012-01-22 Thread fdmanana
Set COUCHDB_NO_START=1 to not start CouchDB during JavaScript tests This restores the previous default behaviour. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/eedf901f Tree:

[25/50] git commit: Cache-bust every attachment range GET

2012-01-22 Thread fdmanana
Cache-bust every attachment range GET This appears to expose a bug in Chrome for an edge case. There's a test that sends Range: bytes=0-29 for an item that is one byte shorter than the requested range. Curl, Firefox and Safari correctly returns; Content-Range: bytes 0-28/29 Content-Length: 29

[23/50] git commit: Break out JavaScript test suite into separate make target `check-js`.

2012-01-22 Thread fdmanana
Break out JavaScript test suite into separate make target `check-js`. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4d8a8668 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4d8a8668 Diff:

[27/50] git commit: Use default content-type application/json

2012-01-22 Thread fdmanana
Use default content-type application/json Some requests made by the replicator were missing a Content-Type header. By default now all requests have a Content-Type of application/json. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[29/50] git commit: Update CHANGES NEWS to reflect COUCHDB-188

2012-01-22 Thread fdmanana
Update CHANGES NEWS to reflect COUCHDB-188 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/975ea08c Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/975ea08c Diff:

[26/50] git commit: Add a cache buster for Chrome to attachment_ranges test

2012-01-22 Thread fdmanana
Add a cache buster for Chrome to attachment_ranges test Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/07c78bf4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/07c78bf4 Diff:

[28/50] git commit: Add heartbeat parameter to all _changes requests

2012-01-22 Thread fdmanana
Add heartbeat parameter to all _changes requests Even non-continuous _changes requests, particularly filtered ones, can cause long periods of inactivity. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/a2d57c8b Tree:

[31/50] git commit: Fix check of conflicts for replication tests

2012-01-22 Thread fdmanana
Fix check of conflicts for replication tests The conflicts option belongs to couch_db:open_doc/3 and not to couch_doc:to_json_obj/2. Also added the deleted_conflicts option. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[30/50] git commit: Fix document deletion followed by creation

2012-01-22 Thread fdmanana
Fix document deletion followed by creation If the updater collects 2 updates for the same document where the first deletes it and the second creates it, it would send a conflict error to the client of the create request. This wouldn't happen if the 2 requests were collected in 2 different batches

[32/50] git commit: COUCHDB-1152 remove icu version dependency (win)

2012-01-22 Thread fdmanana
COUCHDB-1152 remove icu version dependency (win) Patch by Dave Cottlehuber. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/1054f949 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1054f949 Diff:

[35/50] git commit: COUCHDB-1042 - restore libcurl as soft dependency

2012-01-22 Thread fdmanana
COUCHDB-1042 - restore libcurl as soft dependency Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/bf7c74ed Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/bf7c74ed Diff:

[34/50] git commit: Revert Add ICU_CPPFLAGS to ICU_C|_CXXFLAGS

2012-01-22 Thread fdmanana
Revert Add ICU_CPPFLAGS to ICU_C|_CXXFLAGS As of 32fb9f8e0416910a2431227b5fbdeef93ccd94bc this should no longer be necessary. This reverts commit 2d90a1249dea1d02d46266d52a0d269f0a33dbb0. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[33/50] git commit: don't ln the couchjs install target on windows

2012-01-22 Thread fdmanana
don't ln the couchjs install target on windows On windows we install binaries directly into $(prefix)/bin rather than a local bin directory hidden away in the erlang module. Therefore, when building this way, don't try to create a symbolic link into the final location since the final location has

[36/50] git commit: Happy New Year

2012-01-22 Thread fdmanana
Happy New Year Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/39d81d5a Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/39d81d5a Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/39d81d5a Branch:

[37/50] git commit: Remove console.log() statements from test

2012-01-22 Thread fdmanana
Remove console.log() statements from test Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/99c3467a Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/99c3467a Diff:

[38/50] git commit: Update CHANGES NEWS to reflect COUCHDB-1238

2012-01-22 Thread fdmanana
Update CHANGES NEWS to reflect COUCHDB-1238 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6cf3e095 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6cf3e095 Diff:

[40/50] git commit: Improve test 05-replication-many-leaves.t

2012-01-22 Thread fdmanana
Improve test 05-replication-many-leaves.t The test now includes attachments to verify that the incremental attachment replication code path succeeds when there are many leaf revisions of a document with attachments. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[43/50] git commit: Update etap tests for System Database Security

2012-01-22 Thread fdmanana
Update etap tests for System Database Security Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5408c68b Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/5408c68b Diff:

[45/50] git commit: remove trailing whitespace

2012-01-22 Thread fdmanana
remove trailing whitespace Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ee19fd94 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ee19fd94 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ee19fd94

[39/50] git commit: Allow OAuth credentials to be stored in user documents

2012-01-22 Thread fdmanana
('', parameters)} + }); +} + } + + + // this function will be called on the modified server + var testFun = function () { +var fdmanana = CouchDB.prepareUserDoc({ + name: fdmanana, + roles: [dev], + oauth: { +consumer_keys: { + key_foo: bar, + key_xpto

[46/50] git commit: fix whitespace

2012-01-22 Thread fdmanana
fix whitespace Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/e2e7e15e Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e2e7e15e Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e2e7e15e Branch:

[42/50] git commit: JavaScript tests for System Database Security

2012-01-22 Thread fdmanana
; + + var loginUser = function(username) { +var pws = { + jan: apple, + jchris: mp3, + fdmanana: foobar, + benoitc: test +}; +T(CouchDB.login(username, pws[username]).ok); + }; + + var repChanges = function(username) { +var pws = { + jan: apple, + jchris

[44/50] git commit: Fix admin users creation and user password change in futon.

2012-01-22 Thread fdmanana
Fix admin users creation and user password change in futon. main patch from jan, reviewed updated by me. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/3f2537fc Tree:

[49/50] git commit: CouchDB-1367 - Fix function_clause in _stats when no rows are emitted

2012-01-22 Thread fdmanana
CouchDB-1367 - Fix function_clause in _stats when no rows are emitted Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/389142e0 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/389142e0 Diff:

[50/50] git commit: Minor doc and configure fixes for old JS engines

2012-01-22 Thread fdmanana
Minor doc and configure fixes for old JS engines Old, 1.7 series, versions of SpiderMonkey don't have the symbol JSOPTION_ANONFUNFIX so don't perform the check for it unless building with a newer version (1.8.5+). And as long as 1.7 is still supported, don't say that 1.8 is required in the

[2/2] git commit: Fixes for COUCHDB-188 fix

2012-01-17 Thread fdmanana
Fixes for COUCHDB-188 fix On conflict, keep using the current revision tree. Issue noticed by Paul Davis. Thanks. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ca51333f Tree:

[1/2] git commit: Fix ets lookup case_clause error after ddoc is updated

2012-01-17 Thread fdmanana
Updated Branches: refs/heads/master 6228b1785 - ca51333f3 Fix ets lookup case_clause error after ddoc is updated This happens if the ddoc_updated event is received after a client opens the new view group or if a design document is updated several times in a row and there are still clients

git commit: Fix ets lookup case_clause error after ddoc is updated

2012-01-17 Thread fdmanana
Updated Branches: refs/heads/1.2.x 3b63f8daf - c65cca613 Fix ets lookup case_clause error after ddoc is updated This happens if the ddoc_updated event is received after a client opens the new view group or if a design document is updated several times in a row and there are still clients

git commit: Use enif_is_number on OTP R15B or higher

2012-01-08 Thread fdmanana
Updated Branches: refs/heads/master bcd5039af - fcd7f804a Use enif_is_number on OTP R15B or higher The NIF API in OTP R15B introduced the enif_is_number function. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[2/2] git commit: Fix content_negotiation.js test

2012-01-07 Thread fdmanana
Fix content_negotiation.js test Commit 351fe793a9c99c62f1b62ad71425dac4971d3bd8 broke a test assertion. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2c2da9af Tree:

[1/2] git commit: Fix typo in test comment

2012-01-07 Thread fdmanana
Updated Branches: refs/heads/1.2.x 157db510b - d380ea7b7 Fix typo in test comment Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d380ea7b Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d380ea7b Diff:

[3/3] git commit: Update CHANGES NEWS to reflect COUCHDB-188

2012-01-07 Thread fdmanana
Update CHANGES NEWS to reflect COUCHDB-188 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/975ea08c Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/975ea08c Diff:

[2/3] git commit: Fix document deletion followed by creation

2012-01-07 Thread fdmanana
Fix document deletion followed by creation If the updater collects 2 updates for the same document where the first deletes it and the second creates it, it would send a conflict error to the client of the create request. This wouldn't happen if the 2 requests were collected in 2 different batches

[1/3] git commit: Fix check of conflicts for replication tests

2012-01-07 Thread fdmanana
Updated Branches: refs/heads/master 1054f9493 - 975ea08c7 Fix check of conflicts for replication tests The conflicts option belongs to couch_db:open_doc/3 and not to couch_doc:to_json_obj/2. Also added the deleted_conflicts option. Project:

git commit: Fix check of conflicts for replication tests

2012-01-07 Thread fdmanana
Updated Branches: refs/heads/1.2.x 268fb7ab0 - 9fe299a59 Fix check of conflicts for replication tests The conflicts option belongs to couch_db:open_doc/3 and not to couch_doc:to_json_obj/2. Also added the deleted_conflicts option. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo

git commit: Add heartbeat parameter to all _changes requests

2012-01-07 Thread fdmanana
Updated Branches: refs/heads/master 975ea08c7 - a2d57c8bb Add heartbeat parameter to all _changes requests Even non-continuous _changes requests, particularly filtered ones, can cause long periods of inactivity. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

git commit: Use default content-type application/json

2012-01-07 Thread fdmanana
Updated Branches: refs/heads/master a2d57c8bb - 55d2c9e39 Use default content-type application/json Some requests made by the replicator were missing a Content-Type header. By default now all requests have a Content-Type of application/json. Project:

git commit: Use default content-type application/json

2012-01-07 Thread fdmanana
Updated Branches: refs/heads/1.2.x 9fe299a59 - 1f07088bb Use default content-type application/json Some requests made by the replicator were missing a Content-Type header. By default now all requests have a Content-Type of application/json. Project:

git commit: Don't send Content-Type in GET/HEAD requests

2012-01-07 Thread fdmanana
Updated Branches: refs/heads/master eedf901f7 - 8f0b4e64f Don't send Content-Type in GET/HEAD requests This partially reverts 55d2c9e390cf06a76ff6715a60b85f8f4ca26f97, adding only a Content-Type of application/json to post requests against _revs_diff. Project:

git commit: Don't send Content-Type in GET/HEAD requests

2012-01-07 Thread fdmanana
Updated Branches: refs/heads/1.2.x 0d8ddc808 - 3587e084e Don't send Content-Type in GET/HEAD requests This partially reverts 55d2c9e390cf06a76ff6715a60b85f8f4ca26f97, adding only a Content-Type of application/json to post requests against _revs_diff. Project:

[1/3] git commit: Remove console.log() statements from test

2012-01-05 Thread fdmanana
Updated Branches: refs/heads/master 75b6e09b5 - 99c3467a1 Remove console.log() statements from test Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/99c3467a Tree:

[2/3] git commit: Update CHANGES NEWS to reflect COUCHDB-1238

2012-01-05 Thread fdmanana
Update CHANGES NEWS to reflect COUCHDB-1238 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6cf3e095 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6cf3e095 Diff:

[3/3] git commit: Allow OAuth credentials to be stored in user documents

2012-01-05 Thread fdmanana
)} + }); +} + } + + + // this function will be called on the modified server + var testFun = function () { +var fdmanana = CouchDB.prepareUserDoc({ + name: fdmanana, + roles: [dev], + oauth: { +consumer_keys: { + key_foo: bar, + key_xpto: mars

git commit: Improve test 05-replication-many-leaves.t

2012-01-04 Thread fdmanana
Updated Branches: refs/heads/master 32fb9f8e0 - 75b6e09b5 Improve test 05-replication-many-leaves.t The test now includes attachments to verify that the incremental attachment replication code path succeeds when there are many leaf revisions of a document with attachments. Project:

git commit: Improve test 05-replication-many-leaves.t

2012-01-04 Thread fdmanana
Updated Branches: refs/heads/1.2.x 32a3b2eb7 - 4a22dc74d Improve test 05-replication-many-leaves.t The test now includes attachments to verify that the incremental attachment replication code path succeeds when there are many leaf revisions of a document with attachments. Project:

[3/3] git commit: Fix typo

2011-12-19 Thread fdmanana
Fix typo Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/93b7f34b Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/93b7f34b Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/93b7f34b Branch:

[2/3] git commit: Format ID as a string and not as an erlang binary

2011-12-19 Thread fdmanana
Format ID as a string and not as an erlang binary Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d20a4a8a Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d20a4a8a Diff:

[1/3] git commit: Fix merging of documents with attachment stubs

2011-12-19 Thread fdmanana
Updated Branches: refs/heads/master 8c700fb1a - 93b7f34bc Fix merging of documents with attachment stubs During replicated updates, merging of documents with attachment stubs will fail if, after merging the received document's revision tree with the current on disk revision tree, produces a

[1/3] git commit: Fix typo

2011-12-19 Thread fdmanana
Updated Branches: refs/heads/1.2.x d29398f23 - 7aa74fc3a Fix typo Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/7aa74fc3 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/7aa74fc3 Diff:

[3/3] git commit: Fix merging of documents with attachment stubs

2011-12-19 Thread fdmanana
Fix merging of documents with attachment stubs During replicated updates, merging of documents with attachment stubs will fail if, after merging the received document's revision tree with the current on disk revision tree, produces a revision tree which doesn't contain the revision that

[1/2] git commit: Fix build (couch_changes Erlang compilation errors)

2011-12-19 Thread fdmanana
Updated Branches: refs/heads/1.1.x 5bdd8ae7f - 65c39616f Fix build (couch_changes Erlang compilation errors) Broken in revision 6a04e333663596aba4a4d8889e63459b95ef99ff. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[2/2] git commit: Fix merging of documents with attachment stubs

2011-12-19 Thread fdmanana
Fix merging of documents with attachment stubs During replicated updates, merging of documents with attachment stubs will fail if, after merging the received document's revision tree with the current on disk revision tree, produces a revision tree which doesn't contain the revision that

git commit: Clear credentials cache if _users db crashes

2011-12-17 Thread fdmanana
Updated Branches: refs/heads/master 573a7bb90 - 84510eb0d Clear credentials cache if _users db crashes COUCHDB-1357 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/84510eb0 Tree:

git commit: Remove bad couch_db:close/1 call

2011-12-10 Thread fdmanana
Updated Branches: refs/heads/master 1aafbf4b3 - 8b9495158 Remove bad couch_db:close/1 call This is unnecessary as the changes feed loop will do the necessary database close once it starts waiting for database update events. Plus, this close call will fail when the database is deleted - this

git commit: Remove bad couch_db:close/1 call

2011-12-10 Thread fdmanana
Updated Branches: refs/heads/1.2.x 53a612793 - 25754acfd Remove bad couch_db:close/1 call This is unnecessary as the changes feed loop will do the necessary database close once it starts waiting for database update events. Plus, this close call will fail when the database is deleted - this

[1/2] git commit: Update CHANGES NEWS

2011-12-10 Thread fdmanana
Updated Branches: refs/heads/master 8b9495158 - 064bdd92c Update CHANGES NEWS Updated these files to reflect COUCHDB-1320 and COUCHDB-1321. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/064bdd92 Tree:

[2/2] git commit: Fix OAuth authentication with VHosts + URL rewriting

2011-12-10 Thread fdmanana
Fix OAuth authentication with VHosts + URL rewriting The OAuth handler was not getting the right path (the one the client used to compute its OAuth signature) to verify the client's signature. The right path is the one from before doing the VHost dispatch. Secondly, after the OAuth handler

[1/2] git commit: Update CHANGES NEWS

2011-12-10 Thread fdmanana
Updated Branches: refs/heads/1.2.x 25754acfd - 0d44192a1 Update CHANGES NEWS Updated these files to reflect COUCHDB-1320 and COUCHDB-1321. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0d44192a Tree:

[2/2] git commit: Fix OAuth authentication with VHosts + URL rewriting

2011-12-10 Thread fdmanana
Fix OAuth authentication with VHosts + URL rewriting The OAuth handler was not getting the right path (the one the client used to compute its OAuth signature) to verify the client's signature. The right path is the one from before doing the VHost dispatch. Secondly, after the OAuth handler

git commit: Use absolutes path in distclean-local make target

2011-12-06 Thread fdmanana
Updated Branches: refs/heads/master c31daee43 - 5be3eb3b5 Use absolutes path in distclean-local make target Noah's request. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/5be3eb3b Tree:

git commit: Fix file name in src/couch_replicator/Makefile.am

2011-12-05 Thread fdmanana
Updated Branches: refs/heads/master 40e15a8f3 - b68edd1bb Fix file name in src/couch_replicator/Makefile.am Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/b68edd1b Tree:

[1/2] git commit: Include replicion doc id in _active_tasks

2011-12-05 Thread fdmanana
Updated Branches: refs/heads/master 8f38cbed2 - c31daee43 Include replicion doc id in _active_tasks COUCHDB-1349 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/c31daee4 Tree:

[2/2] git commit: Add stats to replication docs

2011-12-05 Thread fdmanana
Add stats to replication docs When a replication finishes, add its stats to the respective document. These are the same stats as provided by the active tasks API. COUCHDB-1349 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

[1/2] git commit: Include replicion doc id in _active_tasks

2011-12-05 Thread fdmanana
Updated Branches: refs/heads/1.2.x df81c2a1f - 53a612793 Include replicion doc id in _active_tasks COUCHDB-1349 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/53a61279 Tree:

[2/2] git commit: Add stats to replication docs

2011-12-05 Thread fdmanana
Add stats to replication docs When a replication finishes, add its stats to the respective document. These are the same stats as provided by the active tasks API. COUCHDB-1349 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit:

git commit: Fix replicator db changes loop crash after _security update

2011-12-02 Thread fdmanana
Updated Branches: refs/heads/master 4d9f690da - 0c6f529a7 Fix replicator db changes loop crash after _security update The changes feed loop on the replicator database would crash if this database's _security object was updated. Closes COUCHDB-1353. Project:

git commit: Fix replicator db changes loop crash after _security update

2011-12-02 Thread fdmanana
Updated Branches: refs/heads/1.2.x f2a3a4cfb - df81c2a1f Fix replicator db changes loop crash after _security update The changes feed loop on the replicator database would crash if this database's _security object was updated. Closes COUCHDB-1353. Project:

  1   2   3   4   5   6   7   >