summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Only allow strings in user doc "roles" array1675-fix-roles-validationRobert Newson2013-02-102-0/+16
| | | | | | | | | We validate that _security documents only contain strings but we have not done the same for the roles field in user docs. This is a breaking change as users may have been inserting other things (notably, objects) in this field. COUCHDB-1675
* support JSONP in externalsRobert Newson2013-02-072-8/+13
| | | | COUCHDB-1313
* fix `make dist`Jan Lehnardt2013-02-071-0/+1
|
* Unfix view compaction progress reportsPaul J. Davis2013-02-072-10/+9
| | | | | | | | This reverts the compaction task status progress back to what exists on 1.2.x. The issue is that we use the number of documents in the database instead of the number of docids in the union of all views (the number of rows in the view's id btree). In this particular case the desire to have seamless view upgrades outweighs fixing the relatively minor UI bug.
* COUCHDB-1654: Transparently update view signatures from <= 1.2.x.Jan Lehnardt2013-02-065-0/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates 1.2.x or earlier view files to 1.3.x or later view files transparently, the first time the 1.2.x view file is opened by 1.3.x or later. Here's how it works: Before opening a view index, If no matching index file is found in the new location: calculate the <= 1.2.x view signature if a file with that signature lives in the old location copy it to the new location with the new signature in the name. Then proceed to open the view index as usual. After opening, read its header. If the header matches the <= 1.2.x style #index_header record: upgrade the header to the new #mrheader record The next time the view is used, the new header is used. If we crash after the rename, but before the header upgrade, the header upgrade is done on the next view opening. If we crash between upgrading to the new header and writing that header to disk, we start with the old header again, do the upgrade and write to disk. Includes etap tests in 250*.t.
* COUCHDB-1667: Revert index_dir to view_index_dir config option.Jan Lehnardt2013-02-064-13/+3
| | | | Patch by Alexander Shorin.
* Automatically support CouchDB plugins (GeoCouch, BrowserID, OAuth, etc.)Jason Smith (work)2013-02-061-0/+17
|
* Do not log errors on creating new view index.Jan Lehnardt2013-02-041-1/+1
| | | | | | | | | | While view index file may be really missed, it's ok for new views and this error will be self-healed on next couch_file:open call so there is no reason to worry user about. COUCHDB-1666 Patch by Alexander Shorin.
* Update ICU urlRobert Newson2013-01-302-2/+2
| | | | COUCHDB-1662
* Support any type of Git checkout (cloned, or submodule)Jason Smith (work)2013-01-301-2/+2
|
* fix multipart response mixup, fixes replication.jsJan Lehnardt2013-01-271-7/+7
|
* (COUCHDB-1305) isolate db process crashesRandall Leeds2013-01-261-15/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge of 1305-fix-isolate-db-crashes [@davisp: I'll keep doing this nonsense until we allow merge commits!] Note that there was previously a small error where couch_sys_dbs ETS table was being searched for a #db record rather than the db name. That's fixed here because I saw it. Sorry for not making it a separate commit. Squashed commit of the following: commit f9e4e8a6e426d1569fac4cd707bbd393b102147d Author: Randall Leeds <randall@apache.org> Date: Sat Jan 26 06:28:20 2013 -0800 don't handle case clause when death happens anyway Presumably the reason for the process exit is already logged by the exiting process (unlike an unexpected message of another sort which may not have been logged already). commit 10a052a3eddbd7e89b553966895ee38a9ce439d4 Author: Randall Leeds <randall@apache.org> Date: Sat Jan 26 06:25:23 2013 -0800 consolidate two similar handle_info clauses commit 6f3feb09e347dfe0c6812fd71e3f40d15d8d1ced Author: Randall Leeds <randall@apache.org> Date: Sat Jan 26 04:35:35 2013 -0800 isolate db process crashes in couch_server closes COUCHDB-1305
* Squashed merge of 1569-feature-low-disk-space-warn:Randall Leeds2013-01-263-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | commit de76884544f95fdaf3492a2f88899d7e1fd41326 Author: Randall Leeds <randall@apache.org> Date: Sat Jan 26 10:34:04 2013 -0800 export the new warn log funs commit e71cf0499788553f457275558aaf3658fd74fe81 Author: Randall Leeds <randall@apache.org> Date: Sat Jan 26 10:33:15 2013 -0800 fix mistake in ?LOG_WARN commit 5abc82b79e93a089b942dfabefb57e57fc243207 Author: Randall Leeds <randall@apache.org> Date: Sat Jan 26 10:12:58 2013 -0800 change low disk space message to warn level closes COUCHDB-1569 commit a1461a2b92f8cbd89f0aebe7339e754836d14202 Author: Randall Leeds <randall@apache.org> Date: Sat Jan 26 09:59:03 2013 -0800 add a ?LOG_WARN and warning level for couch_log
* typobenoitc2013-01-261-1/+1
|
* add another missing dependency.benoitc2013-01-261-0/+1
|
* add missing dependeciesbenoitc2013-01-261-0/+3
|
* Avoid badmatch when replicator dbnames have leading slashes.Jan Lehnardt2013-01-263-0/+12
| | | | | | Closes COUCHDB-317 Patch by Joan Touzet.
* also trap SIGINT when running js testsRandall Leeds2013-01-261-1/+1
|
* enable JaegerMonkey features on mozjs185Randall Leeds2013-01-261-0/+4
| | | | closes COUCHDB-1376
* update ibrowse to 4.0.1Jan Lehnardt2013-01-127-265/+566
|
* Update snappy to 1.0.5Jan Lehnardt2013-01-128-110/+289
|
* update erlang-oauth to 1.3.0Jan Lehnardt2013-01-1213-270/+278
|
* update jquery to 1.8.3Jan Lehnardt2013-01-123-4878/+5382
|
* reflect that we reverted 1334 in the various change log filesJan Lehnardt2013-01-113-4/+0
|
* Backport 1.0.4 release notesRobert Newson2013-01-082-0/+31
|
* Send attachment headers in multipart responsesJan Lehnardt2013-01-082-24/+87
| | | | | | | | Closes COUCHDB-1368 Patch by: - Jan Lehnardt - Robert Newson
* 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 pbkdf2 specRobert Newson2012-12-311-1/+1
|
* master is 1.4.xJan Lehnardt2012-12-291-1/+1
|
* 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.
* 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.
* Export handle_file_reqRobert Newson2012-12-201-1/+1
|
* Fix unused variable warningsRobert Newson2012-12-201-2/+2
|
* improve parsing of mochiweb relative pathsSriram Melkote2012-12-191-2/+9
| | | | Patch adapted from http://www.couchbase.com/issues/browse/MB-7390
* Ignore multipart epilogueRobert Newson2012-12-192-2/+2
| | | | COUCHDB-1632
* 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-145-2/+186
|
* link to embedded HTML documentation must have a trailing / to workDave Cottlehuber2012-12-141-1/+1
|
* Use non-compressed Content-Type in attachments test suitesDave Cottlehuber2012-12-142-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.
* 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