summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2010-11-10COUCHDB-945 - ensure validation funs are still applied after compaction.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1033640 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07Bug fix: the separator for media types in the 'Accept' header is a comma. ↵Filipe David Borba Manana
The semicolon separates a media type from its parameters. A more complete solution, which takes into account Q values, was submitted upstream: https://github.com/mochi/mochiweb/issues/issue/21. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1032391 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07Allow the atts_since parameter to work together with the open_revs parameter.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1032288 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05HTTP proxy handler.Paul Joseph Davis
The second of two new features to replace the _externals protocols. This allows users to configure CouchDB to proxy requests to an external HTTP server. The external HTTP server is not required to be on the same host running CouchDB. The configuration looks like such: [httpd_global_handlers] _google = {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.com">>} You can then hit this proxy at the url: http://127.0.0.1:5984/_google If you add any path after the proxy name, or make a request with a query string, those will be appended to the URL specified in the configuration. Ie: http://127.0.0.1:5984/_google/search?q=plankton would translate to: http://www.google.com/search?q=plankton Obviously, request bodies are handled as expected. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1031877 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05useless js loggingBenoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1031874 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03typoJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1030409 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02Escape URL and cookie input.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1030261 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30Trivial change: add/move semi-collons to where they belong to.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1029030 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30Avoiding hardcoded value for the view index disk size.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1029026 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30Closes COUCHDB-821.Filipe David Borba Manana
Improved the coverage and quality of the design_docs.js test. The actual issue (triggering a view indexation when invoking the view cleanup URI) was fixed in COUCHDB-858. Patch by Klaus Trainer. Thanks. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1029025 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25GET /db/_design/doc/_info should not trigger an update.Filipe David Borba Manana
Closes COUCHDB-858. Patch by Klaus Trainer. Thanks Klaus. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1027215 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19Added missing semi-colons and variable declarations .Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1024378 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18Avoid occasional stalling of Futon in Firefox.Jan Lehnardt
Closes COUCHDB-896. Patch by Dale Harvey. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1023807 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13get _changes on specific docidsBenoit Chesneau
/POST /db/_changes {"doc_ids": ["docid1", ...]} git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1022291 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11Fix ddoc sig test.Paul Joseph Davis
Forgot to revert after fixing the group sig generation. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1021433 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10Fixes COUCHDB-799 - More granular ETags for views.Paul Joseph Davis
ETags for views now only change when their underlying view index changes due to indexing or purges. ETags are also specific to each view. Thanks to Klaus Trainer for the patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1006339 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07Fix bad JavaScript practices and avoid declaration of 2 global variables.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1005513 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03import couch_tests.js in custom_test.html so that CouchDB.protocol is ↵Robert Newson
defined. Is there a tidier fix? git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1004015 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30fix badmatch for COPY call with missing Destination header.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1003050 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30Revert "COUCHDB-903 - add {ok, true} to COPY result."Robert Newson
This reverts commit 5d918e616119e308ca38dc847dd8165e089557dc. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1003044 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30COUCHDB-903 - add {ok, true} to COPY result.Robert Newson
Thanks to Bob Dionne for original patch. I've modified it to fix the badmatch error if you do COPY without a Destination header. It now yields a 400 (Bad Request) error without spewing a stack trace. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1003035 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28Replicator fix: for a filtered replication, the replication ID should take ↵Filipe David Borba Manana
into account the filter function's code and not only its name. Closes COUCHDB-892. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1002259 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27CommonJS support in map functionsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1001895 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25update documents test assertionsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1001295 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17JavaScript test suite: adding more semi-collons where necessary to assure ↵Filipe David Borba Manana
compatibility with Chrome and Safari. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@998090 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16JavaScript test files: adding missing semi-colons (Chrome is sensitive about ↵Filipe David Borba Manana
them, but they're not mandatory according to ECMAScript spec) and removing extra commas. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997862 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12additional test for non-circular commonjs require. closes COUCHDB-869John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996267 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12commonjs require no longer creates circular referencesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996266 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07improve rewriter. No< it's possible to pass a variable in path as <var>Benoit Chesneau
so you can do /somepath/<var>something or /somepath/<var>.txt ... git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@993532 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-08-25fix attachments.js in Safari by treating charset case-insensitively.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988909 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25COUCHDB-161 - range support. Adhere closer to the spec. correct range ↵Robert Newson
parsing error in mochiweb. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988866 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24correct fencepost error for last bytes range request.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988651 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24COUCHDB-870 - attachments.js hangs.Robert Newson
attachments.js is missing a semicolon that causes an infinite loop. Thanks to Grant Jones for the fix. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988634 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24return 400 Bad Request for unparseable range request.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988450 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21add a test to check if rewrite works on views following a report on ircBenoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987750 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20Allow the replication.js test to be run outside a browser environment.Filipe David Borba Manana
Closes COUCHDB-862. Thanks Bob Dionne. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987457 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19COUCHDB-861 - enhance _sum to work with lists of numbers.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19Fix behaviour of the view query option stale=update_after.Filipe David Borba Manana
Somehow it was not working for all cases. Issue found by Volker Mische. Thanks. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987257 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18expose security obj to shows, lists & updates functions.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986854 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18Fix test suite for Chrome and Safari.Jan Lehnardt
couch.js patch by Robert Newson. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986710 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18include new attachment_ranges.js in share/Makefile.amRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986634 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18COUCHDB-161 - support Range header for attachments.Robert Newson
Attachments are upgraded to support the Range header on compaction. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986629 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18Add one more test to replicator_db.js: test that after a design doc is ↵Filipe David Borba Manana
updated on source it gets replicated to the target. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986625 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18Test that design docs get replicated in a continuous replication when the ↵Filipe David Borba Manana
replication is triggered by a replication doc. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986614 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10added missing files to share, fixes COUCHDB-850Noah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@984228 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08provide the update_seq in all_docs view even when it is zeroJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983336 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08failing test case for COUCHDB-844Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983330 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07builtin reduce functions more forgiving about trailing whitespace and other ↵John Christopher Anderson
characters git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983306 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07Futon: Fix markup around replicator form labels.Jan Lehnardt
Patch By David Rose. Closes COUCHDB-843. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983300 13f79535-47bb-0310-9956-ffa450edef68