Alessandro Ricottone
e81aa6073d
Resolve onion addresses ( #6869 )
...
* Resolve onion address
* npm i content-hash@latest
2019-07-23 16:59:20 -02:30
Mark Stacey
95f198550e
Declare variables before use ( #6806 )
...
While working on #6805 , I noticed that many variables were being used
before they were declared. Technically this worked fine in practice
because we were using the `transform-es2015-block-scoping` Babel plugin,
which transforms `let` and `const` to `var`, which is hoisted. However,
after removing that Babel transformation, many things broke.
All instances of variables or classes being used before declared have
been fixed.
The `no-use-before-define` eslint rule has been added to catch these
cases going forward. The rule is disabled for function declarations for
the moment, because those are always hoisted. We could disable that too
if we want to, but it's purely stylistic and would require a lot more
changes.
2019-07-05 14:01:34 -03:00
pldespaigne
9a658ee53d
merge
2019-05-30 18:22:55 +02:00
Whymarrh Whitby
094e4cf555
Check for unused function arguments ( #6583 )
...
* eslint: Check for unused function arguments
* eslint: Ignore unused '_' in argument list
Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly
* Remove and rename unused arguments
2019-05-08 15:51:33 -04:00
pldespaigne
2d58cfc7a0
refactor & change html pages
2019-05-04 18:57:19 +02:00
pldespaigne
987e58d103
add rinkeby & goerli
2019-05-04 18:56:45 +02:00
kumavis
2845398c3d
Refactor ProviderApprovalController to use rpc and publicConfigStore ( #6410 )
...
* Ensure home screen does not render if there are unapproved txs (#6501 )
* Ensure that the confirm screen renders before the home screen if there are unapproved txs.
* Only render confirm screen before home screen on mount.
* inpage - revert _metamask api to isEnabled isApproved isUnlocked
2019-05-03 13:32:05 -04:00
Dan J Miller
4fea9d0cc2
Send metrics event from backend for on chain transaction failures ( #6500 )
...
* Send metrics event from backend for on chain transaction failures
* Passes state object to backEndMetaMetricsEvent, and adds getMetaMetricState selector
2019-04-29 03:48:40 -02:30
Paul Bouchon
0db0a187c8
feature: add Goerli support ( #6459 )
2019-04-17 15:04:49 -02:30
pldespaigne
dc4c40414e
issue#5742
2019-04-04 17:15:57 +02:00
kumavis
89693a2315
metamask-controller - use improved provider-as-middleware utility
2019-04-04 22:11:28 +08:00
pldespaigne
b26a59dbbe
renaming registrar into registry
2019-04-04 14:07:24 +02:00
kumavis
c3a605f27a
Merge pull request #6328 from MetaMask/clearNotices
...
Clear notices
2019-03-29 14:23:02 +08:00
kumavis
e04f0c877b
lib - nodeify - correctly wrap synchronous functions
2019-03-29 12:37:40 +08:00
kumavis
e4b5556c05
buy-eth-url - lint fix
2019-03-29 10:53:46 +08:00
kumavis
2c3fc18573
buy-eth-url - fix variable name
2019-03-29 10:37:16 +08:00
kumavis
38b85adbe0
Merge branch 'develop' of https://github.com/vimalsagar/metamask-extension into vimalsagar-develop
2019-03-29 10:20:19 +08:00
kumavis
0ae68d1a61
getBuyEthUrl - getDefaultServiceForNetwork then switch on service
2019-03-29 10:03:35 +08:00
Dan J Miller
4ff9126ff2
Replaces the coinbase link in the deposit modal with one for wyre ( #6302 )
2019-03-22 12:32:07 -02:30
Josh Stevens
2aaec1d9fb
Stop reloading dapps on network change allowing dapps to decide if it should refresh or not ( #6330 )
...
* feat: `inpageProvider.autoRefreshOnNetworkChange` to allow dapps to control if it refreshes or not
* feat: check the `autoRefreshOnNetworkChange` before a refresh
* fix linting error
* fix: use `window.ethereum` now `web3.ethereum`
2019-03-21 12:42:23 -07:00
William Monti Souza
98699fbbc0
Fixes popups not showing when screen size is odd ( #6312 )
2019-03-17 18:30:51 -02:30
Whymarrh Whitby
ea34d3b0ff
Centre the notification in the current window ( #6307 )
2019-03-14 12:52:57 -05:00
Whymarrh Whitby
5bf8a36a87
Centre all notification popups
2019-03-12 11:37:14 -02:30
Paul Bouchon
daae155ce2
GABA: Integrate AddressBookController ( #5847 )
...
* gaba: integrate AddressBookController
* pin gaba version and update lockfile
2019-03-11 18:40:41 -10:00
Vimal
ab5fe4d659
PR 5575 review comment fixes
2019-02-28 19:50:48 +05:30
Jenny Pollack
c6e84ccf45
account tracker - update accounts from balanceChecker contract ( #6181 )
...
* account tracker - update accounts from balanceChecker contract
* fall back to getBalance if the contract query fails
2019-02-20 09:12:12 -10:00
S.C. Chen
1a4203a8c6
Fix locale codes contains underscore will never be preferred ( #6116 )
2019-02-08 16:06:37 -03:30
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
2018-11-16 14:54:55 -10:00
Vimal
6bb92a8672
merging upstream branch
2018-11-12 17:50:37 +05:30
kumavis
ccbc233282
Merge branch 'develop' of github.com:MetaMask/metamask-extension into sentry-enhancements2
2018-10-29 20:25:05 -04:00
Vimal
82b11b69a5
Adding CoinSwitch exchange
2018-10-22 16:44:21 +05:30
kumavis
6d09f60bbf
ens-ipfs - refactor for readability ( #5568 )
...
* ens-ipfs - refactor for readability
* ens-ipfs - use official ipfs gateway for better performance
* lint - remove unused code
* ens-ipfs - support path and search
* lint - gotta love that linter
* ens-ipfs - improve loading page formatting
* ens-ipfs - loading - redirect to 404 after 1 min timeout
* ens-ipfs - destructure for cleaner code
2018-10-21 05:48:15 -04:00
kumavis
73ec4e66cb
sentry - include app state in ui errors
2018-10-20 03:14:59 -04:00
kumavis
e3fda83ab2
sentry - replace raven-js with sentry/browser
2018-10-20 02:22:50 -04:00
kumavis
b85ae55cd5
fetch debugger - only append source stack if no stack is present
2018-10-19 06:42:53 -04:00
kumavis
3e3d4b9dde
sentry - failed txs - namespace txMeta for better readability
2018-10-19 05:30:21 -04:00
kumavis
26b30a031d
sentry - move isBrave decoration to insides of try-catch
2018-10-19 04:36:36 -04:00
kumavis
70c45ae8be
enable fetch debugging
2018-10-15 01:14:25 -04:00
Noel Yoo
ebdefe81a1
Refactor buffer constructor ( #5468 )
2018-10-09 09:32:48 -02:30
Eduardo Antuña Díez
8279916ee4
Added webRequest.RequestFilter to filter main_frame .eth requests
2018-10-08 21:50:15 +02:00
Phyrex Tsai
386110ef0f
fix tld bug ( #5250 )
2018-09-27 12:51:50 -02:30
Paul Bouchon
9359fc875d
EIP-1102: Add deprecation message ( #5353 )
2018-09-26 10:48:17 -04:00
bitpshr
42fdcf6239
Update new method namespace from v2 to v3
2018-09-13 15:42:27 -04:00
bitpshr
68c2554296
Update error message for chainId mis-match
2018-09-13 15:40:57 -04:00
bitpshr
36dd0354e7
Implement latest EIP-712 protocol
2018-09-13 15:40:57 -04:00
Dan Finlay
ce1975fbb4
Merge pull request #5240 from MetaMask/i5238-account-balance-update
...
Ensure account-tracker currentBlockNumber is set on first block update.
2018-09-11 14:31:10 -07:00
Whymarrh Whitby
d60991ec88
Delete ConfigManager, replacing its usages with PreferencesController
2018-09-11 09:39:16 -07:00
Dan Miller
eb32ccb0c7
Ensure account-tracker currentBlockNumber is set on first block update.
2018-09-11 12:51:49 -02:30
bitpshr
803a79f836
Do not resolve .test domains using ENS
2018-08-24 12:40:37 -04:00
kumavis
a2654108be
account-tracker - only track blocks when there are activeControllerConnections
2018-08-21 16:49:24 -07:00