summaryrefslogtreecommitdiff
path: root/etc/couchdb
AgeCommit message (Collapse)Author
2009-09-17Fixes COUCHDB-396Paul Joseph Davis
Makes the stats calculated over a moving window isntead of calculated for non-overlapping timeframes. This should make trend monitoring more robust. Thanks once again to Bob Dionne for double checking this. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@816043 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16uncomment [admin] section to avoid easy user error and for consistencyJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815863 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09choice of uuid algos for better insert perf. Closes COUCHDB-465. Thanks ↵Adam Kocoloski
rnewson, bitdiddle git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@813051 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18Fixing make distcheck errors.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805272 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18Applying markh's Windows build patch.Paul Joseph Davis
Fixes COUCHDB-406 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805243 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15delayed commits are now a config option, off by default. Closes COUCHDB-449Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804427 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11Initial commit of _update handler. Thanks to Paul Davis, Jason Davies for ↵John Christopher Anderson
code and others for discussion. The _update handler accepts POSTs to paths like: /db/_design/foo/_update/bar and PUTs which include docids, like: /db/_design/foo/_update/bar/docid The function signature: function(doc, req) { doc.a_new_field = req.query.something; return [doc, "<h1>added something to your doc</h1>"]; } The tests in update_documents.js are fairly complete and include examples of bumping a counter, changing only a single field, parsing from (and returning) XML, and creating new documents. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@803245 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04Initial check-in of OAuth and cookie authentication.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@800938 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Updated local_dev.ini build target as per Noah's suggestion.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797216 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23Make local_dev.ini a build product.Paul Joseph Davis
Finally fixing the local_dev.ini problem. local.ini will be copied over to local_dev.ini anytime the latter doesn't exist. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797097 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10Apply patch from Benoit Chesneau's COUCHDB-404John Christopher Anderson
Restores 0.8-style /db/_view view urls and adds an option to render views and documents as other formats like: /db/docid?show=blog/post /db/_view/blog/posts?list=index We're retaining the longer _design/appname paths as well because that resource is valuable for reverse proxies and rewriters. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792771 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06trimmed trailing whitespaceNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04Name view index files by their function hashes for no downtime deploys. ↵John Christopher Anderson
Closes COUCHDB-218 Adds ability to switch view indexes on the fly by building the index from a "staging" design doc, and then COPYing the staging doc to the production doc's id. Since indexes are referenced by view definition, the new version of the production design doc will point immediately to the index files already built in staging. Please use and give feedback. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791140 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27A /_whoami handler to provide client apps with access to the active userCtx ↵John Christopher Anderson
for their session. Thanks to the CouchDB University students and janl for helping to implement this. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@788971 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-19Add a configuration parameter for the default database handler.Paul Joseph Davis
Closes COUCHDB-353 Thanks Brad Anderson git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@776143 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-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-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-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-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-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-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-21added new configuration systemNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767164 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05added compaction for view indexes. See COUCHDB-92Adam Kocoloski
No tests or Futon interface for this feature yet. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@762153 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24added local_dev.ini to tarballNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@757823 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21Fix for COUCHDB-300. Old seq were being removed when a conflict. An old bug, ↵Damien F. Katz
but recent changes made it much more likely to happen. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@756925 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17remove unintentional commit of admin credentialsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755185 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16sensible error message if doc._rev is null or a numberJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@755023 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09merge design doc resource branch. breaking changes to _view query paths. John Christopher Anderson
closes COUCHDB-280 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@751813 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06configure view and external server timeout in using ini variables.John Christopher Anderson
closes COUCHDB-246 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@751020 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22Add runtime statistics -- without EUnit tests for now.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746691 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15View etags are now provided. See note in the source about how they could be ↵John Christopher Anderson
more efficient. Changes arity on make_view_fold_fun etc. Closes COUCHDB-4 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744747 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13Accept standalone attachment PUTs with Transfer-Encoding: chunked John Christopher Anderson
Includes a patch to mochiweb_request that is under review for inclusion upstream. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743971 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12Fix for spurious 'server restarted' during replicationDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743801 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12allow user-configurable directory for view indexes.John Christopher Anderson
closes COUCHDB-168. thanks Adam Kocoloski git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743653 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26Change _slow_view back to _temp_view, as discussed on the mailing list (see ↵Christopher Lenz
http://markmail.org/message/o44cafucgwlpudov). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737859 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23added newlineNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737127 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 - document [admin] section in local.iniJan Lehnardt
- remove test-run leftovers from local_dev.ini git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736990 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23Added task status checking, to help debug the progress of long running ↵Damien F. Katz
tasks, like view indexing and compaction. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736906 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23View list functions can stream views in any format. See list_views test for ↵John Christopher Anderson
details. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736876 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19tests for fix to COUCHDB-215, and changing of how max_dbs_open setting is ↵Damien F. Katz
handled at runtime. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735875 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12rename _form to _show and move the funcs in the design doc to design.show.docsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733576 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04Rename _temp_views to _slow_views. Any clients who were using temp views are ↵John Christopher Anderson
encouraged not to use slow views, and instead transition to design documents (or running the views on the client). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731144 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29merge form branch to trunkJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730016 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24I agree with Damien that action.js is more than we want to support right ↵John Christopher Anderson
now. External is not activated by default, but remains available, see default.ini for details. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@729376 13f79535-47bb-0310-9956-ffa450edef68