Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cleaning up console logsAPI-url-docs | suelockwood | 2013-10-10 | 2 | -3/+2 |
| | |||||
* | Adding documentation to the models/collections | suelockwood | 2013-10-07 | 17 | -33/+57 |
| | |||||
* | api url docs fix | suelockwood | 2013-10-04 | 9 | -15/+28 |
| | |||||
* | add my-first-couchdb-plugin skeleton plugin & guide | Jan Lehnardt | 2013-10-03 | 5 | -0/+226 |
| | |||||
* | Merge branch '1901-atomic-multipart-retries' of ↵ | Dirkjan Ochtman | 2013-10-03 | 2 | -36/+133 |
|\ | | | | | | | | | | | https://github.com/apache/couchdb Merged after r+ from rnewson on IRC, general trustworthiness of process. | ||||
| * | Bubble up missing_stub exceptions for proper retry1901-atomic-multipart-retries | Adam Kocoloski | 2013-10-02 | 1 | -0/+2 |
| | | | | | | | | | | | | | | A missing_stub exception is special in that the replicator retries the request without the atts_since optimmization. COUCHDB-1901 | ||||
| * | Be a bit nicer about logging | Adam Kocoloski | 2013-10-02 | 1 | -1/+9 |
| | | |||||
| * | Simplify doc_streamer initialization | Adam Kocoloski | 2013-10-02 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | The unlink at the end is a noop, so we can simplify this to use spawn_link/3 and the fully-exported function call instead of spawn_link/1 and a closure. BugzID: 20822 | ||||
| * | Disable automatic retries of streaming writes | Adam Kocoloski | 2013-10-02 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | An automatic retry makes no sense here, as we've already streamed part of the response body from the GET. Disabling the retries bubbles the error up to run_user_fun inside open_doc_revs allows us to retry the whole GET + PUT correctly. BugzID: 20822 | ||||
| * | Ensure the att reader learns of a Parser death | Adam Kocoloski | 2013-10-02 | 1 | -0/+1 |
| | | |||||
| * | Handle open_revs retries at a higher level | Adam Kocoloski | 2013-10-02 | 1 | -31/+67 |
| | | | | | | | | | | | | | | | | | | | | This patch disables the httpc client retries for the request to stream document revisions to the replicator. The retry logic at that level could end up jumbling together response body data from different requests and thoroughly confusing the multipart parser. Moving the retry logic up a level allows us to start fresh each time. BugzID: 21367 | ||||
| * | Fix replication deadlock after HTTP retries | Paul J. Davis | 2013-10-02 | 1 | -3/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | An HTTP failure in the open_doc_revs can lead to a replication deadlock if the retry happens while parsing the multipart/mime response. The UserFun callback can end up attempting to PUT a request using an attachment reader from the failed request while the pid that invoked open_doc_revs will never see the started_open_doc_revs message which indicates a retry has happened. This just spawns a middleman process so that the process that invoked open_doc_revs can listen for the response from the user function as well as the started_open_doc_revs message to handle retries appropriately. | ||||
| * | Avoid deadlocking the httpc pool | Paul J. Davis | 2013-10-02 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | The multipart mime parsing code was getting into a state where it would orphan parsers that held onto pool connections. This just adds a monitor to make sure that the parser process dies when the parent dies normally without finishing reading the rest of the parser. BugzID: 16751 | ||||
| * | Use latest=true when retrieving revisions | Bob Dionne | 2013-10-02 | 2 | -2/+4 |
| | | | | | | | | | | | | | | This allows the replicator to keep up with revisions that may have occured after missing_revs was called. BugzID: 14241 | ||||
* | | Merge branch '1888-fix-user-fields-disabled-for-admins' | Jan Lehnardt | 2013-10-03 | 1 | -8/+24 |
|\ \ | | | | | | | | | | | | | * 1888-fix-user-fields-disabled-for-admins: admins can always read all doc fields, regardless of public_fields | ||||
| * | | admins can always read all doc fields, regardless of public_fields1888-fix-user-fields-disabled-for-admins | Jan Lehnardt | 2013-10-03 | 1 | -8/+24 |
| | | | | | | | | | | | | Closes COUCHDB-1888 | ||||
* | | | Merge branch '1425-fix-graceful-surrogate-handling' | Jan Lehnardt | 2013-10-03 | 1 | -13/+16 |
|\ \ \ | | | | | | | | | | | | | | | | | * 1425-fix-graceful-surrogate-handling: Handle invalid UTF-8 byte sequences gracefully by replacing them with 0xFFFD | ||||
| * | | | Handle invalid UTF-8 byte sequences gracefully by replacing them with 0xFFFD | Jan Lehnardt | 2013-10-02 | 1 | -13/+16 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | remove unused module imports and improved module structure1894-feature-experimental-nodejs-couchjs | Sven Lito | 2013-10-03 | 6 | -68/+69 |
| | | | |||||
* | | | move module exports past function decrarations | Sven Lito | 2013-10-03 | 1 | -8/+10 |
| | | | |||||
* | | | applied formatting for constancy | Sven Lito | 2013-10-03 | 10 | -357/+441 |
| | | | |||||
* | | | remove user-facing docs from in-src README, point to docs | Jan Lehnardt | 2013-10-03 | 1 | -23/+1 |
| | | | |||||
* | | | remove last extra reference | Jan Lehnardt | 2013-10-03 | 1 | -1/+1 |
| | | | |||||
* | | | add sandbox.js | Jan Lehnardt | 2013-10-03 | 1 | -0/+40 |
| | | | |||||
* | | | add license headers | Jan Lehnardt | 2013-10-03 | 8 | -85/+79 |
| | | | |||||
* | | | handle extras | Jan Lehnardt | 2013-10-03 | 3 | -388/+0 |
| | | | |||||
* | | | rm license file, we have one in hte top level | Jan Lehnardt | 2013-10-03 | 1 | -202/+0 |
| | | | |||||
* | | | add couchjs-node from Jason | Jan Lehnardt | 2013-10-03 | 13 | -0/+1290 |
| | | | |||||
* | | | unlink plugins from Futon & Fauxton | Jan Lehnardt | 2013-10-03 | 1 | -1/+1 |
| | | | |||||
* | | | add license to fauxton addons/plugins.html | Jan Lehnardt | 2013-10-03 | 1 | -0/+14 |
| | | | |||||
* | | | fix formatting | Jan Lehnardt | 2013-10-03 | 1 | -4/+4 |
| | | | |||||
* | | | add plugins plugin for Fauxton | Jan Lehnardt | 2013-10-03 | 5 | -1/+187 |
| | | | |||||
* | | | Fire a log_request event when requests are logged | Jason Smith (work) | 2013-10-03 | 1 | -2/+3 |
| | | | |||||
* | | | A handler for 'couch_plugin' events' | Jason Smith (work) | 2013-10-03 | 1 | -1/+8 |
| | | | |||||
* | | | update roadmap | Jan Lehnardt | 2013-10-03 | 1 | -0/+1 |
| | | | |||||
* | | | load plugin Futon/Fauxon assets via /_plugins/<name>/ | Jan Lehnardt | 2013-10-03 | 1 | -0/+14 |
| | | | |||||
* | | | move couch_version() to couch_server:couch_version(short) | Jan Lehnardt | 2013-10-03 | 2 | -4/+7 |
| | | | |||||
* | | | update roadmap in README | Jan Lehnardt | 2013-10-03 | 1 | -6/+2 |
| | | | |||||
* | | | only install plugins if their CouchDB version matches the target couch | Jan Lehnardt | 2013-10-03 | 2 | -15/+32 |
| | | | |||||
* | | | update roadmap in README | Jan Lehnardt | 2013-10-03 | 1 | -3/+4 |
| | | | |||||
* | | | add `uninstall()`, removed unneeded aplication:load() cruft | Jan Lehnardt | 2013-10-03 | 2 | -29/+13 |
| | | | |||||
* | | | more comments, add uninstall() | Jan Lehnardt | 2013-10-03 | 1 | -33/+80 |
| | | | |||||
* | | | add draft for `couch_plugins:uninstall()` | Jan Lehnardt | 2013-10-03 | 1 | -0/+27 |
| | | | |||||
* | | | add inline comments | Jan Lehnardt | 2013-10-03 | 2 | -0/+26 |
| | | | |||||
* | | | update todo list in README | Jan Lehnardt | 2013-10-03 | 1 | -1/+1 |
| | | | |||||
* | | | make plugin dir configurable | Jan Lehnardt | 2013-10-03 | 1 | -5/+6 |
| | | | |||||
* | | | register plugins at _config/plugins/pluginname with their version number | Jan Lehnardt | 2013-10-03 | 2 | -3/+12 |
| | | | |||||
* | | | load plugin config from priv/default.d/*.ini | Bob Ippolito | 2013-10-03 | 4 | -39/+25 |
| | | | |||||
* | | | remove rebar reference | Jan Lehnardt | 2013-10-03 | 1 | -2/+9 |
| | | | |||||
* | | | fix github url | Jan Lehnardt | 2013-10-03 | 1 | -2/+2 |
| | | |