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
kumavis
57e4805c62
streams - use pump and published obj-multiplex
2017-09-07 21:17:49 -07:00
kumavis
cc56d0d2f6
inpage - use json-rpc-engine for inpage-provider
2017-08-24 15:44:40 -07:00
kumavis
8a9d0073b1
Merge pull request #1848 from MetaMask/transactionControllerRefractor
...
Transaction controller refractor part 1: promises for everyone and more tests!
2017-08-02 19:57:16 -07:00
frankiebee
b80c7e417b
move newUnapprovedTransaction to transactions.js
2017-08-02 18:59:34 -04:00
kumavis
8c6f01b910
blacklist controller - breakout from metamask and infura controllers
2017-08-02 15:54:59 -07:00
kumavis
ecaa235b5e
phishing detection - move phishing detection into contentscript and metamask controller
2017-08-02 14:26:10 -07:00
frankiebee
25bc15ba17
lint fixes
2017-08-02 11:47:13 -04:00
frankiebee
ece9200c72
fix spelling mistake
2017-08-02 11:36:07 -04:00
frankiebee
432f516ab0
make addUnapprovedTransaction async function and use promise based ethQuery
2017-08-02 10:26:25 -04:00
frankiebee
948f3880a3
turn off auto faucet and remove file
2017-07-17 17:37:01 -04:00
frankiebee
751103d948
Merge branch 'master' into nonce-tracker
2017-07-12 15:10:58 -07:00
frankiebee
da35f6744e
use new nodeify
2017-07-12 15:06:49 -07:00
kumavis
9f46984fee
metamask - on rpc err show whole error body
2017-07-11 14:17:47 -07:00
kumavis
d228f46254
Merge branch 'master' into nonce-tracker
2017-07-07 14:21:43 -07:00
kumavis
68fc3603df
metamask - append dapp origin domain to rpc request
2017-07-04 12:48:00 -07:00
Thomas Huang
ffd3773ef3
Merge pull request #1620 from MetaMask/i1616-AddTokenAdding
...
Add ability to add tokens to token list
2017-06-28 10:07:49 -07:00
frankiebee
847a4282a2
Merge branch 'master' into nonce-tracker
2017-06-27 13:10:56 -07:00
Thomas Huang
8b5b2d8329
Merge pull request #1663 from MetaMask/infura-status
...
Add Infura Status Information to UI State
2017-06-26 12:06:23 -07:00
Kevin Serrano
b7f8657ab5
Add infura network status to our UI state.
2017-06-22 12:32:08 -07:00
Dan Finlay
41d992cca9
Merge branch 'AddTokenList' into i1616-AddTokenAdding
2017-06-19 19:03:49 -07:00
Kevin Serrano
9da243f42d
Merge branch 'AddTokenList' of github.com:MetaMask/metamask-plugin into AddTokenList
2017-06-19 13:51:38 -07:00
frankiebee
0d8c02db35
Merge branch 'master' into nonce-tracker
2017-06-16 17:07:12 -07:00
frankiebee
3e359d6a6a
Merge branch 'master' into i1567-FixInaccurateError
2017-06-16 16:39:52 -07:00
Dan Finlay
06f6aa7a00
Debounce background updates
...
Our background sometimes emits absurd quantities of updates very quickly.
This PR reduces the amount of inter-process traffic by ensuring the `sendUpdate` method does not fire more than every 200 ms.
Fixes #1621
2017-06-15 18:01:10 -07:00
Dan Finlay
48789f2a3d
Add ability to add tokens to token list
...
Fiex #1616
2017-06-15 16:22:53 -07:00
frankiebee
2e5deef2b0
check nonce and balance when resubmiting tx
2017-06-15 13:48:48 -07:00
kumavis
b3492d9c17
transaction controller - use nonce-tracker
2017-06-14 23:44:02 -07:00
Dan Finlay
b7b9e0c1ac
Persist selected account tab
...
Also improve error handling with token balances.
2017-06-14 14:21:50 -07:00
frankiebee
c5d74e6421
include ethQuery in txController
2017-05-23 20:06:19 -04:00
frankiebee
243eeff7cb
Fix for tests
2017-05-23 19:49:57 -04:00
frankiebee
529304c005
Wrap the provider in a proxy
2017-05-23 01:56:10 -04:00
frankiebee
13a41f3129
Merge branch 'master' into networkController
2017-05-22 19:48:10 -04:00
frankiebee
f87ea49b5a
Create a network controller to manage switcing networks an updating the provider
2017-05-19 00:14:10 +02:00
Dan Finlay
2df9344be5
Rename tx manager to tx controller
2017-05-16 10:35:28 -07:00
kumavis
fb08c4a131
metamask - publicConfig - fix init state
2017-05-04 17:56:30 -07:00
kumavis
10ba760ed3
metamask - selected accounts - dont reveal when locked
2017-05-04 17:50:59 -07:00
Dan Finlay
a3149c1752
Use loglevel for more logs
2017-04-30 12:38:38 -07:00
Thomas Huang
6bdb4c8728
Fix linting warnings
2017-04-26 21:05:45 -07:00
kumavis
5a91adf7d8
add platforms to mascara + move buyEther window open to ui
2017-04-04 18:23:46 -07:00
kumavis
5d967eeebb
Merge pull request #1307 from MetaMask/mascara
...
Proof of Concept: Mascara
2017-04-04 11:27:45 -07:00
kumavis
4779999bfc
clean - metamask controller - remove log
2017-04-04 11:13:07 -07:00
frankiebee
0a7b388b39
Fix faucet to only autoFaucet first account
2017-04-04 18:38:56 +02:00
frankiebee
f81fdbc34f
Merge branch 'master' into mascara
2017-04-02 23:04:55 -07:00
kumavis
5036263f88
introduce platform api and rename notifications to notification-manager
2017-03-30 18:33:19 -07:00
frankiebee
84b3415b44
WIP: lost enital call from dapp to getAccounts
2017-03-29 10:53:43 -07:00
frankiebee
a20a237282
Merge branch 'master' into mascara
2017-03-28 18:02:39 -07:00
Dan Finlay
7b9ac18557
Merge pull request #1268 from MetaMask/kovan-faucet-instructions
...
Add Kovan faucet instructions
2017-03-28 14:56:02 -07:00
Kevin Serrano
a95d96d507
Assure that seed words are placed into state tree upon request.
2017-03-28 11:23:25 -04:00
Kevin Serrano
c1136a6317
Add link to kovan faucet instructions.
2017-03-27 16:05:21 -04:00
frankiebee
8e30acb41a
Merge branch 'master' into mascara
2017-03-23 15:44:29 -07:00
frankiebee
45ab81fb45
WIP: streams->indexdb
2017-03-23 11:06:38 -07:00
Dan Finlay
b6e2eaf7b1
Remove eth-lightwallet
2017-03-16 11:16:03 -07:00
Kevin Serrano
a186e40d17
Merge branch 'master' into i1165-predictive
2017-03-14 17:52:03 -07:00
Kevin Serrano
37ffcfcf0e
Rename variables to proper currency state variables.
2017-03-14 17:06:16 -07:00
Kevin Serrano
7dcab52a9e
Connect keyring controller to address book to prevent additional duplicates.
2017-03-10 10:34:46 -08:00
Kevin Serrano
b34ee4daa1
Allow for adding recently used addresses to address book.
2017-03-09 15:10:27 -08:00
Kevin Serrano
9f6c040554
Create persistence address book.
2017-03-09 13:58:42 -08:00
Kevin Serrano
cf2268c3d2
Nodeify and promisify calls to background.
2017-03-08 09:06:41 -08:00
Kevin Serrano
e7e024bcdd
Refactor of code into separate reducers and actions.
2017-03-07 16:01:51 -08:00
Kevin Serrano
08ca7dac5a
Merge branch 'master' into i1144-moarrpc
2017-03-07 10:37:31 -08:00
Frankie
b84f1b0532
Fix issue where old txMeta object was being used to pass the txHash to the cb
2017-03-06 15:41:11 -08:00
Kevin Serrano
e66035254f
More conflict resolution.
2017-03-01 10:04:25 -08:00
Kevin Serrano
0a3849ec84
Fix merge conflicts.
2017-03-01 10:01:21 -08:00
Dan Finlay
ddc136a7c2
Add a couple more debug logs
2017-02-28 15:41:20 -08:00
Dan Finlay
f908aaafbc
Use correct action to update and submit tx
2017-02-28 14:45:21 -08:00
Dan Finlay
da88481560
Remove gasMultiplier txMeta param
...
This was used by the custom gas slider on the `send` screen, and it was used to modify the gas value before sending it out, breaking our new custom gas field logic.
Removed it and the logic that referred to this now-outdated parameter.
2017-02-28 14:08:00 -08:00
Dan Finlay
1eb4a5d62c
Add background method for updating and approving a tx in one call
2017-02-27 18:25:46 -08:00
Dan Finlay
b5d03cd524
add controllers to root scripts folder
2017-02-27 10:40:37 -08:00
Dan Finlay
5edb3db969
Merge branch 'master' into i1144-moarrpc
2017-02-27 10:36:48 -08:00
Dan Finlay
8c66260bdb
Removed redundant personal_recover logic
2017-02-24 17:07:54 -08:00
Dan Finlay
f2851402f3
Mostly fix personal_recover
2017-02-24 16:36:29 -08:00
Dan Finlay
961a83769b
Fix cancel msg signing behavior.
2017-02-23 16:02:58 -08:00
Dan Finlay
4697aca02c
Got personal_sign working
...
Also fixed bug where signing would not close popup.
2017-02-23 14:23:45 -08:00
Kevin Serrano
62854398f1
Tested against code to play nice with unit tests.
2017-02-23 13:56:58 -08:00
Dan Finlay
564f920ae0
Add personal sign actions and template
2017-02-22 16:30:09 -08:00
Dan Finlay
8684fc40c7
Allow provider to init before keyringController
2017-02-21 14:41:55 -08:00
Dan Finlay
92fb07999a
Point metamask-controller personalSignRecover method to keyring-controller
2017-02-21 14:32:35 -08:00
Dan Finlay
0584988688
Move sigUtil and keyrings to external modules
...
These external modules now have their own test coverage and build enforcement. This allowed me to somewhat more easily add good tests around our personalSign strategy (held now in [eth-sig-util](https://github.com/flyswatter/eth-sig-util ), and allow each of the keyrings to import that, etc.
2017-02-21 14:25:47 -08:00
Kevin Serrano
026e0e3383
Fix naming
2017-02-21 12:51:46 -08:00
Kevin Serrano
db48f8984f
Basic infrasture for RPC list added.
2017-02-21 12:32:13 -08:00
Kevin Serrano
f9601ac2dd
Merge branch 'dev' into disclaimer-notify
2017-02-09 19:04:17 -08:00
Kevin Serrano
65c84ac4b2
Delete all code related to disclaimers.
2017-02-09 18:17:50 -08:00
Kevin Serrano
4033b620bd
Allowed net_version to be called synchronously
2017-02-08 15:51:22 -08:00
Dan Finlay
13ee92909c
Mostly got shapeshift tx management into its own controller
...
Rendering the list is still having issues, so this isn't done yet.
2017-02-03 20:45:20 -08:00
kumavis
ff87b9dc7a
id mgmt - update to latest eth_sign spec
2017-02-03 14:59:07 -08:00
kumavis
970d4fd695
metamask - add missing diskState and memState subscriptions
2017-02-02 23:47:00 -08:00
kumavis
9e4ef45b6a
migration #9 - break out CurrencyController substate
2017-02-02 23:32:24 -08:00
kumavis
8b5e3aa287
migration #8 - break out NoticeController substate
2017-02-02 22:23:45 -08:00
kumavis
73edfc9f31
eth-store - convert to obs-store subclass
2017-02-02 22:05:06 -08:00
kumavis
f08f40aee2
txManager - depend on preferencesStore
2017-02-02 21:09:17 -08:00
kumavis
0c6df24ecf
metamask - introduce networkStore
2017-02-02 20:59:47 -08:00
kumavis
99fa9ab13a
migration 7 - break off TransactionManager substate
2017-02-02 20:20:13 -08:00
kumavis
bcb86f38cb
messageManager - move view state to obs-store
2017-02-02 18:21:22 -08:00
kumavis
79ed2e902f
keyring - replace getState with memStore
2017-02-02 17:07:52 -08:00
kumavis
5c5aa6ea01
keyring - rm config dep
2017-02-02 16:54:16 -08:00
kumavis
4c0cb9d92e
metamask - memState - adopt configManager.isDisclaimerConfirmed from keyring controller
2017-02-01 16:38:09 -08:00
Frankie
54b1339f6a
Merge branch 'dev' into messageManagerCleanUp
2017-02-01 13:05:58 -08:00
Frankie
ce0c3ed03c
Merge branch 'dev' into messageManagerCleanUp
2017-02-01 12:03:42 -08:00
Frankie
1b16b46241
code clan up and tests
2017-02-01 11:54:01 -08:00
kumavis
1cb730144d
metamask - adopt isInitialized from keyring controller
2017-02-01 00:31:26 -08:00
kumavis
ad060e2678
metamask - inherit some configManager state from keyring controller
2017-01-31 22:35:11 -08:00
kumavis
c0d3db6a8c
keyring - synchronous getState
2017-01-31 20:02:38 -08:00
kumavis
7ccaa263d2
inpage - set web3.eth.defaultAccount correctly
2017-01-30 15:38:32 -08:00
kumavis
2fa60cfcbf
continue rename selectedAccount to selectedAddress
2017-01-30 15:25:12 -08:00
kumavis
f9b31fe2c3
rename selectedAccount to selectedAddress
2017-01-30 15:08:31 -08:00
kumavis
b1de2cdefa
metamask - rename getSelectedAccount to getSelectedAddress
2017-01-30 13:09:46 -08:00
kumavis
4dafb09db2
metamask - move selectedAccount set/get to preferencesController
2017-01-30 13:01:07 -08:00
kumavis
0a1918f71a
preferences - introduce preferences controller
2017-01-30 12:42:24 -08:00
Frankie
f40629e5ae
Merge branch 'dev' into messageManagerCleanUp
2017-01-30 00:50:02 -08:00
kumavis
dd528d886f
metamask - lookup selectedAccount via keyringController
2017-01-30 00:32:04 -08:00
kumavis
6480c2d8a6
public config - get selectedAccount from keyring controller substate
2017-01-29 23:59:17 -08:00
Frankie
fdee1e3701
Merge branch 'dev' into messageManagerCleanUp
2017-01-28 22:59:28 -08:00
kumavis
13e2003469
metamask - subscribe metamask store to keyringController substate
2017-01-28 22:12:15 -08:00
Frankie
8be68575bb
Clean up message manger includes:
...
Provider egine bump
Remove presence of message manger in keyring controller
Change the status wording fom conf to approved
make Message manager a class
fix messages not being apart of the badge
re write message manger to better reflect controller pattern
2017-01-28 20:28:20 -08:00
kumavis
e9cdbf4f89
keyring - add and initialize obs-store
2017-01-28 13:12:12 -08:00
kumavis
1fd1746744
metamask - adopt shapeshift txs from keyringController
2017-01-27 23:05:29 -08:00
kumavis
ad9531d521
metamask - organize methods
2017-01-27 19:35:03 -08:00
kumavis
efcd22905a
metamask - fix setupProviderConnection
2017-01-26 23:03:11 -08:00
kumavis
9ab8362843
metamask controller - cleanup remote api
2017-01-26 22:30:12 -08:00
kumavis
fc1b11e373
metamask - organize into sections
2017-01-26 21:19:09 -08:00
kumavis
832772414e
metamask - use web3-stream-provider/handler instead of manual wiring
2017-01-26 21:18:17 -08:00
kumavis
2113979be7
metamask controller - adopt setup*Communication from background
2017-01-26 20:52:46 -08:00
kumavis
2f79781ab9
metamask controller - adopt clearSeedWords from keyring controller
2017-01-26 20:17:36 -08:00
kumavis
dc86ddebb7
background - graceful publicConfigStore connection teardown
2017-01-26 16:07:35 -08:00
kumavis
af115aa4c1
background - organize metamask instantiation
2017-01-26 15:09:31 -08:00
kumavis
76ce348a04
obs-store - use published module
2017-01-24 19:47:00 -08:00
kumavis
bb1ee8e649
Merge branch 'dev' of github.com:MetaMask/metamask-plugin into obs-store2
2017-01-24 16:09:57 -08:00
kumavis
70b8e640f0
Merge branch 'dev' into i#1048
2017-01-24 15:39:33 -08:00
kumavis
463a56ff54
background controller - extract KeyringC.placeSeedWords to MetamaskC
2017-01-24 15:33:33 -08:00
Frankie
48ffea0142
Move the assumption of their only being one hd keyring when requesting seed words to metamaskController
2017-01-24 12:28:05 -08:00
Frankie
8642ced310
Fix issue where generating a new account would put it in loose keys
2017-01-24 12:06:59 -08:00
kumavis
74dc20bdf1
Merge branch 'dev' into obs-store2
2017-01-21 10:06:50 -08:00
Dan Finlay
b52346388b
Added new modular private key import system
...
Now any strategy for importing a private key that can be described as a pure function can be very easily turned into a MetaMask import strategy.
I've created a generic and reusable UI action called `importNewAccount(strategy, args)`.
The `strategy` is a unique identifier defined in `app/scripts/account-import-strategies`, and the `args` will be passed to the member of the `strategies` array whose key matches the strategy string.
Strategies return private key hex strings, and are used by the metamask-controller to create a new keyring, and select that new account, before calling back.
This also implements @frankiebee's idea of showing the imported account when it's been imported (my oversight!).
This commit only moves us to this architecture, keeping feature parity for private key import, but has some untested code for importing geth-style JSON files as well!
2017-01-18 15:20:48 -08:00
Dan Finlay
1ff4894b67
Allow importing of private key strings
...
Fixes #1021
A top-right menu item now allows `Account Import`. It has a menu (with one item for now) that allows importing a private key string.
Errors are displayed, and a success navigates the user to their account list, where the imported account is labeled `LOOSE`.
2017-01-17 16:24:45 -08:00
kumavis
c3d491a37c
background - return txHash to provider-engine on done
2017-01-14 20:51:29 -08:00
kumavis
d06c54e0b7
Merge branch 'bug-submitTx' of github.com:MetaMask/metamask-plugin into bug-submitTx
2017-01-13 15:51:36 -08:00
kumavis
d755b66e20
background - metamask controller - fix 'this' ref
2017-01-13 15:51:08 -08:00
kumavis
9f162e72b4
Merge branch 'dev' into bug-submitTx
2017-01-13 13:26:57 -08:00
kumavis
29e83d71a8
background - handle tx finalization in controllers instead of provider-engine
2017-01-13 02:00:11 -08:00
kumavis
3bc996878b
background - move pojo migrator to outside of metamask controller
2017-01-11 22:47:56 -08:00
kumavis
8012ede126
background - introduce ObservableStore
2017-01-11 19:31:21 -08:00
Frankie
0b59dafc34
Merge branch 'dev' into integrateTxManagerUI
2017-01-11 12:17:17 -08:00
Frankie
0fae263a9a
Take some of the tx Logic out of the UI and create a visble state for pending and unaproved transactions
2017-01-11 12:16:37 -08:00
kumavis
26e4ff40e1
rpc - fix sync account cache setting
2017-01-11 02:33:57 -08:00
kumavis
61637c738b
web3 provider - override eth_syncing and web3_clientVersion
2017-01-11 00:46:44 -08:00
kumavis
4c1b7700ad
Merge branch 'dev' into TearDownOnDisconnect
2017-01-05 14:25:31 -05:00
kumavis
00ac5ca058
Merge branch 'dev' into TearDownOnDisconnect
2017-01-05 14:18:34 -05:00
Dan Finlay
73ee0ae766
Merge branch 'dev' into fixTxManager
2017-01-05 11:18:13 -08:00
Frankie
e62f70660d
MetaMask Controller - Convert to EventEmitter
2017-01-05 11:06:18 -08:00
Dan Finlay
7659f5894a
Combine two identical then blocks
2017-01-05 11:03:30 -08:00
Frankie
cf6817092b
remove unnecessary try statments
2017-01-04 15:03:45 -08:00
Dan Finlay
ead8a05034
Fix dependency reference
2017-01-04 14:21:36 -08:00
Frankie
354fa763d4
Merge branch 'dev' into fixtTxManager
2017-01-04 13:05:29 -08:00
Frankie
e6da8e2762
Fix signing of transactions
2017-01-04 13:04:33 -08:00
Dan Finlay
33b4d213f1
Fix sendUpdate for new promisified getState method
2017-01-03 11:15:38 -08:00
Dan Finlay
1b9906372b
Update UI state on ethStore updates
...
UI was remarkably not relying on ethStore for updates, so things like account balances were frozen until user activity.
Fixes #963
2017-01-03 11:10:20 -08:00
Dan Finlay
25d0ac1476
Merge branch 'dev' into ShowDifferentAccounts
2017-01-02 14:04:27 -08:00
Dan Finlay
21af3de43d
Merge branch 'FixMigrationPasswordBug' into ShowDifferentAccounts
2016-12-23 17:10:56 -08:00
Dan Finlay
e95c937569
Add additional migration test
2016-12-23 17:09:24 -08:00
Frankie
fa3e708f34
Merge branch 'dev' into TxManager
2016-12-23 12:48:36 -08:00
Frankie
fde69ea0ba
fix some minor spelling mistakes and clean up code
2016-12-23 12:43:42 -08:00
Dan Finlay
a10fe6b6f4
Return keyring metadata on metamask state object
...
Required making the getState methods for both keyringController and metamaskController async.
They both now return promises, and the main metamask-controller.getState method is now nodeified.
Will allow the UI to render loose keys differently than persisted keys.
2016-12-22 17:17:07 -08:00
Dan Finlay
9e54e3baa0
Break up migration function
2016-12-22 13:56:45 -08:00
Dan Finlay
291403c13f
Don't bother changing selected accounts since accounts are recovered
2016-12-22 13:45:45 -08:00
Dan Finlay
cf3951c9df
Remove logs
2016-12-22 13:40:12 -08:00
Dan Finlay
0df656850d
Linted
2016-12-21 17:30:10 -08:00
Dan Finlay
ebeaf3b3d6
Restructured migration
...
Migrator now returns a lostAccount array that includes objects
these objects include keys of address and privateKey,
this allows the MetamaskController to restore the lost accounts
even without customizing the idStore or the KeyringController.
Also includes a patch that allows idStore to synchronously export private keys.
2016-12-21 17:21:10 -08:00
Frances Pangilinan
9e1c90eafc
fix merge
2016-12-21 14:46:10 -08:00
Frankie
6f7c23fd28
Merge branch 'dev' into TxManager
2016-12-21 14:31:07 -08:00
Frances Pangilinan
1ebcbe296b
Migrate all tx mutation code out of keyring controller and
...
Fix up txManager to reflect code review requests
2016-12-21 13:41:49 -08:00
Frances Pangilinan
6e78494846
First pass at revision requests
2016-12-21 13:41:32 -08:00
Dan Finlay
48f2ae2154
Move old keystore migration code to metamask controller
...
Allows keyring controller to be more generic, less opinionated, and who knows, maybe sooner publishable as its own thing.
2016-12-21 11:02:04 -08:00
Dan Finlay
931ae5f64a
Make notices confirmation configurable
...
- Confirm button will now dismiss the lost accounts array.
2016-12-20 15:24:08 -08:00
Dan Finlay
77d2deb176
Merged master into dev
2016-12-19 13:37:27 -08:00
kumavis
73998feeb2
move notice code from metamask-controller + config-manager, in to notice-controller
2016-12-16 12:44:47 -08:00
Kevin Serrano
1458b8c68e
Deactivate polling for now.
2016-12-16 11:39:41 -08:00
Dan Finlay
2b1d821da3
Cleanup
2016-12-16 11:26:39 -08:00
Kevin Serrano
851ba66cdd
Add ability to show notices to user & get confirmation.
...
Implement generation of markdown for notice files.
Create npm command. Enhance notice generation.
Add test files to test multiple notices.
Add basic markdown support to notices.
Interval checks for updates.
Add extensionizer and linker
Add terms and conditions state file
Add link support to disclaimer.
Changelog addition.
2016-12-16 10:55:42 -08:00
Kevin Serrano
8819475a2e
Add ability to show notices to user & get confirmation.
...
Implement generation of markdown for notice files.
Create npm command. Enhance notice generation.
Add test files to test multiple notices.
Add basic markdown support to notices.
Interval checks for updates.
Add extensionizer and linker
Add terms and conditions state file
Add link support to disclaimer.
Changelog addition.
2016-12-16 10:44:52 -08:00
Frances Pangilinan
090935f90a
Create a TxManager
2016-12-14 12:55:41 -08:00
Dan Finlay
4b6b1db4f0
Ordered keyringController methods the same in metamask-controller
2016-11-29 12:05:23 -08:00
Dan Finlay
9d401f9137
Fix nodeify usage
2016-11-28 17:27:28 -08:00
Dan Finlay
80e76b45ee
Denodeify most of KeyringController
...
Mostly Fixes #893
A couple methods cache callbacks, and will require a larger refactor to fully denodeify.
Specifically, our methods involving web3 requests to sign a tx, sign a message, and approve or cancel either of those.
I think we should postpone those until the TxManager refactor, since it will likely handle this response caching itself.
2016-11-28 16:13:03 -08:00
Kevin Serrano
8261cf232d
Merge branch 'dev' into dev-cleanup
2016-11-22 10:50:15 -08:00
Kevin Serrano
17669e4af8
Make ropsten faucet button point at the correct url.
2016-11-22 10:20:59 -08:00
Kevin Serrano
8d2afccdc0
Ropsten has sole access to the faucet.
2016-11-22 10:13:57 -08:00
Kevin Serrano
88ed1f191f
Add to changelog.
2016-11-22 09:45:28 -08:00
Kevin Serrano
1cbab788ec
Change fauceting to become a response of an emit.
2016-11-21 16:46:26 -08:00
Kevin Serrano
f5b0795ac5
change all instances of selectedAddress to selectedAccount.
2016-11-21 16:21:16 -08:00
Kevin Serrano
64296df309
Resolve merge conflicts.
2016-11-15 13:43:15 -08:00
Kevin Serrano
7de6b12aad
Re-enable disclaimer screen. Rename variables to reflect role more clearly.
2016-11-14 16:49:16 -08:00
Kevin Serrano
d891869eff
First attempt at fixing errors in confirmation screen.
2016-11-14 11:19:01 -08:00
Kevin Serrano
23263bec7d
Linting to the max.
2016-11-11 10:26:12 -08:00
Frankie
17aac2dbc5
fix tx data so it has the network id
2016-11-10 19:07:12 -08:00
Frankie
f665b779cb
Merge branch 'master' into i328-MultiVault
2016-11-10 16:53:47 -08:00
Kevin Serrano
b6b4be61d9
Fix bug for increasing gas by 20 percent.
2016-11-09 16:29:24 -08:00
Kevin Serrano
8f3db0dbc0
Add reveal of seed words.
2016-11-01 22:19:04 -07:00
Dan Finlay
b5f6ef8c01
Fixed bugs related to clearing caches when restoring to a new vault
2016-11-01 17:00:17 -07:00
Kevin Serrano
db356a181a
Made progress on parity for MultiVault
...
- Deleted some unused items
- Renamed files and paths to match with new locations.
- Modified keyring controller logic to separate concerns.
- Fix account naming issues.
- Enable creation of new vault with default HD keyring.
- Formatting issues.
2016-11-01 11:30:10 -07:00
Kevin Serrano
96643c222a
Implement seed word confirmation page.
...
Remove logs.
Move HD render files to ui/app.
2016-10-31 11:35:09 -07:00
Dan Finlay
6ec471c6dc
Configure BIP44 Keychain as default one
2016-10-28 12:10:35 -07:00
Kevin Serrano
678301a20e
Phase out extra warning screen.
2016-10-25 13:24:03 -07:00
Dan Finlay
1ddb8b9aec
Added tx & msg managing functionality to new KeyringController
2016-10-21 13:41:33 -07:00
Dan Finlay
9560ae93ee
Added tx and msg signing to keychain & controller
2016-10-20 19:06:17 -07:00
Dan Finlay
55d56f77cf
Began adding first basic keyring
2016-10-20 16:45:58 -07:00
Kevin Serrano
afbc4c832b
Git merge resolution.
2016-10-19 14:57:30 -07:00
Frankie
35232c5e29
Fix for linting
2016-10-13 18:08:15 -07:00
Frankie
aace26c4bd
Create callback and Clean-up details
2016-10-13 16:53:32 -07:00
Frankie
b200f74d5f
Merge branch 'master' into i#495CustomGasField
2016-10-13 15:17:30 -07:00
Frankie
c400f7c0f6
Fix gasPrice range
2016-10-13 15:10:29 -07:00
Kevin Serrano
7cba71fc55
Merge branch 'i328-MultiVault' of github.com:MetaMask/metamask-plugin into origin/i328-MultiVault
2016-10-12 17:12:52 -07:00
Dan Finlay
cd2c00a318
Add minimal method signatures to new keyring controller
2016-10-12 17:05:39 -07:00
Kevin Serrano
d750daed5c
Remove logs.
2016-10-12 13:05:15 -07:00
Kevin Serrano
3954ed2a7e
Fix misnamed variable.
2016-10-12 13:04:21 -07:00
Kevin Serrano
5e9bc31c58
Cleanup.
2016-10-11 15:50:02 -07:00
Kevin Serrano
f7361d9654
lint
2016-10-11 14:49:24 -07:00
Kevin Serrano
79a99ac93b
Move tos hash comparison logic from background to mm controller.
2016-10-11 14:33:30 -07:00
Kevin Serrano
21d1959435
Fix linting and guarantees set TOS hash.
2016-10-07 01:54:12 -07:00
Kevin Serrano
e4f2cd2e09
Fix retention of terms of service hash across reloads of plugin.
2016-10-07 01:42:13 -07:00
Kevin Serrano
4ea3246912
Add controller functions for storing and checking TOS hashes.
2016-10-06 03:24:28 -07:00
Dan Finlay
da611eb3a1
Improve popup behavior for parity errors
...
When we receive an invalid params error, instead of opening the popup and showing no tx, we now just forward that tx back to the UI code.
2016-10-03 20:04:44 -07:00
Frankie
ebf864ae6e
Fix for readability
2016-10-02 04:53:43 +08:00
Frankie
0a8a25c818
Fix issue #688 where fiat conversion does not persist when switching networks
2016-10-01 09:31:14 +08:00
Dan Finlay
e197e3808f
Drop origin key from requests for Parity compatibility
2016-09-19 10:16:27 +08:00
Frankie
17eb53cfcd
Change Testfaucet url
2016-09-15 10:22:09 -07:00
Dan Finlay
bfea26d3e3
Ensure listener is cleaned up
...
Also fixed bug when validating a tx with no value.
2016-09-06 18:56:26 -07:00
Dan Finlay
dcc24804a1
Add negative value validation to tx approval
2016-09-06 15:23:48 -07:00
Dan Finlay
793ad6b8d8
Merge branch 'master' into PopupNotifications
2016-08-24 16:59:22 -07:00
Dan Finlay
3febbdae57
Linted
2016-08-24 16:02:22 -07:00
Dan Finlay
abb5b2013d
Fix bug where unconfirmed message sig is lost when locked.
...
Fixes #484
Adds unsigned messages to the in-memory message list before showing the unlock message.
2016-08-24 15:58:08 -07:00
Dan Finlay
e5ca83d2bf
Emit updates to all listeners on pending tx updates
...
Previously the metamask controller only supported a single UI event listener, which wasn't useful for having a separate notification UI open at the same time.
Also reduced the notification's complexity down to a single method, which is heavily re-used.
Still has an outstanding bug where if the plugin ui dismisses the last tx, it does not close the notification popup.
2016-08-23 11:15:56 -07:00
Frankie
3525dc0801
Create a ShapeShift tx in tx History
2016-08-18 15:20:26 -07:00
Frankie
efa61f2cf8
Merge branch 'master' into shapeshiftTx
2016-08-18 11:06:32 -07:00
Frankie
752d16f6c0
WIP: ShapeShift tx
2016-08-18 11:04:28 -07:00
Kevin Serrano
d43ac808ff
Fix uncalled fn.
2016-08-16 14:28:32 -07:00
Kevin Serrano
58e3042a3b
Remove logging. Clean up duplicate entries in currency list.
2016-08-16 13:21:16 -07:00
Kevin Serrano
6895d330ff
Merge master.
2016-08-15 10:50:53 -07:00
Kevin Serrano
b1f68ec9cd
Add global var for background.
2016-08-11 19:44:59 -07:00
Kevin Serrano
2b0c6953e2
Create global variable that changes ui logging.
2016-08-11 18:58:23 -07:00
Kevin Serrano
243d83dd33
Separate developmentMode conditional to only wrap log.
2016-08-11 14:24:35 -07:00
Kevin Serrano
ad468c1880
Merge branch 'master' into logging-fix
2016-08-11 14:07:49 -07:00
Kevin Serrano
9904b4ef5a
Add ability to hide logging messages in production.
2016-08-11 13:59:14 -07:00
Kevin Serrano
abfc5632ef
Fix ether warning checkbox.
2016-08-10 10:54:55 -07:00
Kevin Serrano
cb0c1f25ba
Did not previously call functions before!
2016-08-09 16:49:15 -07:00
Kevin Serrano
637d3978b7
Fix default value. Add loading indication for async.
2016-08-09 16:33:58 -07:00
Kevin Serrano
479abadaa7
Merge branch 'master' into usd-conversion
2016-08-04 13:26:03 -07:00
Dan Finlay
c9c8fbf2ec
Fix account selection updating
2016-07-29 13:27:39 -07:00
Kevin Serrano
86832e6feb
Fix merge conflicts. Fix typos. Ensure currency immediately updated on load.
2016-07-22 11:15:47 -07:00
Kevin Serrano
22528002e1
Linting!
2016-07-22 10:15:39 -07:00
Kevin Serrano
a612fcee64
Change function names. Add interval polling for api. Refactor functions.
2016-07-21 16:44:50 -07:00
Kevin Serrano
716e65424d
Add date access throughout the data flow.
2016-07-21 14:08:26 -07:00
Frankie
fcd523abe4
Buy button ( #474 )
...
* WIP: Buy button link
* Add buy eth and the buy eth warning message
* Add css
* Move the opening of coinbase page to background
and send to faucet if on test net
* Create a Warning about storeing eth
* Finish Buy button and Eth store warning screen
* Add to CHANGELOG
* fix frankies deletion and change chrome to extension
2016-07-21 13:41:10 -07:00
Kevin Serrano
7b85802a0f
Merge branch 'master' into usd-conversion
2016-07-21 11:30:57 -07:00
Dan Finlay
6658bea8d4
Implement some cross-browser practices ( #473 )
...
* Add mozilla plugin key to manifest
* Move all chrome references into platform-checking module
Addresses #453
* Add chrome global back to linter blacklist
* Add tests
2016-07-21 10:45:32 -07:00
Kevin Serrano
4a9d5b1c25
Add data field to pass up parameters up to reducer.
2016-07-21 10:15:34 -07:00
Kevin Serrano
491b9cddc5
Add fiat actions to metamask controllere and actions.
2016-07-21 09:30:58 -07:00
Dan Finlay
9609593f13
Fix bug where rejected tx would not call back
2016-07-07 11:00:19 -07:00
Dan Finlay
c0b0c9c028
Simplify error log
2016-07-05 09:51:33 -07:00
Dan Finlay
1d8d7d833d
Improve metamask-controller error logging
...
Fixes #384
2016-07-05 09:06:33 -07:00
kumavis
cc970ccd0d
fix typo
2016-06-30 15:31:36 -07:00
Dan Finlay
60fec24c00
Debugged by using a real dapp
2016-06-24 17:00:35 -07:00
Dan Finlay
d3e0e7fe45
Manually debugged refactor
2016-06-24 16:46:18 -07:00
Dan Finlay
122018a96a
Fixed tests
2016-06-24 16:13:27 -07:00
Dan Finlay
fa7e466559
Rename background-controller metamask-controller
2016-06-24 15:55:11 -07:00