mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
* wip * add in storage system * ui fixes * fix settings ui * Add Files Crud UI * add titles * link files to users * add migration * set blob to public * remove base 64 read code * fix file query model init * move view model to own file * fix local root path * use datadir for local storage * move to services * add direct file url * try fix tests * remove magic string * remove other magic strings * show error message on unsupported provider * fix asp net version * redirect to storage settings if provider is not supported * start writing tests * fix tests * fix test again * add some more to the tests * more tests * try making local provider work on tests * fix formfile * fix small issue with returning deleted file * check if returned data is null for deleted file * validate azure Container name * more state fixes * change azure test trait * add tmp file url generator * fix tests * small clean * disable amazon and google comment out unused code for now comment out google/amazon
28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
//using System.Threading.Tasks;
|
|
//using BTCPayServer.Storage.Models;
|
|
//using BTCPayServer.Storage.Services.Providers.AmazonS3Storage.Configuration;
|
|
//using TwentyTwenty.Storage;
|
|
//using TwentyTwenty.Storage.Amazon;
|
|
//
|
|
//namespace BTCPayServer.Storage.Services.Providers.AmazonS3Storage
|
|
//{
|
|
// public class
|
|
// AmazonS3FileProviderService : BaseTwentyTwentyStorageFileProviderServiceBase<AmazonS3StorageConfiguration>
|
|
// {
|
|
// public override StorageProvider StorageProvider()
|
|
// {
|
|
// return Storage.Models.StorageProvider.AmazonS3;
|
|
// }
|
|
//
|
|
// public override AmazonS3StorageConfiguration GetProviderConfiguration(StorageSettings configuration)
|
|
// {
|
|
// return configuration.Configuration.ParseAmazonS3StorageConfiguration();
|
|
// }
|
|
//
|
|
// protected override Task<IStorageProvider> GetStorageProvider(AmazonS3StorageConfiguration configuration)
|
|
// {
|
|
// return Task.FromResult<IStorageProvider>(new AmazonStorageProvider(configuration));
|
|
// }
|
|
// }
|
|
//}
|