btcpayserver/BTCPayServer
d11n 6290b0f3bf
Admins can approve registered users (#5647)
* Users list: Cleanups

* Policies: Flip registration settings

* Policies: Add RequireUserApproval setting

* Add approval to user

* Require approval on login and for API key

* API handling

* AccountController cleanups

* Test fix

* Apply suggestions from code review

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>

* Add missing imports

* Communicate login requirements to user on account creation

* Add login requirements to basic auth handler

* Cleanups and test fix

* Encapsulate approval logic in user service and log approval changes

* Send follow up "Account approved" email

Closes #5656.

* Add notification for admins

* Fix creating a user via the admin view

* Update list: Unify flags into status column, add approve action

* Adjust "Resend email" wording

* Incorporate feedback from code review

* Remove duplicate test server policy reset

---------

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2024-01-31 14:45:54 +09:00
..
Blazor Minor cleanups (#5460) 2023-11-20 11:18:19 +01:00
Components Guest role: Fix redirect after store creation (#5689) 2024-01-24 11:34:16 +01:00
Configuration Pluginify BTCPayNetworkProvider (#5331) 2023-11-29 18:51:40 +09:00
Controllers Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
Data Bitnob rate provider (#5705) 2024-01-30 10:18:42 +09:00
Events Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
Extensions Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
Fido2 Start using JSONB column instead of app side compressed data (#4574) 2023-02-21 15:06:34 +09:00
Filters Domain mapping: Redirect root app to canonical URL (#5471) 2023-11-21 20:00:31 +09:00
Forms Store Branding: Refactoring and logo as favicon (#5519) 2023-12-01 16:13:44 +01:00
HostedServices Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
Hosting Admins can approve registered users (#5647) 2024-01-31 14:45:54 +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 Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
PaymentRequest Remove unused variables (#5669) 2024-01-18 09:47:39 +09:00
Payments Fix: Partial Payment shows 'Could not update BTC (LNURL-Pay)' in invoice logs (#5670) 2024-01-18 09:57:25 +09:00
PayoutProcessors Remove unused variables (#5669) 2024-01-18 09:47:39 +09:00
Plugins Various plugin fixes (#5577) 2024-01-18 17:15:16 +09:00
Properties Dev env: Fix Lightning config warning (#5513) 2023-12-01 10:55:05 +01:00
Security Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
Services Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
SSH Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Storage POS fixes (#5228) 2023-08-05 10:44:59 +02:00
TagHelpers Do not show cheatmode in release, fix warnigns 2023-07-25 10:50:34 +09:00
Validation Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
Views Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
wwwroot Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
_ViewImports.cshtml Do not activate Blazor in Wizard screens (#5435) 2023-10-27 10:16:36 +02:00
APDUVaultTransport.cs Boltcard integration (#5419) 2023-12-06 09:17:58 +09:00
BitpayHttpException.cs
BTCPayServer.csproj Bump libraries 2024-01-17 22:11:30 +09:00
BTCPayServer.ruleset
BufferizedFormFile.cs Dotnet reformat 2023-04-10 11:07:03 +09:00
ColorPalette.cs Payment Request: Improve public view (#5413) 2023-11-20 10:45:43 +09:00
CorsPolicies.cs
CurrencyValue.cs [Fix] CurrencyValue parsing shouldn't depend on locale 2021-10-21 19:15:02 +09:00
DerivationSchemeParser.cs Fix wallet import (#5695) 2024-01-24 17:49:15 +09:00
DerivationSchemeSettings.cs Fix wallet import (#5695) 2024-01-24 17:49:15 +09:00
EventAggregator.cs Stop spamming logs with event aggregator logging 2023-05-19 15:24:20 +09:00
ExplorerClientProvider.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
Extensions.cs Fix wallet import (#5695) 2024-01-24 17:49:15 +09:00
FileTypeDetector.cs Checkout v2: Play sound when invoice is paid (#5113) 2023-07-24 22:57:24 +09:00
GitCommitAttribute.cs Show the git commit of the current build of BTCPay (#4320) 2022-11-22 21:37:07 +09:00
IDelay.cs
IHasAdditionalData.cs Remove JSON in strings from JObjects (#4703) 2023-02-25 23:34:49 +09: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 Plugins: Improve crash detection on startup and hint at disabled plugins (#5514) 2023-11-28 15:19:47 +01:00
Roles.cs Dotnet reformat 2023-04-10 11:07:03 +09:00
SearchString.cs Generate unique order IDs for PoS and Crowdfund sales (#5127) 2023-07-20 16:03:39 +09:00
StorePolicies.cs Store Custom Roles (#4940) 2023-05-26 23:49:32 +09:00
TransactionComparer.cs
UserManagerExtensions.cs [Greenfield] Allow passing email instead of user id in API (#4732) 2023-03-03 21:24:27 +09:00
VaultClient.cs Simplify vault logic by introducing a VaultClient (#5434) 2023-10-27 11:54:15 +09:00
VaultHWITransport.cs Simplify vault logic by introducing a VaultClient (#5434) 2023-10-27 11:54:15 +09: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