summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2009-11-26Setup JavaScript command line runner.Paul Joseph Davis
All JS tests can now be run from the command line using the cURL adapter. In the future I would like to rework this and provide better TAP output. For now, each test is a single TAP assert. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884675 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Use TEquals() in content_negotiation test.Jason David Davies
This gives us better error messages when the assertion fails. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884567 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Refactored the fix for active_dbs timeouts.Paul Joseph Davis
I was getting a bit of weirdness with the old test version so I updated to be more straight forward in its testing. I've also updated the patch to couch_db_updater.erl to only to the db_updated call when a delayed commit changes the db because it was interacting badly with compaction. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884369 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Update the open db's test to check failure.Paul Joseph Davis
Damien made a good point that we should check that the error is generated as expected before waiting as necessary for the active db's to go idle. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884344 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25Fixed a bug preventing active_dbs from working.Paul Joseph Davis
Thanks Jeff Macdonald for the report. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884315 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23Fix and tests for COUCHDB-292Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@883494 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20whitespace, add missing curly braces, 80 columns width -- no functionality ↵Jan Lehnardt
change git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@882523 13f79535-47bb-0310-9956-ffa450edef68
2009-11-15Testing of incremental attachments and more testing of multipart/handling.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836324 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14Removed redudant multipart/related test from attachments.jsDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836089 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14Better testing of multipart/relatedDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836087 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13Initial check-in of APIs for multiple/related supported and incremental ↵Damien F. Katz
replication of only changed attachments. Needs more far more testing and to be hooked up the replicator. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835981 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12Whoops. No alerts in tests plzkthx.Paul Joseph Davis
Forgot to replace a debugging alert. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835195 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12ErlView test case with a larger data set.Paul Joseph Davis
I'm unable to reproduce COUCHDB-567 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835193 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10Add doc id validation when creating a new document with theJan Lehnardt
standalone attachment API. Closes COUCHDB-565. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@834436 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09Fixes 'make distcheck' to run the test suite.Paul Joseph Davis
Quite a few changes to the build system to handle VPATH builds appropriately as well as make the test suite know about them. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833951 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05typo, thanks David CoallierJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833038 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05add safety net for code accidents where the document id in a doc delete ↵Jan Lehnardt
request got missing accidentally git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833036 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03Added batching of multiple updating requests, to improve throughput with ↵Damien F. Katz
many writers. Also removed the couch_batch_save module, now batch requests are simply saved async as immediately, batching with outhr updates if possible. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832550 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30Closes COUCHDB-547 - Adding a View Compaction ButtonPaul Joseph Davis
Thanks to Joshua Bronson for the patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@831485 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22Improve OAuth error message for missing tokens.Paul Joseph Davis
Added a test in oauth.js git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@828836 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19Fix bug when lists use two design docs.Paul Joseph Davis
The language was being pulled from the wrong doc in the pair. Also removed some unused variables. Added a test in list_views.js git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826692 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18case sensitivityJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826343 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16added bench/ directory to trunk, contains 2 benchmark suites.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826097 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15bugfixes for redirects in replication and iolists in OAuth qs paramsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825401 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14dont save so many test reportsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825021 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14save report with node version infoJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825020 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14test reports are saved properJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825019 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14tests not loadingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825018 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14save a test reportJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825017 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12link to submit test failures to a google groupJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@824224 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11add create_target:true option to _replicate that creates the target databaseJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@824029 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01Add support for COPY (copyDoc) to jquery.couch.js.Jason David Davies
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@820603 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30more OAuth fixes, in particular for requests with query-string parametersAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@820469 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Fix the UUID's test failures when clocks are out of sync.Paul Joseph Davis
Changes the tests for cache busting by using ETag's. Left the date tests commented out just in case someone thinks I'm crazy and sees a better solution. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819091 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23reject attempts to upload invalid UTF-8 JSON. Closes COUCHDB-345Adam Kocoloski
This patch requires JSON to be encoded using UTF-8. In the future we will accept other encodings. Thanks Joan Touzet and James Dumay for the bug reports and Curt Arnold for patches and discussion. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@818249 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22Make Futon's Source tab editable.Paul Joseph Davis
Thanks Sven Helmberger and Dan Walters git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@817793 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17Fixes COUCHDB-396Paul Joseph Davis
Makes the stats calculated over a moving window isntead of calculated for non-overlapping timeframes. This should make trend monitoring more robust. Thanks once again to Bob Dionne for double checking this. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@816043 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16include_docs now take an _id (as well as a _rev) in the emitted value, to ↵John Christopher Anderson
load docs other than the one doing the emitting. This means you can have one doc list a set of other docs to load in a single query. Enjoy! git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815984 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16Make generateSecret() generate valid UTF-8 in oauth and cookie_authJason David Davies
tests. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815813 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16add limit to _changesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815629 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15Change all "jquery.js?1.3.1" references to "jquery.js?1.3.2".Jason David Davies
Not sure if we also need to update other script references that have "?0.9.0" version numbers. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815547 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15Upgrade to jQuery 1.3.2 and latest json2.js (2009-08-17).Jason David Davies
Closes COUCHDB-432. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815521 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15fix attachments with an undefined Content-Length header and no TE, patch by ↵Jan Lehnardt
Benoit Chesneau, closes COUCHDB-497 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815308 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Add test for COUCHDB-500.Jason David Davies
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814912 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14add new test to MakefileJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814895 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14View refactoring and addition of raw collationoption. Significant ↵Damien F. Katz
performance improvements in view indexer. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14finish committing my changes adventure. pardon the dust.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814828 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14rollback mixed up commit, builds nowJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814803 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14support for deletions in changes feedJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814787 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14removed _all_docs_by_seq in favor of _changesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814778 13f79535-47bb-0310-9956-ffa450edef68