sitefinity / amazon-s3-provider Goto Github PK
View Code? Open in Web Editor NEWAmazon S3 provider for Sitefinity
Amazon S3 provider for Sitefinity
We have this KB from 2016 but it's still not fixed in the repository.
This provider is included in the Sitefinity Nuget's packages, that means that we should not compile and include this project in our solutions and, being HTTPS the standard, at least it should be there as a config option.
Hey I keep getting 'regionEndpoint' is required when I attempt to move the library from Database to the blob storage
I set the 'regionEndpoint' parameter in the blob storage provider
I've tried:
CACentral1
ca-central-1
Amazon.RegionEndpoint.CACentral1
None of the values are working (and I'm restarting the app every time I change the parameter value)
Is it possible the version of the Amazon.dll you guys are using is so out of date that it doesn't include the CACentral1 region endpoint?
When you try to move a library to the S3 storage provider or when you delete a object that is residing in S3 you get an error:
Method not found: 'System.IAsyncResult Amazon.S3.IAmazonS3.BeginDeleteObject(Amazon.S3.Model.DeleteObjectRequest, System.AsyncCallback, System.Object)'.
I am sure I have put the correct Access key and secret key and the correct Region Endpoint, but the transferUtility.Upload method always returns 403 Access Denied.
When I use the same access key and secret key in CloudBerry I can successfully upload an image, so it is definitely not permissions related.
I also tried using the later version of the AWSSDK - 2.3.50.0, but with the same result.
Any ideas?
When deleting an image from Sitefinity, it remains in the cloud storage. It gets deleted along with the entire directory when the album is deleted, but individual images are not.
We host our sitefinity website on ec2 instances within amazon, these instances have an instance profile (and an IAM role associated with them), we'd like to use this role when accessing the S3 bucket for blob storage.
Also, we have multiple deployment environments (Testing, PreProd, Production), and would like these environments to have the same libraries configured (names etc) but with different content, within a single S3 bucket
I've submitted a pull request which adds these features: #9
When you enable the CDN property for this S3 provider you get a malformed url. Would suggest something like this in the GetItemUrl method:
public override string GetItemUrl(IBlobContentLocation content)
{
string baseUrl = string.Concat("http://", this.bucketName, ".s3.amazonaws.com/");
if (!this.Cdn.IsNullOrWhitespace())
{
if (Cdn.EndsWith("/"))
{
baseUrl = string.Empty;
}
else
{
baseUrl = "/";
}
}
return string.Concat(baseUrl, content.FilePath);
}
Hi,
I installed this into 5.4 with no joy. Should it be compatible?
I got an error on the advanced settings where it has a pop up with "test connection" and also an error in image libraries when I tried to move a library to s3... it said "failed" but with no details.
Thanks,
Seth
When replacing an image at Sitefinity, the newly uploaded image has no permissions, thus it's not publicly accessible (in contrast to the originally uploaded image). Permissions need to be set manually afterwards. This should be automated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.