Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase with master 1.6.5+ #1

Open
wants to merge 181 commits into
base: master
Choose a base branch
from
Open

Conversation

czubik8805
Copy link

No description provided.

jschneier and others added 30 commits July 10, 2016 23:08
* Enable Python 3.5 builds on Travis
* Fix Python 3.5 test failure from unittest.mock api change
This was needed when the name was django-storages-redux now is not the case.
* Added parameters to SFTP __init__ and fix File.close()

* Added tests for SFTP

* Moved SFTP documentation from comments to docs
* Improved DropBox storage

* Adeded DropBox doc
* Added FTP readlines and fix storage init argument

* Added FTP storage tests

* Update doc
* New S3 Boto3 backend.

* Based on existing s3boto module
* Replace Boto2 headers settings with parameters
* Does not support proxies, alternate host/port

* S3Boto3 Updates from feedback and catching up to s3boto commits

* Update s3boto3.py

Non-existent file raises IOError in _open for backwards compatibility with s3boto

Don't let the ClientError bubble up
Django expects a naive datetime from modified_time()[1]. Django 1.10
adds get_modified_time()[2], which respects USE_TZ.

This commit fixes modified_time(), adds get_modified_time(), and adds
relevant tests.

[1]: https://docs.djangoproject.com/en/1.10/ref/files/storage/#django.core.files.storage.Storage.modified_time
[2]: https://docs.djangoproject.com/en/1.10/ref/files/storage/#django.core.files.storage.Storage.get_modified_time
* Drop Django 1.7 support and add Django 1.10

Remove unnecessary compatability wrappers.

* Tell Travis to use the correct envs

* Update CHANGELOG

* Fix OverwriteStorage typo
Looks like boto3 changed some keyword arguments and this prefix forgot to be captalised

Signed-off-by: Leon Smith <[email protected]>
* Add support for files > 5 gb with S3BotoStorage

Fixes jschneier#194

* Fix tests
to allow detection of changes in gzipped files by MD5 SUM in the same
way as for non gzipped files
jschneier and others added 28 commits June 22, 2017 15:48
Fall under the general umbrella of linting the project. Run all linting
tools as one stage of testing.
The client module was removed from the library.
Avoids unnecessary API requests to fetch and create the bucket when
simply checking if a key exists.

https://boto3.readthedocs.io/en/latest/reference/services/s3.html#S3.Client.head_object
The indirection was necessary for the older s3boto backend as it shared
code with the (now deprecated) GS backend. The s3boto3 does not share
code in this way. When the s3boto3 was developed, the indirection was
carried over, but it is no longer necessary. To simplify the code,
remove it. Other backends do not encode this style of indirection.
Documentation for boto3 recommends a session per thread - https://boto3.readthedocs.io/en/latest/guide/resources.html#multithreading-multiprocessing

As the storage class is (usually) only instantiated once per process, we need to set a thread local for each thread/connection used.

Fixes jschneier#268
* Fix .save method of the Dropbox backend (jschneier#378)

* Dropbox large file support (jschneier#301)

* Make linter happy
@roxel roxel changed the title Rebase with master 1 6 Rebase with master 1.6.5+ Feb 12, 2018
roxel pushed a commit that referenced this pull request Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.