summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2010-04-07temp_views should be only available to server and database adminsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931655 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07include update_seq in view responses, patch via Joscha Feth, (mostly) closes ↵John Christopher Anderson
COUCHDB-650 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931439 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07changes is less likely to miss updates, and changes test is more robustJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931407 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06use waitForSuccess to timeout changes requests that never succeedJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931297 13f79535-47bb-0310-9956-ffa450edef68
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-04-01tab to spaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@929987 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-23Futon: Make the DB security dialog more compact.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@915526 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-22Add a proper icon for the security button.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@912608 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-18add JSON to the sandbox for older spidermonkey without native JSONJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@911602 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18Fixes COUCHDB-640 - Reset views with invalid update seqs.Paul Joseph Davis
If a database is restored to a previous version, and the view files are not updated appropriately they will contain data from the database after the reverted-to-update_seq. This patch checks that the update sequence recorded in a view is less than or equal to the update sequence of the database. Patch is by Filipe Manana. Execellent work once again. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@911544 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