btcpayserver/BTCPayServer/Events
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
..
IHasInvoiceId.cs Move some code out of InvoiceNotificationManager into InvoiceEventSaverService 2020-11-06 22:24:02 +09:00
InvoiceDataChangedEvent.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
InvoiceEvent.cs Do not fire InvoiceExpired twice if invoice partially paid (Fix #3004) 2021-10-27 19:27:19 +09:00
InvoiceIPNEvent.cs Do not send email twice for bitpay API, log whether IPN is an ExtendedNotification. (Fix #968) 2022-01-12 00:26:12 +09:00
InvoiceNeedUpdateEvent.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
InvoiceNewPaymentDetailsEvent.cs Show index of payment address for onchain payments 2020-09-16 11:49:37 +02:00
InvoicePaymentMethodActivated.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
InvoiceStopWatchedEvent.cs Move some code out of InvoiceNotificationManager into InvoiceEventSaverService 2020-11-06 22:24:02 +09:00
NBXplorerStateChangedEvent.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
NewBlockEvent.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
NewOnChainTransactionEvent.cs Better event messages 2020-03-11 21:11:07 +09:00
SettingsChanged.cs Store Settings feature with own table (#3851) 2022-06-13 13:36:47 +09:00
StoreRemovedEvent.cs Fix missing walletchanged event and add storeremoved event (#4676) 2023-02-22 13:13:58 +09:00
UserApprovedEvent.cs Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
UserPasswordResetRequestedEvent.cs Allow admins to invite new users 2020-09-16 08:54:24 +02:00
UserRegisteredEvent.cs Allow admins to invite new users 2020-09-16 08:54:24 +02:00
WalletChangedEvent.cs Do not logs all internal events 2021-11-05 00:09:38 +09:00