d11n
d5d0be5824
Code formatting updates ( #4502 )
...
* Editorconfig: Add space_before_self_closing setting
This was a difference between the way dotnet-format and Rider format code. See https://www.jetbrains.com/help/rider/EditorConfig_Index.html
* Editorconfig: Keep 4 spaces indentation for Swagger JSON files
They are all formatted that way, let's keep it like that.
* Apply dotnet-format, mostly white-space related changes
2023-01-06 22:18:07 +09:00
Nicolas Dorier
1e2acfb296
Disable internal node options if no internal node configured ( #4315 )
2022-11-20 14:22:36 +09:00
d11n
562f88555c
Lightning: Better handling for non-public nodes ( #4263 )
...
Fixes #4246 .
`LightningLikePaymentHandler.GetNodeInfo` needed the `throws` argument to handle the cases as previously, otherwise the catch case in `ShowLightningNodeInfo` never occured.
State with this PR: A node can be available, but not have any public addresses. The latter will now be reported when testing the connection and on the public node info page.
2022-11-05 12:21:24 +01:00
d11n
3532789c35
Improve Lightning Node setup examples ( #4033 )
...
* Catch connection string ToString errors
LNDhub connection string error fixed in btcpayserver/BTCPayServer.Lightning#92 .
* Add Eclair bitcoin-host example
* Document LNDhub integration
2022-09-09 23:01:20 +09:00
d11n
2c3b8d8925
Dashboard: Load Lightning balance async, display default currency ( #3907 )
...
* Dashboard: Load Lightning balance async, display default currency
* Simplify approach, improve views and scripts
* Remove LightMoney converters
2022-07-04 11:03:16 +09:00
d11n
479f21f4f3
Dashboard: Add Lightning balances and services ( #3838 )
...
* Update Lightning lib
* Refactoring: Move Lightning methods and props to ExternalServices
* Rename Lightning services
* Add Lightning balance to dashboard
* Split Lightning dashboard tiles
* View updates
2022-06-14 14:36:22 +09:00
nicolas.dorier
67eeb4b69a
Allow resolution of any settings via DI
2022-05-24 14:10:19 +09:00
Dennis Reimann
26025b564e
Lightning: Catch and display external service errors
...
Prevent crashes like in #3700 and display the error to the user.
2022-05-04 14:30:07 +02:00
d11n
e5174b4a29
Lightning: Link to services directly ( #3593 )
...
* Allow to access fake LN services in dev mode
* Link directly to Lightning services
Closes #3552 .
* Fix typo
2022-04-11 17:49:28 +09:00
Dennis Reimann
749c22a0c3
Refactoring: Extract HttpRequest extensions
2022-03-08 08:17:39 +00:00
Dennis Reimann
4a05f16050
Refactoring: Move WellKnownTempData into Abstractions.Constants
...
This allows plugins to reuse the status message mechanism.
2022-02-21 16:39:08 +01:00
Umar Bolatov
ab8d116f11
Fix null reference exception when going to LN node settings before it's been set-up ( #3410 )
...
* Fix null reference exception when going to LN node settings before it's been set-up
* Fix-up remaining null reference errors
* Update error message
2022-02-06 12:19:42 +09:00
Dennis Reimann
10adb23e71
Remove obsolete store hints
2022-01-25 06:57:55 +01:00
Andrew Camilleri
e917796fce
Set new LN defaults ( #3325 )
...
fixes #3324
2022-01-25 12:17:39 +09:00
d11n
c419ad68bb
Remove redundant payment methods from store settings ( #3323 )
...
* Add enabled toggle to wallet settings view
* Add enabled toggle to Lightning settings view
* Remove redundant payment methods from store settings
* Rename Payment Methods to Payments
* Adapt tests
* Fix invoice state toggle on details page
* Add spacing on Lightning sett8ings page
2022-01-19 20:58:02 +09:00
d11n
51c486c15a
Add Lightning page with services ( #3308 )
...
* Add Lightning page with services
* Adapt other services pages
* Display Lightning services only for internal node
2022-01-19 11:52:05 +09:00
nicolas.dorier
7a787fc945
Rename UI controllers
2022-01-14 13:46:03 +09:00