aboutsummaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Increase minimum version of Firefox supported (#6939)Mark Stacey2019-08-021-1/+1
| | | | | | The minimum version supported is now Firefox 60. This is the current Extended Support Release. Various features we use were not supported by Firefox 53, such as `browser_action.default_popup`, `tabs.query`, and `permissions:unlimitedStorage`.
* 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-024-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | * 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-0110-112/+245
|
* 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-016-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-244-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Set minimum browser version in manifest (#6877)Mark Stacey2019-07-191-2/+3
| | | | | | | Set the minimum browser version supported in the extension manifest. Currently we only ship the extension on Chrome and Firefox, so the minimum version has been set for those two browsers. Relates to #6805
* 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.
* Lint `.json` files (#6852)Mark Stacey2019-07-156-9/+9
| | | | | | | | | | | | | | | | | | | | | | | We've been using the `eslint-plugin-json` plugin for some time, but we haven't been visiting `.json` files in the lint script. The lint script has now been updated to incude `.json` files, which means any invalid JSON will result in a lint error. Unfortunately this JSON plugin doesn't seem to apply the other eslint rules (such as `key-spacing`) to the JSON files. I wasn't able to find a way to get that to work. Instead I manually auto-formatted each of the locale `message.json` files, which fixed many whitespace inconsistencies. The `states.json` file was deleted completely, as it appears to be unused. It wasn't a valid JSON file anyway, it was JavaScript. It looks like a `states.js` file is automatically generated, but an old copy was accidentally saved as `states.json` and included in the repo. Many duplicate key errors were found and fixed in the `development/states/` JSON files. `package-lock.json` was added to `.eslintignore` because it was very slow to lint, and linting it doesn't provide much value.
* Add translation support for Learn more and All done on end-of-flow (#6847)Terry Smith2019-07-151-2/+8
|
* Merge pull request #6832 from MetaMask/master-rebasedThomas Huang2019-07-132-1/+19
|\ | | | | 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.
| * Version 6.7.2 RC1Dan Finlay2019-07-051-1/+1
| |
* | Fix wording in readdToken message (#6837)Saxon Knight2019-07-111-1/+1
| | | | | | | | | | - Removes extra "go" in app/_locales/en/messages.json's readdToken message
* | Rename accountManager usages (#6790)Whymarrh Whitby2019-07-112-9/+9
| | | | | | | | Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* | [ImgBot] Optimize images (#1) (#6829)filmendless2019-07-107-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *Total -- 5,450.78kb -> 4,473.66kb (17.93%) /images/404.png -- 38.48kb -> 11.19kb (70.91%) /images/deadface.png -- 8.14kb -> 4.50kb (44.67%) /images/cancel.png -- 10.67kb -> 6.04kb (43.38%) /app/images/key-32.png -- 1.08kb -> 0.68kb (37.66%) /app/images/coinswitch_logo.png -- 3.06kb -> 1.94kb (36.43%) /images/info-logo.png -- 31.80kb -> 20.43kb (35.77%) /docs/transaction-flow.png -- 137.82kb -> 91.38kb (33.7%) /ui/design/metamask-logo-eyes.png -- 142.65kb -> 94.94kb (33.45%) /images/coinbase logo.png -- 9.55kb -> 6.43kb (32.64%) /ui/design/chromeStorePics/screen_dao_accounts.png -- 505.47kb -> 347.03kb (31.34%) /docs/architecture.png -- 136.94kb -> 94.15kb (31.25%) /ui/design/chromeStorePics/screen_dao_locked.png -- 280.38kb -> 199.54kb (28.83%) /app/images/logo.png -- 6.43kb -> 4.58kb (28.81%) /ui/design/chromeStorePics/screen_wei_account.png -- 638.31kb -> 469.17kb (26.5%) /images/pw-128x128.png -- 92.76kb -> 69.18kb (25.42%) /app/images/pw128x128.png -- 92.76kb -> 69.18kb (25.42%) /app/images/shapeshift logo.png -- 17.13kb -> 13.54kb (20.92%) /ui/design/02b-metamask-AccDetails-Send.jpg -- 107.56kb -> 92.00kb (14.46%) /images/icon-128.png -- 5.63kb -> 4.82kb (14.45%) /ui/design/chromeStorePics/icon-128.png -- 5.63kb -> 4.82kb (14.45%) /ui/design/02a-metamask-AccDetails.jpg -- 114.81kb -> 99.73kb (13.14%) /ui/design/02a-metamask-AccDetails-OverTransaction.jpg -- 119.21kb -> 103.65kb (13.06%) /ui/design/02a-metamask-AccDetails-OverToken.jpg -- 118.99kb -> 103.62kb (12.92%) /ui/design/wireframes/metamask_wfs_jan_13.png -- 409.24kb -> 357.28kb (12.7%) /ui/design/chromeStorePics/screen_dao_notification.png -- 289.55kb -> 254.49kb (12.11%) /ui/design/05-metamask-Menu.jpg -- 127.21kb -> 111.93kb (12.01%) /app/images/ethereum-metamask-chrome.png -- 58.62kb -> 51.86kb (11.52%) /ui/design/chromeStorePics/final_screen_dao_accounts.png -- 243.86kb -> 217.46kb (10.82%) /ui/design/chromeStorePics/promo1400560.png -- 255.51kb -> 228.52kb (10.56%) /images/icon-512.png -- 41.09kb -> 36.95kb (10.08%) /ui/design/chromeStorePics/promo920680.png -- 201.87kb -> 181.88kb (9.9%) /ui/design/chromeStorePics/final_screen_wei_account.png -- 247.44kb -> 223.83kb (9.54%) /ui/design/chromeStorePics/final_screen_dao_locked.png -- 215.13kb -> 196.06kb (8.87%) /ui/design/chromeStorePics/final_screen_dao_notification.png -- 209.38kb -> 192.76kb (7.94%) /ui/design/00-metamask-SignIn.jpg -- 56.49kb -> 53.22kb (5.79%) /ui/design/03-metamask-Qr.jpg -- 64.50kb -> 60.89kb (5.6%) /ui/design/01-metamask-SelectAcc.jpg -- 74.28kb -> 70.34kb (5.3%) /ui/design/02-metamask-AccDetails.jpg -- 74.00kb -> 70.15kb (5.21%) /ui/design/chromeStorePics/promo440280.png -- 56.12kb -> 53.92kb (3.93%) /app/images/icon-64.png -- 3.49kb -> 3.40kb (2.66%) /ui/design/chromeStorePics/icon-64.png -- 3.49kb -> 3.40kb (2.66%) /images/pw-48x48.png -- 3.20kb -> 3.16kb (1.34%) /ui/design/chromeStorePics/final_screen_wei_notification.png -- 189.32kb -> 187.93kb (0.73%) /images/icon-32.png -- 1.69kb -> 1.68kb (0.46%)
* | Capitalized speed up label to match rest of UI (#6828)Brian Soule2019-07-101-1/+1
| |
* | Address various UI styling issues (#6744)Dan J Miller2019-07-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add loading spinner to pending tx status label. * Add border around account icon in top right * Change style of settings toggle buttons; wrap with local components * Eliminate large space after settings labels when no description * Remove network form from advanced tab of settings * Keep new account container height to contents when in full screen
* | 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).
* Added Confirmation Modal for Delete Network (#6776)Akshit Kr Nagpal2019-07-021-0/+6
|
* Merge pull request #6765 from MetaMask/masterDan Finlay2019-07-021-1/+1
|\ | | | | Using admin privilege to bypass code owner review because it has already [been reviewed](https://github.com/MetaMask/metamask-extension/pull/6763) and those code owners are out today.
| * Version 6.7.1v6.7.1Mark Stacey2019-06-281-1/+1
| |
| * Version 6.7.0v6.7.0Thomas2019-06-261-1/+1
| |
* | 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
* | Remove shapeshift deposit form (#6746)Mark Stacey2019-06-2523-92/+0
| | | | | | Closes #6478
* | Add loading view to notification.html (#6648)Chi Kei Chan2019-06-202-1/+24
| |
* | transactions - always hexprefix txParams on update; fixes #6724frankiebee2019-06-192-8/+6
|/
* Merge branch 'develop' into Version-6.6.2Thomas Huang2019-06-186-127/+54
|\
| * Add delete to custom RPC form (#6718, #6650)Dan J Miller2019-06-172-0/+6
| |
| * Wrap smaller custom block explorer url text (#6714)Thomas Huang2019-06-171-0/+3
| |
| * MetaMorph - Spacing and Typeface on Extension Main view (#6584)Chi Kei Chan2019-06-134-127/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Style Update: Mobile App Header * wip * Style Update: mobile menu-bar * Style Update: Primary and Secondary balance on mobile main view * Style Update: Spacing for transaction-list and transaction-list-item * Address PR Comments * Fix full-width view * line-height fixes
* | Version 6.6.2 RC1v6.6.2Dan Finlay2019-06-081-1/+1
|/
* Version 6.6.1 RC1v6.6.1Dan Finlay2019-06-071-1/+1
|
* Version 6.6.0 RC1Dan Finlay2019-06-041-1/+1
|
* Revert "Remove clipboardWrite permission"Dan Finlay2019-06-041-0/+1
|
* feature: integrate gaba/CurrencyRateController (#6570)Paul Bouchon2019-06-013-226/+13
|
* Merge pull request #6654 from whymarrh/manifest-permissionsDan Finlay2019-06-011-1/+0
|\ | | | | Remove clipboardWrite permission
| * Remove clipboardWrite permissionWhymarrh Whitby2019-05-241-1/+0
| |
* | bugfix: reject enable promise on user rejectionbitpshr2019-06-011-2/+2
| |
* | mergepldespaigne2019-05-3137-990/+909
|\|
| * transactions/deps - use broken out nonce-tracker module (#6555)Frankie2019-05-212-162/+1
| |
| * Fix grammatical error in i18n endOfFlowMessage6 (#6633)Chi Kei Chan2019-05-211-1/+1
| |
| * Update translation (#6628)matteopey2019-05-211-4/+230
| |
| * Version 6.5.3 RC1v6.5.3Dan Finlay2019-05-161-1/+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
| * Adds e2e test for removing imported accounts. (#6615)Dan J Miller2019-05-161-1/+1
| |
| * Version BumpThomas Huang2019-05-151-1/+1
| |
| * Fixes bugs in 6.5.1 (#6613)Bruno Barbieri2019-05-151-1/+1
| | | | | | | | | | | | * fix bg error * fix ui exception
| * Merge pull request #6605 from MetaMask/Version-6.5.1v6.5.1Dan Finlay2019-05-151-1/+1
| |\ | | | | | | Version 6.5.1
| | * Version 6.5.1 RC1Dan Finlay2019-05-151-1/+1
| | |
| * | 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
| * Merge pull request #6596 from MetaMask/Version-6.5.0Thomas Huang2019-05-141-1/+1
| |\ | | | | | | Version 6.5.0
| | * Version 6.5.0 RC1Dan Finlay2019-05-111-1/+1
| | |
| * | Update auto-logout to recognize idle time in background (#6593)Whymarrh Whitby2019-05-143-1/+86
| |/ | | | | | | | | | | * 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-104-25/+60
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Auto logout after specific time (#6558)Chi Kei Chan2019-05-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add i18n strings * Finish Auto timeout * Fix linter * Fix copies * Add unit test to Advanced Tab component * Add back actions and container * Add basic test to ensure container completeness * No zero, fix linters * restrict negative in input
| * 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
| * Version 6.4.1 RC1v6.4.1Dan Finlay2019-04-271-1/+1
| |
| * 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.
| * Version 6.4.0 RC1Dan Finlay2019-04-181-1/+1
| |
| * Add token selection to the send screen (#6445)Chi Kei Chan2019-04-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move send to pages/ * Fix unit tests * Finish UI * Integrate asset dropdown to send actions * Remove console.log * Hide asset change during edit * Enable switch from send token to seand eth * Enable switching from token to eth when editing * Fix linter * Fixing test * Fix unit tests * Fix linter * Fix react warning; remove console.log * fix flat test * Add metrics * Address code review comments * Consistent spacing between send screen form rows. * Reduce height of gas buttons on send screen. * Make send screen gas button height dependent on size of contents.
| * feature: add Goerli support (#6459)Paul Bouchon2019-04-187-2/+29
| |
| * Merge pull request #6444 from MetaMask/localhost-network-dropdownThomas Huang2019-04-172-2/+5
| |\ | | | | | | 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
| | |
| | * Add Localhost 8545 for network dropdown namesThomas Huang2019-04-111-0/+3
| | |
| * | 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
| |
| * Version 6.3.2 (#6418)Dan J Miller2019-04-091-1/+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-055-154/+11
| | |
* | | 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 #6375 from MetaMask/Version-6.3.1v6.3.1Thomas Huang2019-03-301-1/+1
|\ \ | | | | | | Version 6.3.1
| * | Version 6.3.1Dan Miller2019-03-301-1/+1
| | |
* | | About tab copy changes; Update route for Info & Help in account menu (#6356)Chi Kei Chan2019-03-301-0/+6
|/ /
* | 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-299-7/+83
| |\| |
| * | | 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-2923-15/+217
|\ \ \ \ | |_|/ / |/| | | | | | | 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-1257-1865/+5523
| |\ \ \
| * | | | Adding CoinSwitch exchangeVimal2018-10-2223-0/+193
| | | | |
* | | | | Version 6.3.0 (#6350)v6.3.0Dan J Miller2019-03-271-1/+1
| | | | |
* | | | | enable privacy mode for first time users (#6347)Thomas Huang2019-03-261-1/+3
| |_|_|/ |/| | |
* | | | Cancel error rebased (#6341)Dan J Miller2019-03-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Check balance before showing cancel * Fix linter * Use existing helper methods for calculating increased cancel price * Add tooltip for disabled button * Lint fix for cancelError branch. * Disabling of cancel button should account for value of tx.
* | | | New settings page rebased (#6333)Dan J Miller2019-03-262-3/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New setting tab * Add InfoTab * Add Advanced tab * Add Security Tab * Finish mobile view * Make new setting page responsive * Fix linter * Fix y scrolling * Update link in network dropdown * Fix e2e tests * Remove duplicate translation key * Resolve merge conflict * Only change settings header in popup view. * Place mobile-sync button in advanced-tab of settings
* | | | Replaces the coinbase link in the deposit modal with one for wyre (#6302)Dan J Miller2019-03-223-1/+19
| | | |
* | | | Hide gas price chart and prevent api call when not on ethereum networks. (#6300)Dan J Miller2019-03-221-0/+3
| | | | | | | | | | | | Add missing translations in gas customization modal
* | | | 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`
* | | Fix typos in English messages (#6317)Thomas Huang2019-03-191-2/+2
| | |
* | | 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
| | |
* | | Patch/bump version (#6294)v6.2.2Thomas Huang2019-03-131-1/+1
| | |
* | | Merge pull request #6271 from whymarrh/centre-notificatonskumavis2019-03-121-5/+10
|\ \ \ | | | | | | | | Centre all notification popups
| * | | Centre all notification popupsWhymarrh Whitby2019-03-121-5/+10
| | | |
* | | | Improve Korean translations (#6268)bowbowbow2019-03-121-29/+350
|/ / /
* | | 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
* | | Merge pull request #6279 from MetaMask/notification-windowThomas Huang2019-03-121-1/+1
|\ \ \ | | | | | | | | Nonmultiple notifications for batch txs
| * | | Nonmultiple notifications for batch txsThomas Huang2019-03-121-1/+1
| | | |
* | | | Version 6.2.1 (#6251)Thomas Huang2019-03-121-1/+1
| | | |
* | | | Uppercase and context fixes on Spanish translation.Pedro Gutiérrez2019-03-071-18/+18
|/ / /
* | | Version 6.2.0 (#6239)v6.2.0Dan J Miller2019-03-061-1/+1
| | | | | | | | | | | | | | | | | | * Version 6.2.0 RC1 * Update changelog.md for 6.2.0
* | | Fix typoThomas Huang2019-03-061-1/+1
| | |
* | | Metametrics (#6171)Dan J Miller2019-03-054-4/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | |
* | | First time flow updates (#6192)Dan J Miller2019-02-274-1/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Action select step of onboarding flow added. * Update navigation on create and import password screens. * Adds terms of service checkbox to create and import account screens. * Add security warning to jazzicon intro step * Update and streamline unique image to confirm seed steps of first time flow. * UI touch ups to welcome screen. * UI touch up on select action page * Fix first time import flow. * Add end of flow screen to first time flow * Replace unique image screen with updated fishing warning screen. * Update e2e tests for onboarding flow changes. * Add required translations to onboarding flow. * Update design of select action screen to emphasize create new wallet option. * Clean up onboarding flow code. * Remove notice related code from first-time-flow directory. * Use updater function argument in new-account.component
* | | Show/Hide Fiat on Testnets based on User Preference (#6153)Chi Kei Chan2019-02-271-0/+6
| | |
* | | Feature Flag + Mobile Sync (#5955)Dan Finlay2019-02-263-1/+97
| | |
* | | 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
* | | Merge pull request #6183 from chikeichan/5171Dan J Miller2019-02-201-1/+1
|\ \ \ | | | | | | | | Bring Popup to front when ui is tiggered
| * | | Bring Popup to front when ui is tiggeredChi Kei Chan2019-02-191-1/+1
| | | |
* | | | Version 6.1.0 RC1Dan Finlay2019-02-201-1/+1
| | | |
* | | | Change "Token Address" to "Token Contract Address" (#6182)Chi Kei Chan2019-02-201-0/+3
|/ / /
* | | Fix inpage.js event handler memory leak (#6177)Graham Kaemmer2019-02-191-4/+5
| | | | | | | | | Fixes #6176
* | | Add Copy Tx ID button to transaction-list-item-details (#6146)Chi Kei Chan2019-02-171-0/+6
| | | | | | | | | | | | | | | | | | * Add Copy Tx ID button to transaction-list-item-details * Move justCopied toggle timeout inside setState callback
* | | 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
| | | |
* | | | Fixed issue #5838 (#6001)Jonathan Smirnoff2019-02-142-0/+6
| | | | | | | | | | | | Update changelog file
* | | | Merge pull request #6124 from MetaMask/dissable-recent-block-controllerThomas Huang2019-02-133-4/+30
|\ \ \ \ | | | | | | | | | | recent-blocks - dont listen for block when on infura providers
| * | | | fix typofrankiebee2019-02-131-4/+4
| | | | |
| * | | | recent-blocks - dont listen for block when on infura providersfrankiebee2019-02-123-4/+30
| | | | |
* | | | | Version 6.0.1 (#6141)v6.0.1Whymarrh Whitby2019-02-131-1/+1
| |/ / / |/| | |
* | | | Update Italian translation (#6119)matteopey2019-02-121-40/+277
| | | |
* | | | Improved Traditional Chinese translation (#6125)S.C. Chen2019-02-121-102/+735
| | | |
* | | | Version 6 RC1 (#6117)Dan Finlay2019-02-121-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | * Version 6 RC1 * Make gas input feature more readable * Update CHANGELOG.md with additional 6.0.0 changes
* | | Fix locale codes contains underscore will never be preferred (#6116)S.C. Chen2019-02-091-4/+11
| | |
* | | Add Swap feature to CurrencyInput (#6091)Chi Kei Chan2019-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Add Swap feature to CurrencyInput * Fix linter error * Fix and Add unit tests
* | | Add togglable advanced gas controls on send and confirm screens (#6112)Dan J Miller2019-02-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Extract advanced gas input controls to their own component * Add advanced inline gas toggle to settings * Add optional advanced inline gas to send send screen * Adds optional advanced gas inputs to the confirm screen * Add info modals for advanced gas inputs. * Fix translation of advance gas toggle description. * Lint and unit test fixes for inline-advanced-gas-inputs * Increase margin above advanced options button on send screen * Move methods from constructor to property syntax in advanced-gas-inputs.component
* | | Update design of phishing warning screenWhymarrh Whitby2019-02-063-77/+465
| | |
* | | Add announcement for users migrated to the new UIWhymarrh Whitby2019-02-053-1/+5
| | |
* | | 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
| | |
* | | Version 5.3.5 (#6109)v5.3.5Whymarrh Whitby2019-02-051-1/+1
| | |
* | | 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
* | | Version 5.3.4 RC1 (#6084)Dan Finlay2019-02-011-1/+1
| | |
* | | fix - migration 30 undefinds (#6079)Frankie2019-02-011-16/+18
| | |
* | | Version 5.3.3 RC1v5.3.3Dan Finlay2019-01-311-1/+1
| | |
* | | EIP-1102 updates (#6006)Paul Bouchon2019-01-312-24/+28
| | | | | | | | | | | | | | | | | | * Update privacy notice * Respond to 1102 messages using tab ID
* | | Improved Spanish translations (#6072)Pedro Gutiérrez2019-01-311-13/+13
| | |
* | | Add visual indicator when displaying a cached balance (#5854)Dan J Miller2019-01-301-0/+3
| | |
* | | 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
* | | Version 5.3.2 RC1 (#6069)Dan Finlay2019-01-291-1/+1
| | |
* | | 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-236-2/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Updated Spanish translations (#6046)oliver renwick2019-01-231-3/+577
| | | | | | | | | | | | | | | | | | | | | * up to E's in translation, starting from about 60% incomplete * Spanish at 100% * Integrating changes as suggested by fernandomg * with updates from Herman and Esteban.
* | | Prevent send to token (#6051)Esteban Miño2019-01-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check contact metadata * check for tokens in state * tests * update tests * validation only if sending tokens * container test
* | | 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
* | | Fix grammar error in Current Conversion (#6029)Alexander Tseung2019-01-171-2/+2
| | |
* | | Version 5.3.1 RC2Dan Finlay2019-01-171-1/+1
| | |
* | | Merge pull request #5966 from filips123/patch-1Thomas Huang2019-01-111-3/+180
|\ \ \ | | | | | | | | Update Slovenian translation
| * \ \ Merge branch 'develop' of https://github.com/MetaMask/metamask-extension ↵Filip Š2019-01-106-10/+14
| |\ \ \ | | | | | | | | | | | | | | | into patch-1
| * | | | Update Slovenian translationFilip Š2018-12-261-3/+180
| | | | |
* | | | | Set auto conversion off for token/eth conversion (#6005)Thomas Huang2019-01-111-1/+1
| |/ / / |/| | |
* | | | Refine app descriptionDan Finlay2019-01-061-1/+1
| | | | | | | | | | | | Should help SEO on the chrome store.
* | | | Wrong french translationWathis2019-01-041-6/+6
| | | | | | | | | | | | Changing "Connection" by "Connexion"
* | | | Merge pull request #5987 from MetaMask/Version-5.3.0Thomas Huang2019-01-041-1/+1
|\ \ \ \ | | | | | | | | | | Version 5.3.0 RC1
| * | | | Version 5.3.0 RC1v5.3.0Dan Finlay2019-01-031-1/+1
| | | | |
* | | | | Merge pull request #5992 from MetaMask/i5140-accountsThomas Huang2019-01-041-0/+4
|\ \ \ \ \ | | | | | | | | | | | | Add scrolling button to account list
| * | | | | Add scrolling button to account listAlexander Tseung2019-01-041-0/+4
| |/ / / /
* / / / / fix typo in phishing.html titlePaul Chonpimai2019-01-031-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
* | | Merge pull request #5893 from MetaMask/loading-network-screenDan J Miller2018-12-141-0/+9
|\ \ \ | | | | | | | | Loading network screen
| * | | Clean up for the loading-network-screenDan Miller2018-12-131-0/+6
| | | |
| * | | Add identifier of private network to the network loading screen message.Dan Miller2018-12-131-0/+3
| | | |
* | | | Version 5.2.2 RC1v5.2.2Dan Finlay2018-12-131-1/+1
|/ / /
* | | Merge pull request #5919 from MetaMask/gas-customization-fixesDan J Miller2018-12-131-0/+30
|\ \ \ | | | | | | | | Fix some styling and translations in the gas customization modal
| * | | Add missing translation to the gas customization component.Dan Miller2018-12-131-0/+30
| | | |
* | | | Version 5.2.1 RC1 (#5918)v5.2.1Dan J Miller2018-12-131-1/+1
|/ / /
* | | Merge pull request #5902 from MetaMask/i5846-ProviderCrashesThomas Huang2018-12-121-1/+1
|\ \ \ | | | | | | | | Fix provider crashes
| * | | Changelog and version bump for 5.2.0Dan Miller2018-12-121-1/+1
| | | |
* | | | 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-1010-16/+65
| | |
* | | Merge pull request #5892 from MetaMask/fix-net-version-race-conditionThomas Huang2018-12-081-4/+10
|\ \ \ | | | | | | | | Fix race condition in network controller lookup() method.
| * | | Fix race condition in network controller lookup() method.Dan Miller2018-12-071-4/+10
| | | |
* | | | Fill in more Polish message translationsWhymarrh Whitby2018-12-061-0/+9
|/ / /
* | | Fix "fastest" translation message; change to sentence caseDan Miller2018-12-041-1/+1
| | |
* | | Adds createSpeedUpTransaction to txControllerDan Miller2018-12-042-0/+30
| | |
* | | Redesign of gas customization basic tab.Dan Miller2018-12-041-0/+3
| | |
* | | Clean up for advanced gas tab customization changes.Dan Miller2018-12-041-0/+3
| | |
* | | Test updates and additions for button integration with send screen.Dan Miller2018-12-041-0/+3
| | |
* | | Integrate gas buttons with the send screen.Dan Miller2018-12-041-0/+12
| | |
* | | Split advanced-tab-content.component.js render() method into smaller ↵Dan Miller2018-12-041-0/+12
| | | | | | | | | | | | pieces; add translations to the same file.
* | | Adds the content of the advanced tab - w/o chart or dynamic content - to gas ↵Dan Miller2018-12-041-0/+6
| | | | | | | | | | | | customize modal.
* | | Adds new gas customization modal container (without content)Dan Miller2018-12-041-0/+18
| | |
* | | Version 5.1.0: East BayDan Finlay2018-12-041-1/+1
| | |
* | | Update phishing warning copyDan Finlay2018-12-041-5/+4
| | | | | | | | | | | | Per advice of legal counsel.
* | | 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
* | | Version 5.0.4 RC1 (#5859)v5.0.4Dan Finlay2018-11-301-2/+2
| | |
* | | 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
| | | |