SunDwarf
527abf9b22
Merge branch 'master' of ssh://github.com/e-dard/flask-s3
2015-11-23 18:39:25 +00:00
SunDwarf
a95477f5a9
Bump version number
2015-11-23 18:38:58 +00:00
Isaac Dickinson
e14f390bde
Merge pull request #53 from bool-dev/master
...
Fixes #52 . Setup fails on fresh installs, because dependencies not ye…
2015-11-23 16:24:33 +00:00
bool.dev
038fa53e7e
Fixes #52 . Setup fails on fresh installs, because dependencies not yet installed!
2015-11-23 14:58:11 +05:30
SunDwarf
b0b49891ce
Bump version number
2015-11-21 10:57:56 +00:00
Isaac Dickinson
2d663ee560
Merge pull request #51 from bool-dev/master
...
Changed deprecation testing, to do it without looping and deep copying. Avoids "TypeError".
2015-11-21 10:53:46 +00:00
bool.dev
b433e5d436
Changed deprecation testing, to do it without looping and deep copying.
...
This avoids “TypeError” due to unexpected types in configs, i.e modules/objects.
2015-11-21 16:09:54 +05:30
bool.dev
1b6beb0fc8
Fixed MIMETIME instead of MIMETYPE typo.
2015-11-21 16:04:42 +05:30
SunDwarf
6b443556cd
Update conf.py
2015-11-21 09:44:38 +00:00
SunDwarf
7a55c23910
...Why was this here?
2015-11-21 09:41:39 +00:00
SunDwarf
3762986f2e
Add a RST README for Pypi.
2015-11-21 09:15:41 +00:00
SunDwarf
5cc5188fc7
Fix setup.py whoops
2015-11-21 09:12:54 +00:00
SunDwarf
1b554bd3ab
Update code to use FLASKS3_ prefix for config variables instead of S3_. Closes #47 .
...
This will automatically translate your old S3_ config variables to FLASKS3_ variables until 0.3.0.
2015-11-21 09:10:50 +00:00
Isaac Dickinson
20ef4b3882
Merge pull request #49 from bool-dev/master
...
Added handling of special arguments to url_for. Closes #48 .
2015-11-20 18:34:18 +00:00
bool.dev
bda55fa093
Added handling of special arguments to url_for.
...
The args: _external, _anchor, _method are ignored,
and _scheme can be used for per url scheme overriding of the config setting.
Added corresponding tests, and doc.
2015-11-20 19:01:05 +05:30
SunDwarf
17f8693b6b
0.2.6
2015-11-19 17:35:45 +00:00
Isaac Dickinson
3f18f3ec3e
Merge pull request #46 from bool-dev/master
...
Added a S3_FORCE_MIMETYPE config flag to always add the content-type …
2015-11-19 17:33:19 +00:00
bool.dev
a9b8e4b425
Added a S3_FORCE_MIMETYPE config flag to always add the content-type header to s3 files.
...
Added corresponding documentation for the flag.
2015-11-19 15:49:55 +05:30
SunDwarf
6f13e3e89c
Bump version number.
2015-10-27 22:39:10 +00:00
Isaac Dickinson
38e77ce8a8
Merge pull request #44 from andrewsnowden/gzip-compression
...
Gzip compression
2015-10-27 10:25:12 +00:00
Andrew Snowden
aa335301f3
Fix for Python 3 and warning for unknown mimetype
2015-10-27 10:15:48 +02:00
Andrew Snowden
a7e8845d61
Add readme line
2015-10-26 16:58:13 +02:00
Andrew Snowden
8714841deb
Mimetype and switch to GZIP
2015-10-26 16:54:21 +02:00
Andrew Snowden
0e374741d0
Allow GZIP compression of assets
2015-10-26 15:58:52 +02:00
SunDwarf
5efaf84674
Bump version number.
2015-10-14 19:06:28 +01:00
Isaac Dickinson
a95be2d63f
Merge pull request #42 from DisruptiveLabs/master
...
Fix headers for uploaded files
2015-10-09 07:13:09 +01:00
Franklyn Tackitt
bd944e13b9
Fix tests
2015-10-08 13:49:47 -07:00
Franklyn Tackitt
a74afe1ddb
Fix headers for uploaded files
...
Boto3 uploads specific headers as parameters to put_object, and others
through the Metadata parameter. This commit seperates the metadata and
keyword parameter headers, and submits them appropriately
2015-10-08 13:36:15 -07:00
SunDwarf
ef3f616b19
Merge pull request #32 - "new parameter 'filepath_filter_regex' in create_all() and _gather_files(), to optionally only sync files in certain static dirs to S3."
2015-10-01 07:03:25 +01:00
SunDwarf
0017c94f1a
Merge branch 'filepath-filter-regex' of https://github.com/Jaza/flask-s3 into Jaza-filepath-filter-regex
2015-10-01 07:02:06 +01:00
SunDwarf
a03dbbd237
Bump version number.
2015-10-01 06:54:31 +01:00
SunDwarf
5f0e7752be
Fix unicode bug, again?
...
Revert "Python2 is dumb."
This reverts commit d8ab184531 .
2015-09-29 17:09:26 +01:00
SunDwarf
a9bde93d2c
Fix test commands.
2015-09-28 16:36:25 +01:00
SunDwarf
d8ab184531
Python2 is dumb.
2015-09-28 16:34:59 +01:00
SunDwarf
2bbc292b7f
Update README.md
2015-08-29 14:23:23 +01:00
SunDwarf
da771c6be7
Use coverage scripts.
2015-08-29 14:20:09 +01:00
SunDwarf
5268b76d50
Merge branch 'master' of ssh://github.com/e-dard/flask-s3
2015-08-28 20:20:43 +01:00
SunDwarf
1f9cf2a2c9
I don't even know
2015-08-28 20:20:31 +01:00
SunDwarf
8259049138
Force HTTPS by default.
2015-08-28 20:19:18 +01:00
S D
8956dc6120
Merge pull request #40 from e-dard/pr-resolving
...
Merge in recent changes
2015-08-28 20:10:39 +01:00
SunDwarf
6bc0039680
Merge pull request #33 properly.
2015-08-28 20:09:45 +01:00
SunDwarf
cbd2140644
Prevent url_for from building when app.testing is True/existing.
...
Closes #23 .
2015-08-28 19:52:41 +01:00
SunDwarf
d1f544adf6
Add Python 3 support, and merge #38 .
2015-08-28 18:09:26 +01:00
Franklyn Tackitt
5281633ba5
Fix requirement in docs/requirements.txt, fix test
2015-08-21 10:56:08 -07:00
Franklyn Tackitt
e39fc3e3ed
Fix compatibility with old .file-hashes files
...
boto3 uploads /some/key to bucket//some/key, leaving part of the path
with "//", or a folder without a name. To remedy this, I had lstrip'd
the / from the key before upload. I didn't think about the fact that
boto2 works fine with this, and the old .file-hashes file would have the
keys with the prefixing forward slash. This solves that
2015-08-20 16:33:19 -07:00
Franklyn Tackitt
34cc79dcae
Update to boto3 instead of boto
...
Reduce the total number of S3 calls by combining put_object with the
metadata and ACLs.
2015-08-20 16:21:45 -07:00
Jeremy Epstein
ae2f3fbb49
fix keyerror if S3_HEADERS isn't set in config
2015-04-08 14:12:23 +10:00
Jeremy Epstein
72c05e72aa
update docs to advise that S3_FILEPATH_HEADERS can't be used for CORS headers.
2015-03-31 14:32:57 +11:00
Jeremy Epstein
93879c1bff
new S3_FILEPATH_HEADERS setting, to set custom headers only if the filepath matches certain configured regular expressions.
2015-03-31 14:02:52 +11:00
Jeremy Epstein
f6b7672656
instead of just checking 'relative_folder', check relative_folder + indiv. file name (and remove leading slash).
2015-03-31 10:21:59 +11:00