update couch-daemon: allow regexp in white- and blacklist

pull/20/head
Johannes J. Schmidt 10 years ago
parent 21806dde5d
commit 6ca836cc98

@ -54,10 +54,12 @@ concurrency = 1
; for the usual image resizes, increase it if you deal with really large images and complex ; for the usual image resizes, increase it if you deal with really large images and complex
; imagemagick processing. ; imagemagick processing.
timeout = 60000 timeout = 60000
; Only documents in the databases above are processed (seperate with comma) ; Only documents in the databases below are processed (separate with comma).
; whitelist = mydb,otherdb ; Regular expressions are allowed:
; Ignore the following databases (again comma seperated list) ;whitelist = mydb,otherdb,/^special-.*/
blacklist = _users,_replicator ; Ignore the following databases (again comma separated list)
; Regular expressions are again allowed:
blacklist = /^_/
``` ```
## Imagemagick Configuration ## Imagemagick Configuration

@ -1,6 +1,6 @@
{ {
"name": "couchmagick", "name": "couchmagick",
"version": "2.1.2", "version": "2.2.0",
"description": "Couchmagick runs ImageMagicks `convert` on CouchDB documents.", "description": "Couchmagick runs ImageMagicks `convert` on CouchDB documents.",
"main": "index.js", "main": "index.js",
"preferGlobal": true, "preferGlobal": true,
@ -27,7 +27,7 @@
}, },
"homepage": "https://github.com/jo/couchmagick", "homepage": "https://github.com/jo/couchmagick",
"dependencies": { "dependencies": {
"couch-daemon": "^1.2.10", "couch-daemon": "^1.4.0",
"strformat": "0.0.3", "strformat": "0.0.3",
"docuri": "^1.1.0", "docuri": "^1.1.0",
"async": "^0.9.0", "async": "^0.9.0",

Loading…
Cancel
Save