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
Adam Mashrique
b769f724ae
fix(qrcode): invert colors and add 2 px border
Fix for a more standard QR code color scheme for compatibility with QR
scanners, particularly Android ones.
6 years ago
JimmyMow
abd8183fab
Merge pull request #734 from mrfelton/fix/missing-wallet-gui
fix(ui): show wallet once balances are loaded
6 years ago
Tom Kirkpatrick
a63bbacd40
fix(ui): show wallet once balances are loaded
Due to a recent change in the way that we handle numeric data from gRPC
we need to be explicit when checking for unset/null values.
6 years ago
JimmyMow
58a9ed325e
Merge pull request #731 from mrfelton/chore/update-deps-lint
chore(deps): update all lint related packages
6 years ago
Tom Kirkpatrick
ca118d7c27
chore(deps): update all lint related packages
6 years ago
JimmyMow
40cf1ff779
Merge pull request #730 from mrfelton/chore/update-contributors
Update maintainers and contributors list in README
6 years ago
JimmyMow
47b62aa546
Merge pull request #704 from mrfelton/chore/update-deps-electron
chore(deps): update electron packages
6 years ago
JimmyMow
c9b19645ee
Merge pull request #678 from mrfelton/chore/update-deps-grpc
chore(deps): update grpc to v1.14.1
6 years ago
JimmyMow
543cd48c69
Merge pull request #729 from mrfelton/chore/bump-version-0.2.2
chore(version): bump to 0.2.2-beta
6 years ago
JimmyMow
1ba91f1c81
Merge pull request #728 from mrfelton/fix/long-as-number
fix(grpc): use Numbers to represent long values
6 years ago
Tom Kirkpatrick
e6b8ba79f6
chore(deps): update electron packages
Update electron, electron-builder and electron-updater to latest
versions. This provides a number of general stability fixes.
https://github.com/electron/electron/releases/tag/v2.0.6
https://github.com/electron/electron/releases/tag/v2.0.7
https://github.com/electron/electron/releases/tag/v2.0.8
https://github.com/electron-userland/electron-builder/releases/tag/v20.26.1
https://github.com/electron-userland/electron-builder/releases/tag/v20.27.0
https://github.com/electron-userland/electron-builder/releases/tag/v20.27.1
https://github.com/electron-userland/electron-builder/releases/tag/v28.0.0
https://github.com/electron-userland/electron-builder/releases/tag/v20.28.1
https://github.com/electron-userland/electron-builder/releases/tag/v20.28.2
https://github.com/electron-userland/electron-builder/releases/tag/v20.28.3
6 years ago
Tom Kirkpatrick
22451bfef0
Merge pull request #720 from LN-Zap/fix/closing-channel-link
fix(channels): closing channels link to closing_txid
6 years ago
Tom Kirkpatrick
9f74125f12
docs(readme): update contributors list
6 years ago
Tom Kirkpatrick
162646404c
docs(readme): update maintainer list
6 years ago
Tom Kirkpatrick
47b95a0ea0
fix(grpc): use Numbers to represent long values
Configure gRPC to use Numbers to represent long values instead of
Strings. This ensures that we can do accurate handling of numerical
values.
Fix #727
6 years ago
Tom Kirkpatrick
633c6816ff
chore(version): bump to 0.2.2-beta
6 years ago
Tom Kirkpatrick
2931effec4
Merge pull request #726 from LN-Zap/fix/private-invoice
feat(invoice): add priv routing hints for light clients
6 years ago
Jack Mallers
545285f0c3
feat(invoice): add priv routing hints for light clients
6 years ago
JimmyMow
2211f09f47
Merge pull request #694 from mrfelton/fix/invoice-modal-update
fix(invoice): update invoice modal once received
6 years ago
Tom Kirkpatrick
c40e412cd1
Merge pull request #721 from LN-Zap/fix/payInvoice
feat(payment): add 60 second payment timeout
6 years ago
Tom Kirkpatrick
612c8bcbbf
Merge pull request #697 from jamaljsr/feature/toggle-expired-requests
feat(toggle-expired-requests): add button to show/hide expired requests
6 years ago
Jack Mallers
8548b744ec
feat(payment): add 60 second payment timeout
In this commit we introduce a 60 second timeout for LN payments. This addresses the issue of infinitely hanging LN payments and improves the UX. The UI now has a 60 second countdown where Zap will clear the payment if it is not successfully routed
6 years ago
jamaljsr
5ecc1c5cdb
feat(toggle-expired-requests): add button to show/hide expired requests
6 years ago
JimmyMow
ed256da2f2
Merge pull request #718 from mrfelton/fix/promise-resolve-reject
fix(lnd): do not resolve after rejecting
6 years ago
JimmyMow
66432d070d
Merge pull request #706 from mrfelton/feat/github-issue-templates
feat(github): add github issue templates
6 years ago
Jack Mallers
4eb140dd42
fix(channels): closing channels link to closing_txid
6 years ago
JimmyMow
f1ad88e951
Merge pull request #719 from mrfelton/fix/lnd-graceful-shutdown
fix(lnd): ensure graceful shutdown
6 years ago
Tom Kirkpatrick
bcb938b588
test(reducers): add activity reducer tests
6 years ago
Tom Kirkpatrick
39a52800f2
fix(invoice): update invoice modal once received
Ensure that the invoice / transaction / payment modal view shows the
most current data from the store. Do not duplicate data in the store
but instead reference the canonical data by id.
See https://redux.js.org/faq/organizingstate#how-do-i-organize-nested-or-duplicate-data-in-my-state
Fix #623
6 years ago
Tom Kirkpatrick
133e34dea2
test(neutrino): basic neutrino process spawn test
6 years ago
Tom Kirkpatrick
a16fdec23b
fix(lnd): ensure graceful shutdown
Lnd doesn't currently do a graceful shutdown when a `SIGTERM` is issued.
To ensure a graceful shutdown, call `stopDaemon` on the gRPC interface
prior to terminating lnd. If a graceful shutdown is unsuccessful then
force kill the daemon.
6 years ago
Tom Kirkpatrick
f00e830fb3
chore(deps): update grpc to v1.14.1
6 years ago
Tom Kirkpatrick
047aa94b69
feat(github): add github issue templates
Add issue templates for github bug reports, feature requests and pull
requests to help gather as much information as possible from users
submitting issues or PR's.
Templates generated with the help of:
https://www.talater.com/open-source-templates/#/page/1
6 years ago