JimmyMow
8ba61f30b2
Merge pull request #756 from mrfelton/chore/update-all-deps
Chore/update all dependencies
6 years ago
JimmyMow
e29ea69425
Merge pull request #768 from mrfelton/fix/log-stderr-as-error
fix(log): log lnd stderr output as errors
6 years ago
JimmyMow
8b1e6de252
Merge pull request #769 from mrfelton/fix/validate-hostname
fix(validation): improve hostname/ip validation
6 years ago
Tom Kirkpatrick
fcaf84c187
feat(deps): update all dependencies
6 years ago
Tom Kirkpatrick
f464356bf7
fix(validation): improve hostname/ip validation
Do not assume that an address that starts with a number is an IP
address and expand validation to cover all FQDNs and IP addresses.
Fix #766
6 years ago
Tom Kirkpatrick
be2482ef4f
fix(log): only enable top level lnd logs
limit the log namespaces that are enabled by default to only include
the top level lnd namespace and not also all of it's sub-namespaces.
6 years ago
Tom Kirkpatrick
4e8225a709
fix(log): output logs in production mode
Ensure that logs are output when the app is run in production mode. not
only development mode so that its easier to diagnose an issue with a
production build.
6 years ago
Tom Kirkpatrick
d80ef40f1a
fix(log): log lnd stderr output as errors
Ensure that lnd output that goes to the stderr stream gets logged using
the error log level and that the cause of the error is captured.
6 years ago
Tom Kirkpatrick
15559dbd06
Merge pull request #748 from LN-Zap/feat/assume-chan-valid
feat(autopilot): use new routing flag
6 years ago
Jack Mallers
466912de9c
feat(autopilot): use new routing flag
6 years ago
JimmyMow
0afe3699c9
Merge pull request #758 from mrfelton/chore/update-lnd-0.5-beta-rc2-60-g1c4bd04c
feat(lnd): update lnd to latest master build
6 years ago
Tom Kirkpatrick
3326db1e55
fix(lnd): send SIGINT to lnd to terminate
6 years ago
Tom Kirkpatrick
a5800d1056
feat(lnd): update lnd to v0.5-beta-6-g48d016bc
6 years ago
JimmyMow
9cf677ddde
Merge pull request #747 from mrfelton/feat/autofocus-forms
fix(ui): autofocus forms
6 years ago
Tom Kirkpatrick
4e06f61dac
fix(ui): autofocus network forms
When the network search and add contact forms open ensure that the most
relevant form field is selected by default.
Fix #389
6 years ago
Tom Kirkpatrick
eb71b6c579
fix(ui): autofocus and clear pay and request forms
When the payment and request forms open ensure that the forms are empty
and the most relevant form field is selected by default.
Fix #389
6 years ago
JimmyMow
942a0bef48
Merge pull request #757 from mrfelton/fix/dont-run-updater-in-dev
fix(updater): don't run auto updater in dev mode
6 years ago
Tom Kirkpatrick
eb7465be36
fix(updater): don't run auto updater in dev mode
6 years ago
Tom Kirkpatrick
0322778f55
Merge pull request #733 from jamaljsr/feat/dupe-chan-warn
feat(channels): warn when opening multiple channels to the same node
6 years ago
JimmyMow
fb565e3e4e
Merge pull request #751 from mrfelton/fix/grpc-flow
fix(grpc): ensure connection to lnd on init
6 years ago
Tom Kirkpatrick
d18fe97088
feat(sync): more granular sync progress info
6 years ago
Tom Kirkpatrick
42a956a1a8
fix(grpc): ensure connection to lnd on init
Consolidate the flow for local and remote wallet connections for
consolidate. When unlocking a local wallet wait for the macaroon to be
generated before we try to use it.
6 years ago
Tom Kirkpatrick
e47eacfa8c
fix(grpc): do not use macaroon with WalletUnlocker
The WalletUnlocker service does not require the use of macaroons so do
not attempt to pass them when creating or unlocking a wallet.
6 years ago
Tom Kirkpatrick
39e40c326a
feat(lnd): update lnd to latest master build
6 years ago
JimmyMow
6975846f6b
Merge pull request #752 from mrfelton/fix/remote-lnd-process-lookup
fix(lnd): do not require a single lnd process
6 years ago
Tom Kirkpatrick
fa81760426
fix(lnd): do not require a single lnd process
There is no need to check wether an lnd process exists and prevent
Zap from starting if so. We don't care if there is another process
running. We only care that we can successfully start up our own process.
If there is a conflict with another lnd process such as a port that we
need already being in use we already handle this elsewhere in our code.
6 years ago
jamaljsr
31e178a1fc
feat(channels): warn when opening multiple channels to the same node
6 years ago
JimmyMow
e6a9ce0c44
Merge pull request #743 from mrfelton/feat/connection-type-descriptions
feat(onboarding): add connection type descriptions
6 years ago
JimmyMow
32dfc1f205
Merge pull request #744 from mrfelton/feat/update-lnd
feat(lnd): update lnd to latest master build
6 years ago
Tom Kirkpatrick
746038cc03
feat(onboarding): add connection type descriptions
Add descriptions to each connection type to help users understand what
each of the different options do.
Fix #676
6 years ago
Tom Kirkpatrick
b88ebb3f4e
feat(lnd): update lnd to latest master build
6 years ago
JimmyMow
72fb21db51
Merge pull request #742 from mrfelton/fix/remote-wallet-unlocker
feat(grpc): ability to unlock remote wallet
6 years ago
JimmyMow
0a6953343c
Merge pull request #741 from mrfelton/fix/detect-remote-wallet-locked
fix(grpc): show error on connect to locked wallet
6 years ago
Tom Kirkpatrick
7ac9d7c122
Merge pull request #745 from LN-Zap/fix/pay-onchain
fix(pay): dont focus on value input
6 years ago
JimmyMow
d42987be62
Merge pull request #740 from mrfelton/fix/lnd-connect-failure-state
fix(fsm): ensure lnd connect before state change
6 years ago
Jack Mallers
161fec0133
fix(pay): dont focus on value input
6 years ago
Tom Kirkpatrick
07a070b8cf
Merge pull request #700 from LN-Zap/feat/network-pill
feat(testnet): add pill to UI on testnet
6 years ago
Tom Kirkpatrick
3c5337ea25
feat(grpc): ability to unlock remote wallet
If when connecting to a remote wallet we detect that it is locked
initialise the wallet unlocker to allow users to unlock their remote
wallets.
Fix #543
6 years ago
Tom Kirkpatrick
71ac6adeff
fix(grpc): show error on connect to locked wallet
When connecting to a remote wallet we assume that the wallet is already
unlocked. In the case where it is not already unlocked, forward the
error message to the UI.
Fix #738
6 years ago
Tom Kirkpatrick
393215470a
refactor: remove unused method call
6 years ago
Tom Kirkpatrick
6c3d43ead6
fix(grpc): close connection after failed connect
The gRPC Client waitForReady call waits for a specified time frame and
either resolves or rejects depending on wether or not a successful
connection was established within the given time frame. If the
connection attempt failed gRPC will still continue to attempt to
establish the connection endlessly.
In this commit we explicitly close the client connection after the
connect deadline has been exceeded to prevent gRPC from trying to
connect.
6 years ago
Tom Kirkpatrick
e9b4605523
refactor(grpc): convert WalletUnlocker to class
Convert the walletUnlocker object to a class with an interface that is
consistent with the Lightning class.
6 years ago
Tom Kirkpatrick
bfb8b6d86e
fix(fsm): ensure lnd connect before state change
Ensure that a failed lnd connection attempt prevents the FSM from
changing state by moving the connect handlers to the
`onBefore<TRANSITION>` lifecycle events.
See https://github.com/jakesgordon/javascript-state-machine/blob/master/docs/lifecycle-events.md#cancelling-a-transition
Fix #739
6 years ago
Jack Mallers
7d7e6f8df6
feat(testnet): add pill to UI on testnet
This commit adds a "Testnet" text UI next to our logo to show the user they are on the testnet network
6 years ago
JimmyMow
994d3617f7
Merge pull request #736 from mrfelton/fix/show-connection-errors
fix(grpc): ensure connection errors show onscreen
6 years ago
JimmyMow
addce367ae
Merge pull request #737 from mrfelton/feat/node-public-address
feat(wallet): show node public address if set
6 years ago
Tom Kirkpatrick
e8dd544bca
test(unit): test Controller.startLightningWallet
Add unit tests to verify that ZapController.startLightningWallet()
behaves as expected.
6 years ago
Tom Kirkpatrick
2c194517ed
feat(wallet): show node public address if set
Show the node public address if known to make it easier to share node
details with other users. Add the data in both the Node address text
field as well as the node address QR code.
6 years ago
Tom Kirkpatrick
9117004a0f
fix(grpc): ensure connection errors show onscreen
Fix an issue that was preventing grpc connection errors from showing
after a failed connection to a remote node.
Re-throw the error from `startLightningWallet` after logging it so that
it can be handled properly afterwards.
6 years ago
Tom Kirkpatrick
fac45c9c96
Merge pull request #732 from musdom/fix/qr-invert
fix(qrcode): re-invert QR colors and 2 px border for maximum compatibility
6 years ago