Ben Woosley
4ffe3e1801
Merge pull request #438 from Empact/fix/lnd-log-level
Fix lndLogGetLevel to apply the most-recent log level when none is detected
7 years ago
Ben Woosley
a22a2a5397
Merge pull request #428 from mrfelton/feat/electron-2
Update electron to v2.x
7 years ago
Ben Woosley
66fb3af09d
Merge pull request #395 from mrfelton/fix/channel-search-handle-no-results
fix(channels): do not show suggested nodes on empty search
7 years ago
Ben Woosley
0602fbe7ca
fix(lnd log level): Fix lndLogGetLevel to apply the most-recent log level when none is detected
In some cases, multi-line log output was output at its value for the first line,
but in the trace log in following lines. For example, in this output:
zap:lnd [DBG] 2018-06-17 18:30:35.051 [DBG] CRTR: New channel update applied: (*channeldb.ChannelEdgePolicy)(0xc420e74310)({ +0ms
zap:lnd [DBG] SigBytes: ([]uint8) (len=71 cap=71) { +0ms
zap:lnd [DBG] }, +0ms
zap:lnd [DBG] sig: (*btcec.Signature)(<nil>), +0ms
zap:lnd [DBG] ChannelID: (uint64) 1423834572626526208, +0ms
zap:lnd [DBG] LastUpdate: (time.Time) 2018-06-17 18:30:26 -0500 CDT, +0ms
zap:lnd [DBG] Flags: (lnwire.ChanUpdateFlag) 1, +0ms
zap:lnd [DBG] TimeLockDelta: (uint16) 6, +0ms
zap:lnd [DBG] MinHTLC: (lnwire.MilliSatoshi) 1000 mSAT, +0ms
zap:lnd [DBG] FeeBaseMSat: (lnwire.MilliSatoshi) 1 mSAT, +0ms
zap:lnd [DBG] FeeProportionalMillionths: (lnwire.MilliSatoshi) 10 mSAT, +0ms
zap:lnd [DBG] Node: (*channeldb.LightningNode)(<nil>), +0ms
zap:lnd [DBG] db: (*channeldb.DB)(<nil>) +1ms
zap:lnd [DBG] }) +0ms
zap:lnd [DBG] +0ms
Previously the first line would be marked DBG, while the others were marked TRC.
7 years ago
Ben Woosley
254807db0a
Merge pull request #436 from mrfelton/feat/logging
Improve log readability and allow control over what is logged
7 years ago
Tom Kirkpatrick
615ed52e7a
ci(travis): disable security warnings
Set ELECTRON_DISABLE_SECURITY_WARNINGS on travis to prevent security
warnings related to CSP from failing the tests.
7 years ago
Tom Kirkpatrick
f460542e25
fix(security): content security policy
Set up an initial Content-Security-Policy that limits resources
loading capabilities to those locations that we expect to load from.
Note: This currently includes three following remote URLs:
*content:*
- https://api.coinmarketcap.com
- http://zap.jackmallers.com
- https://testnet-api.smartbit.com.au ;
*fonts/styles:*
- https://fonts.googleapis.com
- https://s3.amazonaws.com
- https://fonts.gstatic.com
7 years ago
Tom Kirkpatrick
814252caee
build(electron): update to electron v2.0.2
7 years ago
Ben Woosley
e34dbe52db
Merge pull request #434 from mrfelton/fix/installtion-instructions
Remove redundant install steps
7 years ago
Tom Kirkpatrick
4a535be142
feat(logging): more readable logs
Use debug-logger to provide a more comprehensive and flexible logging
solution. Use two separate log handlers to provide separation between
electron and and lnd logs.
7 years ago
Ben Woosley
c4d701c156
Merge pull request #433 from mrfelton/fix/lnd-output-parsing
More reliable lnd log parsing
7 years ago
Ben Woosley
742a3dd26b
Merge pull request #427 from Empact/network
Prefix testnet units with 't'
7 years ago
Ben Woosley
ee4157b49b
Merge pull request #429 from Empact/enhance/onboarding
Don't run onboarding if LND is already running locally
7 years ago
Ben Woosley
a1873ead1c
Merge pull request #435 from mrfelton/build/unneeded-concurrently
Remove unneeded call to concurrently
7 years ago
Tom Kirkpatrick
87ef962ef2
build(scripts): remove unneeded call to concurrently
There is an unneeded call to `concurrently` in the `npm run dev` script.
This causes things that should be output in colour (eg debug messages
when running with DEBUG=*) to not be output in colour which makes
debugging things harder than it should be.
This was in place because previously lnd was being started up externally
in the `npm run dev` script at the same time as starting up the app. But
we now use spawn from within the app to start up lnd.
The call to `concurrently` is no longer needed.
See d8c5623e01
7 years ago
Tom Kirkpatrick
09fe241a7e
docs(advanced): remove redundant install steps
Remove the `install-grpc` installation step as it is redundant.
See #420
7 years ago
Tom Kirkpatrick
1b702e946a
fix(lnd): better lnd log parsing
Pipe lnd stdout tream through `split2` in order to ensure that each data
event contains a single line of log output.
Fix #432
7 years ago
Ben Woosley
0ce5b04fe5
Don't run onboarding if LND is already running locally
The onboarding settings are only relevant if the user wants to connect to a
remote LND or have Zap run LND. If the LND is already running locally, the user
is capable of separately configuring it.
This does not support the case of connecting to a remote LND while running LND
locally, but I can't think of a reason why someone would do such a thing. In
such a case, they could quit LND, start Zap, then re-start LND.
7 years ago
Ben Woosley
07facd5d0d
On the receive modal, label the address Testnet when appropriate
7 years ago
Ben Woosley
08fbed672f
Prefix ticker units with 't' when running on testnet
7 years ago
Ben Woosley
7d39aec678
Replace info.isTestnet with info.network
This holds network-specific information, initially the explorerUrl and the
bitcoinJsNetwork.
7 years ago
Ben Woosley
49b1633341
Inline walletProps into mergeProps
More succinct and easier to find by grep.
7 years ago
Ben Woosley
2a4cbc355b
Merge pull request #426 from mrfelton/feat/update-tooling
Update tooling
7 years ago
Ben Woosley
44abfe33a4
Merge pull request #423 from mrfelton/feat/update-grpc
fix(grpc): update grpc to v1.12.3
7 years ago
Tom Kirkpatrick
f50dd34aa0
build(types): update flowtype
Update flow-bin and flow-runtime to latest stable releases.
7 years ago
Tom Kirkpatrick
7bb0d469f2
build(lint): update stylelint to v9.3.0
Update stylelint to incorporate numerous upstream improvements.
See https://github.com/stylelint/stylelint/releases/tag/9.3.0
7 years ago
Tom Kirkpatrick
0fa348c53c
chore(deps): update chalk to v4.17.10
Update Chalk to incorporate numerous upstream improvements.
See https://github.com/chalk/chalk/releases
7 years ago
Tom Kirkpatrick
d1ef19ab0f
chore(deps): update lodash to v4.17.10
Update lodash for better Node.js 10 support.
See https://github.com/lodash/lodash/wiki/Changelog#apr-24-2018--diff--docs
7 years ago
Tom Kirkpatrick
903c8757c7
build(lint): update eslint packages
Update all eslint packages to the latest stable versions.
7 years ago
Tom Kirkpatrick
2e32f44c74
build(webpack): update webpack to v4.x
Update all webpack packages to the latest v4.x compatible versions and
update supporting configs. This delivers noticeable performance
improvements to the DX.
7 years ago
Tom Kirkpatrick
d43df230a8
build(scripts): update cross-env to v5.2.0
The v5.2.0 includes (amongst other things) a fix for incorrectly reported
exit codes of child processes, which can prevent build build failures from
correctly halting a build, resulting in incomplete or invalid builds.
See https://github.com/kentcdodds/cross-env/issues/150#issuecomment-387737183
7 years ago
Tom Kirkpatrick
aaed9c1dbf
build(webpack): migrate to babel-minify-webpack-plugin
babili-webpack-plugin has been depreciated in favour of
babel-minify-webpack-plugin so update to that.
7 years ago
Tom Kirkpatrick
7721915e7e
build(scripts): update cross-spawn to v6.0.5
7 years ago
Tom Kirkpatrick
63f9bd6a09
ci(travis): only install grpc once
grpc was being compiled twice when builds run on travis. This was causing
builds to take several minutes longer than they should. installation of
the dependencies listed in app/package.json happens automatically when
`electron-builder install-app-deps` runs as part of the postinstall step.
7 years ago
Tom Kirkpatrick
8f15cb8bd5
build(babel): update babel packages
Update all babel packages to the latest stable versions.
7 years ago
Tom Kirkpatrick
791a3259e7
build(webpack): update webpack packages
Update webpack and related packages to the latest 3.x versions. This
prevents errors from node-gyp when attempting to build fsevents (OSX),
which is an indirect dependency of webpack-dev-server (via chokidir)
See https://github.com/strongloop/fsevents/releases/tag/v1.1.0
7 years ago
Tom Kirkpatrick
7c0c91a26b
build(scripts): update concurrently to v3.5.1
The v3.5.1 release of concurrently resolves several output display issues
making for easier debugging when concurrent commands are running.
See https://github.com/kimmobrunfeldt/concurrently/releases/tag/3.5.1
7 years ago
Tom Kirkpatrick
a41f5f04f0
build(electron): update electron-builder to v20.15.3
The v20.15.1 release of electron-builder has been unpublished since its
original release and subsequently a newer v20.15.3 version has been
released. v20.15.3 resolves several critical issues found in v20.15.1,
one of which was causing `electron-builder install-app-deps` to hang
indefinitely when run without `DEBUG=electron-builder` being set
7 years ago
Tom Kirkpatrick
fa0f78ae60
fix(grpc): update grpc to v1.12.3
Update grpc to v1.12.3 in order to fix issues build issues due to the fact
that 1.12.1 doesn't contain node-pre-gyp as a bundled dependency.
See https://github.com/grpc/grpc-node/issues/365
7 years ago
Ben Woosley
2b4190d6d0
Merge pull request #417 from Empact/modal-root
Drop ModalRoot
7 years ago
Ben Woosley
037f351b59
Drop the ModalRoot component
Given we have no active use of it, and the trend seems to be toward independent
modal components, eg. ContactModal, let's drop it.
7 years ago
Ben Woosley
ba79b67e31
Drop the unused WalletDetails modal
Seems to have been supplanted, e.g. see the Wallet/ReceiveModal.
7 years ago
Ben Woosley
7e998285f9
Drop the SuccessfulSendPayment and SuccessfulSendCoins modals
These are defunct, see the replacements:
showSuccessPayScreen and successTransactionScreen in Wallet.
7 years ago
Ben Woosley
4652c60ea7
Fix ModalRoot spec to pass
By providing required param isTestnet
7 years ago
JimmyMow
58acc4e9f3
Merge pull request #414 from LN-Zap/fix/onboarding-copy
Fix/onboarding copy
7 years ago
Jack Mallers
42344065f4
fix(lint): fix lint errors
7 years ago
Jack Mallers
101dc21534
fix(connection-type): improve connection type copy
7 years ago
JimmyMow
7186b6939a
Merge pull request #413 from LN-Zap/fix/new-invoice-timestamp
fix(addInvoice): decode payreq and send all invoice data back after n…
7 years ago
Jack Mallers
225adf6a97
fix(addInvoice): decode payreq and send all invoice data back after newly created invoice
7 years ago
JimmyMow
5915e20f1b
Merge pull request #412 from LN-Zap/fix/activity-ordering
fix(daily activity sort): sort the activity within a day from new to old
7 years ago