{"ref":"refs/heads/master","commits":[{"author":{"name":"Filipe David Manana","email":"e0fcd583df77ec6c08e6d1257619cc1216ddc994@apache.org"},"message":"Make attachment stream buffer size configurable\n\nInstead of being hardcoded to 4Kb, it is now configurable.\nA quick test using couch_doc:att_foldl/3 against a 128Kb\nattachment written using a buffer of 4Kb and 32Kb:\n\nBuffer size of 4Kb:\n\n4> Att = hd(Doc#doc.atts).\n     type = <<\"application/x-www-form-urlencoded\">>,\n     att_len = 131072,disk_len = 131072,\n     md5 = <<76,223,24,223,251,252,182,43,98,104,11,89,222,122,\n             185,12>>,\n     revpos = 1,\n     data = {<0.159.0>,\n             [{79,8192},\n              {8277,8192},\n              {16475,8192},\n              {24673,8192},\n              {32871,8192},\n              {41069,8192},\n              {49267,8192},\n              {57465,8192},\n              {65663,8192},\n              {73861,8192},\n              {82059,8192},\n              {90257,8192},\n              {98455,8192},\n              {106653,8192},\n              {114851,8192},\n              {123049,8192}]},\n     encoding = identity}\n5> element(1, timer:tc(couch_doc, att_foldl, [Att, fun(B, A) -> [B | A] end, []])).\n1353\n\nBuffer size of of 32Kb:\n\n4> Att = hd(Doc#doc.atts).\n     type = <<\"application/x-www-form-urlencoded\">>,\n     att_len = 131072,disk_len = 131072,\n     md5 = <<76,223,24,223,251,252,182,43,98,104,11,89,222,122,\n             185,12>>,\n     revpos = 1,\n     data = {<0.157.0>,\n             [{79,40960},{41053,40960},{82027,40960},{123001,8192}]},\n     encoding = identity}\n5> element(1, timer:tc(couch_doc, att_foldl, [Att, fun(B, A) -> [B | A] end, []])).\n782\n\nCloses COUCHDB-1009.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/f4bdd95edcab4f8e49575aa3d7f040c134644947","sha":"f4bdd95edcab4f8e49575aa3d7f040c134644947"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"Fix change password dialog for admin users.\n\nFix change password for admin users that have a config entry as well\nas a _users doc.\n\nThe password change flow is now:\n\n - if the current user has the _admin role set\n   - if it has a corresponding config entry\n     - update that entry\n - if the current user has a user doc\n   - update that user doc","url":"https://api.github.com/repos/fdmanana/couchdb/commits/84dea02aaaa8e3dc05bcf5a59474f4c332470afb","sha":"84dea02aaaa8e3dc05bcf5a59474f4c332470afb"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"Prefer stringFun() over toString() and add binary test to update functions.\n\nCloses COUCHDB-626\n\nPatch by Brian Candler.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/f94530da90a4ea9b60185b57c2a35b923ecf3fa1","sha":"f94530da90a4ea9b60185b57c2a35b923ecf3fa1"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"Allow POST to _log.\n\nPOST /_log {\"level\":\"info|debug|error\", \"message\":\"your message here\"}\n\nPatch by Robert Newson.\n\nCloses COUCHDB-464","url":"https://api.github.com/repos/fdmanana/couchdb/commits/6cffccdfe08e6d859cc7e83be3bcc521bf68fd5a","sha":"6cffccdfe08e6d859cc7e83be3bcc521bf68fd5a"},{"author":{"name":"Trond Norbye","email":"60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com"},"message":"Try to determine the location of erl_driver.h at configure time\n\nUse the existence of erl in path to try to figure out where the\nfile should be located unless the user specified it.\n\nPatch by Trond Norbye.\n\nCloses COUCHDB-162","url":"https://api.github.com/repos/fdmanana/couchdb/commits/5f906a39b7c21f74175b359d8874e457c5fcb6a7","sha":"5f906a39b7c21f74175b359d8874e457c5fcb6a7"},{"author":{"name":"Adam Kocoloski","email":"84dedad896942fa331ae1eb69cf485f9813c1519@apache.org"},"message":"Fix retrieval of headers larger than 4k\n\nOur headers start with a <<1>> and then four bytes indicating the length\nof the header and its checksum. When the header is larger than 4090\nbytes it will be split across multiple blocks in the file and will need\nto be reassembled on read. The reassembly consists of stripping out\n<<0>> from the beginning of each subsequent block in the\nremove_block_prefixes/2 function. The bug here is that we tell\nremove_block_prefixes that we're starting 1 byte into the current block\ninstead of 5, so it ends up removing one good byte from the header and\ninjecting one or more random <<0>>s.\n\nHeaders larger than 4k are very rare and generally require a view group\nwith a huge number of indexes or indexes with fairly large reductions,\nwhich explains why this bug has gone undetected until now.\n\nCloses COUCHDB-1319.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/1dc866b3c795d7d7515f732f444cd54e656390bc","sha":"1dc866b3c795d7d7515f732f444cd54e656390bc"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"Futon: Make delete database dialog more expressive.\n\nCloses COUCHDB-208","url":"https://api.github.com/repos/fdmanana/couchdb/commits/2000208270f35e63c4a4066eea6956925bc3db36","sha":"2000208270f35e63c4a4066eea6956925bc3db36"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"Expose raw_path in req to show, list and externals.\n\nCloses COUCHDB-676\nCloses COUCHDB-341","url":"https://api.github.com/repos/fdmanana/couchdb/commits/ee8044ff5fe75dbd2f802ab50834af45a04299c9","sha":"ee8044ff5fe75dbd2f802ab50834af45a04299c9"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"Fix typos and whitespace.\n\nCloses COUCHDB-1324\n\nPatch by Rogutės Sparnuotos.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/1376d5de8f47d527d5937ade181d59d35fdd6954","sha":"1376d5de8f47d527d5937ade181d59d35fdd6954"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"First fully working version of the JavaScript CLI tests.\n\nThis patch has multiple parts:\n\n1. Make remaining tests work with CouchHTTP.\n2. Add ./test/javascript/run to make check.\n3. Add handling of OPTIONS method to couchjs's http client.\n4. Add referer sending to couchjs's http client.\n\nTo run *all* tests, run `make check`.\n\nCloses COUCHDB-1312","url":"https://api.github.com/repos/fdmanana/couchdb/commits/31edafecbe9e089302da43e32da538eb093543f4","sha":"31edafecbe9e089302da43e32da538eb093543f4"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"Start/Stop CouchDB aronud JS CLI tests.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/6dcd3a4b635f012b4fab697fbc990de70eb9840d","sha":"6dcd3a4b635f012b4fab697fbc990de70eb9840d"},{"author":{"name":"Jan Lehnardt","email":"14e793d896ddc8ca6911747228e86464cf420065@apache.org"},"message":"Properly adhere to bytes and offset parameters for /_log\n\nCloses COUCHDB-887","url":"https://api.github.com/repos/fdmanana/couchdb/commits/a0284a483f83d2fb98ff2755743053f3a3898454","sha":"a0284a483f83d2fb98ff2755743053f3a3898454"},{"author":{"name":"Robert Newson","email":"6be1d2eb1da4ad201ef1d6e1cff61f9bfb8675fe@apache.org"},"message":"Backport CHANGES/NEWS for 1.1.[12]","url":"https://api.github.com/repos/fdmanana/couchdb/commits/092d04f6661bd02ff0a912ec291afc095ea7ca63","sha":"092d04f6661bd02ff0a912ec291afc095ea7ca63"},{"author":{"name":"Filipe David Manana","email":"e0fcd583df77ec6c08e6d1257619cc1216ddc994@apache.org"},"message":"Fix handling of SSL option verify_ssl_certificates\n\nIf this parameter was set to false in the .ini config, Couch\nwould still complain with following error message:\n\n\"Verify SSL certificate enabled but file containing PEM encoded\nCA certificates is missing\"\n\nCloses COUCHDB-1325.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/4a0d87dfacd7b536f460f1fbc62947db3d4c38b7","sha":"4a0d87dfacd7b536f460f1fbc62947db3d4c38b7"},{"author":{"name":"Filipe David Manana","email":"e0fcd583df77ec6c08e6d1257619cc1216ddc994@apache.org"},"message":"Log error on failure writing to the URI file\n\nReport, and most of the work by Rogutės Sparnuotos.\nThanks. Closes COUCHDB-1326.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/2bdc0b4f0467eb1243be635efc5bece524979d56","sha":"2bdc0b4f0467eb1243be635efc5bece524979d56"},{"author":{"name":"Robert Newson","email":"6be1d2eb1da4ad201ef1d6e1cff61f9bfb8675fe@apache.org"},"message":"Tolerate whitespace runs in .ini files\n\nPreviously we tolerated exactly one character of white space on\neither side of the equals sign in .ini files. Now you can have lots.\n\nCouchDB-1328","url":"https://api.github.com/repos/fdmanana/couchdb/commits/64cda84a5a1bd6963ddded78f60d86c8e5d6e548","sha":"64cda84a5a1bd6963ddded78f60d86c8e5d6e548"},{"author":{"name":"Robert Newson","email":"6be1d2eb1da4ad201ef1d6e1cff61f9bfb8675fe@apache.org"},"message":"Add newline to end of utf8.h\n\nMissing newline causes build failures.\n\nCouchDB-1329","url":"https://api.github.com/repos/fdmanana/couchdb/commits/e5c83d7f62aa6c82e846fcbb54d4c70a47f2bba2","sha":"e5c83d7f62aa6c82e846fcbb54d4c70a47f2bba2"},{"author":{"name":"Filipe David Borba Manana","email":"e0fcd583df77ec6c08e6d1257619cc1216ddc994@apache.org"},"message":"Fix active tasks Futon screen date display\n\nDate months were incorrect, JavaScript's Date class\ngetMonth() method returns an integer in the range 0..11.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/02894cfb7a2a48bf2d286ac4b0af73a50be69663","sha":"02894cfb7a2a48bf2d286ac4b0af73a50be69663"},{"author":{"name":"Filipe David Borba Manana","email":"e0fcd583df77ec6c08e6d1257619cc1216ddc994@apache.org"},"message":"Set gen_server call timeouts to infinity\n\nWhen a server is too busy, the default call timeout of\n5 seconds may not be enough when getting an OS process\nto execute JavaScript code.\nCloses COUCHDB-1333.","url":"https://api.github.com/repos/fdmanana/couchdb/commits/2190ff008c3c701e603c128f7effa9cae4897107","sha":"2190ff008c3c701e603c128f7effa9cae4897107"}],"head":"2190ff008c3c701e603c128f7effa9cae4897107","size":19,"push_id":49003238}