File tree Expand file tree Collapse file tree 9 files changed +6648
-6660
lines changed
Expand file tree Collapse file tree 9 files changed +6648
-6660
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ services:
6464 environment :
6565 - SERVICES=s3
6666 - DEBUG=1
67- - AWS_ACCESS_KEY_ID=test
68- - AWS_SECRET_ACCESS_KEY=test
67+ - AWS_ACCESS_KEY_ID=test-id
68+ - AWS_SECRET_ACCESS_KEY=test-key
6969 volumes :
7070 - ./s3:/persisted-data/
7171 - ./aws:/etc/localstack/init/ready.d
Original file line number Diff line number Diff line change 1818 "ServiceUrl" : " http://localhost:4566" ,
1919 "UseAccelerateEndpoint" : false ,
2020 "Credentials" : {
21- "ApplicationKey" : " test" ,
22- "KeyId" : " test"
21+ "ApplicationKey" : " test-key " ,
22+ "KeyId" : " test-id "
2323 }
2424 }
2525 }
3737 }
3838 }
3939 }
40- }
40+ }
Original file line number Diff line number Diff line change 1818 "ServiceUrl" : " http://localhost:4566" ,
1919 "UseAccelerateEndpoint" : false ,
2020 "Credentials" : {
21- "ApplicationKey" : " test" ,
22- "KeyId" : " test"
21+ "ApplicationKey" : " test-key " ,
22+ "KeyId" : " test-id "
2323 }
2424 }
2525 }
3737 }
3838 }
3939 }
40- }
40+ }
Original file line number Diff line number Diff line change @@ -42,15 +42,6 @@ public class ServiceUrl
4242 public const string ReadMoreLink = "https://our.umbraco.com/Documentation/Extending/FileSystemProviders/B2/" ;
4343 }
4444
45- public class UseAccelerateEndpoint
46- {
47- public const string Id = "9D3D3D3D-4D3D-4D3D-4D3D-4D3D3D3D3D3D" ;
48- public const string Name = "B2 Use Accelerate Endpoint" ;
49- public const string Description = "Checks if the B2 use accelerate endpoint is set." ;
50- public const string ItemPath = $ "{ Section } :UseAccelerateEndpoint";
51- public const string ReadMoreLink = "https://our.umbraco.com/Documentation/Extending/FileSystemProviders/B2/" ;
52- }
53-
5445 public class Api
5546 {
5647 public const string Id = "8D3D3D3D-4D3D-4D3D-4D3D-4D3D3D3D3D3D" ;
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ public class B2Options
1313 [ MemberNotNullWhen ( true , nameof ( ServiceUrl ) , nameof ( Credentials ) ) ]
1414 public bool Enabled => ! string . IsNullOrWhiteSpace ( BucketName ) && ! string . IsNullOrWhiteSpace ( ServiceUrl ) && ( Credentials ? . Valid ?? false ) ;
1515
16- public AWSCredentials ToCredentials ( ) => new BasicAWSCredentials ( Credentials ? . KeyId , Credentials ? . KeyId ) ;
16+ public AWSCredentials ToCredentials ( ) => new BasicAWSCredentials ( Credentials ? . KeyId , Credentials ? . ApplicationKey ) ;
1717}
Original file line number Diff line number Diff line change 3030 <PackageReference Include =" Umbraco.Cms.Web.BackOffice" Version =" [10.4.0,11.0.0)" />
3131 <PackageReference Include =" Umbraco.Cms.Web.Common" Version =" [10.4.0,11.0.0)" />
3232 <PackageReference Include =" Our.Umbraco.StorageProviders.AWSS3" Version =" 1.3.0" />
33-
3433 </ItemGroup >
3534
3635 <ItemGroup Condition =" '$(TargetFramework)' == 'net7.0'" >
3938 <PackageReference Include =" Umbraco.Cms.Web.Common" Version =" [11.0.0,13.0.0)" />
4039 <PackageReference Include =" Umbraco.Cms.Imaging.ImageSharp" Version =" [11.0.0,13.0.0)" />
4140 <PackageReference Include =" Our.Umbraco.StorageProviders.AWSS3" Version =" 1.3.0" />
42-
4341 </ItemGroup >
4442
4543 <ItemGroup Condition =" '$(TargetFramework)' == 'net8.0'" >
4846 <PackageReference Include =" Umbraco.Cms.Web.Common" Version =" [13.0.0,14.0.0)" />
4947 <PackageReference Include =" Umbraco.Cms.Imaging.ImageSharp" Version =" [13.0.0,14.0.0)" />
5048 <PackageReference Include =" Our.Umbraco.StorageProviders.AWSS3" Version =" 1.3.0" />
51-
5249 </ItemGroup >
5350
5451 <PropertyGroup Condition =" '$(Configuration)' == 'Debug'" >
6158 <None Include =" ..\..\docs\icon.png" Pack =" true" PackagePath =" images\icon.png" />
6259 <None Include =" ..\..\.github\README.md" Pack =" true" PackagePath =" \" />
6360 </ItemGroup >
64- </Project >
61+ </Project >
You can’t perform that action at this time.
0 commit comments