summaryrefslogtreecommitdiff
path: root/share/www/script/test
AgeCommit message (Collapse)Author
2010-02-26fdmananas patch for filtered replication via COUCHDB-673John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@916518 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25commonjs require for show list etc via Mikeal Rogers. closes COUCHDB-658John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@916076 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24replicator and view generator can skip check_is_reader when opening database ↵John Christopher Anderson
files git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@915827 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24Allow replication to be cancelled. Closes COUCHDB-664. Patch by Robert Newson.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@915664 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22_purge was incorrectly returning update_seq.Paul Joseph Davis
Patched and tested. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@912606 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12move from _admins / _readers / _security to just a single _security objectJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@909247 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05add list()-API cmompatible API to _show. Symmetry FTW.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@906755 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04re-enable 404 handling in show functions while retaining user-friendly error ↵Jan Lehnardt
behaviour git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@906721 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04fix COUCHDB-638.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@906423 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03error message on bad security objectJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@906140 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03enhance reader and admin listsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@906138 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02oops. forgot to add this file in latest commitBenoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905800 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02old diff. fix unitestBenoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905602 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02would have been strange to be abble ../../_changes and notBenoit Chesneau
../../../_uuids in rewriting. Instead using couch_httpd_db:handle_request we now use couch_httpd:handle_request. Add one more unitest to test it. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905599 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01Database-level security.John Christopher Anderson
This patch builds on the DB-admins feature to store lists of database admin and reader names and roles, as well as a security object which can be used for configuration in validation functions. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905436 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01improve object handling from query member of the rule. Allow to handleBenoit Chesneau
key/startkey/endkey like {"a", 1}, [1, 2], [{"a": 1], 2] ... git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905284 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31add url rewriting support.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905134 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29fix test view for json2.js toXMLString()John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@904643 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29Thanks Filipe Manana. Closes COUCHDB-631.John Christopher Anderson
Replicator option to replicate a list of docids (bypasses by_seq index). Usage: POST to /_replicate with a JSON body of: {"source": "myfoo", "target" : "http://remotedb.com/theirfoo", "doc_ids": ["foo1", "foo3", "foo666"]} This will copy the listed docs from the source to the target database. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@904615 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
2010-01-23show conflicts in changes filters. Patch by Lena Herrmann. Closes COUCHDB-630Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@902422 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23styleJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@902418 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18normalize userCtx name and roles, also, no log in via a conflict docJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900275 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09better validations on users dbJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@897521 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07merge account branch to trunkJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@896989 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23Follow RFC 2616 closer and use "verb" instead of "method"Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893364 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22remove show from db doc GET handler, completing flip-flop on COUCHDB-404John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893261 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22move query server to a design-doc based protocol, closes COUCHDB-589John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893249 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10Add a "Reduce" checkbox to the database view page in Futon, which controls ↵Christopher Lenz
the `reduce=true|false` query string parameter. I had to add `reduce=false` support for temp views on the server side to make the feature not-confusing. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889256 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06fix COUCHDB-593, thanks Roger Binns for reportingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@887791 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01change some timings to make the changes test more robustJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885954 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30passing test for filtered continuous changesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885533 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30ETags on POSTs to _view and _list should depend on Keys. COUCHDB-586Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885529 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30work on COUCHDB-582, fixes issues with filtered longpoll requests closing earlyJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885329 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29add assertion that _all_dbs API existsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885286 13f79535-47bb-0310-9956-ffa450edef68
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-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-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