Jack Mallers
f7964c8686
fix(theme): make compatible with multi-language
6 years ago
Tom Kirkpatrick
2ac4953827
feat(i18n): enable Irish language
6 years ago
JimmyMow
c658e3436a
New Crowdin translations ( #787 )
* New translations en.json (Irish)
[ci skip]
* New translations en.json (Ukrainian)
[ci skip]
* New translations en.json (Turkish)
[ci skip]
* New translations en.json (Swedish)
[ci skip]
* New translations en.json (Spanish)
[ci skip]
* New translations en.json (Russian)
[ci skip]
* New translations en.json (Romanian)
[ci skip]
* New translations en.json (Portuguese, Brazilian)
[ci skip]
* New translations en.json (Portuguese)
[ci skip]
* New translations en.json (Polish)
[ci skip]
* New translations en.json (Japanese)
[ci skip]
* New translations en.json (Italian)
[ci skip]
* New translations en.json (Arabic)
[ci skip]
* New translations en.json (Hindi)
[ci skip]
* New translations en.json (Hebrew)
[ci skip]
* New translations en.json (Greek)
[ci skip]
* New translations en.json (German)
[ci skip]
* New translations en.json (French)
[ci skip]
* New translations en.json (Dutch)
[ci skip]
* New translations en.json (Danish)
[ci skip]
* New translations en.json (Czech)
[ci skip]
* New translations en.json (Croatian)
[ci skip]
* New translations en.json (Chinese Traditional)
[ci skip]
* New translations en.json (Chinese Simplified)
[ci skip]
* New translations en.json (Bulgarian)
[ci skip]
6 years ago
Tom Kirkpatrick
70bfa6cb73
feat(i18n): use local currency display rules
Use `intl.formattedNumber` to display currency values to ensure that
currencies are displayed using the formatting rules that match the
user's locale.
6 years ago
Tom Kirkpatrick
d2d42a7409
feat(i18n): use custom Chinese language names
6 years ago
Tom Kirkpatrick
27e46ccde8
feat(i18n): detect best-fit user currency
Use the locale information in order to select a best fit default
currency for the user.
6 years ago
Tom Kirkpatrick
2b83dde884
feat(i18n): initial translations
6 years ago
Tom Kirkpatrick
aedd1ee233
feat(i18n): initial multi-language support
6 years ago
Tom Kirkpatrick
54ed782ff5
refactor(general): remove contactModal components
6 years ago
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
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
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
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
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
Tom Kirkpatrick
eb7465be36
fix(updater): don't run auto updater in dev mode
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
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
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
Jack Mallers
161fec0133
fix(pay): dont focus on value input
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
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
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
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
Tom Kirkpatrick
ca118d7c27
chore(deps): update all lint related packages
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
Jack Mallers
545285f0c3
feat(invoice): add priv routing hints for light clients
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
Jack Mallers
4eb140dd42
fix(channels): closing channels link to closing_txid
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
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