aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
Commit message (Collapse)AuthorAgeFilesLines
* New notification fixes (#6955)Dan J Miller2019-08-031-4/+27
| | | | | | | | | | | | | | | | | | | | * Replace use of backup-notification with use of home notification * Pin notifications relative to window * Remove unneeded isRequired condition on some home.component properties * Refactor rendering of home notifications * UX for multiple notifications * Adds dismissal to provider request notification. * Fix test failures The e2e tests have been updated to reference `home-notification` classnames instead of the removed `background-notification`. The active tab proptypes and default values were updated as well.
* Restrict unconnected notice to specific protocols (#6954)Mark Stacey2019-08-031-2/+2
| | | | | | | | | | | | | | | | | The notice asking whether you wanted to connect to a site was showing up in places it shouldn't, like on the Firefox/Chrome settings pages and on our fullscreen extension. It has now been restricted to only be displayed for active tabs with specific protocols: * http * https * dat * dweb * ipfs * ipns * ssb This prevents the notice from being shown on settings pages, browser extensions, and files such as PDFs.
* Add migration to remove `seedWords` state (#6937)Mark Stacey2019-08-021-0/+28
| | | | | | | | The `seedWords` state was removed from the PreferencesController recently in #6920. That state hadn't been used in some time, and there was a long period during which `seedWords` was periodically scrubbed from the state, so it's highly unlikely that it still exists in state for most users. It's hard to guarantee that it _doesn't_ though, especially if a user hasn't opened MetaMask in a few months.
* I5849 incremental account security (#6874)Dan J Miller2019-08-022-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | * Implements ability to defer seed phrase backup to later * Adds incremental-security.spec.js, including test dapp that sends signed tx with stand alone localhost provider * Update metamask-responsive-ui for incremental account security changes * Update backup-notification style and fix responsiveness of seed phrase screen * Remove uneeded files from send-eth-with-private-key-test/ * Apply linguist flags in .gitattributes for send-eth-with-private-key-test/ethereumjs-tx.js * Improve docs in controllers/onboarding.js * Clean up metamask-extension/test/e2e/send-eth-with-private-key-test/index.html * Remove unnecessary newlines in a couple first-time-flow/ files * Fix import of backup-notification in home.component * Fix git attrs file
* Default Privacy Mode to ON, allow force sharing address (#6904)Whymarrh Whitby2019-08-017-112/+221
|
* Enable indent linting via ESLint (#6936)Whymarrh Whitby2019-08-0120-185/+185
| | | | | | * Enable indent linting via ESLint * yarn run lint:fix
* Address book send plus contact list (#6914)Dan J Miller2019-08-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Style Send Header * Move Send to-row to send view and restyle * Add "Recents" group to select recipient view * Rename SendToRow to AddRecipient * Basic UI and Layout * New ENSInput component * wip - fuzzy search for input * small refactor * Add Dialog * contact list initial * initial error on invalid address * clean up edit * Click to open modal * Create AddToAddressBookModal component * Modal styling and layout * modal i18n * Add to Addressbook * ens wip * ens wip * ENS Resolution * Reset input * Send to explicit address * Happy Path Complete * Add back error checking * Reset send-to when emptying input * Add back warning object * Fix linter * Fix unit test #1 - fix import paths * Remove dead tests * One more to go * Fix all unit tests * add unit test for reducers and actions * test rendering AddRecipient * Add tests for dialog boxes in AddRecipient * Add test for validating * Fix linter * Fix e2e tests * Token send e2e fix * Style View Contact * Style edit-contact * Fix e2e * Fix from-import-beta-ui e2e spec * Make section header say "add recipient” by default * Auto-focus add recipient input * Update placeholder text * Update input title font size * Auto advance to next step if user paste a valid address * Ellipsify address when recipient is selected * Fix app header background color on desktop * Give each form row a margin of 16px * Use .container/.component naming pattern for ens-input * Auto-focus on input when add to addressbook modal is opened; Save on Enter * Fix and add unit test * Fix selectors name in e2e tests * Correct e2e test token amount for address-book-send changes * Adds e2e test for editing a transaction * Delete test/integration/lib/send-new-ui.js * Add tests for amount max button and high value error on send screen to test/e2e/metamask-ui.spec.js * lint and revert to address as object keys * add chainId based on current network to address book entry * fix test * only display contacts for the current network * Improve ENS message when not found on current network * Add error to indicate when network does not support ENS * bump gaba * address book, resolve comments * Move contact-list to its own component * De-duplicate getaddressbook selector and refactor name selection logic in contact-list-tab/ * Use contact-list component in contact-list-tab.component (i.e. in settings) * Improve/fix settings headers for popup and browser views * Lint fixes related to address book updates * Add 'My accounts' page to settings address book * Update add new contact button in settings to match floating circular design * Improve styles of view contact page * Improve styles and labels of the add-contact.component * Further lint fixes related to address book updates * Update unit tests as per address book updates * Ensure that contact list groups are sorted alphabetically * Refactor settings component to use a container for connection to redux; allow display of addressbook name in settings header * Decouple ens-input.component from send context * Add ens resolution to add contact screen in settings * Switching networks when an ens address is shown on send form removes the ens address. * Resolve send screen search for ensAddress to matching address book entry if it exists * Show resolved ens icon and address if exists (settings: add-contact.component) * Make the displayed and copied address in view-contact.component the checksummed address * Default alias state prop in AddToAddressBookModal to empty string * Use keyCode to detect enter key in AddToAddressBookModal * Ensure add-contact component properly updates after QR code detection * Fix display of all recents after clicking 'Load More' in contact list * Fix send screen contact searching after network switching * Code cleanup related to address book changes * Update unit tests for address book changes * Update ENS name not found on network message * Add ens registration error message * Cancel on edit mode takes user back to view screen * Adds support for memo to settings contact list view and edit screens * Modify designs of edit and view contact in popup environment * Update settings content list UX to show split columns in fullscreen and proper internal navigation * Correct background address book API usages in UI
* Fix casing of Etherscan (#6927)Whymarrh Whitby2019-07-291-4/+4
|
* Remove `seedWords` completely from metamask state (#6920)Mark Stacey2019-07-263-44/+0
| | | | | | | | | | | | | | | | `seedWords` used to be stored on the metamask state temporarily at certain points. This hasn't been the case since #5994, but references to this state remained. All of the logic remained for correctly updating these `seedWords`, handling them during navigation, and scrubbing them from the state. However the state was never updated in practice. The `seedWords` are still returned by `verifySeedPhrase`, and they're still stored in component state in a few places. But they aren't ever set in the Redux metadata state or the Preferences controller. All references to this state have been removed, along with any logic for interacting with this state. A few unused actions were removed as well.
* Remove unused `unlockAccountMessage` callback (#6905)Mark Stacey2019-07-251-1/+0
| | | This callback has been unused for a long time. It was removed in #1076
* Check balance before testing it w/ isZero (#6898)Whymarrh Whitby2019-07-241-1/+1
|
* Resolve onion addresses (#6869)Alessandro Ricottone2019-07-241-0/+2
| | | | | * Resolve onion address * npm i content-hash@latest
* Serve CSS as an external file (#6894)Mark Stacey2019-07-241-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CSS is now served as an external file instead of being injected. This was done to improve performance. Ideally we would come to a middle ground between this and the former behaviour by injecting only the CSS that was required for the initial page load, then lazily loading the rest. However that change would be more complex. The hope was that making all CSS external would at least be a slight improvement. Performance metrics were collected before and after this change to determine whether this change actually helped. The metrics collected were the timing events provided by Chrome DevTools: * DOM Content Loaded (DCL) [1] * Load (L) [2] * First Paint (FP) [3] * First Contentful Paint (FCP) [3] * First Meaningful Paint (FMP) [3] Here are the results (units in milliseconds): Injected CSS: | Run | DCL | L | FP | FCP | FMP | | :--- | ---: | ---: | ---: | ---: | ---: | | 1 | 1569.45 | 1570.97 | 1700.36 | 1700.36 | 1700.36 | | 2 | 1517.37 | 1518.84 | 1630.98 | 1630.98 | 1630.98 | | 3 | 1603.71 | 1605.31 | 1712.56 | 1712.56 | 1712.56 | | 4 | 1522.15 | 1523.72 | 1629.3 | 1629.3 | 1629.3 | | **Min** | 1517.37 | 1518.84 | 1629.3 | 1629.3 | 1629.3 | | **Max** | 1603.71 | 1605.31 | 1712.56 | 1712.56 | 1712.56 | | **Mean** | 1553.17 | 1554.71 | 1668.3 | 1668.3 | 1668.3 | | **Std. dev.** | 33.41 | 33.43 | 38.16 | 38.16 | 38.16 | External CSS: | Run | DCL | L | FP | FCP | FMP | | :--- | ---: | ---: | ---: | ---: | ---: | | 1 | 1595.4 | 1598.91 | 284.97 | 1712.86 | 1712.86 | | 2 | 1537.55 | 1538.99 | 199.38 | 1633.5 | 1633.5 | | 3 | 1571.28 | 1572.74 | 268.65 | 1677.03 | 1677.03 | | 4 | 1510.98 | 1512.33 | 206.72 | 1607.03 | 1607.03 | | **Min** | 1510.98 | 1512.33 | 199.38 | 1607.03 | 1607.03 | | **Max** | 1595.4 | 1598.91 | 284.97 | 1712.86 | 1712.86 | | **Mean** | 1553.8025 | 1555.7425 | 239.93 | 1657.605 | 1657.605 | | **Std. dev.** | 29.5375 | 30.0825 | 36.88 | 37.34 | 37.34 | Unfortunately, using an external CSS file made no discernible improvement to the overall page load time. DCM and L were practically identical, and FCP and FMP were marginally better (well within error margins). However, the first paint time was _dramatically_ improved. This change seems worthwhile for the first paint time improvement alone. It also allows us to delete some code and remove a dependency. The old `css.js` module included two third-party CSS files as well, so those have been imported into the main Sass file. This was easier than bundling them in the gulpfile. The resulting CSS bundle needs to be served from the root because we're using a few `@include` rules that make this assumption. We could move this under `/css/` if desired, but we'd need to update each of these `@include` rules. Relates to #6646 [1]: https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded [2]: https://developer.mozilla.org/en-US/docs/Web/Events/load [3]: https://developers.google.com/web/fundamentals/performance/user-centric-performance-metrics
* Replace deprecated Chrome API (#6895)Mark Stacey2019-07-241-1/+1
| | | | | | | The function `chrome.extension.getURL` has been deprecated since Chrome 58 [1]. It is completely equivalent to `chrome.runtime.getURL`, which has been around since Chrome 31. [1]: https://developer.chrome.com/extensions/extension#method-getURL
* Address resubmit bug (#6886)Dan Finlay2019-07-191-0/+12
| | | | | | | | | | | | * Add some notes * Add explanatory comment and TODO * Typo * Improve verbage * Remove contextual comment
* Abstract domain provider from its stream transport (#6670)Dan Finlay2019-07-161-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Abstract domain provider from its stream transport Creating new provider-consuming extensions, like [a new platform](https://github.com/MetaMask/metamask-extension/blob/develop/docs/porting_to_new_environment.md) can be frustrating for new contributors because our provider construction has been tangled with our streaming interface. Here I've broken up our streaming domain connection from the provider construction, so developers can more easily construct local and domain-restricted providers without dealing with streams. * Abstract public API from stream interface * clean up noop * Document non-streaming interface * getSiteMetadata must be async * Clean up filters on stream end * Document cleaning up filters * Allow named filterMiddleware to be cleaned up * Linted * Require site metadata * Destroy any destroyable middleware during cleanup * Lint
* Remove Drizzle tests (#6855)Mark Stacey2019-07-161-1/+1
| | | | | | | The Drizzle tests have not been used for some time. They were used to ensure compatibility with newer versions of `web3` v1. If we want to re-add tests to ensure compatibility with newer `web3` versions, we should find some way of doing that more reliably than was done here - these tests were somewhat flaky and unreliable.
* Merge pull request #6832 from MetaMask/master-rebasedThomas Huang2019-07-131-0/+18
|\ | | | | Master rebased
| * Version 6.7.2 gas limit fix (#6786)Dan J Miller2019-07-051-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce delay for eth_estimateGas calls with in test * Add test that fails when gas estimates of contract method calls without gas are too high. * Get transaction gas data from unApprovedTxs instead of confirmTransaction * Fix selection of gas data in gas-modal-page-container.container * Lint changes related to Version-6.7.2-gasLimitFix * Fix e2e tests on Version-6.7.2-gasLimitFix * Fix unit and integration tests for changes from Version-6.7.2-gasLimitFix * more e2e fixes * Add assertions for transaction values on confirm screen * Fix display of transaction amount on confirm screen.
* | Rename accountManager usages (#6790)Whymarrh Whitby2019-07-112-9/+9
| | | | | | | | Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* | Declare variables before use (#6806)Mark Stacey2019-07-062-50/+52
|/ | | | | | | | | | | | | | | | 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.
* Remove UiMigrationAnnouncement and associated state (#6794)Whymarrh Whitby2019-07-042-10/+0
|
* Update asmcrypto.js to latest version (#6767)Mark Stacey2019-07-031-1/+3
| | | | | | | | | | | | This silences a warning message that was printed to the console whenever this module was loaded during tests. The API changes between these two versions were reviewed carefully for differences. The only difference made was to `PBKDF2_HMAC_SHA256.bytes`, which was replaced by `Pbkdf2HmacSha256`. The length argument no longer has a default value, so it has been set to match what the default value was in the previous version we used, which is 32 (the SHA256 hash size).
* Validate txParams in TransactionStateManager.addTx (#6713)Akshit Kr Nagpal2019-06-291-6/+20
| | | | | | | | * Normalize and Validate txParams in TransactionStateManager.addTx too * Added Tests * Updated normalizeAndValidateParams to return the new txParams
* transactions - always hexprefix txParams on update; fixes #6724frankiebee2019-06-192-8/+6
|
* feature: integrate gaba/CurrencyRateController (#6570)Paul Bouchon2019-06-013-226/+13
|
* bugfix: reject enable promise on user rejectionbitpshr2019-06-011-2/+2
|
* mergepldespaigne2019-05-3134-982/+620
|\
| * transactions/deps - use broken out nonce-tracker module (#6555)Frankie2019-05-212-162/+1
| |
| * bugfix: show extension window if locked regardless of approvalbitpshr2019-05-161-1/+2
| |
| * drop transactions who's nonce is lower then the known network nonce but were ↵Frankie2019-05-162-8/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not included in a block (#6388) * transactions/pending - check nonce against the network and mark as dropped if not included in a block * transactions/pending - unifiy "dropped" txs * transactions/pending - test - fix for new expected behavior * fix comment * transactions/pending - clean up dropped event * fix spelling Co-Authored-By: frankiebee <frankie.diamond@gmail.com> * nit fix * test/tx-pending - clarify test description
| * Fixes bugs in 6.5.1 (#6613)Bruno Barbieri2019-05-151-1/+1
| | | | | | | | | | | | * fix bg error * fix ui exception
| * feature: integrate gaba/ShapeShiftController (#6569)Paul Bouchon2019-05-152-187/+5
| |
| * Set a default value for code in _determineTransactionCategory (#6604)Dan J Miller2019-05-152-13/+13
| | | | | | | | | | | | | | | | | | | | * Set a default value for code in _determineTransactionCategory * Adds e2e tests that fail when token txs without gas param are not properly handled. * Adds unit tests for _determineTransactionCategory * Base error throwing and simple gas setting in estimateTxGas on transactionCategory
| * Update auto-logout to recognize idle time in background (#6593)Whymarrh Whitby2019-05-142-0/+85
| | | | | | | | | | | | * Fix wording of autoLogoutTimeLimitDescription * AppStateController and update auto-logout functionality
| * Merge pull request #6568 from MetaMask/feature/gaba-phishing-controllerThomas Huang2019-05-112-143/+8
| |\ | | | | | | feature: integrate gaba/PhishingController
| | * feature: integrate gaba/PhishingControllerbitpshr2019-05-092-143/+8
| | |
| * | New settings custom rpc form (#6490)Dan J Miller2019-05-103-24/+25
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add networks tab to settings, with header. * Adds network list to settings network tab. * Adds form to settings networks tab and connects it to network list. * Network tab: form adding and editing working * Settings network form properly handles input errors * Add translations for settings network form * Clean up styles of settings network tab. * Add popup-view styles and behaviour to settings network tab. * Fix save button on settings network form * Adds 'Add Network' button and addMode to settings networks tab * Lint fix for settings networks tab addition * Fix navigation in settings networks tab. * Editing an rpcurl in networks tab does not create new network, just changes rpc of old * Fix layout of settings tabs other than network * Networks dropdown 'Custom Rpc' item links to networks tab in settings. * Update settings sidebar networks subheader. * Make networks tab buttons width consistent with input widths in extension view. * Fix settings screen subheader height in popup view * Fix height of add networks button in popup view * Add optional label to chainId and symbol form labels in networks setting tab * Style fixes for networks tab headers * Add ability to customize block explorer used by custom rpc * Stylistic improvements+fixes to custom rpc form. * Hide cancel button. * Highlight and show network form of provider by default. * Standardize network subheader name to 'Networks' * Update e2e tests for new settings network form * Update unit tests for new rpcPrefs prop * Extract blockexplorer url construction into method. * Fix broken styles on non-network tabs in popup mode * Fix block explorer url links for cases when provider in state has not been updated. * Fix vertical spacing of network form * Don't allow click of save button on network form if nothing has changed * Ensure add network button is shown in popup view * Lint fix for networks tab * Fix block explorer url preference setting. * Fix e2e tests for custom blockexplorer in account details modal changes. * Update integration test states to include frequentRpcList property * Fix some capitalizations in en/messages.json * Remove some console.logs added during custom rpc form work * Fix external account link text and url for modal and dropdown. * Documentation, url validation, proptype required additions and lint fixes on network tab and form.
| * Check for unused function arguments (#6583)Whymarrh Whitby2019-05-099-16/+15
| | | | | | | | | | | | | | | | | | | | * 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
| * Adds a transactionCategory to txMeta for use in UI (#6567)Dan J Miller2019-05-092-7/+59
| | | | | | | | | | | | * Adds a transactionCategory to txMeta for use in UI * Update transaction controller and tx-gas-util documentation on new code param in multiple functions.
| * Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410)kumavis2019-05-0412-387/+278
| | | | | | | | | | | | | | | | | | | | * 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
| * Include token checksum address in prices lookup for token rates (#6526)Thomas Huang2019-05-011-1/+3
| |
| * Send metrics event from backend for on chain transaction failures (#6500)Dan J Miller2019-04-293-1/+52
| | | | | | | | | | | | * Send metrics event from backend for on chain transaction failures * Passes state object to backEndMetaMetricsEvent, and adds getMetaMetricState selector
| * Opens the original webpage from where installation of MetaMask was re… (#6272)Sneh Koul2019-04-252-0/+7
| | | | | | | | | | | | | | | | | | | | * Opens the original webpage from where installation of MetaMask was requested * Asking for dynamic permissions * code for forwarder/without extra permissions * Lint fix for onboardingComplete message sending code.
| * feature: add Goerli support (#6459)Paul Bouchon2019-04-186-2/+23
| |
| * Merge pull request #6444 from MetaMask/localhost-network-dropdownThomas Huang2019-04-171-2/+2
| |\ | | | | | | Fixes #6321 & #6421 - Add Localhost 8545 for network dropdown names
| | * Set rpcTarget, nickname, and ticker when selecting one of the default networksThomas Huang2019-04-171-2/+2
| | |
| * | feature: switch token pricing to CoinGecko API (#6424)Paul Bouchon2019-04-111-8/+8
| |/
| * Don't inject web3 on sharefile.comWhymarrh Whitby2019-04-101-0/+1
| |
| * Merge pull request #6401 from MetaMask/provider-error-fixkumavis2019-04-052-18/+2
| |\ | | | | | | metamask-controller - use improved provider-as-middleware utility
| | * metamask-controller - use improved provider-as-middleware utilitykumavis2019-04-042-18/+2
| | |
| * | Merge pull request #6406 from MetaMask/remove-user-actions-controllerJenny Pollack2019-04-051-17/+0
| |\ \ | | |/ | |/| remove user actions controller
| | * remove user actions controllerJenny Pollack2019-03-261-17/+0
| | |
* | | refactor & change html pagespldespaigne2019-05-051-14/+6
| | |
* | | add rinkeby & goerlipldespaigne2019-05-051-0/+6
| | |
* | | issue#5742pldespaigne2019-04-043-26/+42
| | |
* | | renaming registrar into registrypldespaigne2019-04-042-8/+8
|/ /
* | Remove NoticeController (#6382)Thomas Huang2019-04-025-129/+34
| |
* | Merge pull request #6364 from MetaMask/prevent-infura-requests-e2e-testsWhymarrh Whitby2019-03-291-2/+10
|\ \ | | | | | | Prevent infura requests in e2e tests
| * | Default to localhost network when running e2e testsDan Miller2019-03-291-2/+10
| | |
* | | Merge pull request #6328 from MetaMask/clearNoticeskumavis2019-03-293-3/+25
|\ \ \ | | | | | | | | Clear notices
| * | | notice-controller - make markAllNoticesRead synckumavis2019-03-291-1/+1
| | | |
| * | | lib - nodeify - correctly wrap synchronous functionskumavis2019-03-291-3/+12
| | | |
| * | | notices - markAllNoticesRead - use async/awaitkumavis2019-03-292-15/+10
| | | |
| * | | Merge branch 'develop' into clearNoticeskumavis2019-03-295-3/+13
| |\| |
| * | | Clear notices when setCompletedOnboarding is calledThomas Huang2019-03-212-0/+18
| | | |
* | | | buy-eth-url - lint fixkumavis2019-03-291-1/+1
| | | |
* | | | buy-eth-url - fix variable namekumavis2019-03-291-2/+2
| | | |
* | | | Merge branch 'develop' of https://github.com/vimalsagar/metamask-extension ↵kumavis2019-03-291-14/+27
|\ \ \ \ | |_|/ / |/| | | | | | | into vimalsagar-develop
| * | | getBuyEthUrl - getDefaultServiceForNetwork then switch on servicekumavis2019-03-291-23/+29
| | | |
| * | | PR 5575 review comment fixesVimal2019-02-281-23/+24
| | | |
| * | | merging upstream branchVimal2018-11-1226-313/+1025
| |\ \ \
| * | | | Adding CoinSwitch exchangeVimal2018-10-221-0/+4
| | | | |
* | | | | enable privacy mode for first time users (#6347)Thomas Huang2019-03-261-1/+3
| |_|_|/ |/| | |
* | | | Replaces the coinbase link in the deposit modal with one for wyre (#6302)Dan J Miller2019-03-221-1/+1
| | | |
* | | | Folder restructure (#6304)Chi Kei Chan2019-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove ui/app/keychains/ * Remove ui/app/img/ (unused images) * Move conversion-util to helpers/utils/ * Move token-util to helpers/utils/ * Move /helpers/*.js inside /helpers/utils/ * Move util tests inside /helpers/utils/ * Renameand move confirm-transaction/util.js to helpers/utils/ * Move higher-order-components to helpers/higher-order-components/ * Move infura-conversion.json to helpers/constants/ * Move all utility functions to helpers/utils/ * Move pages directory to top-level * Move all constants to helpers/constants/ * Move metametrics inside helpers/ * Move app and root inside pages/ * Move routes inside helpers/ * Re-organize ducks/ * Move reducers to ducks/ * Move selectors inside selectors/ * Move test out of test folder * Move action, reducer, store inside store/ * Move ui components inside ui/ * Move UI components inside ui/ * Move connected components inside components/app/ * Move i18n-helper inside helpers/ * Fix unit tests * Fix unit test * Move pages components * Rename routes component * Move reducers to ducks/index * Fix bad path in unit test
* | | | Stop reloading dapps on network change allowing dapps to decide if it should ↵Josh Stevens2019-03-222-0/+8
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* | | Fixes popups not showing when screen size is odd (#6312)William Monti Souza2019-03-181-2/+2
| | |
* | | Centre the notification in the current window (#6307)Whymarrh Whitby2019-03-151-4/+3
| | |
* | | Centre all notification popupsWhymarrh Whitby2019-03-121-5/+10
| | |
* | | mascara - remove from project (#6283)kumavis2019-03-121-1/+0
| | |
* | | GABA: Integrate AddressBookController (#5847)Paul Bouchon2019-03-123-109/+8
| | | | | | | | | | | | | | | | | | * gaba: integrate AddressBookController * pin gaba version and update lockfile
* | | Nonmultiple notifications for batch txsThomas Huang2019-03-121-1/+1
| | |
* | | Metametrics (#6171)Dan J Miller2019-03-052-1/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add metametrics provider and util. * Add backend api and state for participating in metametrics. * Add frontend action for participating in metametrics. * Add metametrics opt-in screen. * Add metametrics events to first time flow. * Add metametrics events for route changes * Add metametrics events for send and confirm screens * Add metametrics events to dropdowns, transactions, log in and out, settings, sig requests and main screen * Ensures each log in is measured as a new visit by metametrics. * Ensure metametrics is called with an empty string for dimensions params if specified * Adds opt in metametrics modal after unlock for existing users * Adds settings page toggle for opting in and out of MetaMetrics * Switch metametrics dimensions to page level scope * Lint, test and translation fixes for metametrics. * Update design for metametrics opt-in screen * Complete responsive styling of metametrics-opt-in modal * Use new chart image on metrics opt in screens * Incorporate the metametrics opt-in screen into the new onboarding flow * Update e2e tests to accomodate metametrics changes * Mock out metametrics network requests in integration tests * Fix tx-list integration test to support metametrics provider. * Send number of tokens and accounts data with every metametrics event. * Update metametrics event descriptor schema and add new events. * Fix import tos bug and send gas button bug due to metametrics changes. * Various small fixes on the metametrics branch. * Add origin custom variable type to metametrics.util * Fix names of onboarding complete actions (metametrics). * Fix names of Metrics Options actions (metametrics). * Clean up code related to metametrics. * Fix bad merge conflict resolution and improve promise handling in sendMetaMetrics event and confrim tx base * Don't send a second metrics event if user has gone back during first time flow. * Collect metametrics on going back from onboarding create/import. * Add missing custom variable constants for metametrics * Fix metametrics provider * Make height of opt-in modal responsive. * Adjust text content for opt-in modal. * Update metametrics event names and clean up code in opt-in-modal * Put phishing warning step next to last in onboarding flow * Link terms of service on create and import screens of first time flow * Add subtext to options on the onboarding select action screen. * Fix styling of bullet points on end of onboarding screen. * Combine phishing warning and congratulations screens. * Fix placement of users if unlocking after an incomplete onboarding import flow. * Fix capitalization in opt-in screen * Fix last onboarding screen translations * Add link to 'Learn More' on the last screen of onboarding * Code clean up: metametrics branch * Update e2e tests for phishing warning step removal * e2e tests passing on metametrics branch * Different tracking urls for metametrics on development and prod
* | | SimplifyThomas Huang2019-03-051-1/+1
| | |
* | | ImprovementThomas Huang2019-03-011-1/+1
| | |
* | | Show popup if notification or activeMMtab is true but not if popup is openThomas Huang2019-03-011-1/+1
| | |
* | | Feature Flag + Mobile Sync (#5955)Dan Finlay2019-02-262-1/+70
| | |
* | | account tracker - update accounts from balanceChecker contract (#6181)Jenny Pollack2019-02-213-3/+70
| | | | | | | | | | | | | | | | | | * account tracker - update accounts from balanceChecker contract * fall back to getBalance if the contract query fails
* | | EIP-1193: standard provider API (#6170)Paul Bouchon2019-02-209-23/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EIP-1193: Implement new provider API * EIP-1193: Updated implementation * Remove test file * Fix tests * Update ping check * Update logic * PR feedback
* | | Bring Popup to front when ui is tiggeredChi Kei Chan2019-02-191-1/+1
| | |
* | | Fix inpage.js event handler memory leak (#6177)Graham Kaemmer2019-02-191-4/+5
| | | | | | | | | Fixes #6176
* | | Merge pull request #6137 from whymarrh/es6-backgroundWhymarrh Whitby2019-02-148-32/+32
|\ \ \ | | | | | | | | Sprinkle ES6 onto background files
| * | | Update popup-core script to use ES6 destructuring, const, letWhymarrh Whitby2019-02-121-6/+6
| | | |
| * | | Update platforms/extension to use ES6 destructuring requiresWhymarrh Whitby2019-02-121-1/+1
| | | |
| * | | Update phishing-detect script to use ES6 destructuring requiresWhymarrh Whitby2019-02-121-1/+1
| | | |
| * | | Update NoticesController to use ES6 destructuring, const, letWhymarrh Whitby2019-02-121-3/+3
| | | |
| * | | Update MetaMaskController to use ES6 destructuring, const, letWhymarrh Whitby2019-02-121-5/+5
| | | |
| * | | Fix all "var used instead of let or const" problems in inpage.jsWhymarrh Whitby2019-02-121-4/+4
| | | |
| * | | Update contentscript to use ES6 destructuring, const, letWhymarrh Whitby2019-02-121-5/+5
| | | |
| * | | Fix all "var used instead of let or const" problems in background.jsWhymarrh Whitby2019-02-121-7/+7
| | | |
* | | | fix typofrankiebee2019-02-131-4/+4
| | | |
* | | | recent-blocks - dont listen for block when on infura providersfrankiebee2019-02-123-4/+30
|/ / /
* | | Fix locale codes contains underscore will never be preferred (#6116)S.C. Chen2019-02-091-4/+11
| | |
* | | Update design of phishing warning screenWhymarrh Whitby2019-02-061-17/+5
| | |
* | | Add announcement for users migrated to the new UIWhymarrh Whitby2019-02-052-1/+2
| | |
* | | Remove betaUI preference state, replace with completedUiMigrationWhymarrh Whitby2019-02-052-4/+39
| | |
* | | Default to the new UI for all usersWhymarrh Whitby2019-02-051-20/+2
| | |
* | | Privacy mode fixes (#6087)Bruno Barbieri2019-02-021-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Version 5.3.4 RC1 * fix old ui approval screen * fix error caused by meshtesting iframe * fix linter errors
* | | fix - migration 30 undefinds (#6079)Frankie2019-02-011-16/+18
| | |
* | | EIP-1102 updates (#6006)Paul Bouchon2019-01-312-24/+28
| | | | | | | | | | | | | | | | | | * Update privacy notice * Respond to 1102 messages using tab ID
* | | I#5956 fix2 dont overwrite existing rpc settings (#6044)Frankie2019-01-302-2/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mm-controller - dont overwrite existing rpc settings * ui-networkDropdown - dont pass old network as chainId * add methods preferencesController.updateRpc and metamaskController.updateAndSetCustomRpc * use updateAndSetCustomRpc in settings to allow rpcs to be updated * use new rpc as nickname if no nick name has been supplied * fix update rpc method
* | | add source for header in create infura client (#6023)Jenny Pollack2019-01-251-1/+1
| | | | | | | | | | | | | | | | | | * add source for header in create infura client * bump eth-json-rpc-infura
* | | Refactor first time flow, remove seed phrase from state (#5994)Alexander Tseung2019-01-235-2/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor and fix styling for first time flow. Remove seed phrase from persisted metamask state * Fix linting and tests * Fix translations, initialization notice routing * Fix drizzle tests * Fix e2e tests * Fix integration tests * Fix styling * Fix migration naming from 030 to 031 * Open extension in browser when user has not completed onboarding
* | | fix asset detection (#6049)Bruno Barbieri2019-01-231-2/+18
| | |
* | | Use Parity on-chain registry only when is needed (#6052)Esteban Miño2019-01-232-0/+15
| | | | | | | | | | | | | | | | | | * add and use knownMethodData to avoid infura requests * dataMethod to methodData and check empty response
* | | I#5956 fix 1 (#6026)Frankie2019-01-183-1/+53
| | | | | | | | | | | | | | | * prevent invalid chainId's when adding cusstom rpcs * migration 30 removes invalid chaids from preferences and networkController for custom rpcs
* | | Set auto conversion off for token/eth conversion (#6005)Thomas Huang2019-01-111-1/+1
| | |
* | | fix extension linkbrunobar792019-01-031-1/+1
| | |
* | | Fix etherscan links on notificationsBruno Barbieri2018-12-291-1/+1
| | |
* | | Disallow loading as metamaskNetworkId (#5924)Frankie2018-12-141-1/+3
| | | | | | | | | | | | | | | | | | * transactions - throw an error if a transaction is generated while the network is loading * add tests for failing when netId is loading
* | | Show Failed transaction in the browser notification for on-chain failures ↵Alexander Tseung2018-12-111-4/+7
| | | | | | | | | | | | (#5904)
* | | Group transactions by nonce (#5886)Alexander Tseung2018-12-103-7/+15
| | |
* | | Fix race condition in network controller lookup() method.Dan Miller2018-12-071-4/+10
| | |
* | | Adds createSpeedUpTransaction to txControllerDan Miller2018-12-042-0/+30
| | |
* | | Hide link for phishing-detect page (#5864)Michael - Blurpesec2018-12-021-1/+1
| | | | | | | | | | | | | | | | | | * Soften language on phishing-detect page * remove quotes
* | | fix visibilityBruno Barbieri2018-12-011-1/+0
| | |
* | | Save recent network balances in local storage (#5843)Dan J Miller2018-12-012-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use selector for state.metamask.accounts in all cases. * Default to cached balance when selecting metamask accounts * Adds the cached-balances controller * Documentation and small codes fixes for #5843 Co-Authored-By: danjm <danjm.com@gmail.com>
* | | bugfix: normalize contract addresss when fetching exchange rates (#5863)Paul Bouchon2018-12-011-1/+3
| | |
* | | Fixed Vivek's bug (#5860)Dan Finlay2018-11-301-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed Vivek's bug Fixes #5850 What was happening: It seems that his MetaMask had crashed while some new transactions had been loading defaults. He probably had a network connectivity issue to Infura (which we are working with Infura to address). As a result of this network cutout, his three unapproved transactions were not marked failed, and were not marked as `loadingDefaults = false`, as their gas prices had not yet been estimated. Normally this behavior is supposed to clean itself up when the transaction controller starts up, via the `TransactionController._onBootCleanUp()` function, but in this case, during unlock, that function was unable to do its job because when it requested the transaction list, the current network was in the `loading` state, making it proceed as if there were no pending transactions. To fix this, I am doing two things: - Setting transactions to loadingDefaults = false in more catch blocks. - Calling `onBootCleanUp()` when the network store's status changes, so that it will re-trigger when loading completes. * Fixed reference * Fixed infinite loop bug Was refreshing the tx list on every tx state change instead of just network changes, creating an infinite loop. * Add notes to tx updates to clarify logs
* | | transactions/tx-gas-utils - add the acctual response for eth_getCode for ↵Frankie2018-11-301-0/+9
| | | | | | | | | | | | NO_CONTRACT_ERROR's && add a debug object to simulationFailed (#5840)
* | | Merge pull request #5848 from MetaMask/Less-Certain-LanguageWhymarrh Whitby2018-11-291-1/+1
|\ \ \ | | | | | | | | Soften accusatory language on phishing warning
| * | | Soften accusatory language on phishing warningDan Finlay2018-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We don't always know for sure that sites marked as phishers are defiitely scams, and so we should avoid language that makes concrete accusations.
* | | | Open full-screen UI on installWhymarrh Whitby2018-11-271-5/+4
| | | |
* | | | Revert "Don't open MetaMask website after install"Whymarrh Whitby2018-11-271-0/+9
|/ / /
* | | Autofill gasPrice for retry attempts with either the recommended gasprice or ↵Frankie2018-11-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | a %10 bump (#5786) * transactions - autofill gasPrice for retry attempts with either the recomened gasprice or a %10 bump * lint
* | | transactions - ensure err is defined when setting tx failed (#5801)Frankie2018-11-271-4/+6
| | |
* | | Merge pull request #5792 from MetaMask/signed-type-data-error-hw-walletBruno Barbieri2018-11-271-9/+16
|\ \ \ | | | | | | | | Consider HW Wallets for signTypedMessage
| * | | Use Array.includesBruno Barbieri2018-11-271-4/+4
| | | |
| * | | remove extra semicolonbrunobar792018-11-211-1/+1
| | | |
| * | | consider hw walletsbrunobar792018-11-211-9/+16
| | | |
* | | | Show Connect Requests count in extension badgeWhymarrh Whitby2018-11-261-1/+3
| | | |
* | | | Use initState to avoid type-checking providerRequests in stateWhymarrh Whitby2018-11-261-3/+5
| | | |
* | | | Merge pull request #5797 from MetaMask/trezor-v6Bruno Barbieri2018-11-221-0/+8
|\ \ \ \ | | | | | | | | | | Add Firefox and Brave support for Trezor
| * | | | fix merge conflictsbrunobar792018-11-2114-23/+96
| |\| | |
| * | | | Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5brunobar792018-11-153-2/+22
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5brunobar792018-11-151-0/+5
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'develop' into trezor-v5brunobar792018-11-146-87/+80
| |\ \ \ \ \ \
| * \ \ \ \ \ \ fix merge conflictsbrunobar792018-11-0724-291/+886
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ fix merge conflictsbrunobar792018-10-215-30/+105
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ fix conflictsbrunobar792018-10-1723-436/+478
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5brunobar792018-09-065-24/+202
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | add port names blacklistbrunobar792018-08-231-0/+8
| | | | | | | | | | | |
* | | | | | | | | | | | Don't announce new UI to users switching backWhymarrh Whitby2018-11-211-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Default to the new UI for first time usersWhymarrh Whitby2018-11-212-14/+7
| |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | |
* | | | | | | | | | | 1102: Push publicConfigStore to next turn to avoid race conditiono (#5777)Paul Bouchon2018-11-181-2/+6
| | | | | | | | | | |
* | | | | | | | | | | Auto fail transactions that have been approved for over 12 hours (#5765)Dan Finlay2018-11-173-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Auto fail transactions that have been approved for over 12 hours Converts txs using a migration. This migration uses a new helper function that generates tx-failing migrations, and only requires a version, error message, and condition to run on each transaction. * Linted * Only migrate approved txs to failed * Cleanup * Cleanup * Small lint fixes
* | | | | | | | | | | ESLint fixes (#5775)Whymarrh Whitby2018-11-179-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eslint . --fix * Upgrade all ESLint warnings to errors
* | | | | | | | | | | Tx controller now uses safe event emitter (#5769)Frankie2018-11-173-3/+3
| |_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * transactions - use safe-event-emitter over events * tests - pass a platform object on init with a noop showTransactionNotification * test - fix for tx-state-history-helper trying to reduce an empty array * deps - safe-event-emitter * lint
* | | | | | | | | | Resubmit approved transactions on new block (#5752)Dan Finlay2018-11-153-2/+22
| |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add beginning of test * Resubmit approved transactions on new block May fix #4343 and related issues, where an error could leave transactions stranded in the approved state. * Remove unused test * Re-approve transactions when retrying approved * Add retry approved test * Include approved in pending tx count * Fix getPendingTxs() * Linted * Only throw hash error in submitted state * Only check submitted txs for block inclusion * Fix test expectations
* | | | | | | | | 1102: use meta title if it exists before titlePaul Bouchon2018-11-151-0/+5
| |_|_|_|_|/ / / |/| | | | | | |
* | | | | | | | Update Balanc3 API (#5744)Paul Bouchon2018-11-142-23/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update balanc3 API used in TokenRatesController * Remove demo URL and use nativeCurrency when fetching token rates
* | | | | | | | Fixes #3425: Better support for batch transactions (#5437)PaddyMc2018-11-141-0/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | EIP-1102: Update publicConfig store concurrently with approvalPaul Bouchon2018-11-103-33/+29
| | | | | | |
* | | | | | | 1102: Fix inpage listener syntax (#5708) (#5709)Noah I2018-11-091-2/+2
| | | | | | |
* | | | | | | Cleanupbitpshr2018-11-081-18/+10
| | | | | | |
* | | | | | | 1102: use postMessage instead of injected scripts to bypass CSPbitpshr2018-11-081-17/+13
| | | | | | |
* | | | | | | wipbitpshr2018-11-082-24/+39
| |_|_|_|/ / |/| | | | |
* | | | | | Fix lint errorsbitpshr2018-11-071-1/+1
| | | | | |
* | | | | | Remove injected script tags after usebitpshr2018-11-071-0/+2
| | | | | |
* | | | | | Clear cached approval after rejectionbitpshr2018-11-072-8/+11
| | | | | |
* | | | | | Move experimental provider augmentationbitpshr2018-11-061-13/+13
| | | | | |
* | | | | | Add experimental RPC method supportbitpshr2018-11-063-6/+20
| | | | | |
* | | | | | Update Connect Request screen design (#5644)Whymarrh Whitby2018-11-062-18/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Parameterize NetworkDisplay background colour * Update design for login request screen * Pass siteTitle, siteImage through for calls to ethereum.enable() * Bring the site images closer together
* | | | | | Do not modify isApproved when lockedbitpshr2018-11-061-2/+1
| | | | | |
* | | | | | Mark origins as unapproved if user explicitly locks MetaMaskbitpshr2018-11-062-3/+5
| | | | | |
* | | | | | Enable cachingPaul Bouchon2018-11-061-1/+1
| | | | | |
* | | | | | isApproved should return falsebitpshr2018-11-061-1/+1
| | | | | |
* | | | | | Remove internal listenersbitpshr2018-11-061-6/+15
| | | | | |
* | | | | | rebasebitpshr2018-11-061-3/+3
| | | | | |
* | | | | | Disable approval cachingbitpshr2018-11-064-6/+34
| | | | | |
* | | | | | Differentiate locked and enabledbitpshr2018-11-064-27/+10
| | | | | |
* | | | | | Code bathbitpshr2018-11-064-33/+49
| | | | | |
* | | | | | Handle logout gracefullybitpshr2018-11-064-25/+42
| | | | | |
* | | | | | Fix lint issuesbitpshr2018-11-061-1/+1
| | | | | |
* | | | | | Only filter selectedAddress from publicConfig storebitpshr2018-11-061-6/+10
| | | | | |
* | | | | | Fix race condition with publicConfigStorebitpshr2018-11-061-5/+24
| | | | | |
* | | | | | Move convenience methods to _metamask namespacebitpshr2018-11-061-28/+55
| | | | | |
* | | | | | Fix lint issuesbitpshr2018-11-061-1/+3
| | | | | |
* | | | | | Add isUnlocked provider hookbitpshr2018-11-064-3/+29
| | | | | |
* | | | | | Differentiate isEnabled and isApproved hookbitpshr2018-11-061-3/+12
| | | | | |
* | | | | | Update isEnabled checkbitpshr2018-11-061-1/+3
| | | | | |
* | | | | | EIP-1102: add user privacy optionbitpshr2018-11-064-44/+32
| | | | | |
* | | | | | EIP-1102: add isEnabled convenience method to providerbitpshr2018-11-063-9/+53
| | | | | |
* | | | | | EIP-1102: Add option to force-enable providerbitpshr2018-11-064-6/+44
| | | | | |
* | | | | | EIP-1102: updated implementationbitpshr2018-11-067-28/+182
| | | | | |
* | | | | | network - infura - hardcode net_version and eth_chainId (#5670)kumavis2018-11-061-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * network - infura - hardcode net_version and eth_chainId * network - infura - add rinkeby handling * lint fix
* | | | | | Update watchAsset ERC20 validation (#5653)Esteban Miño2018-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update ERC20 token valodation for watchAsset * update ERC20 validation test descriptions
* | | | | | Merge pull request #5659 from MetaMask/token-rates-bugfixkumavis2018-11-041-4/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | token-rates - protect against bad token data
| * | | | | | token-rates - protect against bad token datakumavis2018-11-031-4/+7
| | | | | | |
* | | | | | | Revert "support eth_chainId"Thomas Huang2018-11-041-14/+4
|/ / / / / /
* | | | | | Merge pull request #5560 from MetaMask/sentry-enhancements2kumavis2018-10-307-60/+112
|\ \ \ \ \ \ | | | | | | | | | | | | | | Sentry - various enhancements to help debugging (alternate)
| * \ \ \ \ \ Merge branch 'sentry-enhancements2' of ↵kumavis2018-10-301-2/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | github.com:MetaMask/metamask-extension into sentry-enhancements2
| | * \ \ \ \ \ Merge branch 'develop' into sentry-enhancements2kumavis2018-10-3011-161/+265
| | |\ \ \ \ \ \
| * | \ \ \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-10-3012-187/+275
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | sentry-enhancements2
| * | | | | | | | Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-10-212-28/+27
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sentry-enhancements2
| * | | | | | | | | sentry - include app state in ui errorskumavis2018-10-202-2/+18
| | | | | | | | | |
| * | | | | | | | | sentry - replace raven-js with sentry/browserkumavis2018-10-204-49/+39
| | | | | | | | | |
| * | | | | | | | | blacklist + currency - report error via log instead of throwkumavis2018-10-192-5/+12
| | | | | | | | | |
| * | | | | | | | | lint fixkumavis2018-10-192-3/+1
| | | | | | | | | |
| * | | | | | | | | fetch debugger - only append source stack if no stack is presentkumavis2018-10-191-4/+6
| | | | | | | | | |
| * | | | | | | | | sentry - failed txs - namespace txMeta for better readabilitykumavis2018-10-191-1/+1
| | | | | | | | | |
| * | | | | | | | | currency - throw errors on failurekumavis2018-10-191-3/+17
| | | | | | | | | |
| * | | | | | | | | blacklist - throw errors on request/parse failurekumavis2018-10-191-4/+19
| | | | | | | | | |
| * | | | | | | | | sentry - move isBrave decoration to insides of try-catchkumavis2018-10-191-1/+2
| | | | | | | | | |
* | | | | | | | | | Merge pull request #5567 from MetaMask/HowardBraham-developkumavis2018-10-301-9/+26
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | Feature: Warn when attempting to send tx with data to non-contract
| * | | | | | | | | Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-10-268-125/+121
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HowardBraham-develop
| * | | | | | | | | | tx-gas-util - set error message when invalidating tx based on tx data but no ↵kumavis2018-10-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contract code
| * | | | | | | | | | Merge branch 'develop' into developkumavis2018-10-219-38/+160
| |\ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / | | |/| | | | | | | |
| * | | | | | | | | | tx-gas-utils - improve format + commentskumavis2018-10-101-12/+18
| | | | | | | | | | |
| * | | | | | | | | | ganache-core merged my PR, so I changed some comments to clarify that ↵Howard Braham2018-10-101-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ganache-core v2.2.1 and below will return the non-standard '0x0'
| * | | | | | | | | | Bug Fix: #1789 and #4525 eth.getCode() with no contractHoward Braham2018-10-101-7/+16
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #5596 from MetaMask/validateSignTypedDatakumavis2018-10-302-27/+6
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | | Validate signTypedData signer/address in eth-json-rpc-middleware
| * | | | | | | | | | Add version to unapprovedMessageThomas2018-10-251-2/+2
| | | | | | | | | | |
| * | | | | | | | | | Remove commented out/unused methodsThomas2018-10-251-27/+2
| | | | | | | | | | |
| * | | | | | | | | | Validate signTypedData in eth-json-rpc-middlewareThomas2018-10-252-28/+32
| | |_|/ / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #5552 from EthersocialNetwork/eth_chainidkumavis2018-10-301-4/+14
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | network - check eth_chainId and fallback to net_version
| * \ \ \ \ \ \ \ \ \ Merge branch 'develop' into eth_chainidhackyminer2018-10-2611-179/+269
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Update network.jskumavis2018-10-211-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | network - improve logging and type conversionkumavis2018-10-211-4/+6
| | | | | | | | | | | |
| * | | | | | | | | | | support both eth_chainId and net_versionhackyminer2018-10-201-4/+11
| | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get the real chainId using eth_chainId and use net_version as a fallback
* | | | | | | | | | | preferences - fix typokumavis2018-10-301-1/+1
| |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Add support for RPC endpoints with custom chain IDs (#5134)HackyMiner2018-10-264-33/+128
| |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | ens-ipfs - refactor for readability (#5568)kumavis2018-10-217-124/+120
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | | | | Merge pull request #5555 from MetaMask/support-wallet-watch-assetkumavis2018-10-211-1/+1
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | Support for prefix wallet_watchAsset
| * | | | | | | add support for wallet_watchAssetEsteban MIno2018-10-201-1/+1
| |/ / / / / /
* / / / / / / specific add and remove methods for frequentRpcList (#5554)Esteban Miño2018-10-202-28/+27
|/ / / / / /
* | | | | | inpage - increase provider max listeners to avoid warningskumavis2018-10-181-0/+2
| | | | | |
* | | | | | Merge pull request #5127 from MetaMask/account-tracker-network-changekumavis2018-10-181-1/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Bug Fix: Force AccountTracker to update balances on network change
| * \ \ \ \ \ Merge branch 'develop' into account-tracker-network-changekumavis2018-09-2817-419/+480
| |\ \ \ \ \ \
| * | | | | | | metamask controller - force account tracker to update balances on network changekumavis2018-08-231-0/+4
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge pull request #5522 from MetaMask/fetch-debuggingWhymarrh Whitby2018-10-182-0/+37
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | debugging - enable fetch debugging
| * | | | | | | enable fetch debuggingkumavis2018-10-152-0/+37
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Adds toggle for primary currency (#5421)Alexander Tseung2018-10-172-0/+31
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add UnitInput component * Add CurrencyInput component * Add UserPreferencedCurrencyInput component * Add UserPreferencedCurrencyDisplay component * Add updatePreferences action * Add styles for CurrencyInput, CurrencyDisplay, and UnitInput * Update SettingsTab page with Primary Currency toggle * Refactor currency displays and inputs to use UserPreferenced displays and inputs * Add TokenInput component * Add UserPreferencedTokenInput component * Use TokenInput in the send screen * Fix unit tests * Fix e2e and integration tests * Remove send/CurrencyDisplay component * Replace diamond unicode character with Eth logo. Fix typos
* | | | | | Fix document extension check when injecting web3Whymarrh Whitby2018-10-161-7/+12
| | | | | |
* | | | | | Add txReceipt data to transaction details (#5513)Alexander Tseung2018-10-162-1/+39
|/ / / / /
* | | | | Ensure that new transactions added are using the selected addressWhymarrh Whitby2018-10-111-0/+4
| | | | |
* | | | | Revert "transactions - add txReceipt to the txMeta body for confirmed txs ↵Whymarrh Whitby2018-10-111-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#5375)" This reverts commit ff67293a8ef61308d602d09f26b163b9b9ec90d3.
* | | | | transactions - add txReceipt to the txMeta body for confirmed txs (#5375)Frankie2018-10-101-1/+23
| | | | |
* | | | | tests - integration - Add Drizzle tests (#5467)Bruno Barbieri2018-10-101-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added drizzle app for testing * working * clean up * clean up script * make build step required * add drizzle-tests to .eslintignore * clean up drizzle run script * lint * use truffle unbox * undo eslintignore changes * revert change * dont use global * dont need this steps * use the new account flow * restore package-lock.json