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
38d9a97513
fix(eslint-flowtype-errors): Enable flowtype-errors linters
Including enforce-min-coverage set to the current lowest flow coverage.
7 years ago
Ben Woosley
e110e0112c
fix(eslint-flowtypes): Enable plugin:flowtype/recommended
Ignore all of flow-typed
The module_vx.x.x.js's purpose is mysterious and it's causing lint failures on
CI. Excluding it seems reasonable.
7 years ago
Ben Woosley
0e05b79664
fix(eslint-compat): Enable eslint compat rules
Note the compat rules enabled are based on browserlist in package.json
7 years ago
Ben Woosley
b3a4a3683c
fix(react-eslint): Enable the recommended react eslint rules
Previously was included but not enabled. The errors fixed are:
app/routes.js:9:16
✖ 9:16 Component definition is missing display name react/display-name
app/routes/contacts/components/Contacts.js:151:49
✖ 151:49 Missing "key" prop for element in iterator react/jsx-key
✖ 167:22 Missing "key" prop for element in iterator react/jsx-key
7 years ago
JimmyMow
337fe5ab52
Merge pull request #185 from LN-Zap/fix/payment-timeout
fix(payment): dont let sending a payment hang foevaaa
7 years ago
Jack Mallers
f6b413d7bb
fix(lint): fix lint errors
7 years ago
Jack Mallers
0f55af6129
fix(payment): setTimeout for 10 seconds after sending a payment. if LND hangs while sending a payment we wont show the loading screen forever lol we'll remove it and show an error after 10 seconds
7 years ago
JimmyMow
3e41a94a1d
Merge pull request #184 from LN-Zap/fix/contacts-form
Fix/contacts form
7 years ago
Jack Mallers
674d21b3e0
fix(contacts-form): show loading spinner next to manual form when there are loading channels so the user has some feedback from the manual form
7 years ago
Jack Mallers
ec0a692983
fix(contacts-form): by default show the first 20 nodes when opening the contacts form
7 years ago
Jack Mallers
a0838c87cd
fix(contacts-form): if there is an @ in the search we assume they are pasting pubkey@host format and ignore the host, searching only for the pubkey to the left of the @
7 years ago
JimmyMow
a558ea6852
Merge pull request #161 from Empact/enhance/block-explorer
Extract blockExplorer util
7 years ago
JimmyMow
c8746bf7e7
Merge pull request #172 from mkehlmann/fix/number-input-pinwheel
fix(number-input-pinwheel): Remove pinwheel arrows that were showing …
7 years ago
JimmyMow
45b793ec3f
Merge pull request #182 from LN-Zap/fix/resizable-app
Fix/resizable app
7 years ago
JimmyMow
2b39938359
Merge pull request #183 from dfattlar/fix/network-loading-css
fix(network-loading-css): Increase z-index on Form modal
7 years ago
dfat
6868bd34a7
fix(network-loading-css): Increase z-index on Form modal
7 years ago
Kehlmann, Matthew
73cc0b25e2
fix(number-input-pinwheel): Whitespace
7 years ago
Kehlmann, Matthew
a31bc0ef22
fix(number-input-pinwheel): Fix rebase merge error
7 years ago
Kehlmann, Matthew
54135e157a
Merge branch 'fix/number-input-pinwheel' of https://github.com/mkehlmann/zap-desktop into fix/number-input-pinwheel
7 years ago
Kehlmann, Matthew
a1bbd193f4
fix(number-input-pinwheel): Whitespace fix
7 years ago
Kehlmann, Matthew
fcf0ee2c70
fix(number-input-pinwheel): Use SASS ampersand to avoid repeating selector info
7 years ago
Kehlmann, Matthew
e0251399cd
fix(number-input-pinwheel): Remove pinwheel arrows that were showing in the amount field of the request and pay forms
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
JimmyMow
088da1adae
Merge branch 'master' into fix/number-input-pinwheel
7 years ago
JimmyMow
cb6e1b5bd1
Merge pull request #175 from Empact/fix/amount-error-msg
Move PayForm amount error message below the field
7 years ago
JimmyMow
af0654ff5d
Merge pull request #176 from Empact/fix/amount-input-width
Size the PayForm amount input to hold at least 2 chars
7 years ago
Ben Woosley
3b5e118a23
fix(amount-input-width): Size the PayForm amount input to hold at least 2 chars
Because the "." of "0." is not propagated via the JS, so not in the size of
the amount string.
7 years ago
Ben Woosley
335083886c
fix(payment-form-errors): Move PayForm amount error message below the field
This is consistent with the other field and avoids overlap formatting issues.
Fixes #174
7 years ago
Kehlmann, Matthew
a2a26b66c5
fix(number-input-pinwheel): Whitespace fix
7 years ago
JimmyMow
ad691f8348
Merge pull request #173 from Empact/fix/electron-settings
Drop ineffectual nodeintegration electron setting
7 years ago
Kehlmann, Matthew
3721b16efc
fix(number-input-pinwheel): Use SASS ampersand to avoid repeating selector info
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
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
Kehlmann, Matthew
ea5901e4e5
fix(number-input-pinwheel): Remove pinwheel arrows that were showing in the amount field of the request and pay forms
7 years ago
JimmyMow
0c0596fcf1
Merge pull request #165 from Empact/enhance/form-tests
Add some further testing to the PayForm and RequestForm
7 years ago
JimmyMow
a2179a1544
Merge pull request #170 from LN-Zap/fix/modal-close
fix(modal-close): move back to the thinner modal close icons
7 years ago
Jack Mallers
9344074e8a
fix(modal-close): move back to the thinner modal close icons
7 years ago
JimmyMow
ccb67a927b
Merge pull request #166 from LN-Zap/feature/friends
Feature/friends
7 years ago
Jack Mallers
19a86be5df
fix(lint): fix linting errors
7 years ago
Jack Mallers
c8f02c3516
commit
Merge branch 'feature/friends' of https://github.com/LN-Zap/zap-desktop into feature/friends
7 years ago
Jack Mallers
c668757522
fix(pending-contacts): remove time estimate for pending contacts as blocks_till_open was removed from LND
7 years ago
Jack Mallers
200b8cad09
fix(contacts): force close offline contacts
7 years ago
JimmyMow
16432cc720
Merge pull request #169 from Empact/feature/friends
Fix some whitespace lint errors on the friends feature
7 years ago
Jack Mallers
aae03bedb4
merging branches
Merge branch 'feature/friends' of https://github.com/LN-Zap/zap-desktop into feature/friends
7 years ago
Jack Mallers
e4f10a568c
fix(tests): fix nav tests as we have new nav links
7 years ago
Jack Mallers
962d79bb88
fix(lint): fix linting errors
7 years ago
Jack Mallers
4f97d1311b
fix(lint): fix lint errors
7 years ago
Jack Mallers
e994b3481d
fix(contacts): hard code 1 conf for channels
7 years ago