From d90d3c5a0f3e67c0a90cd4259d9db483831dd438 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Sat, 21 Jan 2023 20:51:36 +0100 Subject: [PATCH] Remove pnxbet as a supporter Closes #4543. --- BTCPayServer.Tests/ThirdPartyTests.cs | 3 +-- BTCPayServer.Tests/UnitTest1.cs | 13 ++++++------- BTCPayServer/Views/Shared/_BTCPaySupporters.cshtml | 13 ------------- BTCPayServer/wwwroot/img/supporter-sprite.svg | 5 ----- README.md | 1 - 5 files changed, 7 insertions(+), 28 deletions(-) diff --git a/BTCPayServer.Tests/ThirdPartyTests.cs b/BTCPayServer.Tests/ThirdPartyTests.cs index d06729867..ac78871f6 100644 --- a/BTCPayServer.Tests/ThirdPartyTests.cs +++ b/BTCPayServer.Tests/ThirdPartyTests.cs @@ -206,8 +206,7 @@ namespace BTCPayServer.Tests { "https://www.btse.com", // not allowing to be hit from circleci "https://www.bitpay.com", // not allowing to be hit from circleci - "https://support.bitpay.com", - "https://www.pnxbet.com" //has geo blocking + "https://support.bitpay.com" }; foreach (var match in regex.Matches(text).OfType()) diff --git a/BTCPayServer.Tests/UnitTest1.cs b/BTCPayServer.Tests/UnitTest1.cs index ded5e88b8..0c8ec461d 100644 --- a/BTCPayServer.Tests/UnitTest1.cs +++ b/BTCPayServer.Tests/UnitTest1.cs @@ -139,7 +139,7 @@ namespace BTCPayServer.Tests var schema = JSchema.Parse(File.ReadAllText(TestUtils.GetTestDataFullPath("OpenAPI-Specification-schema.json"))); IList errors; bool valid = swagger.IsValid(schema, out errors); - //the schema is not fully compliant to the spec. We ARE allowed to have multiple security schemas. + //the schema is not fully compliant to the spec. We ARE allowed to have multiple security schemas. var matchedError = errors.Where(error => error.Path == "components.securitySchemes.Basic" && error.ErrorType == ErrorType.OneOf).ToList(); foreach (ValidationError validationError in matchedError) @@ -230,8 +230,7 @@ namespace BTCPayServer.Tests { "https://www.btse.com", // not allowing to be hit from circleci "https://www.bitpay.com", // not allowing to be hit from circleci - "https://support.bitpay.com", - "https://www.pnxbet.com" //has geo blocking + "https://support.bitpay.com" }; foreach (var match in regex.Matches(text).OfType()) @@ -1745,7 +1744,7 @@ namespace BTCPayServer.Tests Assert.True(match.Success); return decimal.Parse(match.Groups[1].Value.Trim(), CultureInfo.InvariantCulture); } - + async Task GetExport(TestAccount account, string storeId = null) { var content = await account.GetController(false) @@ -1826,13 +1825,13 @@ namespace BTCPayServer.Tests ItemDesc = "Some \", description", FullNotifications = true }, Facade.Merchant); - + await otherUser.PayInvoice(newInvoice.Id); Assert.Single(await GetExport(otherUser)); Assert.Single(await GetExport(otherUser, otherUser.StoreId)); Assert.Equal(3, (await GetExport(user, user.StoreId)).Length); Assert.Equal(3, (await GetExport(user)).Length); - + await otherUser.AddOwner(user.UserId); Assert.Equal(4, (await GetExport(user)).Length); Assert.Single(await GetExport(user, otherUser.StoreId)); @@ -2798,7 +2797,7 @@ namespace BTCPayServer.Tests .IsType(await controller.StorageProvider("I am not a real provider")) .ActionName)); - //ok no more messing around, let's configure this shit. + //ok no more messing around, let's configure this shit. var fileSystemStorageConfiguration = Assert.IsType(Assert .IsType(await controller.StorageProvider(StorageProvider.FileSystem.ToString())) .Model); diff --git a/BTCPayServer/Views/Shared/_BTCPaySupporters.cshtml b/BTCPayServer/Views/Shared/_BTCPaySupporters.cshtml index efacd7aec..aea2b0d2b 100644 --- a/BTCPayServer/Views/Shared/_BTCPaySupporters.cshtml +++ b/BTCPayServer/Views/Shared/_BTCPaySupporters.cshtml @@ -6,12 +6,7 @@ - - - - - @@ -52,14 +47,6 @@ HRF -

View all supporters or diff --git a/BTCPayServer/wwwroot/img/supporter-sprite.svg b/BTCPayServer/wwwroot/img/supporter-sprite.svg index eb1bdac6a..5319f8944 100644 --- a/BTCPayServer/wwwroot/img/supporter-sprite.svg +++ b/BTCPayServer/wwwroot/img/supporter-sprite.svg @@ -1,13 +1,8 @@ - - - - - diff --git a/README.md b/README.md index 33dbe43cf..a6a3f6f84 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,6 @@ The BTCPay Server Project is proudly supported by these entities through the [BT [![Baillie Gifford](BTCPayServer/wwwroot/img/readme/supporter_bailliegifford.svg)](https://www.bailliegifford.com) [![Strike](BTCPayServer/wwwroot/img/readme/supporter_strike.svg)](https://strike.me) [![Human Rights Foundation](BTCPayServer/wwwroot/img/readme/supporter_hrf.svg)](https://hrf.org) -[![PNXBET](BTCPayServer/wwwroot/img/readme/supporter_pnxbet.svg)](https://www.pnxbet.com) [![LunaNode](BTCPayServer/wwwroot/img/readme/supporter_lunanode.svg)](https://lunanode.com) [![Wallet of Satoshi](BTCPayServer/wwwroot/img/readme/supporter_walletofsatoshi.svg)](https://walletofsatoshi.com/) [![Coincards](BTCPayServer/wwwroot/img/readme/supporter_coincards.svg)](https://coincards.com/)