Tom Kirkpatrick
aeb832d30a
refactor(webpack): use portable scss include paths
Rather than using relative paths for css imports - which can break when
we move files around - add our styles path to the webpack sass-loader
loader using the `includePaths` setting.
6 years ago
JimmyMow
76759a9c2c
Merge pull request #755 from mrfelton/refactor/consolidate-containers-and-components
refactor(fs): consolidate containers & components
6 years ago
JimmyMow
4bf6eb1d9c
Merge pull request #754 from mrfelton/refactor/group-components
refactor(fs): group files by component
6 years ago
Tom Kirkpatrick
c00321845c
refactor(fs): consolidate containers & components
Move all presentational components to the top level components directory
and all container components to the top level containers directory.
6 years ago
Tom Kirkpatrick
f51586d3ce
refactor(fs): group files by component
Group component related file in a directory named after the component.
6 years ago
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
e14adc53a6
feat(lnd): add lnd release scripts
Add the scripts that we have been using to create lnd releases and
document how to use them.
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