btcpayserver/BTCPayServer.Client/JsonConverters
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
..
LightMoneyJsonConverter.cs Add Lightmoney json converter + do swagger defs for ln api 2020-05-29 10:04:28 +02:00
MnemonicJsonConverter.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
MoneyJsonConverter.cs Run dotnet format 2020-06-28 17:55:27 +09:00
NodeUriJsonConverter.cs Warning if not using 'is not null' 2022-01-14 17:48:15 +09:00
NumericStringJsonConverter.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
PermissionJsonConverter.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
TimeSpanJsonConverter.cs Add configurable BOLT11Expiration for refunds (Fix #3281) (#3341) 2022-01-24 20:17:09 +09:00
TradeQuantityJsonConverter.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00
WordcountJsonConverter.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
WordlistJsonConverter.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00