Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 20, 2012
  1. windows support in escript for refuge-build

    fairwinds authored
Commits on May 19, 2012
  1. add windows support branches to nifs repos

    fairwinds authored
Commits on May 17, 2012
  1. @benoitc

    vhosts values should not be empty.

    benoitc authored
    A vhost value can be empty when removed with the couch_config module.
Commits on May 16, 2012
  1. @benoitc

    all should be compile & deps.

    benoitc authored
  2. @benoitc
  3. @benoitc
  4. @benoitc

    fix whitespaces

    benoitc authored
  5. @benoitc
Commits on May 12, 2012
  1. @benoitc

    filter fields in included doc when returned from a _changes

    benoitc authored
    With this changes you can only return a specified list of fields in the
    included docs by passing the list of them to an optionnal `fields`
    parameter. For now nested fields are ignored.
        $ curl -XPUT localhost:5984/testdb
        $ curl -XPUT localhost:5984/testdb/test -d'{"f1": 1, "f2": 2, "f3":
        $ curl -XPUT localhost:5984/testdb/test1 -d'{"f1": 1, "f2": 4, "f3":
        $ curl -XPUT localhost:5984/testdb/test2 -d'{"f1": 1, "f2": 7, "f3":
        $ curl "http://localhost:5984/testdb/_changes?include_docs=true"
        $ curl
        $ curl
  2. @benoitc
Commits on May 10, 2012
  1. @benoitc

    add support of Server-Sent Events protocol to db changes API.

    benoitc authored
    This patch add support for the new specification of w3c by adding a new
    feed type named `eventsource`:
        $ curl
        id: 1
        id: 2
Commits on May 7, 2012
  1. @benoitc

    Add dropbox databases support.

    benoitc authored
    Dropobx databases are databases only acceping write but can only be read
    by selected users. Only nodes' admins or dropbox members can read
    that have  been dropped in a dropbox database.
    To mark a database as a Drop Box, add the property `{"dropbox": true}`
    to the security object.
    Dropbox members are admins (global or db admins) and users sets in the
    `dropbox_members` property:
        {"dropbox_members": {"names": [], "roles": []}}
    Example of usage:
        $ curl -XPUT admin:test@
        $ curl -XPUT -d'{}'
        $ curl -XPUT -d'{}'
        $ curl -XGET
        $ curl -XGET
        $ curl -XPUT admin:test@ -d'{"dropbox": true}'
        $ curl -XGET
        {"error":"forbidden","reason":"Only administrators can view docs in a dropbox database."}
        $ curl -XGET
        {"error":"forbidden","reason":"Only admins can access _all docs"}
        $ curl -XPUT -d'{}'
        $ curl -XGET
        {"error":"forbidden","reason":"Only administrators can view docs in a dropbox database."}
        $ curl -XGET admin:test@
  2. @benoitc

    make sure that ClearPassword string is handled.

    benoitc authored
    When you set a clear password in the config, the
    `couch_passwords:hash_admin_password/1` get a string instead of a
Commits on May 5, 2012
  1. @dch @benoitc

    Added Magnus Hoff to apps/couch/THANKS

    dch authored benoitc committed
  2. @maghoff @benoitc

    Merged pull request #19 from @maghoff with thanks

    maghoff authored benoitc committed
    Fix failed loading of CommonJS modules that end in a line comment.
  3. @rnewson @benoitc

    Use TEquals for great good

    rnewson authored benoitc committed
  4. @davisp @benoitc

    Silence compiler warning

    davisp authored benoitc committed
  5. @davisp @benoitc

    Update changes with JS CLI test changes

    davisp authored benoitc committed
  6. @davisp @benoitc

    Added Ronny Pfannschmidt to the apps/couch/THANKS

    davisp authored benoitc committed
  7. @benoitc

    Limit rewrite recursion depth

    Ronny Pfannschmidt authored benoitc committed
    Loops in the rewriter would end up pegging the CPU until memory was
    exhausted. Max recursion is now configurable and limited to 100
    Fixes: COUCHDB-1441
  8. @benoitc

    Do not overwrite X-CouchDB-Requested-Path

    Ronny Pfannschmidt authored benoitc committed
    Repeated rewrites would replace the initial value of
    Fixes: COUCHDB-1442
  9. @davisp @benoitc

    Fixing the replicator_db JS test

    davisp authored benoitc committed
  10. @davisp @benoitc

    Fix race condition in the auth db creation

    davisp authored benoitc committed
    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.
  11. @davisp @benoitc

    Fix random failures in replication.js test

    davisp authored benoitc committed
    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.
  12. @janl @benoitc

    Make password hashing synchronous when using the /_config/admins API.

    janl authored benoitc committed
    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.
  13. @nslater @benoitc

    Added 1.2.1 sections

    nslater authored benoitc committed
  14. @rnewson @benoitc

    COUCHDB-1060 - Fix tests

    rnewson authored benoitc committed
  15. @rnewson @benoitc

    COUCHDB-1060 - Prevent _admin appearing twice

    rnewson authored benoitc committed
  16. @rnewson @benoitc

    COUCHDB-1060 - fix _admin for both clauses

    rnewson authored benoitc committed
  17. @rnewson @benoitc

    Ensure admin rights for admins in both config and users db

    rnewson authored benoitc committed
  18. @rnewson @benoitc

    COUCHDB-1060 - Switch to PBKDF2 for new passwords

    rnewson authored benoitc committed
Commits on Apr 20, 2012
  1. @benoitc
Commits on Apr 14, 2012
  1. @benoitc

    we don't care if they die.

    benoitc authored
Commits on Apr 13, 2012
  1. @fdmanana @benoitc

    Avoid possible timeout initializing replications

    fdmanana authored benoitc committed
    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.
Something went wrong with that request. Please try again.