| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Duplicates the current document using Couchdb's COPY api.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also improved the wording in a few places.
|
|
|
|
| |
Closes COUCHDB-1082.
|
|
|
|
|
| |
When a nav tab is clicked on that tab is now highlighted.
This fixes COUCHDB-1842
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default no user properties are public and attempts to view a users
document other than your own will return a 404. If the public_fields
setting of the users_db config section is set to a list of field
names, however, you will see that subset of fields for any user.
Also, if `public_fields` is set and non-empty,
`_users/_all_docs?include_docs=true` will return documents with stripped
field.
Contributed with code parts from @indutny
|
|
|
|
|
|
| |
Due to non-OTP-ness, couch need to start its own OTP apps. R16B01
requires asn1 as a dependency for public_key.
Closes COUCHDB-1833.
|
|
|
|
| |
This reverts commit 9cf9b53d2cee9976a5b215af52672838abec0d6b.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 5b1430c120904181313848444dbfcdb60e42568b 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
|
|
|
|
| |
The second item in the by_pid tuple is the name not a #db{} record.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Can upload an attachment along with progress bar and view it in
the code and field editor.
Resolves COUCHDB-1811
|
|
|
|
|
|
|
| |
Added disableLoader & loaderClassname attribute to views, for showing ajax spinners. Included default class and spinner image.
Added the loader to app-container as well, to run on the whole page while the routeObjects load.
fixes #1802
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is for issues #1812 and #1810.
|
|
|
|
| |
Fixes issue #1816
|
|
|
|
| |
It is now also possible to preview views with pouch. Issue #1806
|
|
|
|
|
| |
Previously replication.rst described only the _replicator database, but did
not provide an overall view on replication.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When duplicating a couch, it is difficult to copy the _config/admins/*
values. Storing the encoded value does not work because that value is
re-hashed when stored. (Your password is the literal string
"-pbkdf2-abcdef...".)
This change will store any config setting unmodified if ?raw=true is
in the query string.
Updating _config/admins/* already requires admin privileges, so there is
no change to the security.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch allows us to develop and test couchdb using vagrant
(http://www.vagrantup.com) .
Since we don't have any good debian packaging for now this image is only
useful for developers or those who want to use latest couchdb version.
To use it run the following commad:
$ vagrant up
$ vagrant ssh
$ cd /vagrant
then you can play with the code and build your own distribution of
couch. This image is supporting lxc, ec2 and rackspace providers for
vagrant.
|
| |
|
| |
|
| |
|
|
|
|
| |
COUCHDB-1696
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
Fixes COUCHDB-1799
|
| |
| |
| |
| | |
threshold it gets updated
|
| | |
|
| | |
|
|/
|
|
| |
Synthesized from the Breaking_changes page on the wiki.
|
| |
|