btcpayserver/BTCPayServer/Models
Andrew Camilleri 022285806b
Form Builder (#4137)
* wip

* Cleanups

* UI updates

* Update UIFormsController.cs

* Make predefined forms usable statically

* Add support for pos app + forms

* pay request form rough support

* invoice form through receipt page

* Display form name in inherit from store setting

* Do not request additional forms on invoice from pay request

* fix up code

* move checkoutform id in checkout appearance outside of checkotu v2 toggle

* general fixes for form system

* fix pav bug

* UI updates

* Fix warnings in Form builder (#4331)

* Fix build warnings about string?

Enable nullable on UIFormsController.cs
Fixes CS8632 The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

* Clean up lack of space in injected services in Submit() of UIFormsController.cs

* Remove unused variables (CS0219) and assignment of nullable value to nullable type (CS8600)

* Cleanup double semicolons while we're at tit

* Fix: If reverse proxy wasn't well configured, and error message should have been displayed (#4322)

* fix monero issue

* Server Settings: Update Policies page (#4326)

Handles the multiple submit buttons on that page and closes #4319.

Contains some UI unifications with other pages and also shows the block explorers without needing to toggle the section via JS.

* Change confirmed to settled. (#4328)

* POS: Fix null pointer

Introduced in #4307, the referenced object needs to be `itemChoice` instead of `choice`.

* Add documentation link to plugins (#4329)

* Add documentation link to plugins

* Minor UI updates

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>

* Fix flaky test (#4330)

* Fix flaky test

* Update BTCPayServer/PayoutProcessors/BaseAutomatedPayoutProcessor.cs

Co-authored-by: d11n <mail@dennisreimann.de>

Co-authored-by: d11n <mail@dennisreimann.de>

* Remove invoice and store level form

* add form test

* fix migration for forms

* fix

* make pay request form submission redirect to invoice

* Refactor FormQuery to only be able to query single store and single form

* Put the Authorize at controller level on UIForms

* Fix warnings

* Fix ef request

* Fix query to forms, ensure no permission bypass

* Fix modify

* Remove storeId from step form

* Remove useless storeId parameter

* Hide custom form feature in UI

* Minor cleanups

* Remove custom form options from select for now

* More minor syntax cleanups

* Update test

* Add index - needs migration

* Refactoring: Use PostRedirect instead of TempData for data transfer

* Remove untested and unfinished code

* formResponse should be a JObject, not a string

* Fix case for Form type

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: JesterHodl <103882255+jesterhodl@users.noreply.github.com>
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
Co-authored-by: Andreas Tasch <andy.tasch@gmail.com>
2022-11-25 10:42:55 +09:00
..
AccountViewModels Support LNURL Auth 2022-01-14 13:26:30 +01:00
AppViewModels Make POS and Crowdfund plugins 2022-08-21 08:38:25 +02:00
Authorization Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
CustodianAccountViewModels Custodian Account Deposit UI (#4024) 2022-08-09 20:03:55 +02:00
InvoicingModels Form Builder (#4137) 2022-11-25 10:42:55 +09: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 Form Builder (#4137) 2022-11-25 10:42:55 +09:00
ServerViewModels Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
StoreViewModels Checkout v2 finetuning (#4276) 2022-11-24 08:53:32 +09:00
WalletViewModels Refactor labels (#4179) 2022-10-11 17:34:29 +09:00
AdditionalServiceViewModel.cs Lightning: Catch and display external service errors 2022-05-04 14:30:07 +02:00
BasePagingViewModel.cs Do not always provide counting in list views (#3696) 2022-05-02 16:35:28 +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
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 [UX/UI] Add CPFP (#3395) 2022-02-10 12:24:28 +09:00
TokenRequest.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
ViewPullPaymentModel.cs Support Lnurl Withdraw in pull payments (#3709) 2022-06-28 23:02:17 +09:00