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
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
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
Ben Woosley
f87236495a
style(line length): Limit prettier line length to 120 chars
150 is a bit too long
7 years ago
Ben Woosley
d5211076fd
enhance(lnd config): Move LND settings Zap uses into the local lnd.conf
This enables easy access to all lnd settings for development, and is a step
toward relying on an external configuration file that will be accessible to
users for whom the code is not.
7 years ago
Tom Kirkpatrick
0846bcb772
style(lint): lint and format all code
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
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
483064f95f
Shut down app when lnd closes
7 years ago
Ben Woosley
aff656a809
Show a message box when lnd errors occur
7 years ago
Ben Woosley
73d2686ba2
Fix the local lnd already running usecase
Absent this fix, Zap is stuck at the loading page on startup with local LND running.
7 years ago
Ben Woosley
db45e84b48
Fix typo in 'SAVED CONFIG TO' log entry
7 years ago
Tom Kirkpatrick
3c4a651764
feature(lnd-config): add connection type onboarding screen
Add a new set of screens into the connection onboarding flow that
allow the user to select wether to connect to a local or remote
LND node.
Fix #326
7 years ago
Jack Mallers
a2e0f48bb7
feature(close-channel): wire up close channel to UI
7 years ago
Jack Mallers
efc5cf0f02
fix(onchain): fix the UX for on-chain payments to be like the UX for LN payments
7 years ago
Jack Mallers
7cff397a4c
fix(lint + grpc): fix lint errors and a bug where gRPC connection starts too early
7 years ago
Jack Mallers
4b35c5f1aa
fix(channelform): remove old unused reducer
7 years ago
Jack Mallers
a0f9027180
feature(contactsform): tie up new contacts form to reducer
7 years ago
Jack Mallers
2bb28e0bbd
fix(lint): fix linting errors
7 years ago
Jack Mallers
24ae067ad9
feature(unlockWallet): ability to unlock wallet with helpful error messages
7 years ago
Jack Mallers
04798ac7f9
feature(payform): new pay form MVP
7 years ago
Jack Mallers
6bb5783e7d
fix(neutrino): connect to a better node
7 years ago
Jack Mallers
e005932d4f
fix(lint): fix linting errors
7 years ago
Jack Mallers
2d1030a1f7
feature(autopilot-onboarding): allow user to turn autopilot on/off before starting their node
7 years ago
Jack Mallers
33e260e033
fix(lint)
7 years ago
Jack Mallers
8d448708b7
fix(onboarding): default state is false for onboarded
7 years ago
Jack Mallers
dad4546e58
feature(alias): setup form container and onboarding architecture. hard code alias form
7 years ago
Jack Mallers
15c3b97c97
fix(lint): lint error
7 years ago
Jack Mallers
a7264ab918
fix(BrowserWindow): fix width/height
7 years ago
Jack Mallers
5f7a7da003
fix(alias): remove hard coded alias
7 years ago
Jack Mallers
907b81da8c
feature(header, activity): new activity and header
7 years ago
Jack Mallers
179cec24c8
fix(title-bar): new title bar
7 years ago
Jack Mallers
3fa7c28efe
fix(window): quit zap application when closing window
7 years ago
Jack Mallers
67f09ef026
fix(version): bump version to 0.1.1
7 years ago
Jack Mallers
e200b99d68
fix(traffic): add more full nodes for neutrino
7 years ago
Jack Mallers
f669bbaf66
fix(lint): fix lint errors
7 years ago
Jack Mallers
3fd72d118d
use btcd.jackmallers.com
7 years ago
Jack Mallers
c5d9879525
fix(lint)
7 years ago
Jack Mallers
66c97eb3c4
hotfix(grpc + electron): reconfigure to allow for multi-platform builds
7 years ago
Jack Mallers
468a4f1dc4
fix(lint): fix linting errors
7 years ago
Jack Mallers
4c1b627179
fix(sign): sign builds
7 years ago
Jack Mallers
7bfecd9764
feature(help): help videos
7 years ago
Ben Woosley
a6393f2f67
fix(lints): Fix lints in main.dev.js
Mostly this involves reordering the functions so they are not used
before they are defined.
7 years ago
Ben Woosley
4125283587
enhance(lints): Enable currenly disabled lints
7 years ago
Ben Woosley
2e5ca3da68
fix(lints): Run eslint --fix over the currently disabled lints
7 years ago
Jack Mallers
774fa85edc
fix(zap): remove old code commented out
7 years ago
Jack Mallers
181d308441
feature(zap): allow app to be resizable with a min height/width
7 years ago
Ben Woosley
16d05b40cd
fix(electron-settings): Drop ineffectual nodeintegration setting
The actual nodeintegration setting is nested under webPreferences:
https://github.com/electron/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
If you set it there, Zap doesn't run, because process is no longer available in
app.html. Use of process in app.html is a barrier to other security settings -
sandbox and contextIsolation.
https://github.com/electron/electron/blob/master/docs/tutorial/security.md#checklist
7 years ago
Jack Mallers
bcb158b417
feature(friends): create friends route and start implementing friends list
7 years ago