diff --git a/BTCPayServerPlugins.sln b/BTCPayServerPlugins.sln index 611de98..51357f0 100644 --- a/BTCPayServerPlugins.sln +++ b/BTCPayServerPlugins.sln @@ -33,8 +33,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.Plugins.Ticket EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.Plugins.Wabisabi", "Plugins\BTCPayServer.Plugins.Wabisabi\BTCPayServer.Plugins.Wabisabi.csproj", "{0D438B7D-F996-4BF3-8F54-02CB9DF120D8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.Plugins.AOPP", "Plugins\BTCPayServer.Plugins.AOPP\BTCPayServer.Plugins.AOPP.csproj", "{A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.Plugins.LSP", "Plugins\BTCPayServer.Plugins.LSP\BTCPayServer.Plugins.LSP.csproj", "{304E4860-8420-4D71-B95A-3E2F75BEE9F6}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.PluginPacker", "submodules\btcpayserver\BTCPayServer.PluginPacker\BTCPayServer.PluginPacker.csproj", "{2FDF2D41-8E75-49F6-9F4D-9E9AECE7922F}" @@ -173,14 +171,6 @@ Global {0D438B7D-F996-4BF3-8F54-02CB9DF120D8}.Altcoins-Debug|Any CPU.Build.0 = Debug|Any CPU {0D438B7D-F996-4BF3-8F54-02CB9DF120D8}.Altcoins-Release|Any CPU.ActiveCfg = Release|Any CPU {0D438B7D-F996-4BF3-8F54-02CB9DF120D8}.Altcoins-Release|Any CPU.Build.0 = Release|Any CPU - {A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}.Release|Any CPU.Build.0 = Release|Any CPU - {A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}.Altcoins-Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}.Altcoins-Debug|Any CPU.Build.0 = Debug|Any CPU - {A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}.Altcoins-Release|Any CPU.ActiveCfg = Release|Any CPU - {A02B61F6-C1B6-404E-865D-5ADD6AEC3E76}.Altcoins-Release|Any CPU.Build.0 = Release|Any CPU {304E4860-8420-4D71-B95A-3E2F75BEE9F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {304E4860-8420-4D71-B95A-3E2F75BEE9F6}.Debug|Any CPU.Build.0 = Debug|Any CPU {304E4860-8420-4D71-B95A-3E2F75BEE9F6}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/Plugins/BTCPayServer.Plugins.AOPP/BTCPayServer.Plugins.AOPP.csproj b/Plugins/BTCPayServer.Plugins.AOPP/BTCPayServer.Plugins.AOPP.csproj deleted file mode 100644 index 0fc2dbe..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/BTCPayServer.Plugins.AOPP.csproj +++ /dev/null @@ -1,41 +0,0 @@ - - - - - net6.0 - 10 - - - - - AOPP - Allows you to support the AOPP protocol in invoices to allow customers to bypass stupid KYC rules. - 1.0.1 - - - - - true - false - true - - - - - - StaticWebAssetsEnabled=false - false - runtime;native;build;buildTransitive;contentFiles - - - - - - - - - - - - - diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Pack.ps1 b/Plugins/BTCPayServer.Plugins.AOPP/Pack.ps1 deleted file mode 100644 index 933a81a..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Pack.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -dotnet publish -c Altcoins-Release -o bin/publish/BTCPayServer.Plugins.AOPP -dotnet run -p ../../BTCPayServer.PluginPacker bin/publish/BTCPayServer.Plugins.AOPP BTCPayServer.Plugins.AOPP ../packed diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Resources/js/aoppComponent.js b/Plugins/BTCPayServer.Plugins.AOPP/Resources/js/aoppComponent.js deleted file mode 100644 index 49920e9..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Resources/js/aoppComponent.js +++ /dev/null @@ -1,36 +0,0 @@ -Vue.component("AOPP", { - props: ["srvModel"], - methods: { - onaoppChange: function(){ - this.aoppAddressInputDirty = true; - this.aoppAddressInputInvalid = false; - }, - onSubmit : function(){ - var self = this; - if (this.aoppAddressInput && this.aoppAddressInput.startsWith("aopp:?")) { - this.aoppAddressFormSubmitting = true; - // Push the email to a server, once the reception is confirmed move on - $.ajax({ - url: "/plugins/"+this.srvModel.storeId+"/AOPP/" +this.srvModel.invoiceId, - type: "POST", - data: JSON.stringify({ aopp: this.aoppAddressInput }), - contentType: "application/json; charset=utf-8" - }) - .done(function () { - }).always(function () { - self.aoppAddressFormSubmitting = false; - }); - } else { - this.aoppAddressInputInvalid = true; - } - } - }, - data: function () { - return { - aoppAddressInput: "", - aoppAddressInputDirty: false, - aoppAddressInputInvalid: false, - aoppAddressFormSubmitting: false - } - } -}); diff --git a/Plugins/BTCPayServer.Plugins.AOPP/UpdateAOPPSettingsViewModel.cs b/Plugins/BTCPayServer.Plugins.AOPP/UpdateAOPPSettingsViewModel.cs deleted file mode 100644 index 81bdb75..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/UpdateAOPPSettingsViewModel.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace BTCPayServer.Plugins.AOPP -{ - public class UpdateAOPPSettingsViewModel - { - public bool Enabled { get; set; } - public string StoreName { get; set; } - } -} diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Views/AOPP/UpdateAOPPSettings.cshtml b/Plugins/BTCPayServer.Plugins.AOPP/Views/AOPP/UpdateAOPPSettings.cshtml deleted file mode 100644 index 4ef5676..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Views/AOPP/UpdateAOPPSettings.cshtml +++ /dev/null @@ -1,23 +0,0 @@ -@model BTCPayServer.Plugins.AOPP.UpdateAOPPSettingsViewModel -@{ - Layout = "../Shared/_NavLayout.cshtml"; - ViewData["NavPartialName"] = "../UIStores/_Nav"; -} - -

@ViewData["PageTitle"]

- -
-
-
-
- - -
- -
-
-
- -@section PageFootContent { - -} diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/AOPPNav.cshtml b/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/AOPPNav.cshtml deleted file mode 100644 index 9fb0c6e..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/AOPPNav.cshtml +++ /dev/null @@ -1,18 +0,0 @@ -@using BTCPayServer.Abstractions.Contracts -@using BTCPayServer.Plugins.AOPP -@inject IScopeProvider ScopeProvider -@{ - var storeId = ScopeProvider.GetCurrentStoreId(); - var isActive = !string.IsNullOrEmpty(storeId) && ViewContext.RouteData.Values.TryGetValue("Controller", out var controller) && controller is not null && - nameof(AOPPController).StartsWith(controller.ToString(), StringComparison.InvariantCultureIgnoreCase); -} -@if (!string.IsNullOrEmpty(storeId)) -{ - -} diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutContentExtension.cshtml b/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutContentExtension.cshtml deleted file mode 100644 index 681f992..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutContentExtension.cshtml +++ /dev/null @@ -1,40 +0,0 @@ -@using BTCPayServer.Plugins.AOPP -@using Newtonsoft.Json -@using Newtonsoft.Json.Linq -@inject AOPPService AOPPService -@{ - var storeId = ((JObject)JObject.Parse(JsonConvert.SerializeObject(Model)))["StoreId"].Value(); - var settings = await AOPPService.GetAOPPForStore(storeId); - if (settings?.Enabled is true) - { -
- -
-
- {{$t("AOPP")}} -
-
- - If you are sending funds from an exchange that requiores that you "verify" the withdrawal access, you can use this tool to bypass this madness. You even earn bonus points if they try to pass that data over to a chain surveillance service, by poisoning their clusters. - - {{$t("Please enter a valid aopp address")}} -
-
- - - - -
-
-
-
- } -} diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutEnd.cshtml b/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutEnd.cshtml deleted file mode 100644 index e3666e4..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutEnd.cshtml +++ /dev/null @@ -1,13 +0,0 @@ -@using BTCPayServer.Plugins.AOPP -@using Newtonsoft.Json -@using Newtonsoft.Json.Linq -@inject AOPPService AOPPService -@{ - - var storeId = ((JObject)JObject.Parse(JsonConvert.SerializeObject(Model)))["StoreId"].Value(); - var settings = await AOPPService.GetAOPPForStore(storeId); - if (settings?.Enabled is true) - { - - } -} diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutTabExtension.cshtml b/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutTabExtension.cshtml deleted file mode 100644 index 4749b25..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/CheckoutTabExtension.cshtml +++ /dev/null @@ -1,14 +0,0 @@ -@using BTCPayServer.Plugins.AOPP -@using Newtonsoft.Json -@using Newtonsoft.Json.Linq -@inject AOPPService AOPPService -@{ - var storeId = ((JObject)JObject.Parse(JsonConvert.SerializeObject(Model)))["StoreId"].Value(); - var settings = await AOPPService.GetAOPPForStore(storeId); - if (settings?.Enabled is true) - { -
- {{$t("AOPP")}} -
- } -} diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/StoreIntegrationAOPPOption.cshtml b/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/StoreIntegrationAOPPOption.cshtml deleted file mode 100644 index 0571ce9..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Views/Shared/AOPP/StoreIntegrationAOPPOption.cshtml +++ /dev/null @@ -1,57 +0,0 @@ -@using BTCPayServer.Abstractions.Contracts -@using BTCPayServer.Plugins.AOPP -@using Microsoft.AspNetCore.Mvc.TagHelpers -@inject AOPPService AOPPService -@inject IScopeProvider ScopeProvider -@{ - var storeId = ScopeProvider.GetCurrentStoreId(); - AOPPSettings settings = null; - if (!string.IsNullOrEmpty(storeId)) - { - try - { - settings = await AOPPService.GetAOPPForStore(storeId); - } - catch (Exception) - { - } - } -} -@if (!string.IsNullOrEmpty(storeId)) -{ -
  • -
    - - - AOPP - - - Allows your customers to pay with altcoins that are not supported by BTCPay Server. - - - - @if (settings?.Enabled is true) - { - - - Enabled - - | - - Modify - - } - else - { - - - Disabled - - - Setup - - } - -
    -
  • -} diff --git a/Plugins/BTCPayServer.Plugins.AOPP/Views/_ViewImports.cshtml b/Plugins/BTCPayServer.Plugins.AOPP/Views/_ViewImports.cshtml deleted file mode 100644 index afa82bb..0000000 --- a/Plugins/BTCPayServer.Plugins.AOPP/Views/_ViewImports.cshtml +++ /dev/null @@ -1 +0,0 @@ -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers