summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-24fix warnings of unused Len variables.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988454 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24set Accept-Ranges conditionally on identity encoding.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988452 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24support multiple byte ranges in Range header.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988451 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-24Added configurable nodelay setting via the ini. Set [httpd] nodelay=true to ↵Damien F. Katz
enable the TCP_NODELAY option for the web server sockets, which means that even small amounts of data will be sent immediately. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988360 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23Replicator: fix authentication failure when replicating design documents ↵Filipe David Borba Manana
that have attachments. Closes COUCHDB-868. Patch by Jason Smith, thanks. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988233 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22tidy range support, make inserting of multirange support more obvious.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987936 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22COUCHDB-864 - set SAVE_RECV flag in mochiweb request to allow connection ↵Robert Newson
keep-alive between multipart/related PUT's. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987898 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21Fix revision 987824 - add missing changes.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987828 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21Added some whitespaces to make the code easier to the eye.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987826 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21Work queue - add support for multiple consumers.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987825 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21Small refactoring of the work queue module to accomodate for incoming ↵Filipe David Borba Manana
options (multiple workers) git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987824 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20sysadmins were shocked that we can use $ for anything else than a shellBenoit Chesneau
environment variable. use ":" instead. use ":" instead like we do in _rewrite handler. like we do in _rewrite handler. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987384 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-19Support Range header for all attachments, even without compaction upgrade. ↵Robert Newson
It's just less efficient. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@987084 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-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-17fix badmatch when fetching zero byte attachments.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986476 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17don't export twice.. this warning was annoying.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986437 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17add missing file (#COUCHDB-855)Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986183 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17New vhost manager. allows dynamic add of vhosts without restart,Benoit Chesneau
wildcard in vhost and dynamic routing via pattern matching. Close #COUCHDB-855. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@986182 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15Bumping ibrowse library to version 1.6.2 (latest).Filipe David Borba Manana
It has a few important bug fixes and new features, such as, for example: 1) fixes https requests not going via the proxy; 2) added SSL support for direct connections; 3) fixes to URL parsing; 4) added option headers_as_is git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@985730 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15Fix Erlang unused variable warnings.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@985719 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15add requested_path to the req so we know original path in shows/lists &Benoit Chesneau
updates function. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@985678 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13more informative error messages on invalid jsonJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@985407 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10added oauth_rsa_sha1.erl to the distNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@984237 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10add internal.hrl to INTERNAL_DIST. mea culpa.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@984192 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08related to COUCHDB-844. Include committed_update_seq in db_info to allow ↵Robert Newson
external monitoring of delayed commits. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983435 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08Removing unnecessary guard in function clause (superceeded by pattern matching).Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983380 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-08fixes COUCHDB-844, delayed commits gets b0rkedAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983331 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-07os_process_limit for query servers make them much more robust under ↵John Christopher Anderson
concurrent load git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983291 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07fix warning about unused RestMatch variable.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983245 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06add Etag header for standalone attachment PUT.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983045 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05remove double-spacing in couch.log output.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982621 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-04Don't close an idle system DB to open a non-system DB. Doing so allowed us ↵Filipe David Borba Manana
to open more than max_open_dbs non-system DBs. This issue is revealed when there are more than 1 system DBs (_users and _replicator). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982328 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04Avoid unncessary pattern matching.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982255 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-08-02Remove functions from export list that are not used by any other module ↵Filipe David Borba Manana
(including the Etap tests). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@981595 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01Buf fix - proper RegExp matching to avoid having a case like "hhtml" being ↵Filipe David Borba Manana
considered as "html". git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@981348 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01Add missing clause to the case expression to avoid a case_clause Erlang ↵Filipe David Borba Manana
exception. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@981343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01Bug fix - RegExp matching the atom 'undefined'.Filipe David Borba Manana
According to the HTTP 1.1 spec, if the Accept header is not specified by a client, it means the client accepts all media types. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@981341 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30Add support for replication through an HTTP/HTTPS proxy.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@980985 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-29Revert "replicator was getting stuck on push replication to design docs by ↵John Christopher Anderson
non-admins. this fix is a bit hackish but makes replication work. once the new_replicator is in place this hackish fix will not matter, so for now it is a good solution." This was too much of a hack. This reverts commit 7223697dafa234a9123e6f72b826ba11dc58e88f aka r979907 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@980293 13f79535-47bb-0310-9956-ffa450edef68