summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-11replace autotools with rebarAdam Kocoloski
2010-08-11move ibrowse to rebar layoutAdam Kocoloski
2010-08-11move mochiweb to rebar layoutAdam Kocoloski
2010-08-11move etap to rebar layout and add simple .app templateAdam Kocoloski
2010-08-11move oauth to rebar layoutAdam Kocoloski
2010-08-11reorganize couch .erl and driver code into rebar layoutAdam Kocoloski
2010-08-10backported r984237Noah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@984238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08backported from trunk at r983435.Robert Newson
related to COUCHDB-844. Include committed_update_seq in db_info to allow external monitoring of delayed commits. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@983439 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/branches/1.0.x@983337 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/branches/1.0.x@983333 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/branches/1.0.x@983307 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/branches/1.0.x@983051 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03Add support for replication through an HTTP/HTTPS proxy.John Christopher Anderson
backported from trunk r980985 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@982002 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01Merged revision 981348 from trunk:Filipe David Borba Manana
Bug fix - proper RegExp matching to avoid having a case like "hhtml" being considered as "html". git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@981349 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01Merge revision 981343 from trunk:Filipe David Borba Manana
Add missing clause to the case expression to avoid a case_clause Erlang exception. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@981344 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01Merge revision 981341 from trunk:Filipe David Borba Manana
Bug fix - RegExp matching the atom 'undefined'. 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/branches/1.0.x@981342 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/branches/1.0.x@980320 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 reverts commit bbdce1780b71840abe3197422d697048e708146b. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@980294 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29more relaxed verification of SSL chains, COUCHDB-840Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@980270 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28don't require integer seqnums in the changes feed, COUCHDB-838Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@980266 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27replicator 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. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@979908 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27Merge revision 979887 from trunk:Filipe David Borba Manana
Fix issues with the replicator when using HTTP Basic authentication, receiving an HTTP redirect response, and loosing the authentication credentials because they're not found in the Location header's URL. This happens for example when the replicator does a request to the URI /somedb/_design%2Fmyddoc git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@979888 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25send a basic-auth popup header if require_valid_user=true, to prevent lock-outJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@979083 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24Merge revision 978918 from trunk:Filipe David Borba Manana
Move the tracking of the stat {httpd, clients_requesting_changes} from couch_changes module into the couch_httpd_db module (that stat shouldn't be affected when the changes API is used for internal operations). git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@978919 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23Merged revision 967254 from trunk:Filipe David Borba Manana
Removed warnings about unused vairables. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@967255 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23Merged revision 967251 from trunk:Filipe David Borba Manana
Removed bogus log error message. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@967252 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22humane error message on missing design handlerJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@966687 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20require application/json content-type in the remaining places where a POST ↵John Christopher Anderson
has side-effects git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@965702 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19remove unguarded atom creation to prevent DOS attacks. closes COUCHDB-829John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@965673 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19Merge revision 965434 from trunk:Filipe David Borba Manana
Fix possible bad match error - WriteFun might not return the atom 'ok'. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@965436 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16Revert revision 964957 (COUCHDB-827) - solution had secondary effects.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@964971 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16Merge revision 964956 from trunk:Filipe David Borba Manana
Fix for a pull replication, targeted to a 1.0 CouchDB server, where the source DB is in a remote CouchDB 0.11.0 server and the target DB is local (1.0 CouchDB DB). Closes ticket COUCHDB-827. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@964957 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14Merge revision 964108 from trunk:Filipe David Borba Manana
Bug fix: badmatch error after deleting a user doc (uncovered by revision 963723). git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@964109 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13show the complete document body even when the document is deleted (Couch ↵John Christopher Anderson
lets you store data with a delete but did not render it to JSON) git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@963732 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13test and fix for deleting users documentsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@963731 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08validate admin and content type for compact requestsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@961905 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08Merge revision 961893 from trunk:Filipe David Borba Manana
Fix deletion of view files after compaction. Also added test for view compaction. Thanks Adam for reporting the issue. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@961897 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08Fix for occasional failed tests caused by responding with 202 success to ↵John Christopher Anderson
compaction requests before the compaction actually begins. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@961857 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06dont redirect endlessly when require_valid_user=trueJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960975 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04_log should be an admin-only resourceJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960363 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03Replacing call couch_httpd_db:couch_doc_open/4 with call to couch_db:open_doc/2.Filipe David Borba Manana
It's more correct from a design point of view. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960229 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03Fix deletion to move properly to root of storage, to avoid copying files ↵Damien F. Katz
when view and database dirs are on different mounts. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960153 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03Fixed intermittent problem deleting files on Windows. Added Juhani ↵Damien F. Katz
Ränkimies to THANKS git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960150 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02add line ending to be like the pidfile and fix typo.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960089 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02close #COUCHDB-393. save the uri http://IP:PORT/ inBenoit Chesneau
%localstatelibdir%/couch.uri when couchdb start. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960087 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02fix edge case in users db validation funJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960084 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02Backport warning fix from a future version of ibrowse.Jan Lehnardt
The current release makes our test suite fail and I don't want to pester the 1.0.0 release cycle with this; yet I'd like 1.0.0 (and 0.11.1) to be future proof for Erlang R14B. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@959988 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02Moving duplicated code into a single private module function.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@959946 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01prevent zero byte files, closes COUCHDB-647John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@959791 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01Fix for windows fsync, race conditions in attachments.js and the default ↵Damien F. Katz
shell used when launching windows CouchDB. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@959781 13f79535-47bb-0310-9956-ffa450edef68