summaryrefslogtreecommitdiff
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Improve reduce function overlow handlingNick Vatamaniuc2017-03-281-6/+17
| | | | | | | | | | | | | | | Add `log` as another option for `query_config.reduce_limit` instead of `true` or `false` only. This warns user without crashing the view. Account for reduce functions code size when checking for overlflow. Code size was previously implicitly included in input size, skewing the result of overflow check. Increase threshold for overflow check. Before it was only 200. This should prevent false positives in case users have a large accumulator object to collect various stats. Jira: COUCHDB-3046
* use fresh sandbox for every compileRandall Leeds2016-09-094-64/+45
|
* seal exposed globalsRandall Leeds2016-09-092-17/+36
|
* Rewrite via query serverAlexander Shorin2015-12-222-3/+26
| | | | COUCHDB-2874
* Upgrade Coffeescript to version 1.10CliffS2015-10-011-2/+6
| | | | Signed-off-by: Alexander Shorin <kxepal@apache.org>
* Goodbye Futon, old friend <3Jan Lehnardt2014-12-10118-39381/+0
|
* Move JS tests to test/javascript/testsJan Lehnardt2014-12-1089-16586/+0
|
* Add integration-test for newlines in location headerRobert Kowalski2014-10-301-0/+25
| | | | COUCHDB-708
* Documentation was moved to couchdb-documentation repositoryAlexander Shorin2014-10-16146-28420/+0
|
* Fix opacity on faviconRobert Kowalski2014-09-041-0/+0
| | | | | | | | | Fixes the opacity on the favicon so it doesnt look awkward on non white browser chrome Original patch by Benjamin Anderson Closes COUCHDB-1133
* improve stats.js testRobert Newson2014-09-031-1/+3
|
* Send application/javascript in JSONP responsesRobert Newson2014-09-031-2/+2
| | | | closes COUCHDB-2026
* Fix typos in db security docBigBlueHat2014-09-021-3/+3
|
* fix specRobert Newson2014-09-011-3/+3
|
* flush stats in testRobert Newson2014-09-011-2/+2
|
* Test all stats metricsRobert Newson2014-08-301-20/+35
|
* update stats.js for new _stats APIRobert Newson2014-08-291-36/+37
|
* correct order for test paramsRobert Newson2014-08-291-1/+1
|
* Update tests for new _stats APIRobert Newson2014-08-292-13/+13
|
* requestStats takes an arrayRobert Newson2014-08-294-10/+10
|
* fix requestStatsRobert Newson2014-08-291-1/+1
|
* Merge branch 'windsor-merge'Robert Newson2014-08-283-63/+66
|\
| * 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.
| * 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.
* | Remove incorrect paragraph on 'options' objectRobert Newson2014-07-281-5/+0
|/
* Merge branch '1843-feature-bigcouch'Robert Newson2014-07-1019-981/+91
|\
| * 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.
| * 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-211-0/+4
| |
| * Exclude the _rev value when saving in modified serverRobert Newson2014-05-211-1/+1
| |
| * permit . within database names to allow shard browsing on :5986Robert Newson2014-05-141-1/+1
| |
| * Fix bug in erlang views testPaul J. Davis2014-02-101-1/+4
| | | | | | | | | | | | | | | | This test was incorrectly relying on a bug in the reduce behavior that would return a reduce value without ever re-reducing it. The fix is to just correct the test reduce function to behave properly. COUCHDB-2001
| * Ensure that waitForSuccess calls have return values.Wendall Cada2014-02-062-1/+13
| |
| * Build with rebarRobert Newson2014-02-033-587/+0
| |
| * Fix core etap testsPaul J. Davis2013-03-207-28/+51
| |
| * Rewrite restartServer() for robustnessPaul J. Davis2013-03-201-30/+25
| | | | | | | | | | This uses an instance wide token set in the application environment to detect when the server has restarted.
| * [goddamnraceconditions] Another delete after config changePaul J. Davis2013-03-201-1/+0
| |
| * Replicating existing docs bypasses validationPaul J. Davis2013-03-201-0/+2
| | | | | | | | | | | | | | | | https://github.com/davisp/couchdb/commit/35bc88b69486a96409d9f9709209a5dacffc9174 The fact that the old test worked was a fluke. If we want to validate all doc updates (even these that are no-ops) we should think harder about our validation scheme.
| * [review] Delete dbs synchronouslyPaul J. Davis2013-03-201-1/+1
| | | | | | | | | | For the test suite this should minimize the "file exists" errors that we see. Theoretically maybe.
| * Add a config:reload/0 and HTTP triggerPaul J. Davis2013-03-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | Theoretically this should prevent all of those annoying test suite failures when a test fails in with a temporary config set and fails to undo its changes. This works by storing the list of INI files in the config server and on command will clear its ets table and re-read data from disk thus clearing its cache of non-persisted values. Obviously this isn't something that should be relied on in production settings.
| * Even faster looping over map functions.Stefano J. Attardi2013-03-201-2/+2
| |
| * Use native JSON everywhere. Also, no eval for parsing JSON, thanks.Stefano J. Attardi2013-03-203-8/+5
| | | | | | | | | | | | | | | | Conflicts: couchjs/js/SConscript share/server/json2.js share/server/render.js share/server/util.js
| * Faster maps by delaying JSON serialization, skipping string concatenation, ↵Stefano J. Attardi2013-03-201-4/+4
| | | | | | | | and better looping.
| * only display counter portion of cluster update_seq in FutonAdam Kocoloski2013-03-201-1/+1
| | | | | | | | | | We should provide access to the full sequence in Futon somehow, as it's useful for things like changes since "now".
* | really fix typoRobert Newson2014-07-101-1/+1
| |