summaryrefslogtreecommitdiff
path: root/share/www/script/test/view_errors.js
AgeCommit message (Collapse)Author
2010-11-14Allow reduce=false parameter in map-only views.Jan Lehnardt
Patch by Jason Smith. Closes COUCHDB-881. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1035097 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07warn when a view query will be empty due to backwards start and end keysJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993226 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20require application/json content-type in the remaining places where a POST ↵John Christopher Anderson
has side-effects git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@965700 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26Replace the old JavaScript query server JSON library with json2.jsJohn Christopher Anderson
This change makes us interoperate better with other JSON implementations. It also means we can use the native JSON handlers in JavaScript runtimes that support them. Should be faster right away on new Spidermonkeys. There are some potential breaking changes for apps that depend on Couch blowing up on 'undefined'. json2.js serialized undefined as 'null' instead of crashing. This change will also affect people using E4X, as you can't just return an XML object and have it serialized to a string for you. Calling .toXMLString() on these is all you need to do. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@903023 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-08-16make tests fast again, use X-Couch-Full-Commit:false for all db operationsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804727 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06trimmed trailing whitespaceNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30Test and fix for infinite loops in view_servers, fix for crashed OS ↵Damien F. Katz
processes causing leaked erlang processes and fix for view server crashing when view group process terminates. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@780165 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29Removed unfixed tests cases accidently checked in.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@779826 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29Fix and test for COUCHDB-366, uploading large attachments causes 500 error.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@779824 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10refactor JSON body error handling, also consolidate update_docs JSON ↵John Christopher Anderson
response generation. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@773387 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04reduce_limit error is thrown when the reduce function output is not small ↵John Christopher Anderson
enough compared to the input. Errors can be switched off using the config API. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@771466 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29Closes COUCHDB-320 (ignore Content-Type in _temp_view). Thanks B. CandlerAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@769792 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18Resolves COUCHDB-306 - Wacky error responses to malformed documentsPaul Joseph Davis
Mostly adds improvements to the parsing of Json bodies for _bulk_docs and multi-get queries. Includes tests in basics.js and view_errors.js. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766373 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18Fixes COUCHDB-322Paul Joseph Davis
Specifying reduce=true now returns a 400 error when the view has no reduce function. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766347 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20map queries with group=true query option will return an error.John Christopher Anderson
closes COUCHDB-185. changes to jquery.couch.js to support ajaxOptions may be useful for more than just openDoc, will need to be spread to the rest of the API. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756413 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18Better error messages on decoding invalid JSON. Changes the CouchDB version ↵John Christopher Anderson
of mochijson2. Closes COUCHDB-258 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@745401 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15Reorganize the tests into one file per test. No other changes.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744782 13f79535-47bb-0310-9956-ffa450edef68