Alessandro Ricottone
e81aa6073d
Resolve onion addresses ( #6869 )
...
* Resolve onion address
* npm i content-hash@latest
5 years ago
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.
5 years ago
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
6 years ago
pldespaigne
2d58cfc7a0
refactor & change html pages
6 years ago
pldespaigne
987e58d103
add rinkeby & goerli
6 years ago
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
6 years ago
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
6 years ago
Paul Bouchon
0db0a187c8
feature: add Goerli support ( #6459 )
6 years ago
pldespaigne
dc4c40414e
issue#5742
6 years ago
kumavis
89693a2315
metamask-controller - use improved provider-as-middleware utility
6 years ago
pldespaigne
b26a59dbbe
renaming registrar into registry
6 years ago
kumavis
e04f0c877b
lib - nodeify - correctly wrap synchronous functions
6 years ago
kumavis
e4b5556c05
buy-eth-url - lint fix
6 years ago
kumavis
2c3fc18573
buy-eth-url - fix variable name
6 years ago
kumavis
0ae68d1a61
getBuyEthUrl - getDefaultServiceForNetwork then switch on service
6 years ago
Dan J Miller
4ff9126ff2
Replaces the coinbase link in the deposit modal with one for wyre ( #6302 )
6 years ago
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`
6 years ago
William Monti Souza
98699fbbc0
Fixes popups not showing when screen size is odd ( #6312 )
6 years ago
Whymarrh Whitby
ea34d3b0ff
Centre the notification in the current window ( #6307 )
6 years ago
Whymarrh Whitby
5bf8a36a87
Centre all notification popups
6 years ago
Paul Bouchon
daae155ce2
GABA: Integrate AddressBookController ( #5847 )
...
* gaba: integrate AddressBookController
* pin gaba version and update lockfile
6 years ago
Vimal
ab5fe4d659
PR 5575 review comment fixes
6 years ago
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
6 years ago
S.C. Chen
1a4203a8c6
Fix locale codes contains underscore will never be preferred ( #6116 )
6 years ago
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
6 years ago
Vimal
82b11b69a5
Adding CoinSwitch exchange
6 years ago
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
6 years ago
kumavis
73ec4e66cb
sentry - include app state in ui errors
6 years ago
kumavis
e3fda83ab2
sentry - replace raven-js with sentry/browser
6 years ago
kumavis
b85ae55cd5
fetch debugger - only append source stack if no stack is present
6 years ago
kumavis
3e3d4b9dde
sentry - failed txs - namespace txMeta for better readability
6 years ago
kumavis
26b30a031d
sentry - move isBrave decoration to insides of try-catch
6 years ago
kumavis
70c45ae8be
enable fetch debugging
6 years ago
Noel Yoo
ebdefe81a1
Refactor buffer constructor ( #5468 )
6 years ago
Eduardo Antuña Díez
8279916ee4
Added webRequest.RequestFilter to filter main_frame .eth requests
6 years ago
Phyrex Tsai
386110ef0f
fix tld bug ( #5250 )
6 years ago
Paul Bouchon
9359fc875d
EIP-1102: Add deprecation message ( #5353 )
6 years ago
bitpshr
42fdcf6239
Update new method namespace from v2 to v3
6 years ago
bitpshr
68c2554296
Update error message for chainId mis-match
6 years ago
bitpshr
36dd0354e7
Implement latest EIP-712 protocol
6 years ago
Whymarrh Whitby
d60991ec88
Delete ConfigManager, replacing its usages with PreferencesController
6 years ago
Dan Miller
eb32ccb0c7
Ensure account-tracker currentBlockNumber is set on first block update.
6 years ago
bitpshr
803a79f836
Do not resolve .test domains using ENS
6 years ago
Esteban MIno
053e262ae7
delete web3.metamassk.watchAsset
6 years ago
Esteban MIno
56bed3f1bc
expose web3.metamask.watchAsset
6 years ago
kumavis
a2654108be
account-tracker - only track blocks when there are activeControllerConnections
6 years ago
Dan Finlay
6ce119d1fb
Move inpage-provider and port-stream outside
...
With the creation of the [metamask-extension-provider](https://github.com/MetaMask/metamask-extension-provider ) we have our first non-core module that is dependent on the inpage-provider and port-stream.
To reduce the size of its dependencies, I have moved the
[metamask-inpage-provider](https://github.com/MetaMask/metamask-inpage-provider ) into its own module, as well as [extension-port-stream](https://github.com/MetaMask/extension-port-stream ).
This allows them to be more easily depended & iterated on by external
projects.
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
brunobar79
8f9a0a535c
clean up
6 years ago
brunobar79
e6d64cecf8
message signing works
6 years ago