Permalink
Commits on Mar 13, 2011
  1. Add replication ID version information to checkpoints

    fdmanana committed Mar 13, 2011
    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/trunk@1081106 13f79535-47bb-0310-9956-ffa450edef68
  2. Fix grammar error in error message

    fdmanana committed Mar 13, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1081100 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 12, 2011
  1. Replicator manager: do basic validation of replication documents

    fdmanana committed Mar 12, 2011
    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/trunk@1080953 13f79535-47bb-0310-9956-ffa450edef68
  2. Replication manager: restart replications that end up in an error state

    fdmanana committed Mar 12, 2011
    Closes COUCHDB-1085
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1080950 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 9, 2011
  1. Deal with unsupported database versions more gracefully

    fdmanana committed Mar 9, 2011
    Instead of crashing with a function_clause error, allow the updater to throw
    the error '{database_disk_version_error, "Incorrect disk header version"}'
    when opening more recent, unsupported, database files.
    This is part of COUCHDB-1081.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1079966 13f79535-47bb-0310-9956-ffa450edef68
  2. Minor refactoring of couch_changes.erl

    fdmanana committed Mar 9, 2011
    Use a record for the accumulator used by the database changes
    fold function. This makes the much more readable, easier to
    extend and slightly less verbose.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1079945 13f79535-47bb-0310-9956-ffa450edef68
  3. Parameter "include_docs" now honors parameter "conflicts"

    fdmanana committed Mar 9, 2011
    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/trunk@1079939 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 8, 2011
  1. Adapt replication manager to the new replicator's code

    fdmanana committed Mar 8, 2011
    Now all the replication document management is done only by the
    couch_replication_manager module, instead of being split by this
    module and replication gen_servers. The code is also simpler now,
    since it uses the couch_replication_notifier gen_event.
    
    This is a pure refactoring, not adding any new behaviour.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1079483 13f79535-47bb-0310-9956-ffa450edef68
  2. Renamed module couch_rep_db_listener to couch_replication_manager

    fdmanana committed Mar 8, 2011
    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/trunk@1079475 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 5, 2011
  1. Fix case clause in the replicator database listener

    fdmanana committed Mar 5, 2011
    This clause was never matched.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1078278 13f79535-47bb-0310-9956-ffa450edef68
  2. Replicator: better behaviour on checkpoint failure

    fdmanana committed Mar 5, 2011
    Replicator processes now terminate immediately after a checkpoint failure.
    Checkpoint error detection and logging is improved as well.
    
    Issue identified by, and initial patch provided by Randall. Thanks.
    Closes COUCHDB-1080.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1078273 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 3, 2011
  1. Added replicator database compaction test

    fdmanana committed Mar 3, 2011
    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/trunk@1076569 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 2, 2011
  1. Throw conflict in the remote clause of couch_api_wrap:update_doc/4

    fdmanana committed Mar 2, 2011
    This is to mimic the behaviour of the local database clause of this
    function.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1076410 13f79535-47bb-0310-9956-ffa450edef68
  2. Catch all in couch_util:to_binary/1 list argument clause

    fdmanana committed Mar 2, 2011
    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/trunk@1076368 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 1, 2011
  1. Fix authentication failure when a username contains colons

    fdmanana committed Mar 1, 2011
    Closes COUCHDB-1072.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1075891 13f79535-47bb-0310-9956-ffa450edef68
  2. fix error spotted by @enquora on irc. Don't load rules when it isn't …

    Benoit Chesneau
    Benoit Chesneau committed Mar 1, 2011
    …needed. ALso fix tests.wq
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1075728 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 26, 2011
  1. fix COUCHDB-855 . now the gen_server is only used to store vhosts set…

    Benoit Chesneau
    Benoit Chesneau committed Feb 26, 2011
    …tings. It also reload them when they change.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1074816 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 22, 2011
  1. Removed unnecessary guard

    fdmanana committed Feb 22, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1073294 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 19, 2011
  1. Removed unused function clause

    fdmanana committed Feb 19, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1072364 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 17, 2011
  1. Replicator database: add document ID to log message

    fdmanana committed Feb 17, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1071790 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 16, 2011
  1. Added the new replicator implementation

    fdmanana committed Feb 16, 2011
    Closes COUCHDB-1024. An introduction to this new implementation was given
    in the development mailing list:  http://s.apache.org/KsY
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1071375 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 14, 2011
  1. _all_docs rows must not deleted include documents

    fdmanana committed Feb 14, 2011
    After COUCHDB-1061, when POSTing to _all_docs?include_docs=true with
    the body "keys" option, deleted documents were part part of the output.
    The "doc" property of each _all_docs row should have the value 'null'
    for all deleted documents (when ?include_docs=true).
    A test was added to help prevent this from happening again.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1070625 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 13, 2011
  1. Only accept application/json from jquery.couch.js

    rnewson committed Feb 13, 2011
    Since Filipe's fix for parsing the accepted content types at r1041103, returns from
    $.ajax could return a 302 that redirects to an HTML page. Functions like activeTasks()
    expect JSON and barf when fed HTML.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1070279 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 10, 2011
  1. Added more tests to all_docs.js

    fdmanana committed Feb 10, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1069268 13f79535-47bb-0310-9956-ffa450edef68
  2. More efficient _changes?include_docs=true and _all_docs?include_docs=…

    fdmanana committed Feb 10, 2011
    …true
    
    Closes COUCHDB-1061
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1069262 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 7, 2011
  1. More efficient logging, closes COUCHDB-1054

    fdmanana committed Feb 7, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1067873 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 5, 2011
  1. Upgrade jquery.form.js to v2.63

    jasondavies committed Feb 5, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1067425 13f79535-47bb-0310-9956-ffa450edef68
  2. Make compatible with jQuery 1.5.x

    jasondavies committed Feb 5, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1067420 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 3, 2011
  1. Fix whitepsace issues in test/etap/Makefile.am

    davisp committed Feb 3, 2011
      * Replaced some tabs with spaces in the EXTRA_DIST list.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1066948 13f79535-47bb-0310-9956-ffa450edef68
  2. Fix etap test errors during make distcheck.

    davisp committed Feb 3, 2011
      * Updated shebang lines to use /bin/sh -e
      * Fixed config file paths for VPATH builds
      * Updated test/etap/Makefile.am to have correct paths
        for the new shell scripts and random_port.ini
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1066932 13f79535-47bb-0310-9956-ffa450edef68
  3. Use shell scripts to trigger daemon errors.

    davisp committed Feb 3, 2011
    The old scripts were written with escript and were occasionally taking
    too long to boot the entire Erlang VM causing some of the timing based
    tests to fail. Using shell scripts should minimize the process start
    up times to avoid these spurious errors.
    
    Thanks to Adam Kocoloski for pointing out my ineptitude.
    Fixes COUCHDB-1055
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1066704 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 2, 2011
  1. cleaner fix for COUCHDB-969

    rnewson committed Feb 2, 2011
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1066597 13f79535-47bb-0310-9956-ffa450edef68
  2. Move _error resource config to startup

    kocolosk committed Feb 2, 2011
    This avoids a race condition where the HTTP daemon would restart but
    not load the _error proxy route.
    
    git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1066590 13f79535-47bb-0310-9956-ffa450edef68