Permalink
Commits on Jul 20, 2017
  1. Added note on new Python 3+ support

    matteobar committed Jul 20, 2017
    Added note on new Python 3+ support
Commits on Jul 11, 2017
  1. Fixes #894 - Detect and report error 403 in getpolicy for info command

    fviard committed Jul 11, 2017
    + Cosmetic fixes for "info".
Commits on Jul 2, 2017
Commits on Jun 29, 2017
Commits on Jun 28, 2017
  1. Fixes #888 - Fixes cfinvalinfo broken in 2.0.0

    fviard committed Jun 28, 2017
    Fixes a regression introduced by the following commit:
    becdfa6
  2. Fixes #885 - Specific error message when getting policy by non owner.

    fviard committed Jun 28, 2017
    See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETpolicy.html
    To use this operation, you must have GetPolicy permissions on the specified bucket, and you must be the bucket owner.
    
    If you don't have GetPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not the bucket owner, Amazon S3 returns a 405 Method Not Allowed error. If the bucket does not have a policy, Amazon S3 returns a 404 Policy Not found error. There are restrictions about who can create bucket policies and which objects in a bucket they can apply to.
Commits on Jun 27, 2017
Commits on Jun 26, 2017
  1. Update version to 2.0.0

    fviard committed Jun 26, 2017
Commits on Jun 11, 2017
  1. Merge pull request #857 from guygurari/cp-mv-bug

    fviard committed Jun 11, 2017
    address issue #854 : don't allow mv/cp of multiple files to single file
Commits on Jun 4, 2017
Commits on May 30, 2017
  1. Merge pull request #858 from chauffer/patch-1

    fviard committed May 30, 2017
    S3/Config: `os.environ.get` -> `os.getenv`
  2. Merge pull request #870 from yossi-stratoscale/issue-869

    fviard committed May 30, 2017
    Properly passing parsed hostname and port
  3. Small changes on run-tests.py

    fviard committed May 30, 2017
  4. Sort headers in requests to always have the same order.

    fviard committed May 30, 2017
    In python3, the order of dict are not anymore constant, but can change between runs.
Commits on May 14, 2017
  1. Typo fixes.

    fviard committed May 14, 2017
  2. Little performance + memory improvement. + Fixes randomless in auto t…

    fviard committed May 14, 2017
    …ests.
    
    Currently we only need to find one matching md5 for remote copies and hardlinks.
    So, no need to keep inner sets of matching files but just one.
    This allows to prevent random failures in auto tests with python3 as now sets
    and dicts orders can change between runs.
Commits on May 9, 2017
Commits on May 7, 2017
  1. Remove bad duplicated code.

    fviard committed May 7, 2017
  2. In the v4 canonical query string, parameter without values should sti…

    fviard committed May 7, 2017
    …ll have an equal sign.
    
    So having a query string to sign like:
    GET\n
    delete=\n
    ...
    Instead of
    GET\n
    delete\n
  3. Get ride of the "extra" parameter for requests and use a clean "param…

    fviard committed May 7, 2017
    …s" dict for all the query strings.
Commits on May 4, 2017
  1. Urlencode string only when formatting the url and not earlier.

    fviard committed May 4, 2017
    Currently was only affecting the "ls" command.
Commits on May 3, 2017
  1. Fixes signurl (v2) for python3.

    fviard committed May 3, 2017
  2. Use io buffers everywhere for files or stdin/stdout + Use custom stre…

    fviard committed May 1, 2017
    …am_name attribute.
    
    Open all files or file descriptors (stdin/stdout/mkstemp) with binary io.open.
    Then, always add a custom attribute "stream_name" to the buffer object
    to preserve the real "filename" of the stream.
    For file descriptors, io.open would use the fd number as name
    (in integer type in python 3).