Commit Graph

59 Commits

Author SHA1 Message Date
Jeremy Epstein df96e2e182 new parameter 'filepath_filter_regex' in create_all() and _gather_files(), to optionally only sync files in certain static dirs to S3. 2015-03-30 16:19:43 +11:00
Erik Taubeneck 142aa929a7 Merge pull request #28 from DisruptiveLabs/master
Fix uploading assets on windows machines
2014-12-19 11:54:58 -05:00
Erik Taubeneck 033f8ae958 Merge branch 'pr/21'
Conflicts:
	flask_s3.py
2014-12-19 10:15:46 -05:00
Frank Tackitt 683f0fb522 Fix uploading assets on windows machines 2014-07-22 10:40:18 -07:00
Erik Taubeneck 4874b9bedd update boto version for tests 2014-07-16 12:10:43 -04:00
Erik Taubeneck 79de571eb0 formatting fixes 2014-07-16 11:57:35 -04:00
Erik Taubeneck e2701738bb add region config option, use boto.s3.connect_to_region 2014-07-16 11:57:17 -04:00
Erik Taubeneck cb1e46b6e9 bump version number to 0.1.7 2014-06-23 14:42:16 -04:00
Erik Taubeneck 9a8c25c56b Merge pull request #26 from andrewsnowden/checksums
Only upload files that have been modified
2014-06-23 14:35:23 -04:00
Andrew Snowden 8e3af19c60 Tests for only uploading modified files 2014-06-23 18:17:36 +02:00
Andrew Snowden ca440a285f Fix elif to else 2014-05-30 14:47:41 +02:00
Andrew Snowden 9ee8545918 Only upload modified files to S3 to improve speed 2014-05-30 14:45:02 +02:00
Erik Taubeneck 948b174ff3 Merge pull request #25 from andrewsnowden/reuse-existing
Fix BucketAlreadyOwnedByYou on non default S3 regions
2014-05-30 00:12:07 -04:00
Andrew Snowden ca86134782 Work around BucketAlreadyOwnedByYou
Buckets outside of the standard region will raise an error if you try
create them and they already exist. See:
https://forums.aws.amazon.com/thread.jspa?threadID=119095
2014-05-29 18:23:29 +02:00
Joe Friedl 4a73903306 Make docs for S3_URL_STYLE less redundant 2014-02-10 13:48:55 -05:00
Joe Friedl 2883db1e3d Make S3 URL style configurable 2014-02-10 13:45:49 -05:00
Joe Friedl c2c002ff2d Add a default for S3_URL_STYLE 2014-02-10 13:29:57 -05:00
Joe Friedl 1cbaa942d0 Add docs for the S3_URL_STYLE setting 2014-02-10 13:22:54 -05:00
Edd Robinson eba97b4ea6 added some tracking information 2014-01-07 15:58:47 +00:00
Erik Taubeneck a58434245c config-defaults: bump version number again (missed last one) 2013-12-06 14:22:36 -05:00
Erik Taubeneck b756b46612 config-defaults: updated docs and version bump 2013-12-06 14:15:29 -05:00
Erik Taubeneck f20d245346 config-defualts: update test to rebuild app to test USE_S3_DEBUG settings 2013-12-06 14:15:28 -05:00
Erik Taubeneck 42104fe288 config-default: check for app.debug in init_app rather than each call to url_for 2013-12-06 14:15:28 -05:00
Erik Taubeneck e7706e2129 Merge pull request #11 from naudo/master
Fixed a broken link to the latest docs
2013-09-30 15:09:40 -07:00
Nicholas Audo e140341027 Fixed a broken link to the latest docs 2013-09-30 11:39:28 -07:00
Edd Robinson 3720621a5a Added maintainers 2013-09-27 09:55:05 +01:00
Edd Robinson 478b636395 version bump 2013-09-24 10:18:32 +01:00
Edward Robinson 74123c04c2 Merge pull request #8 from eriktaubeneck/master
Added support for AWS CloudFront (or any other CDN)
2013-06-12 15:12:04 -07:00
Erik Taubeneck 630deb7c6d added name to CONTRIBUTORS 2013-06-12 11:28:46 -04:00
Erik Taubeneck 34445db516 added tests for S3_CDN_DOMAIN support 2013-06-12 11:28:03 -04:00
Erik Taubeneck a24098adc0 added S3_CDN_DOMAIN support 2013-06-12 11:28:03 -04:00
Edward Robinson a7b815292a Merge pull request #7 from hannseman/master
Adds support for setting custom HTTP headers, on files uploaded to S3
2013-06-11 05:09:58 -07:00
Hannes Ljungberg c07be84a57 Check for S3_USE_CACHE_CONTROL boolean 2013-06-11 01:41:35 +02:00
Hannes Ljungberg 30190f7715 Updates issue #7 - Set old S3_CACHE_CONTROL in S3_HEADERS on init and
doc fixes.
2013-06-11 01:38:03 +02:00
Edward Robinson 9412014f26 Update README.md
Added Travis badge
2013-06-11 01:16:51 +02:00
Edd Robinson bb36959b65 set python version for travis to 2.7 only 2013-06-11 00:13:11 +01:00
Edd Robinson d92e96a7d4 adds support for Travis 2013-06-11 00:09:42 +01:00
Hannes Ljungberg 8c0eff3f97 Updates issue #7 - Brings back S3_USE_CACHE_CONTROL setting and fixes
some documentation issues.
2013-06-11 00:52:04 +02:00
Hannes Ljungberg a5f9df5012 Added support for setting custom headers for files uploaded to s3. 2013-05-01 14:05:34 +02:00
Edward Robinson 9e3ec3f342 updated README 2013-04-26 18:39:40 +02:00
Edd Robinson 1081e6754e general tidy up and version bump v0.1.4 2013-03-10 16:17:31 +00:00
Edd Robinson 23d3f4ada8 Contribution for #4 breaks existing tests. Slight change to fix this and test S3_USE_CACHE_CONTROL. Finally, it's preferable to take app as argument for functions that are involved in one-time asset upload, so made that modification too. 2013-03-10 15:47:25 +00:00
Rehan Dalal a9d136264c Add support for Cache-Control header 2013-03-07 22:01:23 -05:00
Edward Robinson 17aa8b9e10 version bump 2012-11-21 14:11:02 +00:00
Edward Robinson 8b615ae50a A fix for #2. Slightly different approach to @rdegges as static_folder is the main issue. Plus some tests. 2012-11-21 14:09:32 +00:00
Edward Robinson 660cd20789 version bump 2012-10-31 23:14:44 +00:00
Edward Robinson 8a39c07427 removed unnecessary reference to self.app v0.1.2 2012-10-31 23:10:45 +00:00
Edward Robinson 6914a36785 added link to documentation on ReadTheDocs 2012-10-26 13:37:39 +02:00
Edward Robinson 06d1d945c1 bumped version for re-submission to Pypi v0.1.1 2012-10-25 21:21:00 +01:00
Edward Robinson 90b2c759e8 fixed issue with overriding debug, and added test 2012-10-25 21:17:03 +01:00