summaryrefslogtreecommitdiff
path: root/share/www/script
AgeCommit message (Collapse)Author
2010-04-02Removed _sleep from all tests. replaced with loops that spin until a ↵Damien F. Katz
condition is true. Makes tests faster and less likely to fail sporadically. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930430 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28allows more complex keys in the rewriter, so it could ease theBenoit Chesneau
pagination (only array for now) : { "from": "simpleForm/complexView5/:a/:b", "to": "_list/simpleForm/complexView3", "query": { "key": [":a", ":b"] } }, git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28allows client to retrieve the revision of document updated via _update,Benoit Chesneau
by providing it in headers. Header is named "X-Couch-Update-NewRev. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928361 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25restart using init:restart() for better test reliabilityJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@927545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21Test for a regression with doc-id replication.Jan Lehnardt
Patch by Filipe Manana. Closes COUCHDB-703. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925883 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21Make changes test pass in CLI runner & WebKitJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925853 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10_stats builtin reduction for min/max/mean/varianceAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@921592 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04Futon: use proper document value when constructing input element for inline ↵Christopher Lenz
editing, instead of its HTML rendering, and always create textarea for multiline strings. Closes COUCHDB-671. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919193 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04ensure full commit when the security object is updatedJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918855 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28treat deleted docs as nonexistant docsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917104 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28revert accidental commitJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917102 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28Merge branch 'show-deleted-docs' into trunkJan Lehnardt
* show-deleted-docs: treat deleted docs as nonexistant docs Revert "Avoid replication task crashes by imporoving timeout handling." git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917098 13f79535-47bb-0310-9956-ffa450edef68
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-23Futon: Fix cookie storage for localhost. Closes COUCHDB-668. Thanks to Matt ↵Christopher Lenz
Goodall for the report and patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@915530 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22fixed race condition in admin creation - thanks Matt GoodallJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@912636 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22Update jQuery to 1.4.2.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@912615 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-20Futon: Set rows for document source edit textarea to the numberJan Lehnardt
of rows in the source. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@912082 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14fix futon to use _security object. thanks Filipe Manana, closes COUCHDB-654John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@910054 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-02proxy authentification handler. This handler allows creation of aBenoit Chesneau
userCtx object from a user authenticated remotly. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905797 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-02make uuuidCache a local variable. Patch by Jan Kassens. Closes COUCHDB-560.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905483 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-01fix oauth testJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905411 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-31fix bulkSave(). Patch insipred by Lena Herrmann. Closes COUCHDB-634Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905121 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30Allow Futon to run behind a HTTP proxy.Jan Lehnardt
Depending no the Proxy's RFC 2616 compliance, some tests might fail (looking at you, nginx). Patch by Jack Moffit and Damjan Georgievski. Closes COUCHDB-321. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@904705 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-20Futon: Prefix cookie names with the port number, so that different CouchDB ↵Christopher Lenz
instances accessed through the same host name but different ports get their own storage. Closes COUCHDB-533. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@901413 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20properly encode user name in link urlJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@901055 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19Futon: Merge the different compaction/cleanup buttons into a single button ↵Christopher Lenz
on the database page, which will bring up a dialog allowing you to choose which type of compaction/cleanup to perform. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900999 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19Futon: Simplify placeholder fallback using jQuery live focus events.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900989 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19Upgraded jQuery to 1.4.0.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900978 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