| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Co-Authored-By: Paul J. Davis <paul.joseph.davis@gmail.com>
|
| | |
|
| |
|
|
| |
This reverts commit 817b2b6f5f0883092df60c1ec8ec7ec6d6094a23.
|
| |
|
|
|
|
|
|
|
|
|
| |
This introduces a new builtin reduce function, which uses a HyperLogLog
algorithm to estimate the number of distinct keys in the view index. The
precision is currently fixed to 2^11 observables andtherefore uses
approximately 1.5 KB of memory.
It also introduces a finalize step which can be used to improve the
efficiency of other builtin reduce functions going forward.
Closes COUCHDB-2971
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
LEGAL-303
Closes #697
|
| |
|
|
|
|
|
| |
Helps resolve issue #656. Implementation broken since bigcouch merge.
Replicator oauth hooks are left in place for future work towards
adding cookie-based authentication support.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
from 95f913a57ce8aa8aa08252a2af6d80b776c4f459 in couchdb-fauxton
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Licenses for:
React.js
Flux.js
es5-shim.js
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
was removed in couchdb-fauxton in #c7fbc1a
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
This adds a rebar plugin that introduces the setup_eunit function to
bootstrap the test ini files necessary to run the eunit test suite. It
grabs the ini template files from rel/overlay/*.ini primarily to be
able to set an absolute path for data directories and the prefix based
on the location of the CouchDB source directory.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a new version of pagination in Fauxton using skip. It uses a
PagingCollection that has the main algorithm for pagination and exposes
a nice api.
This is an intermediate step as this is a much better pagination than we
have at the moment. However using just skip for pagination is not
optimal as there are two cases where skip pagination fails - For very
large skips and for when documents that a user have paginated past have
been deleted.
The next step once this has landed will be to add in a startkey_docid
pagination as well. The PagingCollection would then decided which method
to use to paginate for an index.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fixes #COUCHDB-1911
|
| | |
|
| |
|
|
|
| |
Make HTTP API Index page looks nicer without top flat index.
May be one day we'll redesign docs to fit main site/fauxton style.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Adding mocha, sinon and chai for testing.
Tests run using phantomjs
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This creates a new top level API endpoint: `/_db_updates`
that returns a line of JSON for each database event along
with the database name.
A database event is one of `created`, `updated`, `deleted`.
The API endpoint supports a `?feed=` parameter with the
options: `longpoll`, `continuous` and `eventsource`.
A second parameter `timeout=` specifies when the server should
close the connection.
`longpoll` closes the connection after a single notification.
It is the default option.
`continuous` keeps a socket open until the specified `timeout`
or 60 seconds by default.
`heartbeat` decides whether to send a newline character on
`timeout` to avoid clients closing the connection prematurely.
`eventsource` works like continuous, but sends the data in
EventSource format. See http://dev.w3.org/html5/eventsource/
The parameters are modelled after the existing `/_changes` API
endpoint. Note that `/_db_updates` does not support resuming
of notifications via a sequence ID.
This is a port of the existing DbUpdateNotification interface
to the HTTP API.
Functional changes compared to rcouch:
- make _db_updates an admin-only resource
Docs:
- updated api/misc to include basic info on `/_db_updates`
License:
Apache 2 license, updated LICENSE.
Notice:
(c) 2012 Benoit Chesneau, updated NOTICE.
Tests:
- only manual testing of the various API differences due to
complications with asynchronous HTTP requests in the JS
test suite and total annoyance of overly complicated
ibrowse/httpc modules for writing etap tests.
Recommendation to ship this as EXPERIMENTAL until we have tests.
|
| |
|
|
|
|
|
| |
Can upload an attachment along with progress bar and view it in
the code and field editor.
Resolves COUCHDB-1811
|
| | |
|
| |\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.gitignore
NOTICE
configure.ac
license.skip
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|