btcpayserver/BTCPayServer/Models
d11n e43b4ed540
Onboarding: Invite new users (#5714)
* Server Users: More precise message when inviting users

This lets the admin who invited a new user know whether or not an email has been sent. If the SMTP server hasn't been set up, they need to share the invite link with the user.

* Onboarding: Invite new users

- Separates the user self-registration and invite cases
- Adds invitation email for users created by the admin
- Adds invitation tokens to verify user was invited
- Adds handler action for invite links
- Refactors `UserEventHostedService`

* Remove duplicate status message from views that use the wizard layout

* Auto-approve users created by an admin

* Notify admins via email if a new account requires approval

* Update wording

* Fix update user error

* Fix redirect to email confirmation in invite action

* Fix precondition checks after signup

* Improve admin notification

Send notification only if the user does not require email confirmation or when they confirmed their email address. Rationale: We want to inform admins only about qualified users and not annoy them with bot registrations.

* Allow approval alongside resending confirm email

* Use user email in log messages instead of ID

* Prevent unnecessary notification after email confirmation

* Use ApplicationUser type explicitly

* Fix after rebase

* Refactoring: Do not subclass UserRegisteredEvent
2024-02-28 20:43:18 +09:00
..
AccountViewModels Onboarding: Invite new users (#5714) 2024-02-28 20:43:18 +09:00
AppViewModels Archive stores and apps (#5296) 2023-09-11 09:59:17 +09:00
Authorization Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
CustodianAccountViewModels Dotnet reformat 2023-04-10 11:07:03 +09:00
InvoicingModels Store Branding: Refactoring and logo as favicon (#5519) 2023-12-01 16:13:44 +01:00
ManageViewModels Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
NotificationViewModels Do not always provide counting in list views (#3696) 2022-05-02 16:35:28 +09:00
PaymentRequestViewModels Payment details: Re-add unit for displayed amount (#5541) 2023-12-07 20:40:13 +09:00
ServerViewModels Admin overview of the stores on the instance (#5745) 2024-02-23 09:51:41 +01:00
StoreReportsViewModels Add reporting feature (#5155) 2023-07-24 09:24:32 +09:00
StoreViewModels Admin overview of the stores on the instance (#5745) 2024-02-23 09:51:41 +01:00
WalletViewModels Remove randomize RBF from wallet UI advanced settings (#5709) 2024-01-31 21:04:19 +09:00
AdditionalServiceViewModel.cs Lightning: Catch and display external service errors 2022-05-04 14:30:07 +02:00
BasePagingViewModel.cs Add list count to user preferences cookie (#4637) 2023-02-15 11:04:17 +09:00
BitpayCreateInvoiceRequest.cs Form Builder (#4137) 2022-11-25 10:42:55 +09:00
BitpayErrorsModel.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
DataWrapper.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
EmailsViewModel.cs Policies: Cleanup and improvements (#5731) 2024-02-21 14:43:44 +01:00
ErrorViewModel.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
GetTokensResponse.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
HomeViewModel.cs Empty states: Setup guide for store and wallet (#3255) 2022-01-13 17:08:15 +09:00
InvoiceResponse.cs Form Builder (#4137) 2022-11-25 10:42:55 +09:00
PostRedictViewModel.cs Dotnet reformat 2023-04-10 11:07:03 +09:00
SetupBoltcardViewModel.cs Boltcard integration (#5419) 2023-12-06 09:17:58 +09:00
StoreBrandingViewModel.cs Store Branding: Refactoring and logo as favicon (#5519) 2023-12-01 16:13:44 +01:00
TokenRequest.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
ViewPullPaymentModel.cs Store Branding: Refactoring and logo as favicon (#5519) 2023-12-01 16:13:44 +01:00