Tom Kirkpatrick
d0156137a2
style(sync): vertically centre sync page title
If we are syncing after having already completed the initial sync we do
not show the funding address QR code. In this case, adjust the title
padding so that the page title is better centred.
6 years ago
Tom Kirkpatrick
a7fc62d989
fix(ui): improve login button style
This makes the text on the login button a little more readable.
6 years ago
Tom Kirkpatrick
f95d015e5e
fix(wallet): dereference window after closing
Dereference the main window after it has been closed in order to prevent
messages from being set to it after it when it no longer exists.
6 years ago
Jack Mallers
917d85e57e
fix(onboarding): replace title bar with padding
6 years ago
Jack Mallers
6a7ed61ef3
fix(channels): fetch channels after peer connections
6 years ago
Tom Kirkpatrick
085f81d346
fix(wallet): fix console error in request form
Ensure that the FormattedNumber component gets passed a valid number.
If we don't have a value, the the value to 0.
6 years ago
Jack Mallers
b1b44489e5
fix(channels): fetch in activity mount not app
6 years ago
Tom Kirkpatrick
9859ac2eec
style(loading): fade out loading bolt
Show the loading bolt for a little longer and fade it out when it
unmounts.
6 years ago
Tom Kirkpatrick
ce5bf30f3e
fix(channels): display currencyName in network
Display the currency name (BTC/tBTC etc) next to the amount that shows
at the top of the network view.
6 years ago
Jack Mallers
980baaeafd
fix(channels): use currencyName in req_limit
6 years ago
Tom Kirkpatrick
ba361ee1cf
fix(wallet): hide zero channel balance
If the total channel balance is zero, do not show the channel balance at
the top of the network view as the zero doesn't convey any useful
information and looks strange.
6 years ago
Tom Kirkpatrick
977937956e
chore(fs): remove unused util code
Our USD helper functions are no longer used since we have migrated to
intl for currency formatting. Remove the unused code.
6 years ago
Tom Kirkpatrick
a0e77b1e1f
fix(i18n): parse fiat amounts to number type
We need to pass a number to `<FormattedNumber>` for it to properly
display the currency values. In some cases we were passing a
pre-formatted string which was causing some currency amount to render
as NaN.
6 years ago
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