Commit Graph
26 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 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
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
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 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
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 a24098adc0 added S3_CDN_DOMAIN support 2013-06-12 11:28:03 -04: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
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
Edd Robinson 1081e6754e general tidy up and version bump 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 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 8a39c07427 removed unnecessary reference to self.app 2012-10-31 23:10:45 +00:00
Edward Robinson 90b2c759e8 fixed issue with overriding debug, and added test 2012-10-25 21:17:03 +01:00
Edward Robinson b9ec49eede mainly updated documentation 2012-10-25 19:34:11 +01:00
Edward Robinson 2a7b0f6bce Initial commit. Documentation to follow this week 2012-10-01 21:18:27 +01:00