summaryrefslogtreecommitdiff
path: root/share/www/script/couch_tests.js
AgeCommit message (Collapse)Author
2008-07-29Removed some debugging stuff I left in the tests. oops.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680765 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29Test changes I forgot to check in earlier. Contains a formatting change and ↵Damien F. Katz
a bug fix in the test itself. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@680763 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22Fix for compacted databases reporting 0 documents after compactionDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@678923 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17Allow for empty attachments.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@677682 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10Make RESTful attachment API concurrency aware and the code a little more ↵Jan Lehnardt
concise (thanks Damien!) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@675699 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06Add RESTful API for document attachments as per ↵Jan Lehnardt
http://groups.google.com/group/couchdb/browse_thread/thread/c84c5f35afb5db2a with not yet comprehensive tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@674334 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03Expose endkey_docid as a view query option through the HTTP API (including ↵Jan Lehnardt
tests). git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@673631 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Apply patch by Chris Anderson that fixes an edge case in the HTTP view ↵Christopher Lenz
interface resulting in an invalid JSON response body. Closes COUCHDB-84. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670774 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Create more docs in the database for the compaction test, so that the ↵Christopher Lenz
difference between non-compacted and compacted on-disk size of the database is actually noticeable on file systems with larger block sizes. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670738 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Improve error handling for undefined values emitted by map functions. Closes ↵Christopher Lenz
COUCHDB-83. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670732 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23Seal the document in Javascript view functions in 'deep' mode so that it's ↵Christopher Lenz
not possible to modify values in nested arrays and objects. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@670653 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13Tests that weren't checked in for a previous bug fixDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@667523 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09added new line to reduce test to show bulk update failure on safariDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@665906 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09Changed name of 'combine' phase of reduce to 'rereduce', to avoid confusion.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@665852 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06Added comments and clarity to the reduce/combine test. againDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@664093 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06Added comments and clarity to the reduce/combine testDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@664091 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05Added reduce/combine example. Fixed broken node chunking with very large ↵Damien F. Katz
keys/reduction values git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663786 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04Add tests for bulk_docs, to verify that COUCHDB-16 has been fixed.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663239 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02Display group reduce results in Futon by default.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@662554 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29Grouped reduce support. Needs performance work.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@661476 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Fix assertion in compaction test.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660282 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Add back /_restart URL that got lost in the transition to MochiWeb.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660183 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26Update to test suite after status code change in r660176.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660177 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26* Respond to DELETE requests with a "200 OK" status code instead of "202 ↵Christopher Lenz
Accepted", as the deletion is performed immediately. * The "content-type" member in attachment structures is now named "content_type" (underscore) for consistency and to be more accessible from Javascript (and presumably other languages, too) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24Make replication tests use current host instead of hardcoding localhost:5984Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659808 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23Add a currently failing test for multiple identical map/reduce view definitions.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659589 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20Some javascript code cleanup.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@658409 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20Fixed design document view definitions to be consistent with temp views. ↵Damien F. Katz
Changed the name of the map(K,V) call in the javascript views to emit(K,V) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@658405 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19revert.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657964 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19- off by (n)oneJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657963 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19Changed temp view definition to always be jsonobjects with map/reduce source ↵Damien F. Katz
as members of the object. Everywhere we used 'text/javascript' or 'application/javascript', we now just use 'javascript' git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657926 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15Incremental reduce first checkin. Warning! Disk format change.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@656861 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15ignore descending=false option instead of throwing an error.Jan Lehnardt
includes a test case git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@656589 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01fix for compaction problem with attachments, and enhancements to JS shell, ↵Damien F. Katz
to make debugging tests easier. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@652489 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07Compaction. Works, but still needs queueing and better handling for long ↵Damien F. Katz
reads/writes overlapping the compaction switchover. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@645661 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04Fix unit tests.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@644674 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04dial back docs generate for lots of docs testDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@644594 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04compaction code, not hooked up to webserver yetDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@644593 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28Imported trunk.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@642432 13f79535-47bb-0310-9956-ffa450edef68