summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-12Add non-streaming log-file handler. A GET request to /_log will show the ↵Jan Lehnardt
last 1000 bytes of the logflie. More bytes can be requested with GET /_log?bytes=10000. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774045 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10export a methodJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@773401 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10refactor JSON body error handling, also consolidate update_docs JSON ↵John Christopher Anderson
response generation. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@773387 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10Refactor the make_view_fold_function stuff. Added a proper Acc to both map ↵John Christopher Anderson
and reduce view folds. Cleaned up some pattern matchers. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@773319 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09Check for invalid document members.Paul Joseph Davis
Removes a guard that only checked for fields with integer values. Adds tests to basics.js git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@773260 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09improved messageNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@773225 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08add changes.js to install targetAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@772978 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06Removing leftover io:format call from debugging.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@772415 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06First cut at _changes api. Update the by_id and by_seq indexes to contain ↵Damien F. Katz
update seq numbers and pointers to bodies on disk, for use in the _changes api. This is a new file version, but the code can continue to serve the old 0.9 version without problems, though certain features in the _changes api will not be able to work. Upgrade to new file version (from 1 to 2) by compacting the file. Also fixed bugs with how the stats api tracks open databases. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@772406 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04use revisions when replicating attachments. Closes COUCHDB-337Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@771480 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04standalone attachment GETs should respect "rev" qs paramAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@771474 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04hinting to reduce sparseness in chunked attachment putsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@771472 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04helpful note about config settingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@771467 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04reduce_limit error is thrown when the reduce function output is not small ↵John Christopher Anderson
enough compared to the input. Errors can be switched off using the config API. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@771466 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04Use batch=ok query param for document PUT and POST to defer index updates ↵John Christopher Anderson
until a threshold of documents (or amount of time) has been passed. This option returns a 202 Accepted response instead of a 201 Created, so do not use it for applications which require all data to be saved safely to disk. It is ideal for applications like logging where losing some events in a crash will be ok. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@771418 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01Exporting the main function for sending view responses.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@770782 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29Accidentally checked in a debug statement.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@769804 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29Closes COUCHDB-320 (ignore Content-Type in _temp_view). Thanks B. CandlerAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@769792 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28undo local changeJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@769211 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27add newline at the end of ini file to make quick editing work, also POSIXJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@769181 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27Resolves COUCHDB-332 Proper errors for invalid docids.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@769127 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27Fix and test for COUCHDB-334 where a database with delayed commits pending ↵Damien F. Katz
is considered idle, and subject to losing changes when shutdown git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@769109 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25Resolves COUCHDB-331 - Allow reduce=true&include_docs=falsePaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@768573 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22Refactoring the view URL parameter parsing.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767543 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22corrected background optionNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767506 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22The _compact handler went missing from the default ini file. Trunk should nowPaul Joseph Davis
be passing all tests again. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767398 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22trunk is 0.10.0aJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767362 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21added -maxdepth 1 to configuration directory find invokationNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767208 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21added -A for adding configuration directoriesNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767206 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21only pick up files in configuration directoriesNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767204 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21fixed variable replacementNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767190 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21added note about breaking changesNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767176 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21updated for configuration changesNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21added new configuration systemNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767164 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20Fix for process leaks with retrying compactions.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766883 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20Makefile.am improvementsNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766767 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20be more verboseJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766751 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19add main.js to install files. Noah, can you double check?Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766506 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19COUCHDB-306 - Improving reported errors.Paul Joseph Davis
Case #3 turns out to be misusing the end-point for HTML forms that Futon uses. For new people it would also be triggered by accidentally using POST when a PUT to /db_name/docid is used. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766505 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19fix ./configure --help output, ERL[C]_EXECUTABLE are now ERL[C]Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766493 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19add server/main.js to all: targetJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766476 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19add a startup checkpoint to couch.logJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766467 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19whitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766456 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18fix make distcheck, thanks NoahJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766407 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18move main.js generation to MakefileJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766406 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18add generation-noticeJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766399 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18run mainjs.sh if one of the source files changedJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766392 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18integrate main.js split-up into build systemJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766390 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18refactor main.js into many files and improve show/list error handlingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766383 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18Resolves COUCHDB-306 - Wacky error responses to malformed documentsPaul Joseph Davis
Mostly adds improvements to the parsing of Json bodies for _bulk_docs and multi-get queries. Includes tests in basics.js and view_errors.js. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766373 13f79535-47bb-0310-9956-ffa450edef68