btcpayserver/BTCPayServer/Controllers/GreenField
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
..
GreenfieldApiKeysController.cs [Greenfield] Allow passing email instead of user id in API (#4732) 2023-03-03 21:24:27 +09:00
GreenfieldAppsController.cs Refactor plugin apps (#4780) 2023-03-20 10:39:26 +09:00
GreenfieldCustodianAccountController.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00
GreenfieldCustodianController.cs Added custodian account trade support (#3978) 2022-08-04 11:38:49 +09:00
GreenfieldHealthController.cs Rename GreenField -> Greenfield 2022-01-14 13:46:04 +09:00
GreenfieldInvoiceController.cs Greenfield: Add payment hash and preimage to Lightning invoices (#4520) 2023-01-13 17:29:41 +09:00
GreenfieldLightningNodeApiController.cs Greenfield: Show detailed Lightning routing error (#4722) 2023-03-01 15:46:48 +09:00
GreenfieldLightningNodeApiController.Internal.cs Greenfield: Add payments list endpoint (#4407) 2023-01-26 13:22:49 +09:00
GreenfieldLightningNodeApiController.Store.cs Greenfield: Add payments list endpoint (#4407) 2023-01-26 13:22:49 +09:00
GreenfieldNotificationsController.cs Different icons for notifications (#4632) 2023-02-21 11:06:27 +09:00
GreenfieldPaymentRequestsController.cs Disabled amount/currency update for payment request with active invoices (#4390) 2022-12-14 14:01:48 +09:00
GreenfieldPayoutProcessorsController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldPullPaymentController.cs Bump lightning lib, fix warnings 2023-02-08 21:29:20 +09:00
GreenfieldServerInfoController.cs Rename GreenField -> Greenfield 2022-01-14 13:46:04 +09:00
GreenfieldStoreAutomatedLightningPayoutProcessorsController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreAutomatedOnChainPayoutProcessorsController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreEmailController.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
GreenfieldStoreLightningAddressesController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreLightningNetworkPaymentMethodsController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreLNURLPayPaymentMethodsController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreOnChainPaymentMethodsController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreOnChainPaymentMethodsController.WalletGeneration.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreOnChainWalletsController.cs Bump lightning lib, fix warnings 2023-02-08 21:29:20 +09:00
GreenfieldStorePaymentMethodsController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStorePayoutProcessorsController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreRatesConfigurationController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoreRatesController.cs make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldStoresController.cs Do not through missing-permission error when no store on /api/v1/stores (Close #4735) (#4748) 2023-03-08 21:36:51 +09:00
GreenfieldStoreUsersController.cs [Greenfield] Allow passing email instead of user id in API (#4732) 2023-03-03 21:24:27 +09: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 make sure we have cors for all of greenfield (#4760) 2023-03-10 15:20:11 +01:00
GreenfieldUsersController.cs [Greenfield] Allow passing email instead of user id in API (#4732) 2023-03-03 21:24:27 +09:00
LocalBTCPayServerClient.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00