Commit Graph

465 Commits

Author SHA1 Message Date
kumavis 60e61e6834 diagnostics - fix reportMultipleKeyrings call 2018-06-05 12:36:15 -07:00
kumavis 36a0574f56 diagnostics - minor fixes 2018-06-05 12:20:24 -07:00
kumavis 20bdba3d17 diagnostics - rewrite bug-notifier as diagnostics-reporter 2018-06-05 11:51:27 -07:00
kumavis 6247e54fcc add multivault detection to diagnostics reporting 2018-06-05 11:15:58 -07:00
Dan aee9247faa Merge branch 'develop' into i3725-refactor-send-component- 2018-06-04 22:32:30 -02:30
Dan Finlay 0eacee8e45 Add first time info to bug report 2018-06-04 15:03:31 -07:00
Dan Finlay 7382bd0847 Add identity synchronizing code
Addresses #4475, where entries in the identities object do not
necessarily have corresponding accounts in the vault.

On password submission, this change passes known accounts to the
preferencesController (responsible for nickname management), and removes
unknown entries.

Includes "TODO" notes for where we could log the issue to sentry or
notify the user.
2018-06-04 13:43:26 -07:00
kumavis eb3241ccba metamask-controller - clear account labels on restore from seed phrase 2018-06-03 12:02:35 -07:00
kumavis d4cdd1a0f3 metamask - update preferences controller identities on keyring controller update 2018-06-03 11:27:25 -07:00
Dan 701611e317 Merge branch 'i3725-refactor-send-component-' into i3914-fix-newui-send-gas-estimation 2018-05-31 15:39:24 -02:30
Dan 0f20fce9b7 Auto update gas estimate when to changes. 2018-05-30 20:54:31 -02:30
kumavis 4205d92729 Merge branch 'master' of github.com:MetaMask/metamask-extension into merge-master 2018-05-29 16:12:36 -07:00
kumavis 7e87600042
metamask-controller - lint fix 2018-05-28 23:14:38 -07:00
kumavis 09601439e3 metamask-controller - update preferences controller addresses after import account 2018-05-28 23:00:22 -07:00
Anton 71a6e97327 cleanErrorStack moved to separate library module
more errors traces cleaned up
2018-05-28 22:57:08 +02:00
Frankie e8b2e11c56 Reveal get filtered tx list (#4332)
* add getFilteredTxList from txController to getApi

* transactions - remove dead code (isNonceTaken)
2018-05-21 16:00:44 -07:00
Whymarrh Whitby c54e4c7191 Add PreferencesController#setAddresses to update ids 2018-05-17 12:57:39 -02:30
Whymarrh Whitby cbe4d0d88c Update AddressBookController to read from preferences store 2018-05-17 12:57:39 -02:30
Whymarrh Whitby 924cc1fcf7 Move setAccountLabel into PreferencesController 2018-05-17 12:57:39 -02:30
kumavis c27d9162d7 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-controller-remove-setNetworkEndpoints 2018-05-16 11:57:07 -07:00
frankiebee a45cb75435 transactions - add a nonce check utility for ui use 2018-05-01 13:57:43 -07:00
kumavis 6f316ca450 network - remove setNetworkEndpoints 2018-04-30 16:36:17 -07:00
kumavis 5f3f8c85fc
Merge pull request #4059 from MetaMask/i-4033-seed-words
Use new design for Reveal Seed screen. Persist seed words only in the first time flow.
2018-04-30 12:04:53 -06:00
Dan Finlay 5abb0256a9 Linted docs 2018-04-23 14:47:11 -07:00
Alexander Tseung 477b74124d Revert "Fix UI getting stuck in Reveal Seed screen"
This reverts commit 2c8156ebe9.
2018-04-21 22:23:45 -07:00
Dan Finlay fad8afb7d1 Linted jsdocs 2018-04-20 09:26:24 -07:00
Dan Finlay f78d2f5e0b Added docs to MM-controller 2018-04-18 17:54:50 -07:00
Alexander Tseung 2c8156ebe9 Fix UI getting stuck in Reveal Seed screen 2018-04-18 10:18:24 -07:00
Dan Finlay 0668976514
Merge branch 'master' into i3981-contract-rates 2018-04-16 16:32:56 -07:00
bitpshr b4912f29cd Disable token price polling when no client is active 2018-04-16 18:12:05 -04:00
bitpshr d0447f9058 Maintain token prices using a background service 2018-04-16 11:47:06 -04:00
bitpshr 7129d7c0f3 Require loglevel singleton in each module that uses it 2018-04-13 17:56:28 -04:00
bitpshr 4780f825b1 Add ComposableObservableStore for subscription management 2018-04-13 10:20:44 -04:00
frankiebee 03b123a85d transactions - put the origing on the txMeta to help with debugging 2018-03-30 15:48:39 -07:00
kumavis f7a2dc984e
Merge pull request #3760 from MetaMask/i3439-ResetCacheOnAccountReset
Fix bug where resetAccount does not clear network cache
2018-03-27 19:10:31 -07:00
kumavis d8357413ac
metamask-controller - fix typo 2018-03-27 19:04:28 -07:00
Dan Finlay 729a473210 Fix bug where resetAccount does not clear network cache
Fixes #3439
2018-03-27 18:07:51 -07:00
Dan f74e802026 Undo unnecessary line removals. 2018-03-27 10:52:19 -02:30
Dan b9309f689b Use extension api to get initial locale. 2018-03-22 12:49:19 -02:30
Dan be845fd190 Merge branch 'master' into i18n-translator-redux 2018-03-21 22:28:58 -02:30
Lazaridis e1d6398b0f moves setup-related code towads end of file, re #3568 2018-03-16 18:37:56 +02:00
Lazaridis bb6af25e20 add ESLint exceptions for //= and //-, re #3568 2018-03-16 03:22:10 +02:00
Lazaridis 904f00e8ac group all vault/keyring related methods together, re #3568 2018-03-16 02:29:53 +02:00
Dan 5fe0be722b Handle i18n with redux. 2018-03-15 21:59:45 -02:30
Lazaridis d8f5150aa5 adds initial documentation, re #3568 2018-03-16 00:27:10 +02:00
Csaba Solya 59007a6c36 modify verifySeedPhrase to async and call it from addNewAccount also 2018-03-06 15:56:27 +01:00
Csaba Solya f7d4a1080d add documentation 2018-03-04 08:47:46 +01:00
Csaba Solya 2b86d65d0c verify seedwords on log in 2018-03-03 22:08:10 +01:00
Csaba Solya 4bd7f1a37a fix lint issues 2018-03-03 00:40:40 +01:00
Csaba Solya 92453f8715 seed phrase verifier 2018-03-03 00:32:57 +01:00
Dan Finlay 716acc088e Merge branch 'master' into uat-master 2018-02-21 10:56:23 -08:00
Lazaridis 58a554b168 use the providers initial _blocktracker. fixes #2393 2018-02-11 05:09:27 +02:00
Dan b0db68a281 Merge branch 'uat' into uat-next 2018-02-07 21:19:14 -03:30
Dan J Miller 7f151b861c
[NewUI] Opens to full screen when restoring from seed. (#3201)
* Opens to full screen when restoring from seed.

* Remove redundant parameter in actions.markPasswordForgotten call.
2018-02-07 21:08:55 -03:30
Dan d8896a8c31 Merge branch 'master' into uat 2018-02-07 16:32:47 -03:30
Frankie 201e0579a5
Merge branch 'master' into localStorage-clean-up 2018-01-31 11:57:38 -08:00
frankiebee c3adbda5f5 remove RecentBlocks from disk 2018-01-31 10:49:58 -08:00
Bruno Barbieri 03d17c75ae wipe only transactions for current account 2018-01-31 04:25:32 -05:00
Bruno Barbieri e6fda855a5 added reset account feature 2018-01-31 03:33:15 -05:00
frankiebee f13ad6bd6a remove BlacklistController from disk state 2018-01-30 14:07:32 -08:00
Kevin Serrano 19a379edba
Bump limit for event emitter warning. 2018-01-25 12:28:11 -08:00
Alexander Tseung 81f86cfab6 Merge branch 'uat' into uat-master-011618 2018-01-16 18:17:28 -08:00
Dan Finlay 7cb66ce4cb Prefer passing a provider over an ethQuery instance 2018-01-12 10:25:36 -08:00
Dan Finlay 4a9dad7c40 Improve gas price estimation by backfilling recent-blocks
When first initializing, recent-block controller now back-fills up to
its desired history length. This makes estimated gas prices reflect a
longer recent history, even when first switching to a new network.

Fixes #2925
2018-01-11 15:04:54 -08:00
Dan Finlay d829fb91b8 Default to 1 gwei for empty blocks 2018-01-08 15:41:57 -08:00
Dan Finlay 0275231e13 Default gas estimate to 1 gwei for networks with no block activity 2018-01-08 15:08:05 -08:00
Kevin Serrano 0cf5c22178
Merge pull request #2851 from MetaMask/i2812-seedworderrorfix
Fix condition where failing seed word checks would infinite-spin future attempts.
2018-01-08 11:43:43 -08:00
Dan Finlay aec24ec81e Fix feature to work 2018-01-05 22:08:03 -08:00
Dan Finlay 447682d1fb Linted 2018-01-05 21:34:35 -08:00
Dan Finlay 4bca98d588 Derive gas price estimate from previous transactions
Return the 50th percentile lowest gas price of the previous 20 blocks.
2018-01-05 21:24:20 -08:00
Kevin Serrano 20aa135ad8
Add fix for infinite spinner for incorrect seed phrase. 2018-01-03 16:06:46 -08:00
Alexander Tseung a218008adf
Track usage of old and new UI (#2794)
[NewUI] Track usage of old and new UI
2017-12-22 10:43:02 -08:00
Chi Kei Chan 9959aea598
Merge branch 'NewUI-flat' into merge-master-to-newUI-flat-dec20 2017-12-20 17:38:28 -08:00
Dan bf4043c59b Adds updateTransaction to background and used it to update after editing in send-v2. 2017-12-20 17:37:18 -08:00
Dan 1f1fc2c49e Canceled, edited transactions show edited amount. 2017-12-20 17:37:18 -08:00
Dan 7915e62d65 Merge branch 'master' into NewUI-flat 2017-12-20 19:16:12 -03:30
Dan Finlay 10ff77477c Add Recent Blocks controller
Tracks recent blocks, useful for estimating recent successful gas
prices.
2017-12-17 16:36:55 -08:00
Chi Kei Chan 845aec82b9
Merge branch 'NewUI-flat' into MM-333-auto-add-users-to-new-UI 2017-12-07 09:46:28 -08:00
Dan ec6c3c33bd Merge branch 'master' into NewUI-flat-merge-with-master 2017-12-06 21:11:52 -08:00
Dan Finlay 31564e0a86 Fix retry action 2017-12-06 23:20:15 -05:00
Dan Finlay 6ff580584a Add retry background method and action 2017-12-06 22:20:58 -05:00
Dan 7f79524070 Add UI selection 2017-12-04 23:08:23 -03:30
Thomas Huang c30b543a80
Merge pull request #2630 from MetaMask/i2624-VersionedNotices
Versioned notices
2017-11-29 17:25:10 -06:00
Dan Finlay bd82b17310 Linted 2017-11-28 15:35:20 -08:00
Dan Finlay 049ec52a95 Add seed phrase bounty award notice
Only shows to people who installed before or equal to MetaMask 3.12.1
2017-11-28 15:31:49 -08:00
Dan Finlay f0f6bb28e0 Get notice version filtering working nicely 2017-11-28 15:16:04 -08:00
kumavis f64bc3c01a deps - obs-store@3 + migrate stream plumbing 2017-11-28 11:09:18 -10:00
Dan Finlay ec4b7de962 Add firstVersion field to notices selector 2017-11-28 11:22:09 -08:00
Dan Finlay e89f82399f Add optional version field to notices
Allows notices to only show to users who are on a certain version.
2017-11-28 11:14:57 -08:00
Jason Clark abefcc9612 more eslint fixes 2017-11-25 15:57:54 -07:00
Jason Clark fc46a16a32 toggle wired up to preferences property store 2017-11-24 10:35:17 -07:00
Dan Finlay 65cb970487 Prevent creation of multiple vaults
Fixes #2577 by ensuring only one seed phrase can be set for a new vault.

Also cleans up logs and reproduction logic.
2017-11-20 14:03:12 -08:00
Dan Finlay c0aa7ce857 Add reproduction and mutex code 2017-11-20 13:27:29 -08:00
Chi Kei Chan e61ba93194 Merge branch 'master' into merge-master 2017-11-15 12:03:13 -08:00
Dora E. Mondrian 41fea44af3 newUnaprovedTx => newUnapprovedTx
This typo tripped me up when I was reading through the code and trying to understand what's going on.
2017-11-06 04:35:51 -08:00
Chi Kei Chan 344b467d03 Merge branch 'master' into NewUI-flat 2017-10-20 11:05:10 -07:00
Dan Finlay a10a600cce Linted 2017-10-19 12:33:43 -07:00
Dan Finlay 3b4c679ffc Fix bug where new account was not immediately selected 2017-10-19 12:15:26 -07:00
Chi Kei Chan c8c773d641 Merge branch 'NewUI-flat' into merge 2017-10-18 22:58:46 -07:00
Dan Finlay 21bde66e16 Remove account-tracker from keyringController 2017-10-18 17:14:26 -07:00