| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Added a red test which turned green
|
| |
|
|
|
|
|
| |
Create a reusable component from the filter that is used in logs,
that can be used in for tasks like
COUCHDB-2158 ("Apply filter with custom params on changes feed page")
and other situtations where a filter is needed.
|
| | |
|
| |
|
|
| |
Closes #200
|
| |
|
|
|
|
|
| |
Implement copying to clipboard
Change the view
Closes COUCHDB-2206
|
| |
|
|
|
|
|
|
|
| |
This adds leading zeros to the times in the log view. Before that
the times were displayed like 1:5:3 (if it were 01:05:03)
because getHours() and friends are returning a Number and not
a String with a leading 0. In the case of 1:5:3 the corrected
time is now displayed as: 01:05:03. As d3 has a nice date formatter
we do not have to roll our own.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
I've modified nv.d3 to be an amd module. This isn't pretty but it's the
best fix, otherwise we cannot use this library.
I've also added a new config in settings.json.default for couchapp
deployment as the current release config doesn't work with a couchapp
|
| | |
|
| |
|
|
| |
Fixes #COUCHDB-2169
|
| |
|
|
|
|
|
|
|
| |
add CONTRIBUTING.md to Makefile.am and license.skip
remove duplicate file from Makefile.am
This closes #184
Signed-off-by: Alexander Shorin <kxepal@apache.org>
|
| |
|
|
|
|
| |
This closes #183
Signed-off-by: Alexander Shorin <kxepal@apache.org>
|
| |
|
|
|
|
|
|
| |
Form Validation
Updating selectors with the js-prefix
Added modal to makefile.
Removed debugging alert.
Cleaned up error messaging to be consistent.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Split up api to core/*. To seperate out the Framework from the UI.
Move tests to fit with this refactor.
Change addons/Fauxton with work with api extraction.
|
| | |
|
| | |
|
| |
|
|
| |
databases into addons.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fix include_docs checked.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
First step, move files in couch_replicator application & add them
build.
|
| |
|
|
|
|
|
|
|
|
| |
The couch_mrview application is the implementation of the current
couchdb map/reduce views. This implementation is 100% compatible with
trunk and serves as a reference implementation for other indexers.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1171149 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The couch_index application is responsible for managing all of the
different types of indexers. This manages the process handling for
keeping track of the index state as well as managing the updater and
compactor handling.
New indexers can be added by creating a new application that provides a
callback module that exports the required API. This module combined with
a db and design doc make up the definition of an index.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1171146 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
This commit makes some minor preparations in various files to prepare
for the new indexer support. This commit holds most of the differences
to existing files.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1171145 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Not only this makes database and view index files smaller it also increases
database read/write performance, view index generation (specially for large
documents and/or documents with nested JSON structures) and compaction.
Closes COUCHDB-1120.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1098558 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
Fixes make distcheck.
The local copy of src/ejson/priv/ejson.so works
better.
General clean up of src/ejson/Makefile.am
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1089158 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a NIF based JSON decoder/encoder based on Paul Davis' eep0018
implementation (https://github.com/davisp/eep0018/), with some modifications
from Damien (big number support and optimizations) on top, plus a few fixes
from my side and Benoît on top of Damien's fork.
This module fallbacks to mochijson2 when the NIF is not loaded or compiled.
The NIF is only compiled and used if we're using an OTP release >= R13B04.
Thanks everyone. Closes COUCHDB-1118.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1088941 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@820162 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@708008 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@687336 13f79535-47bb-0310-9956-ffa450edef68
|