summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
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
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-19Minor Futon style tweaks.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900997 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-18need to add sha1.js to allow account creation on status pageJohn Christopher Anderson
it doesn't really make sense to create accounts on a page that will show nothing unless you are logged in under an admin account, but so it goes. Better would be to hide the "status" link unless you're logged in as admin. but anyway adding this js lib is relatively harmless, and eliminates that ugly dialog error modified: share/www/status.html git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900567 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18added jquery.dialog to status.html pageJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900566 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-13use config info for users dbJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@898650 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
2010-01-02add _view_cleanup.html to the MakefileJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@895263 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02add button to cleanup old view files. closes COUCHDB-610. thanks Ilia CheishviliJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@895262 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