summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2010-06-30Bug fix when creating a DB with the option 'sys_db' and the number of ↵Filipe David Borba Manana
current opened DBs corresponds to the max_open_dbs config parameter. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@959246 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25make the authentication redirect URL configurable. setting it to the empty ↵John Christopher Anderson
string yields the 0.11 behavior git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957805 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25Added checking to ensure when a revpos is sent with a stub, it's correct.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957800 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24patch mochijson2 to allow output of big integers not in float form (it ↵John Christopher Anderson
stores them just fine) git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957656 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24don't require a revpos attribute for stubs. closes COUCHDB-809 thanks Caleb LandJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957653 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24better error message for db names, closes COUCHDB-741 thanks FrankJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957613 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24close COUCHDB-795 add X-HTTP-METHOD-OVERRIDE support. Thanks Brian JenkinsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957610 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24wait forever on large ini filesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957599 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24ignore error when loading public_key on R12B5. spotted by barj on ircBenoit Chesneau
and fixed with help of @rnewson. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957596 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24use JSON content type in replicator, require it in the _bulk_docs and other ↵John Christopher Anderson
POST apis git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957422 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24send browsers to /_utils/session.html when they need to log inJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957407 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23Added files missing from last checkin for COUCHDB-807Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957316 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23Authentication caching, to avoid repeated opening and closing of the users ↵Damien F. Katz
database for each request requiring authentication. COUCHDB-807 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957314 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23Make file deletions async to avoid pauses during compaction and db deletion. ↵Damien F. Katz
Fixes COUCHDB-780. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957303 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19fix issue COUCHDB-805. tested on R13B-04 and R14A. also public_key isBenoit Chesneau
available since R12B5. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@956220 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16provide a uuid to update functions (and all other functions) that they can ↵John Christopher Anderson
use to create new docs. closes COUCHDB-802. Thanks Jason Smith, Zachary Zolton, and Dmitry Unkovsky. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@955389 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16small optimization for reordering result listsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@955297 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16remove unused Bt from chunkify functionAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@955244 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15Fix for wrong offset when writing headers and converting them to blocks, ↵Damien F. Katz
only triggered when header is larger than 4k. COUCHDB-800. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@955000 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15Fix warnings on Linux builds.Jan Lehnardt
Patch by Paul Davis. Closes COUCHDB-775 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954950 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15iodata() type is too new for usAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954688 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13hack for log requests during make check, when logger is not runningAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954240 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13synchronous logging, COUCHDB-761. Patch by Randall Leeds.Adam Kocoloski
This patch fixes a bug where calls to get the log level could time out, resulting in an unexpected {ref(), integer()} message in the client's mailbox. This would crash some gen_servers that did not expect the message. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954229 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12log HEAD requests as HEAD, not GET. COUCHDB-788Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954045 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12more efficient header commits. COUCHDB-767Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954044 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12remove unnuecessary receive loop in commit_data. COUCHDB-794Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954043 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12Fix hanging replication. COUCHDB-793. Thanks Filipe and Paul Bonser.Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954027 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10Code mods to support streaming attachment replication.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@953499 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08preserve _revs_limit after compaction. COUCHDB-789Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@952732 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06keep massive invalid json blobs out of the error logger, move them to debug logJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@951918 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05fix #COUCHDB-787 . thanks!Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@951786 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05update_seq is only in view response when update_seq=true is in query paramsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@951776 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03More work to allow for streaming attachment replication.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950865 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02trailing whitespace pedantryJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950545 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02add license bannerJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950542 13f79535-47bb-0310-9956-ffa450edef68