btcpayserver/BTCPayServer
JesterHodl ec76acd3a6
Code analysis (#4293)
* Enable NETAnalyzers for whole project

- remove obsolete analyzers so that the .NET Core SDK NETAnalyzers can be used
- enable NETAnalyzers for all projects so that developers can use them by defining the AnalysisMode on individual projects

This is because if we set AnalysisMode to minimal, recommended or all it would spam with warning.
The idea is to be able to turn them on during development to fix recommended stuff without polluting the build output.

Following commits will implement some of the Code Analysis findings

* Performance hints for using char overloads for single characters (CA1834 and CA1847)

CA1834: Use StringBuilder.Append(char) for single character strings
CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters
2022-11-20 17:42:36 +09:00
..
Components Add option to customize the instance logo (#4258) 2022-11-14 22:29:23 +09:00
Configuration Add Lightning Service Torq (#4296) 2022-11-18 12:19:01 +01:00
Controllers Disable internal node options if no internal node configured (#4315) 2022-11-20 14:22:36 +09:00
Data Refactor walletobj API, make wallet object graph directionless (#4297) 2022-11-19 00:04:46 +09:00
Events Store Settings feature with own table (#3851) 2022-06-13 13:36:47 +09:00
Extensions Convert public app parts 2022-08-21 08:38:25 +02:00
Fido2 Support LNURL Auth 2022-01-14 13:26:30 +01:00
Filters Code analysis (#4293) 2022-11-20 17:42:36 +09:00
HostedServices Refactor walletobj API, make wallet object graph directionless (#4297) 2022-11-19 00:04:46 +09:00
Hosting Allow config to set default block explorer link (#4249) 2022-10-31 11:41:31 +09:00
JsonConverters Cleanse objects from obsolete altcoins 2022-08-17 21:23:16 +02:00
Logging Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
ModelBinders Remove replace hardcoded BTC string to default network (#3654) 2022-04-20 10:20:39 +09:00
Models UI: Unify payment request list with invoices (#4294) 2022-11-18 13:24:57 +09:00
PaymentRequest [Greenfield] Can create an invoice for a payment request via Greenfield (#4243) 2022-11-02 18:41:19 +09:00
Payments Fix NRE and do nto activate onchain if node unavailable even when lazy payments (#4291) 2022-11-16 09:04:51 +09:00
PayoutProcessors Refactor labels (#4179) 2022-10-11 17:34:29 +09:00
Plugins Code analysis (#4293) 2022-11-20 17:42:36 +09:00
Properties Add Lightning Service Torq (#4296) 2022-11-18 12:19:01 +01:00
Security Greenfield: Store Rates Config (#3931) 2022-10-12 22:19:33 +09:00
Services Add index to WalletObjects + allow additional queries 2022-11-19 23:39:41 +09:00
SSH Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Storage Update BTCPayServer/Storage/Services/FileService.cs 2022-09-15 16:26:22 +02:00
TagHelpers Improve currency selection (#4155) 2022-09-26 10:26:13 +09:00
Validation Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
Views Make store creation field same width (#4311) 2022-11-19 11:29:34 +01:00
wwwroot Refactor walletobj API, make wallet object graph directionless (#4297) 2022-11-19 00:04:46 +09:00
_ViewImports.cshtml Remove the bundle minifier (#4222) 2022-10-20 11:17:42 +09:00
BitpayHttpException.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
BTCPayServer.csproj Code analysis (#4293) 2022-11-20 17:42:36 +09:00
BTCPayServer.ruleset general code cleanup + add analyzers 2018-02-17 13:18:16 +09:00
ColorPalette.cs Store settings: Add branding options (#4131) 2022-10-17 12:16:29 +02:00
CorsPolicies.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
CurrencyValue.cs [Fix] CurrencyValue parsing shouldn't depend on locale 2021-10-21 19:15:02 +09:00
DerivationSchemeParser.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
DerivationSchemeSettings.cs Dashboard (#3530) 2022-04-12 16:55:10 +09:00
EventAggregator.cs Make sure the SubscribeAsync handlers are executed in order 2022-01-17 13:36:33 +09:00
ExplorerClientProvider.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Extensions.cs Fix LN Address payouts (#3960) 2022-07-15 12:37:47 +09:00
HwiWebSocketTransport.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
IDelay.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
JsonHttpException.cs Greenfield: Improve error message, do not use internal lightning node on store's lightning API 2021-12-16 14:27:34 +09:00
Program.cs Provide error when plugin gets disabled due to crash 2022-07-28 15:31:34 +02:00
Roles.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
SearchString.cs Store centric UI: Part 3 (#3224) 2021-12-31 16:36:38 +09:00
StorePolicies.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
TransactionComparer.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
WalletId.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
WebsocketExtensions.cs Keep websocket connection alive on notifications and vault 2021-10-05 14:30:01 +09:00
WebSocketHelper.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
ZoneLimits.cs Add spam rate limits for public invoice endpoints (Fix #3782) (#3889) 2022-06-21 12:33:20 +09:00