Ben Woosley
a0b3b825d8
enhance(form-tests): Split a PayForm and RequestForm test out
Form.spec just shallow renders the Form, so PayForm and RequestForm
were previously only tested insofar as their props were valiated by
propTypes.
Testing them directly means the form is rendered.
7 years ago
JimmyMow
962e234383
Merge pull request #155 from Empact/enhance/drop-node-7
Drop node 7 support, declare minimum versions in package.json
7 years ago
Ben Woosley
ae2b2a9814
enhance(ci): Test on node 8 and the lastest stable release
Because yarn no longer supports node 7:
warning You are using Node "7.10.1" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0"
7 years ago
Ben Woosley
274768d3c2
enhance(dependencies): Drop node 7 support
And declare minimum versions in package.json.
Node 7 was a dev release and is defunct now that 8 is LTS and 9 is the
current dev release. If we wanted to support earlier versions, we should
go all the way back to the prior LTS release series, 6, but I don't see
a reason to do that for new software.
Bump to npm 5 because that is the version that was released with node 8:
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.0.0
This was prompted by the fact that current versions of yarn have dropped node 7
support.
https://yarnpkg.com/en/
7 years ago
JimmyMow
6a1e069abd
Merge pull request #158 from thinkjanis/fix/readme-instructions-improvements
Improve Zap installation instructions
7 years ago
Janis Solks
8e36336c5f
fix(readme-instructions-improvements)
Improve Zap installation instructions
7 years ago
JimmyMow
dd9c90214d
Merge pull request #156 from Empact/fix/browserslist
Fix browserslist to provide the proper dependencies for electron 1.7
7 years ago
JimmyMow
ecbe91c5df
Merge pull request #154 from Empact/enhance/travis-parallel
Bring CI runtime down from ~19 to ~13 minutes
7 years ago
Ben Woosley
99ee8c1098
fix(babel): Config babel-preset-env to consider the electron version as well
7 years ago
Ben Woosley
e4643ba319
fix(electron-dep): Configure browserslist to use electron 1.7
This is the version of electron we actually use / have installed.
After this change `npx browserslist` outputs:
chrome 58
7 years ago
Ben Woosley
598ced0e35
fix(browserslist): Fix that browserslist was configured but not installed
After this change, `npx browserslist` outputs:
chrome 56
7 years ago
Ben Woosley
81264f2974
enhance(ci-runtime): Run CI tasks in parallel
7 years ago
Ben Woosley
abe761f84b
enhance(ci-runtime): Cache flow-typed on travis ci
7 years ago
Ben Woosley
83b7130751
enhance(ci): Drop duplicate node version output for Travis builds
node, nvm, npm versions are output a bit higher up in the log
7 years ago
Ben Woosley
ca3f5000ae
enhance(ci): Use the default build chain on travis
Travis includes g++ and clang by default
https://docs.travis-ci.com/user/languages/c/
The ubuntu toolchain source is just used for gcc - the other packages are not
hosted there
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
7 years ago
Ben Woosley
f66bc1a7db
enhance(ci-runtime): Cache apt under travis
Apt currently takes ~2 minutes to execute. Hopefully caching will improve that.
7 years ago
JimmyMow
f6563fb01c
Merge pull request #152 from LN-Zap/fix/slack-link
fix(slack): fix slack invitation links
7 years ago
Jack Mallers
c0c28794ca
fix(slack): fix slack invitation links
7 years ago
JimmyMow
27a41c160c
Merge pull request #148 from pajasevi/feature/unified-close-icons
Unified close icons
7 years ago
pajasevi
95872d8ea3
fix(unified-close-icons): Removed duplicate declaration, fix for stylelint
7 years ago
pajasevi
2c53fc0eaa
feature(unified-close-icons): Unified close icons
7 years ago
Jack Mallers
e51a2042df
hotfix(global error): only setTimeout when theres an error
7 years ago
JimmyMow
22e363afaa
Merge pull request #140 from pajasevi/feature/better-error-message
Error message enhancements
7 years ago
pajasevi
446308d59d
feature(better-error-message): Autoclose error message after 10 seconds
7 years ago
pajasevi
94ab470e5c
fix(better-error-message): Added max-width for long error messages, adjusted close icon size
7 years ago
JimmyMow
61b9b3aaf4
Merge pull request #117 from NahomAgidew/feature/copy-invoice-button
added button to copy invoice
7 years ago
JimmyMow
2e264f2d36
Merge pull request #132 from LN-Zap/fix/request-modal-after-creation
fix(invoice modal): transition to wallet route and open the invoice m…
7 years ago
Jack Mallers
b65169f054
fix(invoice modal): transition to wallet route and open the invoice modal on a newly created invoice
7 years ago
JimmyMow
024ef21158
Merge pull request #130 from LN-Zap/fix/wallet-loading
fix(wallet-loading): replace loading... copy with our bolt loader
7 years ago
Jack Mallers
8821dd7962
fix(wallet-loading): replace loading... copy with our bolt loader
7 years ago
JimmyMow
c27a1c3c82
Merge pull request #129 from pajasevi/feature/allow-submit-onEnter
Allow submitting peer on Enter key press
7 years ago
pajasevi
ca8027c747
feature(allow-submit-onEnter): Added keypress event to submit form on Enter
7 years ago
JimmyMow
a40bbfd587
Merge pull request #122 from Empact/enhance/network-graph
Make the network graph fill the available window space
7 years ago
JimmyMow
0f7cce65fa
Merge pull request #128 from LN-Zap/fix/neutrino.connect
fix(neutrino.connect): remove the faucet for now as it's behind
7 years ago
Jack Mallers
f1dadee5cc
fix(neutrino.connect): remove the faucet for now as it's behind
7 years ago
JimmyMow
1299188b54
Merge pull request #113 from Empact/fix/lints
Fix lints so that test-all runs green
7 years ago
Ben Woosley
301a03c588
enhance(network-graph): Make the network graph fill the available window space
Drop unused width/height state variables.
7 years ago
Ben Woosley
3829046857
fix(lints): Call d3 modifiers on the selection itself
Rather than iterating over the selection.
7 years ago
Ben Woosley
bb33bfe1cb
fix(flow): Add ps-node as a dev dependency
It's used by flow:
Launching Flow server for /.../zap-desktop
Spawned flow server (pid=46193)
Logs will go to /private/tmp/flow/zSUserszSbenzSDevelopmentzSBitcoinzSzZap-desktop.log
app/main.dev.js:18
18: import { lookup } from 'ps-node'
^^^^^^^^^ ps-node. Required module not found
Found 1 error
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! zap-desktop@0.0.1 flow: `flow`
npm ERR! Exit status 2
7 years ago
Ben Woosley
947cf70742
fix(lints): Move setState(simulationData) out of componentDidUpdate
Otherwise we force a second render for essentially every render.
7 years ago
Ben Woosley
fab2aeb07e
fix(lints): Sort network methods according to sort-comp
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-comp.md
7 years ago
Ben Woosley
1522cd00ae
fix(lints): Group all imports together
7 years ago
Ben Woosley
7ba78d629c
fix(lints): Use parens for explicit precedence
7 years ago
Ben Woosley
b6fe6c1c42
fix(lints): Consistently use no {} if not necessary in reducers
Eslint wants the args to be in () if the body is in {}, but we
don't need either in the case of receiveInvoiceAndQueryRoutes.
7 years ago
Ben Woosley
868f70759e
fix(lints): Don't return assignment in ref setters
7 years ago
Ben Woosley
e7c0902cbc
fix(lints): Drop unused import
7 years ago
Ben Woosley
58ce29a9d9
fix(lints): Wrap multiline jsx in parens
7 years ago
Ben Woosley
5d37b56245
fix(lints): Allow shadowing fetchBlockHeight in Root
Because the other use is the same method before being mapped to props
7 years ago
JimmyMow
aa715b0b1d
Merge pull request #121 from joaodealmeida/electron-update
Update electron and electron-builder to latest release.
7 years ago
João Almeida
8481c8108c
fix(update electron-build target for latest release when installing grpc)
7 years ago