btcpayserver/BTCPayServer/HostedServices
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
..
AppInventoryUpdaterHostedService.cs Move PointOfSaleSettings class into own file 2022-05-17 21:26:33 -07:00
BackgroundJobSchedulerHostedService.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
BaseAsyncService.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
BitpayIPNSender.cs Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
CheckConfigurationHostedService.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
DbMigrationsHostedService.cs Fix invoice index migration 2022-06-13 12:37:38 +09:00
DelayedTransactionBroadcasterHostedService.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
DynamicDnsHostedService.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
EventHostedServiceBase.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
InvoiceEventSaverService.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
InvoiceWatcher.cs Fix build warnings (#3870) 2022-06-15 11:17:10 +09:00
NBXplorerWaiter.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
NewVersionCheckerHostedService.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
PullPaymentHostedService.cs Support Lnurl Withdraw in pull payments (#3709) 2022-06-28 23:02:17 +09:00
RatesHostedService.cs Remove Logs static singletons 2021-11-23 13:55:34 +09:00
StoreEmailRuleProcessorSender.cs Enhance Store email capability (#3911) 2022-07-06 22:17:33 +09:00
TransactionLabelMarkerHostedService.cs Fix labels not showing multiple payouts payments (#3729) 2022-05-23 10:25:46 +09:00
UserEventHostedService.cs Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
WebhookSender.cs Store Emails (#3611) 2022-06-22 12:05:32 +09:00