summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Restore _stats endpointarchive/windsor-mergewindsor-mergeRobert Newson2014-08-231-0/+1
|
* Switch to couch_statsRobert Newson2014-08-222-3/+1
|
* add devclean target that cleans out the dev cluster stateJan Lehnardt2014-08-191-0/+3
|
* Include global changes in the releasePaul J. Davis2014-08-141-0/+2
|
* Use the correct sequence for replication statusPaul J. Davis2014-08-121-13/+3
| | | | | | The value of source_seq is just what's been seen, not what's actually been stored on the target. We expose through_seq now to show the actual progress.
* Use waitForSeq and task statuses instead of sleepsPaul J. Davis2014-08-121-40/+26
| | | | | Further speedups to replication.js. Now runs in 32s on my machine vs. the 1m45s it started at.
* Don't sleep mindlessly for 3s at a timePaul J. Davis2014-08-121-10/+17
| | | | | | | | | Attempting to compare the source and target update_seq values isn't valid as any document modification on the source will permanently alter the comparison. This changes things to just wait for the task's status to update and reflect the source database's update sequence. Locally this shortens the replication.js test by about 45s.
* Fix race condition in a replicator db testPaul J. Davis2014-08-121-0/+7
| | | | | | | There was a race condition where we could end up grabbing repDoc1 before the replicator manager got around to updating it. Local timespans had this in the 19ms range. Rather than slap a timeout on it I've added a call to a longpoll on the changes feed to wait for the update.
* Allow tests runs to start at a given filePaul J. Davis2014-08-121-1/+12
| | | | | | | If you're running this using ./dev/run you need to use the -- to stop option processing by ./dev/run like so: ./dev/run -- test/javascript/run --start path/to/file/start.js
* Include new replicator_db support scriptPaul J. Davis2014-08-121-0/+1
|
* Fix replication.js testPaul J. Davis2014-08-111-5/+18
| | | | | | Tweak hard coded assumptions about update_seq ordering for documents posted to _bulk_updates. See the comment in replication.js for more information.
* Disabling this assertion until we figure out lagerPaul J. Davis2014-08-111-1/+1
| | | | | | | The change to lager changed how w configure logging in CouchDB. We'll need to figure out if we want to update things so that we can configure lager from the INI files at which point we can either reenable this test or remove it.
* Include the node in log messagesPaul J. Davis2014-08-111-1/+7
|
* Have lager log to the console only by defaultPaul J. Davis2014-08-102-1/+13
| | | | | | This is a short term fix to get lager to send its output to stdout/stderr so that it is directed into the appropriate logs for dev/run.
* Remove couch_replicator_manager as its in the OTP hierarchy now.Paul J. Davis2014-08-101-1/+0
|
* Reformat rebar.config.scriptPaul J. Davis2014-08-101-29/+35
|
* Make clean recursiveRobert Newson2014-08-071-1/+1
|
* Test all windsor-merge branchesRobert Newson2014-08-071-10/+11
|
* Move attachment code into couch_attBrian Mitchell2014-08-072-56/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is moves a majority of the attachment representation into the couch_att module. This serves to isolate the current record to allow easier in-place upgrades as well as a place to start collecting common attachment related functionality. The upgrades are handled lazily to allow rollbacks to older code if the new attachment format has not yet been required via storage of any of the new extended attributes supported by the fetch/store APIs. There are some caveats to this in that the extended attributes are not enforced by couch_att at this time so it'd be quite easy to store garbage. As the extent of attachment concerns becomes more stable, a set of more permanent fetch_[field]/store_[field] functions may be added to help enforce both field types as well as common field names and defaults (all fields will default to undefined except for those defaults present in the orignal record definition, which carry over automatically). Finally, while this patch does move a lot of code to couch_att, it hasn't refined the interfaces much. These changes will follow in later patches to improve and simplify the organization of attachment code. This includes the addition of more unit tests which currently only cover some portions of the attachment functionality related to upgrades and field fetching & storage.
* Be more specific on the merge resultPaul J. Davis2014-08-061-27/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | We have three results that can happen when merging a path into a revision tree: * We can extend a branch which replaces a leaf * We can create a new branch which results in a new leaf * We can land on an existing internal node The first result (new_leaf) means that there is no conflict in the update operation. The second (new_branch) means we branched a revision path which means the operation introduces a conflict. The third (internal_node) means that the merge was the result of an edit that has already been applied to this document. For the third case we have a subtle special case in that if we have deleted the document and want to recreate it into the same initial state we need to give the new state a different revision. The current code follows the edit path and extends the first deleted leaf it finds. BugzID: 25150 Conflicts: apps/couch/src/couch_key_tree.erl
* Import new applicationsRobert Newson2014-08-062-0/+10
|
* Dockerfile: Build rebar 2.5.0 from sourceRobert Newson2014-07-191-3/+15
|
* Build the dev cluster from master branchRobert Newson2014-07-192-4/+1
|
* Complete list of apps for reltool.configRobert Newson2014-07-111-10/+28
|
* use make check for TravisRobert Newson2014-07-101-1/+1
|
* Merge branch '1843-feature-bigcouch'Robert Newson2014-07-10661-199617/+1908
|\
| * Hook up _db_updates and _plugins1843-feature-bigcouchRobert Newson2014-07-102-0/+4
| |
| * Clone the docs repoRobert Newson2014-07-101-1/+2
| |
| * High-level notes on remaining post-merge workRobert Newson2014-07-101-0/+10
| |
| * Fix global handler pathsRobert Newson2014-07-071-2/+2
| |
| * local.ini must be comments onlyRobert Newson2014-07-061-2/+2
| |
| * Add CSP sectionRobert Newson2014-07-031-0/+5
| |
| * Use deps whitelist and exclude everything elseAlexander Shorin2014-07-011-5/+24
| | | | | | | | | | Otherwise this causes include conflict issues with other Erlang applications which were installed system-wide by system package manager.
| * Delete obsolete build filesRobert Newson2014-06-2710-851/+0
| |
| * Consolidate .ini filesRobert Newson2014-06-277-467/+345
| |
| * Fauxton did not require a mergeRobert Newson2014-06-091-1/+1
| |
| * Clone fauxton with raw optionRobert Newson2014-06-091-19/+20
| |
| * build docker image from latest debianRobert Newson2014-06-061-1/+1
| |
| * remove reference to cloudant searchRobert Newson2014-05-222-4/+0
| |
| * Send a real EventSource event for heartbeatDamjan Georgievski2014-05-211-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The EventSource connection can get stuck (in TCP half-open state*) and there's no way for the client to detect that. This commit changes the way heartbeat is sent, instead of sending a newline character, it sends an empty event of type heartbeat: event: heartbeat data: This event doesn't have an id: field, so the client will retain its latest Last-Event-ID state. This doesn't change the expectations of clients that used EventSource till now, because they subscribe to the 'message' event type. To get the 'heartbeat' events a client will need to explicitly subscribe to it: source.addEventListener('heartbeat', function () { /* cancel a timer that would otherwise reconnect the source */ }); * this can happen when you suspend your laptop, on flaky internet connection, ADSL reconnect, bad wifi signals, bad routers etc. Pretty often in a typical internet usage nowadays.
| * Verify that auth-related properties are well-formedRobert Newson2014-05-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing unexpected values to auth fields can result in server issues. Notably, setting "iterations" to a string will cause an infinite loop as the comparison 'when Iteration > Iterations' will never evaluate to true. The latest validate_doc_update prevents user docs with this problem and administrators can deploy that check themselves (and only administrators can edit design documents). A server administrator can also insist on lower and upper bounds for iteration count to reject weakly protected passwords and resource-hungry passwords respectively. COUCHDB-2221
| * Remove client-side password crypto from JS testsKlaus Trainer2014-05-213-19/+8
| | | | | | | | | | | | | | | | | | | | This removes client-side password crypto from the JavaScript tests. In some JavaScript tests, it has been assumed that SHA-1 is used for the password hash in user docs. Those tests should, however, not rely on implementation details of the user authentication hash function, as it isn't the goal of those tests to check these. Furthermore, this causes problems when a password scheme is changed, or a new one is introduced.
| * Upgrade password hashes on authenticationKlaus Trainer2014-05-211-2/+59
| | | | | | | | | | | | | | | | We now upgrade user docs to the new PBKDF2 password scheme on successful authentication if the password hash is still from the old days where we only used plain SHA-1 for hashing salted passwords. Closes COUCHDB-1780.
| * Configurable upper bound to _uuids count parameterRobert Newson2014-05-212-0/+6
| |
| * Exclude the _rev value when saving in modified serverRobert Newson2014-05-211-1/+1
| |
| * Define 'check' as superset of test suitesRobert Newson2014-05-211-2/+2
| |
| * Add eunit makefile targetRussell Branca2014-05-211-0/+3
| |
| * Add 'check' target, excluding some projects for nowRobert Newson2014-05-201-0/+3
| |
| * Remove 'make dev'Robert Newson2014-05-192-47/+0
| |
| * expose all ports via dockerRobert Newson2014-05-191-1/+1
| |