btcpayserver/BTCPayServer/BTCPayServer.csproj

191 lines
9.7 KiB
XML
Raw Normal View History

<Project Sdk="Microsoft.NET.Sdk.Web">
2019-06-18 07:00:42 +02:00
<Import Project="../Build/Version.csproj" Condition="Exists('../Build/Version.csproj')" />
<Import Project="../Build/Common.csproj" />
2020-07-28 22:48:51 +02:00
2017-09-13 08:47:34 +02:00
<PropertyGroup>
<OutputType>Exe</OutputType>
<PreserveCompilationContext>true</PreserveCompilationContext>
<RunAnalyzersDuringLiveAnalysis>False</RunAnalyzersDuringLiveAnalysis>
<RunAnalyzersDuringBuild>False</RunAnalyzersDuringBuild>
</PropertyGroup>
<ItemGroup>
Form Builder (#4137) * wip * Cleanups * UI updates * Update UIFormsController.cs * Make predefined forms usable statically * Add support for pos app + forms * pay request form rough support * invoice form through receipt page * Display form name in inherit from store setting * Do not request additional forms on invoice from pay request * fix up code * move checkoutform id in checkout appearance outside of checkotu v2 toggle * general fixes for form system * fix pav bug * UI updates * Fix warnings in Form builder (#4331) * Fix build warnings about string? Enable nullable on UIFormsController.cs Fixes CS8632 The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. * Clean up lack of space in injected services in Submit() of UIFormsController.cs * Remove unused variables (CS0219) and assignment of nullable value to nullable type (CS8600) * Cleanup double semicolons while we're at tit * Fix: If reverse proxy wasn't well configured, and error message should have been displayed (#4322) * fix monero issue * Server Settings: Update Policies page (#4326) Handles the multiple submit buttons on that page and closes #4319. Contains some UI unifications with other pages and also shows the block explorers without needing to toggle the section via JS. * Change confirmed to settled. (#4328) * POS: Fix null pointer Introduced in #4307, the referenced object needs to be `itemChoice` instead of `choice`. * Add documentation link to plugins (#4329) * Add documentation link to plugins * Minor UI updates Co-authored-by: Dennis Reimann <mail@dennisreimann.de> * Fix flaky test (#4330) * Fix flaky test * Update BTCPayServer/PayoutProcessors/BaseAutomatedPayoutProcessor.cs Co-authored-by: d11n <mail@dennisreimann.de> Co-authored-by: d11n <mail@dennisreimann.de> * Remove invoice and store level form * add form test * fix migration for forms * fix * make pay request form submission redirect to invoice * Refactor FormQuery to only be able to query single store and single form * Put the Authorize at controller level on UIForms * Fix warnings * Fix ef request * Fix query to forms, ensure no permission bypass * Fix modify * Remove storeId from step form * Remove useless storeId parameter * Hide custom form feature in UI * Minor cleanups * Remove custom form options from select for now * More minor syntax cleanups * Update test * Add index - needs migration * Refactoring: Use PostRedirect instead of TempData for data transfer * Remove untested and unfinished code * formResponse should be a JObject, not a string * Fix case for Form type Co-authored-by: Dennis Reimann <mail@dennisreimann.de> Co-authored-by: JesterHodl <103882255+jesterhodl@users.noreply.github.com> Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com> Co-authored-by: Andreas Tasch <andy.tasch@gmail.com>
2022-11-25 02:42:55 +01:00
<AssemblyAttribute Condition="'$(GitCommit)' != ''" Include="BTCPayServer.GitCommitAttribute">
<_Parameter1>$(GitCommit)</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<Compile Remove="Build\**" />
<Compile Remove="wwwroot\vendor\jquery-nice-select\**" />
<Content Remove="Build\**" />
<Content Remove="wwwroot\vendor\jquery-nice-select\**" />
<EmbeddedResource Remove="Build\**" />
<EmbeddedResource Remove="wwwroot\vendor\jquery-nice-select\**" />
<None Remove="Build\**" />
<None Remove="wwwroot\vendor\jquery-nice-select\**" />
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIStorePullPayments\NewPullPayment.cshtml">
<Pack>false</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIStorePullPayments\PullPayments.cshtml">
<Pack>false</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIAccount\_ViewImports.cshtml">
<Pack>false</Pack>
</Content>
</ItemGroup>
2017-09-13 08:47:34 +02:00
<ItemGroup>
<None Remove="Currencies.txt" />
</ItemGroup>
2020-07-28 22:48:51 +02:00
<ItemGroup Condition="'$(Altcoins)' != 'true'">
2020-07-28 22:48:51 +02:00
<Content Remove="Services\Altcoins\**\*" />
<Compile Remove="Plugins\Altcoins\**\*" />
2022-01-07 04:32:00 +01:00
<Content Remove="Views\UIMoneroLikeStore\**\*" />
<Content Remove="Views\UIZcashLikeStore\**\*" />
2020-07-28 22:48:51 +02:00
<Content Remove="Views\Shared\Monero\**\*" />
<Content Remove="Views\Shared\Zcash\**\*" />
2020-07-28 22:48:51 +02:00
</ItemGroup>
2017-09-13 08:47:34 +02:00
<ItemGroup>
2024-04-24 14:50:18 +02:00
<PackageReference Include="BTCPayServer.NTag424" Version="1.0.23" />
2023-05-23 02:18:57 +02:00
<PackageReference Include="YamlDotNet" Version="8.0.0" />
2021-08-26 07:34:20 +02:00
<PackageReference Include="BIP78.Sender" Version="0.2.2" />
2021-09-08 11:27:36 +02:00
<PackageReference Include="BTCPayServer.Hwi" Version="2.0.2" />
2024-04-15 11:22:30 +02:00
<PackageReference Include="BTCPayServer.Lightning.All" Version="1.6.0" />
2024-05-23 15:16:16 +02:00
<PackageReference Include="CsvHelper" Version="32.0.3" />
<PackageReference Include="Dapper" Version="2.1.35" />
2022-07-27 08:55:37 +02:00
<PackageReference Include="Fido2" Version="2.0.2" />
<PackageReference Include="Fido2.AspNet" Version="2.0.2" />
2023-09-27 09:13:12 +02:00
<PackageReference Include="LNURL" Version="0.0.34" />
2022-06-27 03:58:57 +02:00
<PackageReference Include="MailKit" Version="3.3.0" />
<PackageReference Include="BTCPayServer.NETCore.Plugins.Mvc" Version="1.4.4" />
2021-12-15 10:14:20 +01:00
<PackageReference Include="QRCoder" Version="1.4.3" />
2023-11-21 06:11:17 +01:00
<PackageReference Include="System.IO.Pipelines" Version="8.0.0" />
<PackageReference Include="NBitpayClient" Version="1.0.0.39" />
2023-09-07 10:02:32 +02:00
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NicolasDorier.CommandLine" Version="2.0.0" />
<PackageReference Include="NicolasDorier.CommandLine.Configuration" Version="2.0.0" />
<PackageReference Include="NicolasDorier.RateLimits" Version="1.2.3" />
2023-11-21 06:11:17 +01:00
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.1-dev-00968" />
<PackageReference Include="SSH.NET" Version="2023.0.0" />
2017-09-13 08:47:34 +02:00
</ItemGroup>
<ItemGroup>
2020-01-12 07:32:26 +01:00
<PackageReference Include="TwentyTwenty.Storage" Version="2.12.1" />
<PackageReference Include="TwentyTwenty.Storage.Amazon" Version="2.12.1" />
<PackageReference Include="TwentyTwenty.Storage.Azure" Version="2.12.1" />
<PackageReference Include="TwentyTwenty.Storage.Google" Version="2.12.1" />
<PackageReference Include="TwentyTwenty.Storage.Local" Version="2.12.1" />
2024-07-10 01:50:43 +02:00
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.7" />
2019-10-03 10:06:49 +02:00
</ItemGroup>
2017-09-13 08:47:34 +02:00
<ItemGroup>
<None Include="Views\UIReports\StoreReports.cshtml" />
2017-09-13 08:47:34 +02:00
<None Include="wwwroot\vendor\jquery\jquery.js" />
<None Include="wwwroot\vendor\jquery\jquery.min.js" />
</ItemGroup>
2017-09-28 09:35:29 +02:00
<ItemGroup>
Bootstrap v5 migration (#2490) * Swap bootstrap asset files * Update themes and color definitions * Move general bootstrap customizations * Theme updates Theme updates * Remove BuildBundlerMinifier This lead to an error, because BuildBundlerMinifier and BundlerMinifier.Core seem to conflict here. Details: https://stackoverflow.com/a/61119586 * Rewplace btn-block class with w-100 * Update badge classes * Remove old font family head variable * Update margin classes * Cleanups * Update float classes * Update text classes * Update padding classes * Update border classes * UPdate dropdown classes * Update select classes * Update neutral custom props * Update bootstrap and customizations * Update ChromeDriver; disable smooth scroll https://github.com/SeleniumHQ/selenium/issues/8295 * Improve alert messages * Improve bootstrap customizations * Disable reduced motion See also 7358282f * Update Bootstrap data attributes * Update file inputs * Update input groups * Replace deprecated jumbotron class * Update variables; re-add negative margin util classes * Update cards * Update form labels * Debug alerts * Fix aria-labelledby associations * Dropdown-related test fixes * Fix CanUseWebhooks test * Test fixes * Nav updates * Fix nav usage in wallet send and payouts * Update alert and modal close buttons * Re-add backdrop properties * Upgrade Bootstrap to v5 final * Update screen reader classes * Update font-weight classes * Update monospace font classes * Update accordians * Update close icon usage * Cleanup * Update scripts and style integrations * Update input group texts * Update LN node setup page * Update more form control classes * Update inline forms * Add js specific test * Upgrade Vue.js * Remove unused JS * Upgrade Bootstrap to v5.0.1 * Try container related test updates * Separate jQuery bundle * Remove jQuery from LND seed backup page * Remove unused code * Refactor email autofill js * Refactor camera scanner JS * Re-add tests * Re-add BuildBundlerMinifier * Do not minify bundles containing Bootstrap Details https://github.com/madskristensen/BundlerMinifier/issues/558 * Update bundles * Cleanup JS test * Cleanup tests involving dropdowns * Cleanup tests involving collapses * Cleanup locale additions in ConfigureCore * Cleanup bundles * Remove duplicate status message * Cleanup formatting * Fix missing validation scripts * Remove unused unminified Bootstrap js files * Fix classic theme * Fix Casa theme * Fix PoS validation
2021-05-19 04:39:27 +02:00
<Folder Include="wwwroot\vendor\bootstrap" />
<Folder Include="wwwroot\vendor\clipboard.js\" />
<Folder Include="wwwroot\vendor\highlightjs\" />
<Folder Include="wwwroot\vendor\pivottable\" />
2019-01-08 13:52:30 +01:00
<Folder Include="wwwroot\vendor\summernote" />
<Folder Include="wwwroot\vendor\tom-select" />
<Folder Include="wwwroot\vendor\ur-registry" />
2020-03-26 11:59:28 +01:00
<Folder Include="wwwroot\vendor\vue-qrcode-reader" />
2017-09-28 09:35:29 +02:00
</ItemGroup>
2018-02-12 19:27:36 +01:00
2019-05-24 11:42:22 +02:00
<ItemGroup>
<ProjectReference Include="..\BTCPayServer.Abstractions\BTCPayServer.Abstractions.csproj" />
<ProjectReference Include="..\BTCPayServer.Client\BTCPayServer.Client.csproj" />
<ProjectReference Include="..\BTCPayServer.Data\BTCPayServer.Data.csproj" />
2019-05-24 11:42:22 +02:00
<ProjectReference Include="..\BTCPayServer.Rating\BTCPayServer.Rating.csproj" />
<ProjectReference Include="..\BTCPayServer.Common\BTCPayServer.Common.csproj" />
</ItemGroup>
2018-07-22 11:38:14 +02:00
<ItemGroup>
<Watch Include="Views\**\*.*"></Watch>
<Watch Remove="Views\Shared\LocalhostBrowserSupport.cshtml" />
<Watch Remove="Views\UIAccount\CheatPermissions.cshtml" />
<Watch Remove="Views\UIReports\StoreReports.cshtml" />
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIApps\_ViewImports.cshtml">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\DynamicDnsServices.cshtml">
2019-07-25 11:29:18 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\LightningChargeServices.cshtml">
2018-12-20 14:40:32 +01:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\LightningWalletServices.cshtml">
2018-12-14 05:11:55 +01:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\LndSeedBackup.cshtml">
2019-11-05 05:04:35 +01:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\RPCService.cshtml">
2019-11-07 06:33:10 +01:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\P2PService.cshtml">
2019-05-07 06:58:55 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\DynamicDnsService.cshtml">
2019-07-24 10:59:30 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\SSHService.cshtml">
2018-08-17 16:27:37 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIStores\ShowToken.cshtml">
2018-10-31 09:59:09 +01:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIPublic\PayButtonHandle.cshtml">
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\LndServices.cshtml">
2018-07-22 11:38:14 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\Maintenance.cshtml">
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIServer\Services.cshtml">
2018-07-22 11:38:14 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\ListWallets.cshtml">
2019-05-12 06:13:52 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\WalletPSBTCombine.cshtml">
2018-07-26 15:32:24 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
<Content Update="Views\Wallets\WalletPSBTReady.cshtml">
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\WalletPSBT.cshtml">
2019-05-10 17:29:29 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\WalletRescan.cshtml">
2018-10-26 16:07:39 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\WalletSendVault.cshtml">
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\WalletTransactions.cshtml">
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\_Nav.cshtml">
2018-07-26 15:32:24 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\_ViewImports.cshtml">
2018-07-26 15:32:24 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2022-01-07 04:32:00 +01:00
<Content Update="Views\UIWallets\_ViewStart.cshtml">
2018-07-26 15:32:24 +02:00
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
2018-07-22 11:38:14 +02:00
</ItemGroup>
2020-02-24 16:40:04 +01:00
<ProjectExtensions><VisualStudio><UserProperties wwwroot_4swagger_4v1_4swagger_1template_1invoices_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" wwwroot_4swagger_4v1_4swagger_1template_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" wwwroot_4swagger_4v1_4swagger_1template_1misc_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" wwwroot_4swagger_4v1_4swagger_1template_1pull-payments_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" wwwroot_4swagger_4v1_4swagger_1template_1serverinfo_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" wwwroot_4swagger_4v1_4swagger_1template_1stores_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" wwwroot_4swagger_4v1_4swagger_1template_1stores-payment-methods_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" wwwroot_4swagger_4v1_4swagger_1template_1users_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" wwwroot_4swagger_4v1_4swagger_1template_1webhooks_1json__JsonSchema="https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json" /></VisualStudio></ProjectExtensions>
2019-11-05 05:04:35 +01:00
</Project>