Commits

Author Commit Message Labels Comments Date
Rich Leland
Fixes #35 InvalidObjectSize issue.
Rich Leland
Pulled mosso changes from smileychris
Chris Beaven
Fix connection_kwargs for CloudFilesStorage.
Chris Beaven
Add a connection_kwargs argument to the CloudFilesStorage so other available arguments (like servicenet and debuglevel) are supported.
Chris Beaven
Was right the first time (but didn't need the chunking) - _save should use send, not write.
Chris Beaven
The backend was incorrectly using cloud_obj.save rather than cloud_obj.write, which was very inefficient.
Chris Beaven
Don't rely on the file having a content_type already set (use mimetypes.guess_type if it's not)
Chris Beaven
Minor PEP8 fixes for mosso backend (and remove an unused import)
Chris Beaven
Add a CloudFilesStorageFile which handles reading from the backend correctly (along with rudimentary seeking and lazy file opening)
Chris Beaven
Use a much more efficient way of getting file URLs for the CloudFilesStorage backend (by retrieving and caching the container's public_uri rather than getting the public uri for each and every object).
Chris Beaven
Make the CloudFilesStorage listdir method remove the path from the filenames.
Chris Beaven
Add a full_listdir method for CloudFilesStorage which returns directory names as well (the default listdir method uses the cloudfiles' list_objects(path=...) method, which does not return directories)
Chris Beaven
Fix an error with CloudFilesStorage returning the size of an object (.size is a property, not a method)
Chris Beaven
Change the CloudFilesStorage to accept settings when initializing rather than forcing CLOUDFILES_* settings. Add __getstate__ so the storage can be pickled.
David Larlet
S3: Added Content-Length header for put requests to s3 storage, propagates the change from @mgunneras' fork, thanks
David Larlet
Update AUTHORS, they deserve it.
David Larlet
S3 & Boto: clean paths' names for windows, refs #11. Thanks Jason Christa.
David Larlet
Boto & Mosso: test existence of content_type, refs #5 (boto) and #18 (mosso). Thanks @adamnelson.
christian_oudard
Fixed encoding issues with unicode keys to S3.
Wes Winham
Backed out changeset 0fef40b911fd Expirement for S3 propogation didn't work very well
Wes Winham
Added experimental attempt at detecting propogation delay in S3 and not returning success until at least one node is convinced the key exists
w...@wes-msilaptop
Removed the location-setting craziness caused by my not understanding that you must always use the result of the save() call for delete, exists, listdir, size or url. Otherwise you don't take in to account whatever get_available_name might have had to do
w...@wes-msilaptop
Had to guess the content_type after all, because django ContentFile doesn't have a content_type attribute
w...@wes-msilaptop
Fixed the s3boto content-type determination to use content.content_type like in commit b9ea6833f88a, because that's a better idea
w...@wes-msilaptop
Merged
w...@wes-msilaptop
Moved bucket creation for S3Boto to something that's only tried when the bucket doesn't exist. Added a location argument to S3Boto for namespacing keys within a bucket
w...@wes-msilaptop
Added AWS_S3_ALLOW_OVERWRITE setting that determines if names with the same key should be overwritten or use the normal django ___ adding. Defaults to False, as that was S3Storage's behavior, but S3BotoStorage's behavior was True by default, so left it that way. Probably useful to unify those defaults at some point. Also changed the way S3BotoStorage gets the content_type to work with using using a django.core.files.base.ContentFile.
David Larlet
Exposes the query_auth argument to boto's generate_url via new a setting AWS_QUERYSTRING_AUTH (default True for backwards compatibility). Thanks James from @incuna for the patch.
David Larlet
S3: refs #9, allows 206 status code for put/read partial responses (chunks), thanks @bruno
David Larlet
Refs #18, change content.content_type to content.file.content_type as suggested by Anonymous to be Django 1.1 compatible
  1. Prev
  2. Next