btcpayserver/BTCPayServer/Models
Wouter Samaey 6f2b673021
Custodian withdrawal support + Some refactoring and cleanup (#4085)
* Renamed "WithdrawAsync" to "WithdrawToStoreWalletAsync"

* WIP

* WIP withdrawal + Refactored Form saving to JObject

* WIP

* Form to fix bad values during withdrawing appears correctly

* WIP

* Lots of cleanup and refactoring + Password field and toggle password view

* Cleanup + Finishing touches on withdrawals

* Added "Destination" dummy text as this is always the destination.

* Fixed broken test

* Added support for withdrawing using qty as a percentage if it ends with "%". Needs more testing.

* Fixed broken build

* Fixed broken build (2)

* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.custodians.json

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

* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.custodians.json

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

* Improved unit tests

* Fixed swagger bug

* Test improvements

Make string conversion of quantity explicitely.

* Fix build warnings

* Swagger: Add missing operationId

* Made change Dennis requested

* Removed unused file

* Removed incorrect comment

* Extra contructor

* Renamed client methods

* Cleanup config before saving

* Fixed broken controller

* Refactor custodian

* Fix build

* Make decimal fields strings to match the rest of Greenfield

* Improve parsing of % quantities

---------

Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2023-03-20 10:45:32 +09:00
..
AccountViewModels Support LNURL Auth 2022-01-14 13:26:30 +01:00
AppViewModels Refactor plugin apps (#4780) 2023-03-20 10:39:26 +09:00
Authorization Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
CustodianAccountViewModels Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00
InvoicingModels Update price display (#4736) 2023-03-13 10:12:58 +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 Store branding: Unify public pages (#4568) 2023-01-30 09:23:49 +01:00
ServerViewModels Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
StoreViewModels Checkout v2: Celebrate payment with confetti (#4727) 2023-03-13 10:09:56 +09:00
WalletViewModels Code formatting updates (#4502) 2023-01-06 22:18:07 +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
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 POS improvements (#4668) 2023-02-23 09:52:37 +01:00
TokenRequest.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
ViewPullPaymentModel.cs Update price display (#4736) 2023-03-13 10:12:58 +09:00