This commit is contained in:
Kukks
2023-01-17 14:29:22 +01:00
parent ac9e07429e
commit 8906073e92
20 changed files with 32 additions and 100 deletions

View File

@@ -7,18 +7,10 @@ namespace BTCPayServer.Plugins.AOPP
{ {
public class AOPPPlugin : BaseBTCPayServerPlugin public class AOPPPlugin : BaseBTCPayServerPlugin
{ {
public override string Identifier => "BTCPayServer.Plugins.AOPP";
public override string Name => "AOPP";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.6.0.0" } new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
public override string Description =>
"Allows you to support the AOPP protocol in invoices to allow customers to bypass stupid KYC rules.";
public override void Execute(IServiceCollection applicationBuilder) public override void Execute(IServiceCollection applicationBuilder)
{ {
applicationBuilder.AddSingleton<AOPPService>(); applicationBuilder.AddSingleton<AOPPService>();

View File

@@ -9,7 +9,7 @@
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>AOPP</Title> <Product>AOPP</Product>
<Description>Allows you to support the AOPP protocol in invoices to allow customers to bypass stupid KYC rules.</Description> <Description>Allows you to support the AOPP protocol in invoices to allow customers to bypass stupid KYC rules.</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.1</Version> <Version>1.0.1</Version>

View File

@@ -8,7 +8,7 @@
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>Bitcoin Whitepaper</Title> <Product>Bitcoin Whitepaper</Product>
<Description>This makes the Bitcoin whitepaper available on your BTCPay Server.</Description> <Description>This makes the Bitcoin whitepaper available on your BTCPay Server.</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.2</Version> <Version>1.0.2</Version>

View File

@@ -5,13 +5,9 @@ namespace BTCPayServer.Plugins.BitcoinWhitepaper
{ {
public class BitcoinWhitepaperPlugin: BaseBTCPayServerPlugin public class BitcoinWhitepaperPlugin: BaseBTCPayServerPlugin
{ {
public override string Identifier { get; } = "BTCPayServer.Plugins.BitcoinWhitepaper";
public override string Name { get; } = "Bitcoin Whitepaper";
public override string Description { get; } = "This makes the Bitcoin whitepaper available on your BTCPay Server.";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.4.0.0" } new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
} }
} }

View File

@@ -9,7 +9,7 @@
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>FixedFloat</Title> <Product>FixedFloat</Product>
<Description>Allows you to embed a FixedFloat conversion screen to allow customers to pay with altcoins.</Description> <Description>Allows you to embed a FixedFloat conversion screen to allow customers to pay with altcoins.</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.6</Version> <Version>1.0.6</Version>

View File

@@ -7,17 +7,10 @@ namespace BTCPayServer.Plugins.FixedFloat
{ {
public class FixedFloatPlugin : BaseBTCPayServerPlugin public class FixedFloatPlugin : BaseBTCPayServerPlugin
{ {
public override string Identifier => "BTCPayServer.Plugins.FixedFloat";
public override string Name => "FixedFloat";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.0.0" } new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
public override string Description =>
"Allows you to embed a FixedFloat conversion screen to allow customers to pay with altcoins.";
public override void Execute(IServiceCollection applicationBuilder) public override void Execute(IServiceCollection applicationBuilder)
{ {
applicationBuilder.AddSingleton<FixedFloatService>(); applicationBuilder.AddSingleton<FixedFloatService>();

View File

@@ -9,7 +9,7 @@
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>LSP</Title> <Product>LSP</Product>
<Description>Allows you to become an LSP selling lightning channels with inbound liquidity</Description> <Description>Allows you to become an LSP selling lightning channels with inbound liquidity</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.0</Version> <Version>1.0.0</Version>

View File

@@ -7,17 +7,10 @@ namespace BTCPayServer.Plugins.LSP
{ {
public class LSPPlugin : BaseBTCPayServerPlugin public class LSPPlugin : BaseBTCPayServerPlugin
{ {
public override string Identifier => "BTCPayServer.Plugins.LSP";
public override string Name => "LSP";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new() {Identifier = nameof(BTCPayServer), Condition = ">=1.6.0.0"} new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
public override string Description =>
"Allows you to become an LSP selling lightning channels with inbound liquidity";
public override void Execute(IServiceCollection applicationBuilder) public override void Execute(IServiceCollection applicationBuilder)
{ {
applicationBuilder.AddSingleton<LSPService>(); applicationBuilder.AddSingleton<LSPService>();

View File

@@ -28,7 +28,7 @@
</PropertyGroup> </PropertyGroup>
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>"Liquid+</Title> <Product>Liquid+</Product>
<Description>Enhanced support for the liquid network.</Description> <Description>Enhanced support for the liquid network.</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.8</Version> <Version>1.0.8</Version>

View File

@@ -14,15 +14,10 @@ namespace BTCPayServer.Plugins.LiquidPlus
{ {
public class LiquidPlusPlugin : BaseBTCPayServerPlugin public class LiquidPlusPlugin : BaseBTCPayServerPlugin
{ {
public override string Identifier { get; } = "BTCPayServer.Plugins.LiquidPlus";
public override string Name { get; } = "Liquid+";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new IBTCPayServerPlugin.PluginDependency() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.0.0" } new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
public override string Description { get; } = "Enhanced support for the liquid network.";
public override void Execute(IServiceCollection services) public override void Execute(IServiceCollection services)
{ {
services.AddSingleton<IUIExtension>(new UIExtension("LiquidNav", "store-integrations-nav")); services.AddSingleton<IUIExtension>(new UIExtension("LiquidNav", "store-integrations-nav"));

View File

@@ -9,7 +9,7 @@
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>LNURL NFC Support</Title> <Product>LNURL NFC Support</Product>
<Description>Allows you to support contactless card payments over NFC and LNURL Withdraw!</Description> <Description>Allows you to support contactless card payments over NFC and LNURL Withdraw!</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.8</Version> <Version>1.0.8</Version>

View File

@@ -7,18 +7,10 @@ namespace BTCPayServer.Plugins.FixedFloat
{ {
public class NFCPlugin : BaseBTCPayServerPlugin public class NFCPlugin : BaseBTCPayServerPlugin
{ {
public override string Identifier => "BTCPayServer.Plugins.NFC";
public override string Name => "LNURL NFC Support";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new() { Identifier = nameof(BTCPayServer), Condition = ">1.7.1.0" } new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
public override string Description =>
"Allows you to support contactless card payments over NFC and LNURL Withdraw!";
public override void Execute(IServiceCollection applicationBuilder) public override void Execute(IServiceCollection applicationBuilder)
{ {
applicationBuilder.AddSingleton<IUIExtension>(new UIExtension("NFC/CheckoutEnd", applicationBuilder.AddSingleton<IUIExtension>(new UIExtension("NFC/CheckoutEnd",

View File

@@ -9,7 +9,7 @@
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>SideShift</Title> <Product>SideShift</Product>
<Description>Allows you to embed a SideShift conversion screen to allow customers to pay with altcoins.</Description> <Description>Allows you to embed a SideShift conversion screen to allow customers to pay with altcoins.</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.9</Version> <Version>1.0.9</Version>

View File

@@ -7,18 +7,10 @@ namespace BTCPayServer.Plugins.SideShift
{ {
public class SideShiftPlugin : BaseBTCPayServerPlugin public class SideShiftPlugin : BaseBTCPayServerPlugin
{ {
public override string Identifier => "BTCPayServer.Plugins.SideShift";
public override string Name => "SideShift";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new IBTCPayServerPlugin.PluginDependency() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.0.0" } new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
public override string Description =>
"Allows you to embed a SideShift conversion screen to allow customers to pay with altcoins.";
public override void Execute(IServiceCollection applicationBuilder) public override void Execute(IServiceCollection applicationBuilder)
{ {
applicationBuilder.AddSingleton<SideShiftService>(); applicationBuilder.AddSingleton<SideShiftService>();

View File

@@ -9,7 +9,7 @@
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>TicketTailor</Title> <Product>TicketTailor</Product>
<Description>Allows you to integrate with TicketTailor.com to sell tickets for Bitcoin</Description> <Description>Allows you to integrate with TicketTailor.com to sell tickets for Bitcoin</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.5</Version> <Version>1.0.5</Version>

View File

@@ -7,18 +7,10 @@ namespace BTCPayServer.Plugins.TicketTailor
{ {
public class TicketTailorPlugin : BaseBTCPayServerPlugin public class TicketTailorPlugin : BaseBTCPayServerPlugin
{ {
public override string Identifier => "BTCPayServer.Plugins.TicketTailor";
public override string Name => "TicketTailor";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.6.0.0" } new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
public override string Description =>
"Allows you to integrate with TicketTailor.com to sell tickets for Bitcoin";
public override void Execute(IServiceCollection applicationBuilder) public override void Execute(IServiceCollection applicationBuilder)
{ {
applicationBuilder.AddSingleton<TicketTailorService>(); applicationBuilder.AddSingleton<TicketTailorService>();

View File

@@ -10,7 +10,7 @@
<!-- Plugin specific properties --> <!-- Plugin specific properties -->
<PropertyGroup> <PropertyGroup>
<Title>Wabisabi Coinjoin</Title> <Product>Wabisabi Coinjoin</Product>
<Description>Allows you to integrate your btcpayserver store with coinjoins.</Description> <Description>Allows you to integrate your btcpayserver store with coinjoins.</Description>
<Authors>Kukks</Authors> <Authors>Kukks</Authors>
<Version>1.0.10</Version> <Version>1.0.10</Version>
@@ -35,26 +35,21 @@
<ItemGroup> <ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<EmbeddedResource Include="Resources\**" /> <EmbeddedResource Include="Resources\**" />
<ProjectReference Include="..\..\submodules\btcpayserver\BTCPayServer\BTCPayServer.csproj" /> <ProjectReference Include="..\..\submodules\btcpayserver\BTCPayServer\BTCPayServer.csproj" />
<ProjectReference Include="..\..\submodules\walletwasabi\WalletWasabi\WalletWasabi.csproj" /> <ProjectReference Include="..\..\submodules\walletwasabi\WalletWasabi\WalletWasabi.csproj">
</ItemGroup> <Properties>StaticWebAssetsEnabled=false</Properties>
<ItemGroup> <Private>true</Private>
<PackageReference Include="NNostr.Client" Version="0.0.17" /> <ExcludeAssets>runtime;contentFiles</ExcludeAssets>
</ItemGroup> </ProjectReference>
<ItemGroup>
<_ContentIncludedByDefault Remove="Views\Shared\Wabisabi\StoreIntegrationWabisabiOption.cshtml" />
<_ContentIncludedByDefault Remove="Views\Shared\Wabisabi\WabisabiDashboard.cshtml" />
<_ContentIncludedByDefault Remove="Views\Shared\Wabisabi\WabisabiNav.cshtml" />
<_ContentIncludedByDefault Remove="Views\Shared\Wabisabi\WabisabiServerNavvExtension.cshtml" />
<_ContentIncludedByDefault Remove="Views\WabisabiCoordinatorConfig\UpdateWabisabiSettings.cshtml" />
<_ContentIncludedByDefault Remove="Views\WabisabiStore\Spend.cshtml" />
<_ContentIncludedByDefault Remove="Views\WabisabiStore\UpdateWabisabiStoreSettings.cshtml" />
<_ContentIncludedByDefault Remove="Views\_ViewImports.cshtml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Resources" /> <Folder Include="Resources" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<PackageReference Include="NNostr.Client" Version="0.0.17" />
</ItemGroup>
<Target Name="DeleteExampleFile" AfterTargets="Publish">
<RemoveDir Directories="$(PublishDir)\Microservices" />
</Target>
</Project> </Project>

View File

@@ -20,6 +20,7 @@ using WalletWasabi.WabiSabi.Client;
using WalletWasabi.WabiSabi.Client.RoundStateAwaiters; using WalletWasabi.WabiSabi.Client.RoundStateAwaiters;
using WalletWasabi.WabiSabi.Client.StatusChangedEvents; using WalletWasabi.WabiSabi.Client.StatusChangedEvents;
using WalletWasabi.WebClients.Wasabi; using WalletWasabi.WebClients.Wasabi;
using HttpClientFactory = WalletWasabi.WebClients.Wasabi.HttpClientFactory;
namespace BTCPayServer.Plugins.Wabisabi; namespace BTCPayServer.Plugins.Wabisabi;

View File

@@ -36,19 +36,10 @@ namespace BTCPayServer.Plugins.Wabisabi;
public class WabisabiPlugin : BaseBTCPayServerPlugin public class WabisabiPlugin : BaseBTCPayServerPlugin
{ {
public override string Identifier => "BTCPayServer.Plugins.Wabisabi";
public override string Name => "Coinjoin";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } = public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{ {
new() {Identifier = nameof(BTCPayServer), Condition = ">=1.7.3.0"} new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
}; };
public override string Description =>
"Allows you to integrate your btcpayserver store with coinjoins.";
public override void Execute(IServiceCollection applicationBuilder) public override void Execute(IServiceCollection applicationBuilder)
{ {
var utxoLocker = new LocalisedUTXOLocker(); var utxoLocker = new LocalisedUTXOLocker();