Permalink
Commits on Jul 24, 2015
  1. Merge pull request #41 from jrnt30/master

    Object encoding fixes
    sgress454 committed Jul 24, 2015
  2. Massaging object name to encode all sensitive characters to allow pro…

    …perly interaction with Knox client/auth
    jrnt30 committed Jul 24, 2015
Commits on Jul 7, 2015
  1. Update README.md

    sgress454 committed Jul 7, 2015
  2. Merge pull request #39 from corbanb/master

    Fix for headers on putStream
    sgress454 committed Jul 7, 2015
  3. Update package.json

    corbanb committed Jul 7, 2015
Commits on Jun 11, 2015
  1. Fixed name in package.json

    sgress454 committed Jun 11, 2015
  2. Fixed README

    sgress454 committed Jun 11, 2015
  3. 0.2.0

    sgress454 committed Jun 11, 2015
Commits on May 1, 2015
  1. Merge pull request #2 from hariprasadkulkarni/master

    Uploading a file with % in the name fails.
    sgress454 committed May 1, 2015
Commits on Apr 30, 2015
  1. Uploading a file with % in the name fails.

    Uploading a file with a % in the name generates an unhandled exception. This fix prevents the exception from happening. Does not fix the response body being returned as null.
    hariprasadkulkarni committed Apr 30, 2015
Commits on Apr 23, 2015
  1. version bump

    corbanb committed Apr 23, 2015
Commits on Feb 16, 2015
  1. 0.1.11

    mikermcneil committed Feb 16, 2015
  2. Update README.md

    mikermcneil committed Feb 16, 2015
Commits on Feb 12, 2015
  1. Merge pull request #1 from hariprasadkulkarni/master

    Fixes #34 logged on knox-mpu
    sgress454 committed Feb 12, 2015
Commits on Feb 11, 2015
  1. Fixes #34 logged on knox-mpu

    The "path" in a HTTP request uses space as a delimiter. If a file name contains a space, the HTTP request will be,
    GET /New Text Document.txt HTTP/1.1
    This will result in AWS returning an "Unsupported HTTP version" error, because HTTP does not understand the extra "Text Document.txt" in the HTTP request.
    The fix is to replace the spaces in the "path" with the url encoded string "%20". The new request will now be,
    GET /New%20Text%20Document.txt HTTP/1.1
    Note: We cannot use the native JS encodeURI(). This is because the file name can have a '/' to indicate the folder structure of your S3 bucket.
    For Ex. If you are uploading a picture, to a folder called "pictures" in your S3 bucket, you will have to specify the file name as "/pictures/New Pic.jpg".
    The encoded version of this will be "%2Fpictures%2FNew%20Pic.jpg".
    If you take a look at "Client.prototype.request" in client.js in the Knox library, you will see that if a file name does not start with a '/', Knox adds one.
    This will result in a file named "%2Fpictures%2FNew%20Pic.jpg" being uploaded to the root directory of your S3 bucket.
    hariprasadkulkarni committed Feb 11, 2015
Commits on Jan 23, 2015
  1. 0.1.10

    mikermcneil committed Jan 23, 2015
  2. Improved uploadId err msg

    mikermcneil committed Jan 23, 2015
Commits on Aug 8, 2014
  1. Merge pull request #29 from nuts/master

    Upload doesn't start until input stream is done?
    sgress454 committed Aug 8, 2014
Commits on Aug 4, 2014
  1. Update README.md

    mikermcneil committed Aug 4, 2014
  2. 0.1.9

    mikermcneil committed Aug 4, 2014
  3. Code standards (editorconfig/jshintrc) as well as better error handli…

    …ng (dont throw if a callback was provided)
    mikermcneil committed Aug 4, 2014
Commits on Aug 1, 2014
  1. 0.1.8

    sgress454 committed Aug 1, 2014
Commits on Jul 8, 2014
  1. Merge pull request #1 from balderdashy/econnreset_fix

    Econnreset fix
    dustMason committed Jul 8, 2014
  2. Added curly braces

    sgress454 committed Jul 8, 2014
Commits on Jul 7, 2014
  1. Add options for explicitly declaring totalUploadsize

    Add code that doubles expected upload size when buffering to disk, so that progress events give a realistic percentage (since each byte has to be uploaded twice: once to disk, once to s3).
    sgress454 committed Jul 7, 2014
  2. Handle ECONNRESET errors from S3 by making sure that callbacks in Kno…

    …x-MPU are only called once.
    
    In some cases, even after a part has been successfully uploaded, S3 will send a response error, which currently causes Knox-MPU to consider the part a failure and either retry it or bail completely.   This fix causes Knox-MPU to ignore errors that come in on the response stream after it has already received a "success" status code.
    See #27 (comment)
    sgress454 committed Jul 7, 2014