mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
d73d0f178f
* Checkout: Allow NFC/LNURL-W whenever LNURL is available With what we have in master right now, we display NFC only for top-up invoices. With these changes, we display NFC in all cases, where LNURL is available. Note that this hides LNURL from the list of selectable payment methods, it's only available to use the NFC — and explicitely selectable only for the edge case of top-up invoice + non-unified QR (as before). Rationale: Now that we got NFC tightly integrated, it doesn't make sense to support the NFC experience only for top-up invoices. With this we bring back LNURL for regular invoices as well, but don't make it selectable and use it only for the NFC functionality. * Fix LNURL condition * Improve and test NFC/LNURL display condition Restores what was fixed in #4660. * Fix and test Lightning-only case * Add cache busting for locales
57 lines
2.5 KiB
XML
57 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<Import Project="../Build/Common.csproj" />
|
|
<PropertyGroup>
|
|
<IsPackable>false</IsPackable>
|
|
<UserSecretsId>AB0AC1DD-9D26-485B-9416-56A33F268117</UserSecretsId>
|
|
<!--https://devblogs.microsoft.com/aspnet/testing-asp-net-core-mvc-web-apps-in-memory/-->
|
|
<PreserveCompilationContext>true</PreserveCompilationContext>
|
|
</PropertyGroup>
|
|
<!--https://devblogs.microsoft.com/aspnet/testing-asp-net-core-mvc-web-apps-in-memory/-->
|
|
<Target Name="CopyAditionalFiles" AfterTargets="Build" Condition="'$(TargetFramework)'!=''">
|
|
<ItemGroup>
|
|
<DepsFilePaths Include="$([System.IO.Path]::ChangeExtension('%(_ResolvedProjectReferencePaths.FullPath)', '.deps.json'))" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="%(DepsFilePaths.FullPath)" DestinationFolder="$(OutputPath)" Condition="Exists('%(DepsFilePaths.FullPath)')" />
|
|
</Target>
|
|
|
|
<PropertyGroup Condition="'$(CI_TESTS)' == 'true'">
|
|
<DefineConstants>$(DefineConstants);SHORT_TIMEOUT</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
|
|
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.14" />
|
|
<PackageReference Include="Selenium.Support" Version="4.1.1" />
|
|
<PackageReference Include="Selenium.WebDriver" Version="4.1.1" />
|
|
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="110.0.5481.7700" />
|
|
<PackageReference Include="xunit" Version="2.4.2" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(Altcoins)' != 'true'">
|
|
<Compile Remove="AltcoinTests\**\*.cs"></Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Update=".dockerignore">
|
|
<DependentUpon>Dockerfile</DependentUpon>
|
|
</None>
|
|
<None Update="docker-compose.altcoins.yml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="docker-compose.yml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="xunit.runner.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BTCPayServer.Rating\BTCPayServer.Rating.csproj" />
|
|
<ProjectReference Include="..\BTCPayServer\BTCPayServer.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|