summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
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
2010-08-07add tests for Etag in standalone attachment PUT enhancement.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983205 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04add wildcard support in query args so it's now possible to have rulesBenoit Chesneau
like : { "from": "/welcome4/*", "to" : "_show/welcome3", "query": { "name": "*" } } rewriting "_rewrite/welcome4/test" to "_show/welcome3?name=test" or { "from": "/welcome5/*", "to" : "_show/*", } rewriting "_rewrite/welcome5/welcome3" to "_show/welcome3" git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982388 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04Add replicator DB (_replicator).Filipe David Borba Manana
Part of ticket COUCHDB-776. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982330 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04Allow POSTing of a JSON object to /_session/ for login.Filipe David Borba Manana
Closes COUCHDB-842, patch by Jonathan D. Knezek. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982200 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02Add option "stale=update_after" when querying a view. Closes COUCHDB-837.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@981607 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29fix the underlying issue that was giving replication problems attempting to ↵John Christopher Anderson
push design docs as a non-admin. this is what my reverted commit should have been git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@980319 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27fix CLI js test suite.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979642 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26Add SSL support to CouchDB.Robert Newson
To enable SSL you need to do three things; 1) enable the httpsd daemon in local.ini (you can just uncomment the line). 2) supply your PEM-encoded cert and key files in the [ssl] section. 3) start CouchDB. CouchDB will now, in addition to handling HTTP on port 5984, accept SSL connections on port 6984. The patch itself adds SSL support by updating the local version of Mochiweb to the latest. The upstream release includes our local tweak to support large numbers and to handle Accept-Encoding headers. Our local Mochiweb fork changed the default idle timeout from 10 seconds to 5 minutes, and it was agreed on #irc to revert this change. The only tweaks to Mochiweb were in mochiweb.app.src (to record the git commit I built from) and the removal of Makefile (replaced by Makefile.am). Futon received many tweaks as we have 'http://' hardcoded all over. All such instances now use window.location.protocol + '//'. CouchDB received a tweak to use the right scheme in couch_httpd:absolute_uri (it now gets it from the Mochireq and not mochiweb_socket_server). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979368 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26Multi-part patch to enable white-listing of _config API values:Jan Lehnardt
1. Refactor read-only config handlers to be near each other 2. Refactor PUT and DELETE config handlers to a wrapper 3. Support a whitelist for modifying the config via HTTP, itself stored in the config 4. Document the whitelist process Patch(es) by Jason Smith. Closes COUCHDB-835. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979242 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25add _create_config.html to the makefile so it gets installed with makeJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@978961 13f79535-47bb-0310-9956-ffa450edef68