summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2009-06-15Send CouchDB Server: header for all external queries. Fixes COUCHDB-379.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@784706 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14merge list-iterator branch to trunk. changes JavaScript _list APIJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@784601 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09removed redundant lineNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@783129 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06truncate giant reduce overflow error outputJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@782290 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04doh. remove console.logJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@781830 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01Added tests for heartbeat and timeout options in the _changes api.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@780539 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30Test and fix for infinite loops in view_servers, fix for crashed OS ↵Damien F. Katz
processes causing leaked erlang processes and fix for view server crashing when view group process terminates. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@780165 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29Removed unfixed tests cases accidently checked in.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@779826 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29Fix and test for COUCHDB-366, uploading large attachments causes 500 error.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@779824 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25Merging new tail append storage into trunk. Upgrades are automatic, once ↵Damien F. Katz
opened by this version old versions of CouchDB will not be able to open the files. As a precaution, you should back-up your production databases before upgrading. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@778485 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23added an design doc option so that doc._local_seq can be available in the ↵John Christopher Anderson
map view. Closes COUCHDB-346 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@777757 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18View source loads the original file now.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@775796 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13Fixes COUCHDB-349Paul Joseph Davis
Removing a _view can cause the database browser interface to break git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774587 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13Adding testing for GET /_changes?continuous=true by adding a GET ↵Damien F. Katz
/_sleep?time=Msecs call, which allows the browser to process the waiting data on the other async XHR request. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774474 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13Closes COUCHDB-334 - Add JSONP support to CouchDBPaul Joseph Davis
Use JSONP by providing a ?callback=function_name URL paramter for any URL returning JSON data. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774180 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12You can now specify either "_sum" or "_count" as the source code for 2 ↵John Christopher Anderson
built-in Erlang reduce functions. The framework is ready for YOU to add more built in reductions. The short list includes: _avg, _stddev, _min, and _max. We could also have one function that does all that in a single function, but it might not be as fun to use. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774101 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-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-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-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-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-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-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-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-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-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
2009-04-18Fixes COUCHDB-322Paul Joseph Davis
Specifying reduce=true now returns a 400 error when the view has no reduce function. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766347 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17output errors differently during chunked responses (view and list)John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765819 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16Baby steps toward better reporting of os_process errors (and JavaScript ↵John Christopher Anderson
syntax errors) git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765479 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15add bulkSave method to jquery.couch.jsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765419 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15URL-encode attachment paths during replicationAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765364 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14whitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@764835 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10Fixes for leaked file handles, with test.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@763858 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09Fix for attachment sparseness bug COUCHDB-220 by giving each attachment it's ↵Damien F. Katz
own stream and calling set_min_buffer instead of ensure_buffer. Also fixed spurious couch_file crash messages by putting the statistics decrement code into a seperate monitoring process. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@763816 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28always load _conflicts in _show functionsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@759588 13f79535-47bb-0310-9956-ffa450edef68