Tom Kirkpatrick
5b3f54abe0
chore(deps): update build tools
Update all build related tools to latest versions.
6 years ago
Tom Kirkpatrick
b9ebc9bc4c
chore(deps): update electron to v3.0.4
This electron update includes a number of minor fixes and improvements.
6 years ago
Tom Kirkpatrick
b378200445
style(lint): use stylelint-config-recommended-scss
6 years ago
Tom Kirkpatrick
7a8878604c
chore(deps): update spectron to support electron 3
See https://github.com/electron/spectron/issues/319
6 years ago
Tom Kirkpatrick
d57e3f70c8
chore(deps): update all dependencies
6 years ago
Tom Kirkpatrick
c90972b039
ci(jest): use forceExit
Jest still has issues with hanging processes... add --forceExit again!
6 years ago
Tom Kirkpatrick
11ab3999b7
ci(jest): set maxWorkers to 2
Jest process doesn’t quit after last test completes. This can cause our
tests to fail sometimes, particularly on on Appveyor.
As an attempt to get past this previously we had set `--forceExit` in
our jest cli options, but this doesn't always work either.
Further research suggests that setting ``--maxWorkers=2` could resolve
the issue.
See
- https://github.com/facebook/jest/issues/1456#issuecomment-424356243
- https://github.com/facebook/jest/blob/master/docs/Troubleshooting.md
Fix #774 , Fix #773
6 years ago
Tom Kirkpatrick
52cefd7cdf
feat(lnd): use free port for lnd
Select free ports for lnd from a pool of options. By default we will
use the standard lnd ports (10009 and 9735) but if those are not
available then we will search for free ports in a nearby range.
This allows us to have multiple instances of the wallet running and
avoids possible conflicts with other instances of lnd that the user
may be running.
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
5eb4320b18
Revert "Merge pull request #790 from mrfelton/ci/streamline-build-per-env"
This reverts commit e4c0349772
, reversing
changes made to 0d8c39e7e6
.
6 years ago
Tom Kirkpatrick
a5f4960c88
feat(lnd): update lnd to v0.5-beta-21-g25145acc
6 years ago
Tom Kirkpatrick
12884ed3b1
chore(deps): update react-intl to v2.6.0
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
aedd1ee233
feat(i18n): initial multi-language support
6 years ago
Tom Kirkpatrick
3325b05d23
chore(deps): remove react-addons-test-utils
6 years ago
Tom Kirkpatrick
5340c7610d
build(ci): per env build config
Do not build the renderer dll on ci. It's not needed and it wastes a
lot of build time.
6 years ago
Tom Kirkpatrick
31b8a3e9ef
chore(deps): remove babel-preset-react-hmre
6 years ago
Tom Kirkpatrick
0c1a4ede54
test(coverage): coverage only for unit tests ( #785 )
Coverage tests are only relevant for the unit tests and do not work in
the context of the e2e test suite. Only generate coverage reports
for the unit tests.
6 years ago
Tom Kirkpatrick
db4b3717b7
test(jest): run jest with --forceExit flag
Jest is sometimes unable to detect when tests have completed which can
result in tests hanging indefinitely, which breaks our CI builds on
Appveyor.
This is a know issue in jest and they added a `forceExit` in order to
help users facing this issue.
See https://github.com/facebook/jest/issues/1456
6 years ago
Tom Kirkpatrick
a3d67558a2
ci(jest): remove detectOpenHandles flag
The detectOpenHandles flag was added to help pin down an issue that we
were facing with some of our tests a while back. This flag comes with a
very high performance penalty and is no longer needed in our setup.
6 years ago
Tom Kirkpatrick
7ebbf61d9e
test(coverage): disable text coverage reporter
The txt coverage reporter generates a lot of output that makes it hard
to see the actual test results without scrolling up a lot first.
We already have the html reporter setup and an npm script to enable
easy viewing of the data (`yarn coverage`) so the text reporter isn't
adding anything useful.
6 years ago
Tom Kirkpatrick
bf40af1ed7
refactor(webpack): move config files out of root
Move the Webpack config files out of the root directory and into a more
suitable location. This avoids unnecessary clutter of the project root.
6 years ago
Tom Kirkpatrick
fcaf84c187
feat(deps): update all dependencies
6 years ago
Tom Kirkpatrick
a5800d1056
feat(lnd): update lnd to v0.5-beta-6-g48d016bc
6 years ago
Tom Kirkpatrick
39e40c326a
feat(lnd): update lnd to latest master build
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
Tom Kirkpatrick
b88ebb3f4e
feat(lnd): update lnd to latest master build
6 years ago
Tom Kirkpatrick
ca118d7c27
chore(deps): update all lint related packages
6 years ago
Tom Kirkpatrick
e6b8ba79f6
chore(deps): update electron packages
Update electron, electron-builder and electron-updater to latest
versions. This provides a number of general stability fixes.
https://github.com/electron/electron/releases/tag/v2.0.6
https://github.com/electron/electron/releases/tag/v2.0.7
https://github.com/electron/electron/releases/tag/v2.0.8
https://github.com/electron-userland/electron-builder/releases/tag/v20.26.1
https://github.com/electron-userland/electron-builder/releases/tag/v20.27.0
https://github.com/electron-userland/electron-builder/releases/tag/v20.27.1
https://github.com/electron-userland/electron-builder/releases/tag/v28.0.0
https://github.com/electron-userland/electron-builder/releases/tag/v20.28.1
https://github.com/electron-userland/electron-builder/releases/tag/v20.28.2
https://github.com/electron-userland/electron-builder/releases/tag/v20.28.3
6 years ago
Tom Kirkpatrick
633c6816ff
chore(version): bump to 0.2.2-beta
6 years ago
Tom Kirkpatrick
133e34dea2
test(neutrino): basic neutrino process spawn test
6 years ago
Tom Kirkpatrick
853c69468f
feat(lnd): update lnd to v0.4.2-beta-913-g26f68da5
6 years ago
Tom Kirkpatrick
ac3ee5f5f0
chore(deps): update jest to v23.5.0
This resolves an issue with jest that was preventing tests from
completing on windows environments.
See https://github.com/facebook/jest/issues/6639
6 years ago
Tom Kirkpatrick
4731eb940d
test(jest): add --detectOpenHandles switch
6 years ago
Tom Kirkpatrick
32345f643e
fix(lnd): update lnd to v0.4.2-beta-752-g6c903393
6 years ago
Tom Kirkpatrick
e8b9d22455
feat(lnd): update lnd to latest master build
7 years ago
Tom Kirkpatrick
1a09842e4d
test(coverage): exclude app/dist from coverage
7 years ago
Tom Kirkpatrick
56c6c59180
feat(lnd): support multiple lnd configurations
Store lnd data within the Zap datadir and prepare to be able to support
multiple lnd configurations.
7 years ago
Tom Kirkpatrick
9962faf2bc
test(coverage): generate coverage for all source
7 years ago
Tom Kirkpatrick
d4c51e9e3d
test(runner): reorganise test suites
Reorganise test suite so that unit tests are cleanly separate from e2e
tests. Update tests to make better use of our custom module resolves.
7 years ago
Tom Kirkpatrick
e7f6e9e588
chore(deps): update jest and other test packages
Update jest and other test related packages to latest version.
7 years ago
Tom Kirkpatrick
4b98b5a1fc
chore(deps): update react packages to v16.x
Update react and related dependencies to the latest 16.x versions.
7 years ago
Tom Kirkpatrick
84554b749c
chore(deps): update eslint-plugin-json package
Fix #589
7 years ago
Tom Kirkpatrick
4a05e54289
chore(deps): update flow packages
7 years ago
Tom Kirkpatrick
b180287f6c
feat(ux): keep app running on window close
The standard approach on Darwin is to keen applications running when the
window is closed. Clicking the apps icon again in the doc should bring
back the application window.
This changeset refactors things to handle this. It will keep Zap and lnd
running in the background when the main application window is closed.
Quitting the app will stop both the app and lnd.
Fix #586
Fix #601
7 years ago
Tom Kirkpatrick
b54fd264d8
feat(lnd): require explicit connection config
Do not assume that if the user has lnd running already on the localhost
we want to connect to it. Always ask the user for explicit connection
params.
7 years ago
Tom Kirkpatrick
d7064f03c5
refactor(grpc): use @grpc/proto-loader
Fix grpc depreciation warning from `grpc.load`:
> grpc.load: Use the @grpc/proto-loader module with
> grpc.loadPackageDefinition instead
Fix #621
7 years ago
Tom Kirkpatrick
b5d70faefb
feat(updates): implement electron auto updates
Add support for auto updates using electron-updater.
Fix #607
7 years ago
Tom Kirkpatrick
1ac527117d
build(release): auto release on ci
Integrate electron-builder with our ci process so that electron builds
are created and published to a github release draft automatically.
7 years ago
Tom Kirkpatrick
eb4fe31e27
fix(lnd): support tilde in connection params
Expand the tilde character when used in connection parameters.
Fix #596
7 years ago