Permalink
Commits on May 5, 2012
  1. Limit rewrite recursion depth

    Loops in the rewriter would end up pegging the CPU until memory was
    exhausted. Max recursion is now configurable and limited to 100
    iterations.
    
    Fixes: COUCHDB-1441
    RonnyPfannschmidt committed with benoitc Mar 28, 2012
  2. Do not overwrite X-CouchDB-Requested-Path

    Repeated rewrites would replace the initial value of
    X-CouchDB-Requested-Path.
    
    Fixes: COUCHDB-1442
    RonnyPfannschmidt committed with benoitc Mar 23, 2012
  3. Fixing the replicator_db JS test

    davisp committed with benoitc Mar 26, 2012
  4. Fix race condition in the auth db creation

    This test deletes a database and then tries to go and write to it
    without ensuring that it exists. This is just a race with the auth cache
    code trying to recreate its own database. This addition just makes sure
    it exists by trying to create it and ignoring any 412 errors if the auth
    cache won the race.
    davisp committed with benoitc Mar 25, 2012
  5. Fix random failures in replication.js test

    This should fix the random failures for the 'expected "25" got "31"
    error message that pops up occasionally. If my hunch is correct when we
    remove the two docs from the source db its possible to get the writes on
    the target out of order depending on a race condition.
    
    This just sleeps a bit in between the deletions to try and reduce that
    possibility. I haven't spotted this error after applying this patch.
    davisp committed with benoitc Mar 25, 2012
  6. Make password hashing synchronous when using the /_config/admins API.

    This should account for many intermittent JavaScript test suite errors.
    
    The patch retains hashing admins on couch_server start to account for
    users editing their .ini files directly.
    
    Knowledge about password hash prefixes and the password hashing itself
    has been moved to couch_passwords.
    
    Thanks to Dale Harvey and Robert Newson for helping me to hunt this down
    and shaping and reviewing the patch.
    janl committed with benoitc Apr 23, 2012
  7. Added 1.2.1 sections

    nslater committed with benoitc Apr 7, 2012
  8. COUCHDB-1060 - Fix tests

    rnewson committed with benoitc Apr 6, 2012
Commits on Apr 20, 2012
Commits on Apr 14, 2012
  1. we don't care if they die.

    benoitc committed Apr 14, 2012
Commits on Apr 13, 2012
  1. 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)
    while the replication manager is doing a call to the replication
    supervisor because the other replication just finished.
    
    COUCHDB-1461
    fdmanana committed with benoitc Apr 13, 2012
Commits on Apr 10, 2012
  1. make sure that query_params are always took in consideration on the

    signature. So we can differenciate the replications by passing an id for
    ex.
    benoitc committed Apr 10, 2012
Commits on Apr 9, 2012
Commits on Apr 8, 2012
  1. premilinary support for etap tests.

    Fort now it's disconnected from make check to run them do:
    
        $ make reltest
        $ make etap
    
    It will then add the test release libs to the codepath and run the etap
    tests from different projects
    benoitc committed Apr 7, 2012
Commits on Apr 4, 2012
  1. fix travis.yml

    benoitc committed Apr 4, 2012
  2. add build status

    benoitc committed Apr 4, 2012
  3. add deps to PHONY

    benoitc committed Apr 4, 2012
  4. make sure make check goes well

    benoitc committed Apr 4, 2012
  5. sync with couch

    benoitc committed Apr 4, 2012
  6. fix _changes etag .

    The normal feed wasn't detected due to a bad pattern matching.
    discovered while running make check.
    benoitc committed Apr 4, 2012
  7. fix WITHOUT_CURL build

    benoitc committed Apr 4, 2012
Commits on Apr 3, 2012
  1. add unittests to couch_core.

    - re-add support for curl in couchjs. It can be disabble by passing the
      environement variable WITHOUT_CURL=1
    - add `make check` so we can run tests on couch_core. This is only
      testing JS test on the console for now. It works by creating a release
    and launching it. Tests are done on http://127.0.0.1:15984 by default.
    It can be changed by editing test/couch_dev.config .
    benoitc committed Apr 3, 2012
  2. sync tests & couch.js

    benoitc committed Apr 3, 2012
  3. sync couchjs server side

    benoitc committed Apr 3, 2012