summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Handle invalid UTF-8 byte sequences gracefully by replacing them with 0xFFFD1425-fix-graceful-surrogate-handlingJan Lehnardt2013-10-022-13/+17
| | | | | | | | | | | | | | | | | | | | | | CouchDB's Erlang JSON parser allows storing of invalid UTF-8 byte sequences. The Query Server inside CouchDB fails upon encountering these byte sequences. The view process fails for the current batch of document updates. The result is that the view is invariably broken. Only removing the document in question solves this otherwise, but finding that is hard as the `log()` inside the Query Server dies with the invalid byte sequence because our protocol is synchronous and map results an `log()` messages generated therein are submitted together. This patch replaces invalid bytes with the the surrogate chacracter 0xFFFD. Closes COUCHDB-1425. Patch by Sam Rijs <recv@awesan.de> and Paul Davis. Eventually, this should be fixed at the HTTP level, so that no documents with invalid byte sequences can be written to CouchDB. The jiffy encoder we'll get with BigCouch will do that for us. This is a fix for the releases until then.
* Removed checks, to include in release procedureNoah Slater2013-03-031-3/+0
|
* Switch to proper SemVer for builds, add acinclude checks, and remove ↵Noah Slater2013-03-033-18/+11
| | | | distsign target
* Added info about release time depsNoah Slater2013-02-281-8/+14
|
* Added CVE-2010-2234 to NEWS and CHANGESNoah Slater2013-02-272-0/+5
|
* Added CVE-2010-3854 to NEWS and CHANGESNoah Slater2013-02-272-0/+5
|
* Correcting NEWS and CHANGES discrepanciesNoah Slater2013-02-272-4/+0
|
* Correcting NEWS and CHANGES discrepanciesNoah Slater2013-02-271-0/+2
|
* Correcting NEWS and CHANGES discrepanciesNoah Slater2013-02-272-2/+40
|
* Correcting NEWS and CHANGES discrepanciesNoah Slater2013-02-271-1/+32
|
* Correcting NEWS and CHANGES discrepanciesNoah Slater2013-02-271-4/+20
|
* Correcting NEWS and CHANGES discrepanciesNoah Slater2013-02-271-3/+4
|
* Correcting NEWS and CHANGES discrepanciesNoah Slater2013-02-271-3/+24
|
* Correcting NEWS and CHANGES discrepanciesNoah Slater2013-02-272-114/+117
|
* whitespaceNoah Slater2013-02-211-1/+0
|
* fixed buildNoah Slater2013-02-213-6/+21
|
* Update DEVELOPERSJakub2013-02-211-0/+4
| | | | Added --prefix configure option information.
* Use our official doc linksDave Cottlehuber2013-02-201-4/+4
|
* add contributing chapterJan Lehnardt2013-02-203-0/+172
|
* document number encodingJan Lehnardt2013-02-201-0/+187
|
* fix make distcheck on linuxJan Lehnardt2013-02-191-1/+0
|
* Reset rewrite counter on new requestRobert Newson2013-02-175-10/+31
| | | | | | | | We were spuriously throwing rewrite limit exceeded for non-looping rewrites. This patch resets the count to zero at the start of a new request and adds a test. COUCHDB-1651
* Move myself from THANKS to AUTHORS.Joan Touzet2013-02-112-1/+1
|
* Merge branch '1675-fix-roles-validation'Robert Newson2013-02-112-0/+16
|\
| * 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
* | refactor replicator_db_security to be more resilientJan Lehnardt2013-02-081-8/+12
| |
* | split replicator_db testsJan Lehnardt2013-02-0823-1562/+2347
|/
* 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
|