Ben Woosley
09137cd150
Merge pull request #488 from mrfelton/perf/profile-app-startup
Add logging to show boot time
7 years ago
Ben Woosley
edb1911e0c
Merge pull request #491 from mrfelton/fix/devtools-electron-compatability
fix(devtools): patch webrequest to fix devtools
7 years ago
Ben Woosley
cf74731f03
style(husky hooks): drop opt --in from husky hooks
Make the linters run automatically for all users. This helps ensure that all
contributions adhere to our practices.
7 years ago
Ben Woosley
297d93e80d
Merge pull request #489 from mrfelton/refactor/hadle-grpc-startup-errors
fix(grpc): handle gRPC startup issues
7 years ago
Ben Woosley
8693c43f4f
Merge pull request #492 from mrfelton/chore/remove-unused-dependencies
Remove unused dependencies
7 years ago
Tom Kirkpatrick
5668319ba0
chore(dependencies): remove unused dependencies
Remove the following project dependencies, which are not being used:
- express
- rimraf
- sinon
- bitcore-lib
- d3-force
- d3-selection
- d3-zoom
- split2
- xtend
7 years ago
Tom Kirkpatrick
d4cb99fd91
fix(devtools): patch webrequest to fix devtools
Fix an incompatibility between electron 2.x and devtools by patching the
electron webRequest handler.
See https://github.com/electron/electron/issues/13008#issuecomment-400261941
Fix #490
7 years ago
Tom Kirkpatrick
72691f447b
fix(grpc): handle gRPC startup issues
If there is a problem initializing the lnd gRPC connection, show an
error message to the user and quit the app.
7 years ago
Tom Kirkpatrick
ce201eb789
perf(boot): add logging to show boot time
Add some logging so that we can see how long it takes from starting up
the app until the user is first able to interact with it.
7 years ago
Ben Woosley
91344746a4
Merge pull request #475 from LN-Zap/feature/syncing
Feature/syncing
7 years ago
Ben Woosley
15c6a8f2a8
Merge pull request #484 from LN-Zap/fix/submit-channel-styles
fix(submit-channel): reduce font size
7 years ago
Ben Woosley
70308619d5
Merge pull request #485 from LN-Zap/fix/waiting-close-channels
fix(waiting_close_channels): account for waiting_close_channels
7 years ago
Ben Woosley
db042478d6
Merge pull request #486 from LN-Zap/fix/channel-details-currency-unit
fix(channel-details): use currencyName
7 years ago
Jack Mallers
f84fb97a41
fix(channel-details): use currencyName
7 years ago
Jack Mallers
5c301075e0
fix(waiting_close_channels): account for waiting_close_channels
7 years ago
Jack Mallers
a34093f506
fix(submit-channel): reduce font size
7 years ago
Ben Woosley
0089cc5568
Merge pull request #469 from LN-Zap/style/improve-submit-channel-style
style(submit-channel): improve submit channel design
7 years ago
Ben Woosley
ef639ffc8d
Merge pull request #482 from LN-Zap/fix/channel-list
fix(channel-list): change the logic to look at the currentChannels
7 years ago
Ben Woosley
26ccbec670
Merge pull request #481 from Empact/enhance/mainnet-conf
enhance(mainnet conf): add an lnd.conf entry for bitcoin.mainnet
7 years ago
Ben Woosley
096cdedb1b
Merge pull request #456 from mrfelton/fix/better-csp-for-production
Implement a more restrictive Content Security Policy for production builds
7 years ago
Jack Mallers
7e426eb507
fix(margin): fix using margin-bottom instead of margin
7 years ago
Ben Woosley
6d9e118bfa
Merge pull request #473 from mrfelton/perf/moment-locale
Do not bundle moment locale data data that we don't use
7 years ago
Jack Mallers
1c9a23b195
fix(channel-list): change the logic to look at the currentChannels
7 years ago
Ben Woosley
e14c200a00
enhance(mainnet conf): add an lnd.conf entry for bitcoin.mainnet
Commented out as testnet is still our default.
7 years ago
Ben Woosley
5629da90da
Merge pull request #477 from LN-Zap/fix/p2pkh-call
fix(p2pkh): generate np2wkh instead of p2pkh
7 years ago
Ben Woosley
68bc713de8
Merge pull request #478 from mrfelton/fix/kill-lnd-on-quit
fix: kill lnd process on quit
7 years ago
Ben Woosley
926b61ba68
Merge pull request #476 from mrfelton/perf/moment-timezone
Do not bundle moment-timezone that we don't use
7 years ago
Tom Kirkpatrick
bd26d26884
fix: kill lnd process on quit
Ensure that any lnd process started by us is killed when the app quits.
Fix #470
7 years ago
Jack Mallers
afb690dd95
fix(p2pkh): generate np2wkh instead of p2pkh
7 years ago
Tom Kirkpatrick
da2d6955e3
perf(bundle-size): remove moment-timezone dep
Shaves 176.88k of final renderer.prod.js bundle size.
7 years ago
Jack Mallers
8ac7718dd3
feat(sync): add loading spinner while address is trying to be generated
7 years ago
Jack Mallers
ec513cae04
feat(syncing): new sync design and add deposit address
7 years ago
Tom Kirkpatrick
b3e5f7c669
perf(bundle-size): only en locale from moment
Shaves 136.63k of final renderer.prod.js bundle size.
7 years ago
Jack Mallers
71d6ebec84
refactor(sbumit-channel): refactor sass file
7 years ago
Tom Kirkpatrick
7ab31e12df
fix(cors): proxy requests to remote sites
When running in dev mode, proxy requests to remote sits in order to
mitigate CORS issues.
7 years ago
Tom Kirkpatrick
593113449b
fix(security): restrictive production CSP
Adjust our Content Security Policy on production so that it is more
restrictive than when we run in development mode. Changes include:
- Do not allow loading content/scripts/fonts from localhost
- Do not allow running code that contains `eval` statements
7 years ago
Tom Kirkpatrick
651024af10
build(webpack): dynamic CSP configuration
Use `CspHtmlWebpackPlugin` to generate our content security policy
using code rather than hard coding meta tags on our html index page.
This provides us a more flexible means to configure our CSP dynamically.
7 years ago
Tom Kirkpatrick
ab087586cc
refactor(webpack): remove inline scripts
Use `HtmlWebpackPlugin` to generate our final html file so that we can
remove our inline scripts and insert them dynamically based on our
webpack config.
7 years ago
Ben Woosley
00fa22b253
Merge pull request #465 from Empact/fix/api-error-throw
fix: Don't catch api/index errors
7 years ago
Ben Woosley
1178a9dcc3
Merge pull request #466 from LN-Zap/feature/testnet-prefix-channel-balance
Feature/testnet prefix channel balance
7 years ago
Jack Mallers
37c0fe6a6e
style(lint): fix lint errors
7 years ago
JimmyMow
a2b0ba3486
Merge pull request #467 from mrfelton/docs/commit-hook-help
Improve documentation on git commit hooks
7 years ago
Tom Kirkpatrick
76d8ecc15c
docs: additional documentation on git commit hooks
Add some additional documentation on our git hooks to describe how to
enable them and what they do.
7 years ago
Jack Mallers
147a719b96
fix lint errors
7 years ago
Jack Mallers
371c152cfb
feat(channels): remove hardcode currency name in channel balance and replace with dynamic currency name
7 years ago
Ben Woosley
07ff5db0b9
fix: Don't catch api/index errors
If we catch these errors and resolve to the error itself, then `await` for that
function resolves to the error value rather than throw. Because no api currently
handles the associated errors, it is better to be noisy about these errors, by
throwing rather than returning the error object.
7 years ago
Ben Woosley
dc32568236
Merge pull request #464 from LN-Zap/fix/undefined-lnd-log
fix(log): fix the uncaught exception by calling info on log not lnd
7 years ago
Ben Woosley
5dd198d5a6
Merge pull request #459 from Empact/style/line-length
style: Limit prettier line length to 100 chars, with 120 chars allowed for long strings and comments
7 years ago
Jack Mallers
392bb330f7
fix(log): fix the uncaught exception by calling info on log not lnd.log
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