btcpayserver/BTCPayServer/Controllers/GreenField
Andrew Camilleri 09462e6877
Enhance Store email capability (#3911)
* Enhance Store email capability

Currenty the new email rules can send an email when an invoice event occurs. However, there is currently no way to customize the email based on the invoice, making the feature a bit useless.

This PR:
* adds the rich text editor to the body input
* allows you to use some of the properties from the Invoice (based on greenfield api properties. I've taken a imple approach for now using just  a string.replace mechanism, but we can update this to a dynamic linq approach so that users can customize further (e.g. `{Invoice.Metadata["something"].ToString().ToUpper()}`)

NOT READY:
Since this all takes place as a background service, there is an issue around how to handle items such as the "checkout link", as we are not aware of the btcpay url at that moment. Thoughts? @nicolasdorier

* fix typo and make it simpler for now

* remove dditor
2022-07-06 22:17:33 +09:00
..
GreenfieldApiKeysController.cs Refactoring: Allow GreenfieldExtensions to be used by plugins 2022-03-01 09:14:51 +01:00
GreenfieldAppsController.cs Add basic Greenfield API Get and Delete operations for apps (#3894) 2022-06-27 10:14:16 +09:00
GreenfieldCustodianAccountController.cs Add experimental mode 2022-05-23 10:46:51 +09:00
GreenfieldCustodianController.cs Add experimental mode 2022-05-23 10:46:51 +09:00
GreenfieldHealthController.cs Rename GreenField -> Greenfield 2022-01-14 13:46:04 +09:00
GreenfieldInvoiceController.cs Enhance Store email capability (#3911) 2022-07-06 22:17:33 +09:00
GreenfieldLightningNodeApiController.cs Greenfield: Add balance endpoint (#3887) 2022-06-23 13:42:28 +09:00
GreenfieldLightningNodeApiController.Internal.cs Greenfield: Add balance endpoint (#3887) 2022-06-23 13:42:28 +09:00
GreenfieldLightningNodeApiController.Store.cs Greenfield: Add balance endpoint (#3887) 2022-06-23 13:42:28 +09:00
GreenfieldNotificationsController.cs Refactoring: Allow GreenfieldExtensions to be used by plugins 2022-03-01 09:14:51 +01:00
GreenfieldPaymentRequestsController.cs Do not always provide counting in list views (#3696) 2022-05-02 16:35:28 +09:00
GreenfieldPayoutProcessorsController.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
GreenfieldPullPaymentController.cs Allow auto approval of claims for pull payments (#1851) 2022-04-28 09:51:04 +09:00
GreenfieldServerInfoController.cs Rename GreenField -> Greenfield 2022-01-14 13:46:04 +09:00
GreenfieldStoreAutomatedLightningPayoutProcessorsController.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
GreenfieldStoreAutomatedOnChainPayoutProcessorsController.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
GreenfieldStoreEmailController.cs Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
GreenfieldStoreLightningNetworkPaymentMethodsController.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
GreenfieldStoreLNURLPayPaymentMethodsController.cs Refactoring: Allow GreenfieldExtensions to be used by plugins 2022-03-01 09:14:51 +01:00
GreenfieldStoreOnChainPaymentMethodsController.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
GreenfieldStoreOnChainPaymentMethodsController.WalletGeneration.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
GreenfieldStoreOnChainWalletsController.cs Improve performance of on chain transaction listing for big wallets 2022-07-05 14:23:13 +09:00
GreenfieldStorePaymentMethodsController.cs Rename GreenField -> Greenfield 2022-01-14 13:46:04 +09:00
GreenfieldStorePayoutProcessorsController.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
GreenfieldStoresController.cs Public Invoice receipt (#3612) 2022-07-06 21:14:55 +09:00
GreenfieldStoreUsersController.cs Refactoring: Allow GreenfieldExtensions to be used by plugins 2022-03-01 09:14:51 +01:00
GreenfieldStoreWebhooksController.cs Fix return type of webhooks get so that plugins can use it 2022-05-03 11:15:08 +02:00
GreenfieldTestApiKeyController.cs Rename GreenField -> Greenfield 2022-01-14 13:46:04 +09:00
GreenfieldUsersController.cs Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
LocalBTCPayServerClient.cs Fix: Local client factory when no user is specified would fail on some edge case auth scenarios 2022-07-01 09:03:32 +02:00