summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Replicator: negotiate a session cookiereplicator-cookieRobert Newson2013-01-061-3/+36
|
* A portable way to populate THANKS.Jan Lehnardt2013-01-041-2/+14
| | | | | | | | | | | In particular: - BSD sed and GNU sed dosagree on commandline options. - echo "\n" >> FILE or "\r\n" for that matter, does not create a newline in FILE on Windows. Original patch by Christopher Bonhage, applied with slight modification. Closes COUCHDB-1628.
* Fix typo in CORS header.Jan Lehnardt2012-12-292-4/+4
| | | | | | Thanks to Anthony Ramine for the heads up at https://github.com/apache/couchdb/commit/b90e40212663474e873fde6cab343c31c1e635e7#commitcomment-2355206
* fix make check-js typoJan Lehnardt2012-12-221-1/+1
|
* Fix `make check-js` for non-`make` builds.Jan Lehnardt2012-12-222-2/+9
| | | | | | This patch passes the `$(MAKE)` value to `test/javascript/run` so it can in turn invoke `$(MAKE)` instead of literal `make`, so builds that use e.g. `gmake` succeed.
* minor NEWS & CHANGES (capitalization)Randall Leeds2012-12-201-1/+1
|
* Delete view files on database deletionRobert Newson2012-12-201-4/+6
| | | | | | | | | | | | | | | couch_file:nuke_dir attempts to recurse into subdirectories and delete the contents, it does so when couch_file:delete returns {error, eperm}. Unfortunately, the subdirectory has been renamed to a random uuid before returning, and so the recursive call gets {error, enoent} from list:dir(Path) where Path is the original (non-existent) subdirectory path. View files are not currently deleted when a database is because of this (this happened since 1.2.0, no release is broken) because the view engine rewrite added a further directory level called 'mrview'. This patch modifies nuke_dir to depth-first, solving the issue.
* improve parsing of mochiweb relative pathsSriram Melkote2012-12-191-2/+9
| | | | Patch adapted from http://www.couchbase.com/issues/browse/MB-7390
* Include a comment before jsonp outputRobert Newson2012-12-191-1/+1
|
* Improve script url validationRobert Newson2012-12-191-6/+3
|
* Remove extraneous ETag warning during compilationBenoit Chesneau2012-12-141-1/+1
|
* Docs: add notes on CORS functionalityDave Cottlehuber2012-12-135-2/+186
|
* link to embedded HTML documentation must have a trailing / to workDave Cottlehuber2012-12-131-1/+1
|
* Use non-compressed Content-Type in attachments test suitesDave Cottlehuber2012-12-132-6/+10
| | | | | | | | | | MD5-Digests of attachments are calculated on the compressed data if the attachment MIME type is compressible, as defined in default.ini [attachments] compressible_types Windows uses a different gzip implementation, and therefore generates different MD5-Digests than other platforms. Using binary Content-Type resolves this.
* COUCHDB-1334 - revert "More efficient communication with the view server"Dave Cottlehuber2012-12-124-87/+25
| | | | | | | | | This reverts commit a851c6e - COUCHDB-1334 breaks with Windows + couchjs in unexplained ways - reducing to 1 concurrent query server is not sufficient - Testing with open_port options overlapped_io was not in itself sufficient - http://erlang.org/doc/man/erlang.html find overlapped_io - Refer history in COUCHDB-1346
* Added support for `make -j` and `make -n`Noah Slater2012-12-113-28/+60
|
* Add docs and search links into FutonNoah Slater2012-12-117-9/+879
|
* Add Sphinx-related build changes into READMEsNoah Slater2012-12-119-77/+322
|
* Integrate Sphinx into autotoolsNoah Slater2012-12-1122-326/+1062
| | | | | | | | | | | | | | | | Integrate Sphinx into autotools - Remove M4 macros and require as external dependencies instead - Skip help2man generation if help2man is not installed - ensure THANKS file is only updated during make distcheck - Add TexInfo, PDF, HTML doc targets via Sphinx - Add licenses and header compliance checking - support optional builds of PDF, HTML, texinfo via Sphinx and pdflatex - support skipping docs or compiler tests for happy developers Travis: clean up package dependencies - include sphinx via aptitude - use spidermonkey 1.8.5 instead of default libmozjs - include latex components for building PDFs
* Transmogrify Couchbase XML to .rst and support SphinxDave Cottlehuber2012-12-1168-28614/+10635
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Authors: Alexander Shorin <kxepal@gmail.com> Dave Cottlehuber <dch@apache.org> Dirkjan Ochtman <dirkjan@ochtman.nl> Robert Newson <rnewson@apache.org> Tady Walsh for the spiffy logo Robert Newson: - hear no eval, see no eval, speak no eval - fix minor niggles Dave Cottlehuber: - Remove vestiges of svn URLs in comments - Add browser EventSource protocol support for changes feed - Add all UUID algorithms including new utc+suffix-based UUID scheme - refactor 1.1.x features and other into 1.2.0 docs - remove manual.rst & release.rst files, only used during migration - prepare conf.py to be run from share/Makefile similar to: sphinx-build -a -E -W -n \ -D version='$ver' \ -D release='$ver-git-sha' \ -D project='Apache CouchDB' \ -D copyright='$year, Apache Software Foundation' \ -c `pwd` \ -d /tmp/ \ rst/ \ <output_dir> - set sphinx config: - update copyright & project - set default syntax highlighting to JSON - output docs to share/docs/manual - move into share/docs/rst - move old 1.1 .rst updates into main area - add release.rst for future release notes - swap specific versions and releases for sphinx variables Transmogrify XML to rst using pandoc 1.9.4.2: pandoc --smart --preserve-tabs --normalize --reference-links --chapters \ --number-sections --standalone --from docbook --to rst --output rst/manual.rst couchdb-manual-1.1/*.xml pandoc --smart --preserve-tabs --normalize --reference-links --chapters \ --number-sections --standalone --from docbook --to rst --output rst/release.rst couchdb-release-1.1/*.xml rm -rf share/docs Alexander Shorin: - Convert CHANGES file to rst, update information about 1.3.0 release. - Actual till #fb670f5712 commit at 2012-12-02. - Enable extlink extension. Setup extlink to CouchDB JIRA and Apache Git commits. - Enable sections enumeration. Looks nicer for further referencing. - Fix copy-paste typo, remove changes history for request object - Add article about queryservers: JavaScript and Erlang one - Complete article about how to write design documents - Shift filter functions from changes and point to ddocs - Add response object and view head info structure - Add query server and CommonJS - Fix markup of errors section - Fix caution blocks - Add back JSON structure reference - Clarify what kind of contents should go in views - Add back configuration option reference - Add TODO.txt for future reference - Add tables to start of API reference sections (except for design docs) - Fix indentation - Add syntax highlighting - Add to-do statements - Fix weird `_` escaping - Wrap statements - Add method descriptions - Clean up tables - Add missed `PUT /db/_revs_limit` description Dirkjan Ochtman: - Move .rst files into Sphinx Layout - Move rst files and copy images into a Sphinx project - Split manual & release docs into smaller pieces - Update version numbers - Move API docs into separate directory
* import Couchbase docsDave Cottlehuber2012-12-1131-0/+28614
| | | | | | | | git clone git://github.com/janl/couchdb-docs.git cd couchdb-docs rm -rf DocKit Makefile Makefile.bootstrap README.md common couchdb-manual-1.1 couchdb-release-1.1 metadocs git checkout 9fc95b422060d020ba25f559e893fc7fb98c9a15 -- 'couchdb-manual-1.1/*.xml' 'couchdb-release-1.1/*.xml' tar cvzf couchdb-docs.tar.gz couchdb-manual-1.1 couchdb-release-1.1
* Close view files cleanly on DB create/deleteAdam Kocoloski2012-12-051-1/+3
| | | | | | | | | | | | The shutdown_sync was actually interfering with a clean shutdown initiated by the index processes themselves when they received a 'DOWN' message from their monitoring of the DB process. The explicit 'delete' cast message in this patch is very probably redundant, but it makes the intent clear. The important bit is to let the index process terminate *and* get confirmation of the termination before attempting to nuke the directory. COUCHDB-1364
* Require Erlang R13B04 or laterJan Lehnardt2012-12-062-6/+6
|
* fix whitespaceJan Lehnardt2012-12-054-22/+22
|
* Experimental support for Cross-Origin Resource Sharing (CORS).Jan Lehnardt2012-12-059-20/+825
| | | | | | | | | | | | | Closes COUCHDB-431 Patch by: - Dale Harvey - Benoit Chesneau - Jan Lehnardt - Robert Newson See `etc/couchdb/default.ini.tpl.in` for configuration examples.
* use more docs in view_compaction test to ensure a differenceJan Lehnardt2012-12-051-9/+9
|
* COUCHDB-1622 ensure that Windows batch file uses same VM flags as the ↵Dave Cottlehuber2012-12-041-1/+1
| | | | service and UNIX
* Don't eat custom ERL_LIBS.Jan Lehnardt2012-12-041-1/+1
| | | | | | Patch by Volker Mische. Closes COUCHDB-1621
* Make dependency on unistd.h specific to HAVE_CURL instead in the whole fileDave Cottlehuber2012-12-011-1/+1
| | | | | - introduced in COUCHDB-1338 - allows building cleanly on Windows without cURL
* Deprecate E4XJan Lehnardt2012-12-011-0/+2
|
* fix formatting in NEWSJan Lehnardt2012-12-011-3/+3
|
* COUCHDB-430,514,764 Fix list HTTP header handling.Caleb Case2012-11-284-26/+85
| | | | | | | | | | | | | | | | | | | | | | | | | Currently calls to getRow() cause the HTTP headers to be sent immediately back to the client. This happens even if an error is thrown after the getRow(), but before any send(...) or start(...). Worse, if a list throws an exception an extra, invalid header is sent to the client (resulting in various bad behavior). Erlang list handling will now wait until data has been sent BEFORE sending the HTTP headers to the client. If an error is reported it will result in an HTTP error code as expected. This does not change the behavior of errors thrown AFTER data has been sent: They will still result in an HTTP 200 even if an error is reported. The line protocol between Erlang and os processes has been extended to support an optional Header field on "chunks" and "end". The javascript list handling has been updated to use this if a new header is set via start(...). This makes it possible to begin processing with getRow(), but later reset the headers via start(...). Again, if data has been sent(...) the new headers will NOT take effect. COUCHDB-430 COUCHDB-514 COUCHDB-764
* Stabilize replication idRobert Newson2012-11-271-0/+1
| | | | | | | | | This patch introduces a stable server-wide UUID which is used in place of the local hostname and port number in new replication ids. This allows CouchDB to find a valid checkpoint even if the coordinating node's port has changed (it might be using a dynamic port, for example). COUCHDB-1259
* Return X-Couch-Id from show functions if doc is createdRobert Newson2012-11-212-2/+6
|
* test for 1608Robert Newson2012-11-211-0/+8
|
* Revert "Document Id and Rev in response headers" patchRobert Newson2012-11-213-28/+3
| | | | | | | | | | | This patch breaks some update handlers and also assumes that any JSON response body with a property called 'id' is the actual id of a created or updated document. This reverts; 0a64f310b43b90176bb59040e7e866978c429c88 4edbb93d2271ac1eb82f4d2bb072b8bdf6829f85 b9af7ea506ac95034a91951f29e1f4249ef4317c
* Allow a final config override to be specified via environment.Dustin Sallings2012-11-191-0/+4
| | | | | | | | | | | | | This lets the OS X startup define this user's config which will be used for editing and what-not. Forward port from 1.2.0 Change-Id: I03ebce57030457e25c9c8cb60a679547a0cd84bf Reviewed-on: http://review.membase.org/6380 Tested-by: Dustin Sallings <dustin@spy.net> Reviewed-by: Steve Yen <steve.yen@gmail.com> Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
* Support auth cookies with : charactersRobert Newson2012-11-181-1/+1
| | | | | | | | | | The parts of a couchdb authentication cookie are separated by colons. One of these parts can contain colons and, more rarely, runs of colons. The string:tokens function silently drops any empty token, thus giving a spurious failure for valid input. The fix changes this mechanism to one that losslessly decodes this part. COUCHDB-1607
* Work around race conditions in tests on faster hardware.Jan Lehnardt2012-11-142-0/+9
| | | | THIS NEEDS A PROPER FIX.
* Stabilize replication idRobert Newson2012-11-147-2/+28
| | | | | | | | | This patch introduces a stable server-wide UUID which is used in place of the local hostname and port number in new replication ids. This allows CouchDB to find a valid checkpoint even if the coordinating node's port has changed (it might be using a dynamic port, for example). COUCHDB-1259
* Log problems opening database at ERROR level except for auto-created system dbsRobert Newson2012-11-134-5/+9
|
* Restore 400 error for empty PUTRobert Newson2012-11-091-0/+2
|
* Allow any 2xx code to indicate successRobert Newson2012-11-081-2/+2
|
* Test the X-Couch-Id headerBenjamin Nortier2012-11-021-1/+3
|
* Only return X-Couch-Id (rev is available in ETag)Benjamin Nortier2012-11-021-12/+12
|
* Document Id and Rev in response headersBenjamin Nortier2012-11-022-2/+25
|
* Merged pull request #7 from @mikeymckay, with thanksMike McKay2012-11-011-1/+2
|
* Consume all ibrowse messages before stream_nextAdam Kocolosk2012-10-311-7/+18
| | | | | | | | | | | The flow control in ibrowse's async response streams is tricky. We call stream_next to pull more data off the socket, but it seems that ibrowse will sometimes split that data into multiple messages. If we call stream_next for each message we process we end up with an overflowing mailbox. This patch changes the consumer so that it clears out the mailbox before calling stream_next.
* Update NEWS & CHANGESRandall Leeds2012-10-252-0/+8
|
* don't delete view groups that fail to openRandall Leeds2012-10-251-3/+4
| | | | ...but log a message instead. Fixes COUCHDB-1445.