kumavis
a64855ef49
notices - markAllNoticesRead - use async/await
2019-03-29 12:03:31 +08:00
Thomas Huang
c43374a553
Clear notices when setCompletedOnboarding is called
2019-03-20 20:26:48 -05:00
Paul Bouchon
daae155ce2
GABA: Integrate AddressBookController ( #5847 )
...
* gaba: integrate AddressBookController
* pin gaba version and update lockfile
2019-03-11 18:40:41 -10:00
Dan J Miller
c757366355
Metametrics ( #6171 )
...
* 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
2019-03-05 12:15:01 -03:30
Dan Finlay
f507f2a927
Feature Flag + Mobile Sync ( #5955 )
2019-02-25 15:40:13 -03:30
Jenny Pollack
c6e84ccf45
account tracker - update accounts from balanceChecker contract ( #6181 )
...
* account tracker - update accounts from balanceChecker contract
* fall back to getBalance if the contract query fails
2019-02-20 09:12:12 -10:00
Paul Bouchon
2f7d449427
EIP-1193: standard provider API ( #6170 )
...
* EIP-1193: Implement new provider API
* EIP-1193: Updated implementation
* Remove test file
* Fix tests
* Update ping check
* Update logic
* PR feedback
2019-02-19 16:42:08 -08:00
Whymarrh Whitby
ce543f059e
Merge pull request #6137 from whymarrh/es6-background
...
Sprinkle ES6 onto background files
2019-02-14 10:43:56 -03:30
Whymarrh Whitby
ae084cef6c
Update MetaMaskController to use ES6 destructuring, const, let
2019-02-12 10:36:15 -03:30
frankiebee
7e64a578a4
recent-blocks - dont listen for block when on infura providers
2019-02-11 09:16:03 -10:00
Whymarrh Whitby
f3a7054f6b
Add announcement for users migrated to the new UI
2019-02-05 08:49:55 -03:30
Frankie
df3169d1c7
I#5956 fix2 dont overwrite existing rpc settings ( #6044 )
...
* 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
2019-01-29 08:13:51 -10:00
Alexander Tseung
fba17d77de
Refactor first time flow, remove seed phrase from state ( #5994 )
...
* 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
2019-01-23 11:55:34 -03:30
Esteban Miño
e21dfd1862
Use Parity on-chain registry only when is needed ( #6052 )
...
* add and use knownMethodData to avoid infura requests
* dataMethod to methodData and check empty response
2019-01-22 10:22:56 -08:00
Alexander Tseung
d8ab9cc002
Group transactions by nonce ( #5886 )
2018-12-09 12:48:06 -08:00
Dan Miller
9b9a2cc2e0
Adds createSpeedUpTransaction to txController
2018-12-04 00:06:05 -03:30
Dan J Miller
4c24555545
Save recent network balances in local storage ( #5843 )
...
* 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>
2018-11-30 14:51:24 -08:00
Bruno Barbieri
f2066432ba
Use Array.includes
2018-11-26 13:27:49 -05:00
brunobar79
fb94c1bae7
remove extra semicolon
2018-11-20 12:57:58 -05:00
brunobar79
3abf9ec7db
consider hw wallets
2018-11-20 12:48:43 -05:00
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
2018-11-16 14:54:55 -10:00
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
2018-11-13 14:57:43 -05:00
bitpshr
34d80f21e2
Clear cached approval after rejection
2018-11-06 14:13:27 -05:00
bitpshr
d4171ccea5
Disable approval caching
2018-11-05 15:07:09 -08:00
bitpshr
cc1bab6ebb
Differentiate locked and enabled
2018-11-05 15:07:09 -08:00
bitpshr
d7618bd5c6
Code bath
2018-11-05 15:07:09 -08:00
bitpshr
ba40fcbcb4
Handle logout gracefully
2018-11-05 15:07:09 -08:00
bitpshr
84874a639d
Add isUnlocked provider hook
2018-11-05 15:07:09 -08:00
bitpshr
226601a956
EIP-1102: add user privacy option
2018-11-05 15:07:09 -08:00
bitpshr
89b4aa5d62
EIP-1102: Add option to force-enable provider
2018-11-05 15:07:09 -08:00
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
2018-11-05 15:07:09 -08:00
kumavis
1bb4a8428c
Merge pull request #5596 from MetaMask/validateSignTypedData
...
Validate signTypedData signer/address in eth-json-rpc-middleware
2018-10-29 20:11:04 -04:00
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
2018-10-26 10:26:43 +02:00
Thomas
8c0e5e97e5
Add version to unapprovedMessage
2018-10-24 20:24:42 -07:00
Thomas
95b92a1ddc
Remove commented out/unused methods
2018-10-24 20:13:40 -07:00
Thomas
1d65687ce4
Validate signTypedData in eth-json-rpc-middleware
2018-10-24 20:03:55 -07:00
Esteban Miño
7c4f98ffd6
specific add and remove methods for frequentRpcList ( #5554 )
2018-10-19 17:50:54 -02:30
kumavis
c289baa17a
Merge pull request #5127 from MetaMask/account-tracker-network-change
...
Bug Fix: Force AccountTracker to update balances on network change
2018-10-17 18:56:54 -04:00
Alexander Tseung
badebe017f
Adds toggle for primary currency ( #5421 )
...
* 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
2018-10-17 07:03:29 +08:00
Bruno Barbieri
17b9f4c0db
Merge pull request #5458 from MetaMask/provider-subs
...
Feature: Subscription support
2018-10-09 13:25:13 -04:00
kumavis
354f8c0d7d
provider - enable subscription support (newHeads, logs)
2018-10-08 11:55:07 -04:00
Dan Finlay
a909af92aa
Merge branch 'develop' into update-balance-on-unlock
2018-10-05 10:46:48 -07:00
Dan Finlay
507397f6c3
Fix updating of pending transactions
...
Transaction statuses were not being properly updated when:
- MetaMask was unlocked
- The network was changed
This PR fixes both of those. Fixes #5174
2018-10-05 10:35:14 -07:00
Dan Finlay
bc6d32e51e
Update all balances on password unlock
2018-10-05 10:32:28 -07:00
Dan Finlay
c49d854b55
Increase suggested gas percentile to 65 ( #5359 )
...
* Increase suggested gas percentile to 65
I keep submitting transactions then waiting a long time. Apparently 50th percentile isn't enough.
* Update test for getGasPrice
2018-10-04 18:38:05 -02:30
Whymarrh Whitby
58d856bd84
Add domain whitelist method to MetaMaskController
2018-10-02 10:43:46 -02:30
HackyMiner
13a1d46720
support editable customRPC ( #5267 )
...
* support editable customRPC #5246
* remove rpcList size restriction
2018-09-28 17:23:58 -02:30
kumavis
59ab595b5e
Merge branch 'develop' into account-tracker-network-change
2018-09-28 02:45:16 -04:00
bitpshr
c4caba1317
bugfix: update eth_signTypedData_v3 parameter order
2018-09-26 10:00:12 -04:00
Esteban Miño
4d82df6995
Fix MetaMask web3 version ( #5352 )
2018-09-25 16:14:37 -03:00
Dan Miller
19d72c9b0b
Adds getPendingNonce method to provider initialization options in metamask-controller.
2018-09-21 15:29:42 -02:30
bitpshr
42fdcf6239
Update new method namespace from v2 to v3
2018-09-13 15:42:27 -04:00
bitpshr
36dd0354e7
Implement latest EIP-712 protocol
2018-09-13 15:40:57 -04:00
Whymarrh Whitby
d60991ec88
Delete ConfigManager, replacing its usages with PreferencesController
2018-09-11 09:39:16 -07:00
Frankie
1552fe1c3e
Merge pull request #5216 from MetaMask/tx-cancel
...
Add createCancelTransaction method
2018-09-10 13:29:29 -10:00
Alexander Tseung
43de189d06
Add createCancelTransaction method
2018-09-10 12:48:01 -07:00
Connor Christie
ee568d5f5a
Upgrade obs-store and fix memory leaks
2018-09-09 19:33:51 -05:00
Esteban MIno
e743f44150
fix conflicts
2018-08-28 15:20:30 -03:00
Dan Finlay
f30b726df7
Merge pull request #5122 from MetaMask/lazy-account-tracker
...
Network IO Optimization: Lazy AccountTracker
2018-08-22 13:31:42 -07:00
Dan Finlay
bf6d624e76
Add todo to dedupe UI tracking in background
2018-08-22 12:05:41 -07:00
kumavis
cb0af67f74
metamask controller - force account tracker to update balances on network change
2018-08-22 11:23:54 -07:00
Whymarrh Whitby
003d445a98
Update unlock logic to not overwrite existing selected address
2018-08-22 15:38:34 -02:30
kumavis
a2654108be
account-tracker - only track blocks when there are activeControllerConnections
2018-08-21 16:49:24 -07:00
kumavis
3ac2b40dcf
metamask controller - track active controller connections
2018-08-21 16:30:11 -07:00
Esteban MIno
4e6c71e969
Merge branch 'develop' into WatchTokenFeature
2018-08-21 20:14:49 -03:00
brunobar79
cee5783283
fix hardware wallets account name
2018-08-21 00:04:30 -04:00
brunobar79
34e3ec6092
fix account removal
2018-08-21 00:04:07 -04:00
Esteban MIno
68c1b4c170
watchAsset returns result wether token was added or not
2018-08-20 22:32:14 -03:00
Esteban MIno
81cd29df43
Merge branch 'develop' into WatchTokenFeature
2018-08-20 19:35:38 -03:00
Bruno Barbieri
bd904c86f6
Merge branch 'develop' into ledger-support
2018-08-17 13:45:46 -04:00
brunobar79
992e7f1b5a
fix merge conflicts
2018-08-17 12:56:07 -04:00
Dan Matthews
df799d7fd6
Restores accounts until one with a zero balance is found
2018-08-17 10:26:47 -04:00
brunobar79
82a5ed1e03
remove console logs
2018-08-14 22:40:29 -04:00
brunobar79
fdf202efb0
fixed unit tests
2018-08-14 21:19:01 -04:00
Thomas
96d789d2cf
Merge branch 'develop' into network-remove-provider-engine
...
Override package-lock and fix merge conflicts
2018-08-14 10:44:42 -07:00
brunobar79
b77cc3d969
fix tx tests
2018-08-14 03:42:23 -04:00
brunobar79
61a279204a
legacy and new hd path working
2018-08-14 01:26:18 -04:00
brunobar79
4e1d8ba19d
good progress adding paths
2018-08-13 19:29:43 -04:00
brunobar79
0b9b892c6b
this should be ready to go
2018-08-12 01:34:01 -04:00
brunobar79
8e842a8947
able to add accounts
2018-08-11 05:02:02 -04:00
brunobar79
78a1cd3314
iframe communication working
2018-08-11 02:35:20 -04:00
brunobar79
5ef80495cf
refactor to support multiple hw wallets
2018-08-10 21:54:34 -04:00
Esteban Miño
3f57d5f66b
Merge branch 'develop' into WatchTokenFeature
2018-08-07 17:50:58 -04:00
Esteban MIno
9ac9f53a73
eth_watchToken working
2018-08-03 19:24:12 -04:00
Esteban MIno
21a61f2987
merge develop
2018-08-03 14:56:02 -04:00
Esteban MIno
22cf5a1391
improve comments
2018-07-30 20:44:22 -04:00
Esteban MIno
1d3ad7cfbb
tokens per network for individual account
2018-07-26 18:04:34 -04:00
Thomas
138858647e
Merge branch 'develop' into network-remove-provider-engine
2018-07-25 22:38:44 -07:00
brunobar79
5ebefc0e50
run linter
2018-07-21 16:03:31 -04:00
Esteban MIno
9be22775c3
fix merge
2018-07-20 20:15:33 -04:00
Esteban Miño
110efa9ec1
Merge branch 'develop' into detectTokenFeature
2018-07-20 20:09:37 -04:00
Esteban MIno
9c95554933
fix detection on submit password
2018-07-20 19:58:03 -04:00
Csaba S
c11dea9afc
Merge branch 'develop' into transaction-notifications
2018-07-20 20:09:57 +02:00
Csaba Solya
72591d4f41
remove dropped handler
2018-07-20 19:58:26 +02:00
Esteban Miño
cb045fd8fe
Auto-detect tokens #3034 ( #4683 )
...
* detect tokens polling
* network store to detect token
* tests for spec
* passtest-lint
* fix lint
* improve tests
* detect tokens through infura
* detect tokens when submit password and new account selected
* keyring unlocked detect and unit tests
* add changelog
2018-07-20 12:36:24 -04:00
Csaba Solya
a3822b4680
add notifications
2018-07-20 13:20:40 +02:00
Esteban MIno
009b1cefbe
keyring unlocked detect and unit tests
2018-07-19 19:46:46 -04:00
brunobar79
aa5a987765
added some e2e tests
2018-07-17 21:54:04 -04:00
brunobar79
e89350b19f
added tests for removeAccount
2018-07-17 01:44:28 -04:00
brunobar79
de4265c629
added more unit tests
2018-07-17 01:17:18 -04:00
brunobar79
e5512c306d
added unit tests for metamaskcontroller
2018-07-16 19:36:08 -04:00
Esteban MIno
2fffe09873
detect tokens through infura
2018-07-12 20:43:43 -04:00
brunobar79
80e875308b
forget device and autiload account features added
2018-07-11 21:21:36 -04:00
brunobar79
89cc48789a
update to temp dependencies
2018-07-11 20:01:44 -04:00
Esteban MIno
910713c6b3
improve tests
2018-07-11 15:59:05 -04:00
brunobar79
523cf9ad33
account removal is working
2018-07-11 00:20:40 -04:00
brunobar79
85a4e39b05
fix trezor label
2018-07-09 20:54:47 -04:00
brunobar79
d3f793a44a
added label for trezor accounts
2018-07-09 19:04:30 -04:00
brunobar79
2de3039b6b
fix account duplication
2018-07-09 17:55:37 -04:00
brunobar79
7cca7ace2e
fix all the account related bugs
2018-07-09 17:24:52 -04:00
brunobar79
7c9d942ba1
Merge branch 'develop' of github.com:MetaMask/metamask-extension into initial-trezor-support
2018-07-06 19:21:18 -04:00
brunobar79
6b2511f94f
UI refactor
2018-07-05 20:59:31 -04:00
Dan J Miller
46cda26f3b
Merge pull request #4685 from MetaMask/estimate-gasprice-background-newui
...
Use background gas price estimation method in new ui.
2018-07-05 08:01:03 -02:30
brunobar79
9d3f2435e5
lint fix
2018-07-03 15:46:15 -04:00
kumavis
77daed5c74
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-07-03 12:42:14 -07:00
Esteban MIno
0494b2fc8a
Merge branch 'develop' into detectTokenFeature
2018-07-03 13:23:15 -04:00
brunobar79
a8f745f9fe
eslint --fix .
2018-07-02 18:49:33 -04:00
kumavis
a89902c170
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-07-02 13:54:05 -07:00
brunobar79
1494cc5e6c
fix merge conflicts
2018-07-01 11:41:34 -10:00
Dan
de01a6f112
Use background gas price estimation method in new ui.
2018-06-28 21:28:59 -02:30
Esteban MIno
0e863d5fab
network store to detect token
2018-06-27 19:54:43 -04:00
Esteban MIno
bfac9c2c2d
detect tokens polling
2018-06-27 16:29:24 -04:00
brunobar79
87dfca0767
fixes
2018-06-23 02:52:11 -04:00
Dan Finlay
5e4f3e430a
Get popup appearing when suggesting new token
2018-06-18 15:37:37 -07:00
Dan Finlay
5d7c2810a7
Begin adding eth_watchToken
2018-06-18 15:07:08 -07:00
Dan Finlay
d814bee578
Merge pull request #4571 from MetaMask/disable-diagnostics
...
diagnostics - temporarily disable
2018-06-14 10:03:53 -07:00
kumavis
44a8e48a04
notices - replace getLatestNotice with getNextNotice
2018-06-13 23:30:31 -07:00
kumavis
43e805805e
diagnostics - temporarily disable
2018-06-13 17:40:28 -07:00
Bruno
704e2a21f8
clean up
2018-06-13 02:09:25 -04:00
Bruno
bb4cc72646
fix merge conflicts
2018-06-13 02:01:47 -04:00
Bruno
8763ea898e
move TrezorKeyring to its own package
2018-06-13 01:32:13 -04:00
kumavis
177cc3f280
metamask - ensure all nonce locks are released
2018-06-12 11:51:35 -07:00
Bruno
d1880073f6
balances working
2018-06-10 21:10:22 -04:00
Bruno
f6b27fa9eb
add account working
2018-06-10 19:02:54 -04:00
Bruno
f5f66f59d7
clean up
2018-06-10 18:48:42 -04:00
Bruno
8c4d58aa45
initial trezor support
2018-06-10 03:52:32 -04:00
Dan Finlay
c0d2dab28b
Merge pull request #4523 from MetaMask/i4462-FixResetBug
...
Fix bug where reset account would not work.
2018-06-07 10:47:34 -07:00
kumavis
66b703b1a4
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-06-07 10:07:36 -07:00
Dan Finlay
c53c5d5c9e
Fix bug where reset account would not work.
...
Fixes #4462
Ensures that resetAccount() can work on non-stock providers.
I'm unclear how this was ever working, this code hasn't moved in months,
but users report it recently breaking. Maybe we only recently pushed it
to prod.
2018-06-06 16:46:39 -07:00
Dan
ae55e8a3c1
Merge branch 'develop' into i3725-refactor-send-component-
2018-06-06 16:40:43 -02:30
kumavis
ffb8fa1649
lint - remove unused require
2018-06-06 11:17:52 -07:00
kumavis
9d77b0a196
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-06-06 11:08:29 -07:00
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
c9f3404ca5
metamask-controller - lint fix
2018-05-28 23:25:48 -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
kumavis
fe42de4642
metamask-controller - update preferences controller addresses after import account
2018-05-28 22:58:14 -07:00
Anton
71a6e97327
cleanErrorStack moved to separate library module
...
more errors traces cleaned up
2018-05-28 22:57:08 +02:00
kumavis
76cfb10864
metamask-controller - wrap txController.addUnapprovedTx for wallet middleware reference before txController is instantiated
2018-05-24 16:05:07 -07:00
kumavis
aab9691c42
provider - update wallet hooks for new wallet middleware
2018-05-24 15:51:46 -07:00
kumavis
66a62dfd0c
metamask-controller - fix account lookup hook
2018-05-24 13:44:33 -07:00
kumavis
3a80f3dd83
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-05-22 13:20:04 -07: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
088d7930e0
network - create provider and block-tracker via json-rpc-engine
2018-05-16 20:46:34 -07:00
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
Dan Finlay
bbe2c9f48d
Merge remote-tracking branch 'origin/master' into i2348-SelectAccountOnNewVault
2017-10-18 17:07:25 -07:00
Dan Finlay
d89394a7c9
Make account tracking much more reactive
2017-10-18 17:07:22 -07:00
kumavis
8da0d0b28a
Revert "NetworkController refactor for new EthClient interface"
2017-10-18 15:09:32 -07:00
Dan Finlay
75177ce34c
Make account tracking more reactive
...
We were doing a lot of conditional observation & updating.
Pulled out a bunch of that for generic observer/syncers.
2017-10-18 15:08:34 -07:00
Dan Finlay
9cc1e8a6d8
Refresh computed balances controller when restoring vault
2017-10-18 14:22:04 -07:00
Dan Finlay
7032edf32b
Stop tracking old account balances after restore vault
...
Per @kgserrano note
2017-10-18 11:13:14 -07:00
Dan Finlay
50e8599988
Promisify metamask-controller vault creating methods
2017-10-17 13:25:27 -07:00
Dan Finlay
d7f384485d
Select first account when restoring seed
...
Fixes #2348
2017-10-17 13:19:57 -07:00
Dan Finlay
ab31eb6a17
Select first account on new vault creation
2017-10-17 13:09:41 -07:00
kumavis
4d273d3cea
lint fixes
2017-10-10 14:14:43 -07:00
kumavis
efa92a7fc5
network controller - refactor to use eth-rpc-client
2017-10-10 14:13:12 -07:00
kumavis
ff4e9a0d11
metamask controller - define this.newTransaction to ease instantiation order
2017-10-10 10:50:45 -07:00
kumavis
f7c1bc804d
metamask controller - simplify provider init
2017-10-10 10:39:31 -07:00
kumavis
e79037261e
metamask controller - breakout getAccounts method
2017-10-10 10:26:59 -07:00
Dan Finlay
9bc80d998e
Add signTypedData input validations
2017-10-05 14:39:35 -07:00
Dan Finlay
c5b7880f05
Merge branch 'master' into SignTypedData
2017-10-05 11:55:23 -07:00
Chi Kei Chan
bd99bc2e88
Merge branch 'master' into NewUI-flat
2017-10-03 16:02:58 -07:00
Dan
ac4868170f
Enables remove token and ensures add/remove update the list without need for refresh.
2017-10-03 15:46:01 -07:00
Sergey Ukustov
e11ca12890
Merge remote-tracking branch 'upstream/master'
2017-10-03 02:10:47 +03:00
Adam Novak
8cc8fecdac
Don't pass origin as an HTTP header
...
Requests with this nonstandard header are being blocked by CORS when
made against Parity.
Not sending it ought to fix #1779 .
2017-10-01 18:55:52 -07:00
kumavis
7bdf73b1dd
Merge pull request #2233 from MetaMask/remove-accountTracker-from-transactions
...
pending-tx - dont check the balance to rebrodcast
2017-09-29 17:36:49 -07:00
kumavis
d6ea2fa425
network - convert localhost from custom rpc to network type
2017-09-29 16:35:58 -07:00
kumavis
b88d11f86e
network controller - small refactor
2017-09-29 16:09:38 -07:00
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
2017-09-29 12:54:05 -07:00
Dan Finlay
861bd877f3
Ensure selected account is always set if possible
...
Fixes #2218
Subscribes to keyringController, and if only one account exists, sets it as selected.
2017-09-29 11:19:54 -07:00
Sergey Ukustov
c2b8dada91
Add eth_signTypedData handler
2017-09-29 19:40:46 +03:00
kumavis
7e9c6e96a1
metamask - improve comment
2017-09-27 14:10:17 -07:00
Dan Finlay
e72083f6e8
Merge branch 'master' into filter-fixes-moar
2017-09-27 10:57:02 -07:00
kumavis
1877c0766c
Merge branch 'master' of github.com:MetaMask/metamask-extension into BreakOutKeyringController
2017-09-26 21:42:30 -07:00
Dan Finlay
651098c70d
Remove duplicate instantiation of account-tracker
2017-09-26 14:30:29 -07:00
Dan Finlay
2eca5455c0
Move obs store into account-tracker instead of inheriting
2017-09-26 14:15:16 -07:00
Dan Finlay
9e3648c668
Pass blocktracker to balances controller
2017-09-26 11:33:36 -07:00
Dan Finlay
dfbdb99858
Merge branch 'master' into AddBalanceController
2017-09-25 11:49:38 -07:00
Dan Finlay
443b1a8eb7
Remove keyring controller from project
2017-09-22 14:38:40 -07:00
Dan Finlay
aa2abc00eb
Merge branch 'AddBalanceController' into BreakOutKeyringController
2017-09-22 14:30:31 -07:00
kumavis
dd45592641
metamask - use provider-engines block tracker
2017-09-22 14:22:07 -07:00
Dan Finlay
128cf40f91
Fix accont-tracker merge bug
2017-09-22 14:16:19 -07:00
Dan Finlay
f9d2f523c6
Merge branch 'master' into AddBalanceController
2017-09-22 14:12:41 -07:00
Dan Finlay
d2a747e57e
Fix computed-balances controller reference
2017-09-22 14:06:54 -07:00
Dan Finlay
11c8c07bfc
Refactor eth-store into account-tracker
...
EthStore was only being used for tracking account balances and nonces now, so I removed its block-tracking duties, renamed it account-tracker, and removed it as a dependency from `KeyringController`, so that KRC can go live on without a hard dep on it.
2017-09-22 13:59:25 -07:00
Dan Finlay
4c971ebfd1
Define encryptor in constructor params instead of platform object
2017-09-22 13:25:08 -07:00
Dan Finlay
bd117d6b71
Merge branch 'master' into ConfigurableEncryption
2017-09-21 15:56:24 -07:00
Dan Finlay
e9043f22df
Allow custom encryptor to be passed to MetaMaskController and KeyringControllers.
2017-09-21 15:47:25 -07:00
kumavis
765ef64061
metamask controller - destroy filter polyfill on disconnect
2017-09-13 15:19:44 -07:00
kumavis
245c0f0c27
metamask controller - move middleware into seperate files
2017-09-13 15:17:26 -07:00
Dan Finlay
a01921758b
Add computed balance to account detail view
2017-09-13 15:06:04 -07:00
Dan Finlay
86cd4e4fed
Got pending balance updating correctly
2017-09-13 14:28:51 -07:00
kumavis
96d1175834
debug - prefer logger over console
2017-09-13 10:28:29 -07:00
kumavis
a265144176
metamask cont - standardize multiplex stream naming
2017-09-13 10:21:00 -07:00
Dan Finlay
53a467cd1e
Some progress
2017-09-12 15:06:19 -07:00
kumavis
9d4c02e57f
metamask - add jsonrpc filter middleware on per-connection engine
2017-09-07 21:26:25 -07:00