Commits

Author Commit Message Labels Comments Date
Yann Malet
This modification aims to fix the bug #70 of django-storage for the cloudfiles backend. The goal is to only try to delete the file if the file exits.
Branches
bug_70
Michael Hrivnak
Updated version number and moved it onto the storage module.
Jannis Leidel
Added s3.PreloadingS3Storage which preloads bucket content info to make it faster in common methods (modified_time (new), size, exists). The new modified_time method requires python-dateutil to parse the ISO 8601 date.
David Larlet
Merge
zbyte64
Fix for python 2.7
zyegfryed
Fixed #54 Fix for sha depreciation warning in S3.py Cleaned up import.
Fabian Topfstedt
Optional overwriting of files using AWS_S3_FILE_OVERWRITE (defaults to True)
Ian Lewis
Fixed an import error with newer versions of Boto by importing S3ResponseError from boto.exception
Jannis Leidel
Minor cosmetic changes.
Jannis Leidel
Set a default calling format since it's unnecessary to specify it proejct settings.
Olly Smith
s3boto: only set a bucket's ACL if it's being automatically created.
Olly Smith
Lazy-loading for S3BotoStorage.bucket. See also issue #45.
Ian Lewis
Added file name encoding parameter to allow for passing non-ascii unicode objects as path names.
Ian Lewis
Merge s3boto and mosso changes
Ian Lewis
Changed except statement in hashbackend to support python 2.5
Ian Lewis
Fixed security issue where a user could create a path that would write to a file outside the base location defined by AWS_LOCATION.
echamberlain
S3 Content-Type fix. Boto overwrites the Header Content-Type setting with its own guess. Changed _save to add the Content-Type to the metadata. The metadata is added to the Header after boto overwrites the Content-Type in the Header. In the case of uploaded files, the file's content_type is ignored and instead mimetypes.guess_type is used instead. This fix checks for content.content_type and if present, uses it inst…
echamberlain
Added AWS_REDUCED_REDUNDANCY flag to set reduced redundancy mode on the file. Default setting is False for backwards compatibility.
echamberlain
Added AWS_BUCKET_ACL to control the acl on the bucket. AWS_BUCKET_ACL will override AWS_DEFAULT_ACL. AWS_DEFAULT_ACL still controls the file ACL. We needed the bucket acl private and the file acl public_read.
David Larlet
Merge @pydanny's modifications on mosso storage
Daniel Greenfeld
Fixed mosso storage to save the size on a content object before turning it into a cType string
Ian Lewis
Added support for a base location for the storage within the bucket. Paths given to methods are normalized to internal S3 paths.
Ian Lewis
Added support for custom domains and setting secure/non-secure urls
Ian Lewis
Added support for passing querystring auth and expire parameters to the constructor for S3BotoStorage
Ian Lewis
Fixed a bug on the new listdir() method implementation that was accidentally added earlier.
Ian Lewis
Made the S3BotoStorageFile more file object like. Fixed writes
Ian Lewis
Updated the S3BotoStorageFile to wrap a StringIO object better. It now supports the read() method with as size attribute for chunked reading.
Ian Lewis
Use the new_key method as someone might have changed the key_class on the bucket.
Ian Lewis
Don't add the Content-Length header since boto does a better job of finding the size, and overwrites the header anyway.
Ian Lewis
Use the DefaultContentType property from the Key class
  1. Prev
  2. Next