btcpayserver/BTCPayServer/Controllers
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
..
GreenField Enhance Store email capability (#3911) 2022-07-06 22:17:33 +09:00
BitpayAccessTokenController.cs Rename controllers Bitpay controllers 2022-01-14 12:21:06 +09:00
BitpayInvoiceController.cs Refactoring: Extract HttpRequest extensions 2022-03-08 08:17:39 +00:00
BitpayRateController.cs Refactoring: Bitpay Rate Controller 2022-06-06 10:34:52 +02:00
LightningAddressService.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
LnurlAuthService.cs Exchange api no kraken (#3679) 2022-05-18 14:59:56 +09:00
Macaroons.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
UIAccountController.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
UIAppsController.Crowdfund.cs Dashboard: Add Point Of Sale data (#3897) 2022-06-28 14:05:02 +09:00
UIAppsController.cs Crowdfund finetuning (#3488) 2022-06-28 12:03:13 +09:00
UIAppsController.Dashboard.cs Async dashboard (#3916) 2022-07-06 12:40:16 +09:00
UIAppsController.PointOfSale.cs Dashboard: Add Point Of Sale data (#3897) 2022-06-28 14:05:02 +09:00
UIAppsPublicController.cs Dashboard: Add Point Of Sale data (#3897) 2022-06-28 14:05:02 +09:00
UIErrorController.cs Rename UI controllers 2022-01-14 13:46:03 +09:00
UIHomeController.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
UIInvoiceController.cs Make LNURL enabled when only method (#3930) 2022-07-06 22:09:05 +09:00
UIInvoiceController.Testing.cs fix cheat mode when default payment is not onchain 2022-06-30 08:46:34 +02:00
UIInvoiceController.UI.cs Public Invoice receipt (#3612) 2022-07-06 21:14:55 +09:00
UILNURLAuthController.cs Rename LNUrlAuthController -> UILNAuthController (#3352) 2022-01-25 11:51:14 +09:00
UILNURLController.cs Make LNURL enabled when only method (#3930) 2022-07-06 22:09:05 +09:00
UIManageController.2FA.cs Rename LNUrlAuthController -> UILNAuthController (#3352) 2022-01-25 11:51:14 +09:00
UIManageController.APIKeys.cs Fix empty permissions case 2022-06-29 15:36:54 +02:00
UIManageController.cs Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
UIManageController.LoginCodes.cs Rename UI controllers 2022-01-14 13:46:03 +09:00
UIManageController.Notifications.cs Use nicer urls, part2 (Fix #921) 2022-01-15 14:54:06 +09:00
UINotificationsController.cs Notifications: Fix mark all as seen return URL 2022-06-10 08:17:06 +02:00
UIPaymentRequestController.cs Move View action to the Name column in Payouts & Payment Requests (#3873) 2022-06-20 11:52:12 +09:00
UIPublicController.cs Add spam rate limits for public invoice endpoints (Fix #3782) (#3889) 2022-06-21 12:33:20 +09:00
UIPublicLightningNodeInfoController.cs Rename UI controllers 2022-01-14 13:46:03 +09:00
UIPullPaymentController.cs Allow pull payments denominated in SATS to be claimed 2022-05-25 12:59:57 +02:00
UIServerController.cs Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
UIServerController.Plugins.cs UI: Fix cancel plugin command (#3903) 2022-06-28 17:38:47 +09:00
UIServerController.Storage.cs Server Settings: Consolidate Storage and Files (#3863) 2022-06-15 21:06:16 +09:00
UIServerController.Users.cs Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
UIStorageController.cs Fix possible NRE 2022-05-02 09:43:55 +09:00
UIStorePullPaymentsController.PullPayments.cs Support Lnurl Withdraw in pull payments (#3709) 2022-06-28 23:02:17 +09:00
UIStoresController.cs Public Invoice receipt (#3612) 2022-07-06 21:14:55 +09:00
UIStoresController.Dashboard.cs Async dashboard (#3916) 2022-07-06 12:40:16 +09:00
UIStoresController.Email.cs Fix email rule remove action (#3901) 2022-06-28 14:10:45 +09:00
UIStoresController.Integrations.cs Rewording: Integrations become (store) plugins 2022-05-12 13:32:40 +02:00
UIStoresController.LightningLike.cs Dashboard: Load Lightning balance async, display default currency (#3907) 2022-07-04 11:03:16 +09:00
UIStoresController.Onchain.cs Allow resolution of any settings via DI 2022-05-24 14:10:19 +09:00
UIUserStoresController.cs Create store: Add default currency and rate provider fields 2022-01-25 06:57:55 +01:00
UIVaultController.cs Rename UI controllers 2022-01-14 13:46:03 +09:00
UIWalletsController.cs Do not prefilter if label filter in transaction view 2022-07-06 13:00:41 +09:00
UIWalletsController.PSBT.cs Improve wallet nav (#3921) 2022-07-04 13:20:08 +09:00