2017 © Pedro Peláez
 

silverstripe-module silverstripe-s3cdn

S3 CDN services for the content-services module

image

symbiote/silverstripe-s3cdn

S3 CDN services for the content-services module

  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 9 Forks
  • 1 Open issues
  • 23 Versions
  • 26 % Grown

The README.md

S3 CDN

Configuration

In your local configuration, specify something like the following to configure the content Reader/Writer pair, along with actually binding them to usable content stores for the CDN, (*1)

---
Name: locals3settings
After: 
  - '#s3services'
---
Injector:
  S3Service:
    constructor:
      key: {your_api_key}
      secret: {your_api_secret}
          region: {region}
  S3ContentReader:
    type: prototype
    properties:
      s3service: %$S3Service
      bucket: {your_bucket_name}
      baseUrl: https://{your_bucket_name}.s3.amazonaws.com
  S3ContentWriter:
    type: prototype
    properties:
      s3service: %$S3Service
      bucket: {your_bucket_name}
      baseUrl: https://{your_bucket_name}.s3.amazonaws.com
  ContentService:
    constructor:
      defaultStore: Default
    properties:
      stores:
        Default:
          ContentReader: S3ContentReader
          ContentWriter: S3ContentWriter

Additionally, ensure you have the CDNFile extensions bound from the cdncontent module, (*2)


File: extensions: - CDNFile Folder: extensions: - CDNFolder

To change the default ACL applied on upload reconfigure the defaultAcl option, (*3)

Injector
  S3ContentWriter:
    type: prototype
    properties:
      s3Service: %$S3Service
      bucket: bucket
      defaultAcl: ""

See the CDN Content module for more details, (*4)

Migrations

If you're looking to migrate either to, or from S3, please take a look at the build tasks included., (*5)

Troubleshooting

Resampled Images

The following queries may need to be run if you've done an SS upgrade and/or swapped to a new URL. This makes sure that all images are resampled correctly., (*6)

UPDATE File SET ResamplingsValue = '';
TRUNCATE TABLE `SilverStripeAustralia\ContentServiceAssets\ContentServiceAsset`;
TRUNCATE TABLE `Symbiote\ContentServiceAssets\ContentServiceAsset`;

The Versions

05/06 2018

dev-master

9999999-dev

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

05/06 2018

4.0.4

4.0.4.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

01/07 2017

4.0.3

4.0.3.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

30/06 2017

3.2.x-dev

3.2.9999999.9999999-dev

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

30/06 2017

3.2.3

3.2.3.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

30/06 2017

4.0.2

4.0.2.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

29/06 2017

4.0.1

4.0.1.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

23/06 2017

4.0.0

4.0.0.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

17/10 2016

3.2.2

3.2.2.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

13/09 2016

3.2.1

3.2.1.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

09/06 2016

3.2.0

3.2.0.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

01/04 2016

3.1.0

3.1.0.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

18/03 2016

3.0.0

3.0.0.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

18/03 2016

2.0.x-dev

2.0.9999999.9999999-dev

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

17/03 2016

dev-feature-awsup

dev-feature-awsup

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

16/03 2016

2.0.0

2.0.0.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

03/12 2015

1.2.3

1.2.3.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

01/06 2015

1.2.2

1.2.2.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

27/05 2015

1.2.1

1.2.1.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

12/05 2015

1.2.0

1.2.0.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

20/01 2015

1.1.x-dev

1.1.9999999.9999999-dev

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

20/01 2015

1.1.0

1.1.0.0

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe

11/08 2014

1.0.x-dev

1.0.9999999.9999999-dev

S3 CDN services for the content-services module

  Sources   Download

BSD-3-Clause

The Requires

 

file filesystem amazon s3 cdn silverstripe