Permalink
Commits on Mar 27, 2014
  1. s/401/403

    rnewson committed Mar 27, 2014
  2. s/max/max_count

    rnewson committed Mar 27, 2014
Commits on Mar 25, 2014
Commits on Jun 28, 2013
  1. [tests] tidy up etap stream test output

    Closes COUCHDB-1082.
    trophybase committed with dch Jun 28, 2013
Commits on Jun 17, 2013
  1. Restore rev handling for _bulk_docs with all_or_nothing

    Commit 5b1430c added this hunk;
    
    -        {aborted, lists:map(
    -            fun({{Id,{Pos, [RevId|_]}}, Error}) ->
    -                {{Id, {Pos, RevId}}, Error};
    -            ({{Id,{0, []}}, Error}) ->
    -                {{Id, {0, <<>>}}, Error}
    -            end, PreCommitFailures)};
    +        {aborted,
    +         lists:foldl(fun({#doc{id=Id,revs={Pos, RevIds}}, Ref},Acc) ->
    +                         case lists:keyfind(Ref,1,PreCommitFailures) of
    +                         {Ref, Error} ->
    +                             [{{Id,{Pos,RevIds}}, Error} | Acc];
    +                         false ->
    +                             Acc
    +                         end
    +                     end,[],Docs3)};
    +
    
    This causes the full list of revisions to be passed to revid_to_str/1;
    
    revid_to_str(RevId) when size(RevId) =:= 16 ->
        ?l2b(couch_util:to_hex(RevId));
    revid_to_str(RevId) ->
        RevId.
    
    This falls through to the second case, which in turn leads to invalid
    JSON output when we convert the presumed iolist.
    
    This patch restores the code that takes only the head of the revisions
    list when present, and an artificial "0-" when it is not (in the case
    that the validation fails for a new document rather than an update).
    
    BugzID: 1772
    rnewson committed Jun 17, 2013
Commits on Jun 15, 2013
Commits on Jun 13, 2013
Commits on Jun 5, 2013
Commits on May 28, 2013
  1. Distribute test_setup.js

    nslater committed May 28, 2013
  2. Bump to 1.3.1

    nslater committed May 28, 2013
  3. Word wrap

    nslater committed May 28, 2013
  4. Update CHANGES for 1.3.1

    COUCHDB-1696
    dch committed May 28, 2013
  5. Save the auth values so if the AuthSession cookie has passed the Time…

    … left threshold it gets updated
    Martin Higham committed with kocolosk May 22, 2013
  6. [couchjs] make stack size option effective

    The previous way this was coded changes the chunk size that is used
    whenever the stack grows but does not change the maximum memory
    allowed by the runtime.
    
    Closes COUCHDB-1792
    tilgovi committed May 15, 2013
Commits on May 27, 2013
  1. Remove bashisms from JS test runner

    1. Stop using bash arrays.
    2. Account for the sh-builtin `echo` not having an `-n`
       argument on BSDs.
    3. Strip spaces from `wc -l` output when calculating the
       number of tests for 1.
    
    Patch by Klaus Trainer & Jan Lehnardt.
    
    Closes COUCHDB-1793.
    janl committed May 27, 2013
Commits on May 23, 2013
Commits on May 22, 2013
  1. rename README to README.rst

    djc committed May 22, 2013
  2. docs: add Upgrade Notes for 1.2.0

    Synthesized from the Breaking_changes page on the wiki.
    djc committed May 22, 2013
Commits on May 21, 2013