Coder Social home page Coder Social logo

papercut's People

Contributors

jwicks avatar rafe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

papercut's Issues

Setting schema version extension

Im trying to set the extension to 'pdf'. It works fine when I set it globally with papercut.set, but not on a specific schema version.

schema.version({name: 'original', extension: 'pdf'})

I also tried using 'format' in place of extension.

Process returns unexpected results when run from async.parallel

I am iterating over a set of images and using async.parralel and the hash of image urls in the callback from process contains urls from many different calls to process:

  Schema.process name, path, (err, images)->
    console.log "processPhoto images: ", _.prettyPrint(images)

-> 
2013-11-14T18:03:27.503Z - debug: processPhoto images:  {
  "avatar-icon": "https://s3.amazonaws.com/mw-development/impact-avatar-icon.jpg",
  "avatar-column": "https://s3.amazonaws.com/mw-development/impact-avatar-column.jpg",
  "avatar-card": "https://s3.amazonaws.com/mw-development/team-avatar-card.jpg",
  "large": "https://s3.amazonaws.com/mw-development/city-large.jpg"
}

In this example I would expect the urls to all contain 'impact' and not 'team' or 'city'

Custom headers

It's worth to have an ability to set custom headers for uploaded S3 files. For example, I'd like to set Cache-Control: max-age=<...>.

Bucket for scheme

How about adding the ability to configure a particular bucket for a given schema as opposed to bucket per papercut instance?

Unknown ENDENT

Getting the following error. Not sure why. ImageMagick doesn't complain that it can't find the image. Using local storage, not S3.

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:1001:11)
    at Process.ChildProcess._handle.onexit (child_process.js:792:34)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.