Tom Kirkpatrick
f7172d2d97
fix(logging): reduce default log level to info
Reduce our loggers to `info` level by default to reduce the amount of
noise that gets output on the console.
7 years ago
Ben Woosley
dc29c80ad0
style(line length): Drop prettier line length from 120 to 100
Subjectively, this increases general readability, while the higher max-length
limit allows for longer strings and comments, etc.
7 years ago
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
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
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
7d39aec678
Replace info.isTestnet with info.network
This holds network-specific information, initially the explorerUrl and the
bitcoinJsNetwork.
7 years ago
Jack Mallers
498b09ca35
fix(convert): return value if converting with same to and from currency
7 years ago
Jack Mallers
0611a9a99b
fix(lint): fix lint errors
7 years ago
Jack Mallers
5ab19cd19b
fix(dynamic-showTransaction): add isTestnet param to function and update function calls
7 years ago
Jack Mallers
d0d562808c
feature(activity-search): implement new activity search
7 years ago
Jack Mallers
1e7d992edd
fix(wallet-header): wire up currency switching from the home page wallet header
7 years ago
Jack Mallers
fade245dc4
feature(countdown): add countdown component for the countdown till the invoice expires
7 years ago
Jack Mallers
357cf4e0ef
fix(lint): fix all lint errors except a few (will fix the rest after i finish the rest of the modals)
7 years ago
Jack Mallers
0883bbd486
feature(payform): add multi-currency support for payform
7 years ago
Jack Mallers
04798ac7f9
feature(payform): new pay form MVP
7 years ago
Jack Mallers
98b3c52e11
feature(value): add value component to wallet
7 years ago
Jack Mallers
907b81da8c
feature(header, activity): new activity and header
7 years ago
Ben Woosley
8e06ad5105
fix(eslint-import): Fix that eslint-plugin-import was not active
For the node import resolver, "paths" is meant to be absolute paths
for global modules.
https://github.com/benmosher/eslint-plugin-import/tree/master/resolvers/node
7 years ago
Ben Woosley
4125283587
enhance(lints): Enable currenly disabled lints
7 years ago
Ben Woosley
eb04d12a92
enhance(channels): Extract blockExplorer util
To handle shelling out to the transaction display
This was previously done inline via electron.shell.openExternal. Consolidating
it in the utility DRYs up the code both in terms of the base url and the path
building.
Note there is also code in reducers/info.js relating to:
infoSelectors.explorerLinkBase, but it seems to be unused currently.
7 years ago
Jack Mallers
0033275ff9
fix(lint): fix some small linting errors
7 years ago
Jack Mallers
f02be5bc9d
feature(bech32): use bech32 to determine if ln pareq is valid
7 years ago
Travis Loncar
dd74961651
feature(ticker-usd-format): format USD price with symbol and two decimal places
7 years ago
Jack Mallers
9de69124cd
fix(satsToUsd): display <0.01 if micropayment is less than a penny
7 years ago
Jack Mallers
88c577d248
fix(lint): fix all lint errors/warnings
8 years ago
Jack Mallers
393a34c7e8
fix(lint): fix more linting errors
8 years ago
Jack Mallers
abb1b02a36
fix(lint): start fixing linting error
8 years ago
Jack Mallers
264762ad17
feature(request): make request in both btc and usd
8 years ago
Jack Mallers
dbd3fcaf71
feature(multi-currency): calculates value based on current currency
8 years ago
Jack Mallers
3011322962
feature(activity styles): add invoices and improve activity design
8 years ago
Jack Mallers
85485bb5eb
first commit
8 years ago