aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into rinkebyDan Finlay2017-04-2832-118/+111
|\
| * Fix linting warningsThomas Huang2017-04-2732-119/+112
| |
* | Add missing changes. Create unique style for rinkeby icon.Kevin Serrano2017-04-262-2/+6
| |
* | add rinkeby networkNickyg2017-04-262-0/+7
|/
* auto-faucet - only skip faucet on explicit test environmentkumavis2017-04-051-1/+1
|
* add platforms to mascara + move buyEther window open to uikumavis2017-04-055-20/+72
|
* Merge pull request #1307 from MetaMask/mascarakumavis2017-04-051-1/+0
|\ | | | | Proof of Concept: Mascara
| * clean - metamask controller - remove logkumavis2017-04-051-1/+0
| |
| * Merge branch 'master' into mascarafrankiebee2017-04-0310-193/+160
| |\
| * \ Merge branch 'master' into mascarafrankiebee2017-04-035-9/+28
| |\ \
| * | | Clean upfrankiebee2017-03-311-1/+0
| | | |
| * | | WIP: lost enital call from dapp to getAccountsfrankiebee2017-03-302-0/+2
| | | |
| * | | Merge branch 'master' into mascarafrankiebee2017-03-297-58/+125
| |\ \ \
| * \ \ \ Merge branch 'master' into mascarafrankiebee2017-03-2413-569/+127
| |\ \ \ \
| * | | | | WIP: indexdb is at an err state "provider is undefined"frankiebee2017-03-241-1/+0
| | | | | |
| * | | | | WIP: streams->indexdbfrankiebee2017-03-242-1/+1
| | | | | |
* | | | | | Merge pull request #1308 from MetaMask/FixFaucetKevin Serrano2017-04-052-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix faucet to only autoFaucet first account
| * | | | | | Fix faucet to only autoFaucet first accountfrankiebee2017-04-052-0/+3
| | |_|_|_|/ | |/| | | |
* / | | | | Switch auto-faucet from XMLHttpRequest to fetchfrankiebee2017-04-041-5/+11
|/ / / / /
* | | | | notification-manager - rename show -> showPoup + make getPopup privatekumavis2017-04-012-11/+11
| | | | |
* | | | | ui - use global.platform for extension interactionkumavis2017-04-012-0/+8
| | | | |
* | | | | Merge branch 'master' of github.com:MetaMask/metamask-plugin into platformkumavis2017-04-011-4/+16
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | tx-manager - add eip155 supportkumavis2017-03-311-4/+16
| | | | |
* | | | | ui - move popup auto-close after tx conf to ui entrypointkumavis2017-04-011-1/+5
| | | | |
* | | | | ui - startPopup returns store after bootkumavis2017-04-012-29/+32
| | | | |
* | | | | extension - remove local extension files, we use extensionizerkumavis2017-03-312-85/+0
| | | | |
* | | | | introduce platform api and rename notifications to notification-managerkumavis2017-03-316-79/+116
| | | | |
* | | | | extension - prefer extensionizer modulekumavis2017-03-311-1/+1
|/ / / /
* | | | Merge pull request #1293 from MetaMask/ImproveGasEstimatesKevin Serrano2017-03-301-3/+4
|\ \ \ \ | | | | | | | | | | tx-utils - gas buffer ceiling at 90% of block gas limit
| * | | | tx-utils - gas buffer ceiling at 90% of block gas limitkumavis2017-03-301-3/+4
| | | | |
* | | | | LintedDan Finlay2017-03-301-1/+1
| | | | |
* | | | | Fix popup behavior for FirefoxDan Finlay2017-03-302-2/+7
| | | | | | | | | | | | | | | | | | | | Firefox does not support the `focused` parameter when opening a new window, and we don't actually require it for Chrome either, new popups are at the foreground by default already.
* | | | | Add missing migration.Kevin Serrano2017-03-291-0/+1
| |_|_|/ |/| | |
* | | | Merge pull request #1268 from MetaMask/kovan-faucet-instructionsDan Finlay2017-03-291-0/+4
|\ \ \ \ | | | | | | | | | | Add Kovan faucet instructions
| * \ \ \ Merge branch 'master' into kovan-faucet-instructionsDan Finlay2017-03-294-45/+59
| |\ \ \ \
| * | | | | Add link to kovan faucet instructions.Kevin Serrano2017-03-281-0/+4
| | | | | |
* | | | | | Merge pull request #1273 from MetaMask/i1267-seedfixDan Finlay2017-03-291-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Assure that seed words are placed into state tree upon request.
| * | | | | Assure that seed words are placed into state tree upon request.Kevin Serrano2017-03-281-1/+1
| | | | | |
* | | | | | Merge pull request #1276 from MetaMask/ImproveGasEstimateskumavis2017-03-293-43/+44
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | Improve UI gas calculation logic
| * | | | | tx manager - emit update on new unapproved txkumavis2017-03-291-1/+2
| | | | | |
| * | | | | tx manager - add eth-querykumavis2017-03-291-1/+3
| | | | | |
| * | | | | tx manager - adjust new tx flow and txMeta decorationskumavis2017-03-292-41/+32
| | | | | |
| * | | | | Improve UI gas calculation logicDan Finlay2017-03-291-0/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Now striping hex prefixed gas values, which may have been causing mis-estimation. - Unified calculation logic to be entirely functional. - Greatly simplified how the pending-tx form keeps updated form state. Still needs a commit from @kumavis to ensure the background passes in a txMeta.txParams.gasPrice value.
* / / / / Fix injection logic.Kevin Serrano2017-03-291-3/+16
|/ / / /
* / / / Allow injection in IFrames + dynamic IFramesStefaan Ponnet2017-03-261-1/+1
|/ / /
* | | Merge branch 'master' into i1210-txdisappearanceKevin Serrano2017-03-253-3/+40
|\ \ \
| * \ \ Merge branch 'master' into notice-modificationDan Finlay2017-03-251-3/+3
| |\ \ \
| | * | | Remove gas limit paramDan Finlay2017-03-241-3/+3
| | | |/ | | |/| | | | | | | | | Fixes #1256 by removing redundant param.
| * | | Create migration to erase body in read notices.Kevin Serrano2017-03-231-0/+36
| | | |
| * | | Remove notice body after reading.Kevin Serrano2017-03-231-0/+1
| |/ /
* / / Fix persistence of transactions between networks.Kevin Serrano2017-03-231-10/+22
|/ /
* | Merge branch 'master' into i238-kovanDan Finlay2017-03-231-9/+5
|\ \
| * \ Merge branch 'master' into i1237-xmlfix2Kevin Serrano2017-03-231-1/+5
| |\ \
| * \ \ Merge branch 'master' into i1237-xmlfix2Kevin Serrano2017-03-231-5/+10
| |\ \ \
| * | | | Modify logic for injection conditions.Kevin Serrano2017-03-231-9/+5
| | | | |
* | | | | Merge branch 'master' into i238-kovanKevin Serrano2017-03-231-1/+5
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Add current block number and hash to the state.Kevin Serrano2017-03-231-1/+5
| | |/ / | |/| |
* | | | Add kovan config settings to config manager.Kevin Serrano2017-03-231-0/+4
| | | |
* | | | Add kovan to config file.Kevin Serrano2017-03-231-0/+2
|/ / /
* / / Have better error messagesfrankiebee2017-03-231-5/+10
|/ /
* | Remove eth-lightwalletDan Finlay2017-03-174-550/+1
| |
* | Merge branch 'master' into i1165-predictiveKevin Serrano2017-03-153-3/+3
|\ \
| * | Rename variables to proper currency state variables.Kevin Serrano2017-03-151-1/+1
| | |
| * | Fix description of some migrations.Kevin Serrano2017-03-152-2/+2
| |/
* | Limit the number of addresses stored in our book.Kevin Serrano2017-03-141-0/+4
| |
* | Connect keyring controller to address book to prevent additional duplicates.Kevin Serrano2017-03-112-9/+23
| |
* | Improve duplicate checking in address book.Kevin Serrano2017-03-111-2/+2
| |
* | Add comments.Kevin Serrano2017-03-111-4/+19
| |
* | Allow for adding recently used addresses to address book.Kevin Serrano2017-03-101-0/+4
| |
* | Rename functions for consistency.Kevin Serrano2017-03-101-6/+6
| |
* | Create persistence address book.Kevin Serrano2017-03-102-0/+57
| |
* | Create distinct labels and names for addresses.Kevin Serrano2017-03-101-1/+3
|/
* Modify message.Kevin Serrano2017-03-091-1/+1
|
* Add more informative messageKevin Serrano2017-03-091-1/+3
|
* Merge branch 'master' into i1065-removealertKevin Serrano2017-03-091-20/+22
|\
| * Merge branch 'master' into kumavis-patch-1Dan Finlay2017-03-095-39/+81
| |\
| * | tx-utils - add encoding utilskumavis2017-03-081-1/+1
| | |
| * | tx-utils - stricter naming type-based conventionkumavis2017-03-081-9/+15
| | |
| * | tx-utils - clean and commentkumavis2017-03-081-15/+11
| | |
* | | Convert alert to a log.errorKevin Serrano2017-03-091-1/+1
| |/ |/|
* | Merge branch 'master' into i1144-moarrpcKevin Serrano2017-03-092-6/+30
|\|
| * Merge branch 'master' into i1118-IncreaseGasBufferDan Finlay2017-03-081-1/+1
| |\
| | * Fix grammar in erro messagefrankiebee2017-03-081-1/+1
| | |
| * | Merge branch 'master' into i1118-IncreaseGasBufferjaredpereira2017-03-081-1/+22
| |\|
| | * Merge branch 'master' into i#1032frankiebee2017-03-083-13/+19
| | |\
| | * | fix issue where account import allows for duplicatesfrankiebee2017-03-081-1/+22
| | | |
| * | | change BN.mul to BN.mulnJared Pereira2017-03-081-1/+1
| | | |
| * | | remove constant buffer and add multiplierJared Pereira2017-03-081-5/+8
| | |/ | |/|
* | | Nodeify and promisify calls to background.Kevin Serrano2017-03-091-2/+4
| | |
* | | Refactor of code into separate reducers and actions.Kevin Serrano2017-03-082-5/+14
| | |
* | | Merge branch 'master' into i1144-moarrpcKevin Serrano2017-03-083-13/+19
|\| |
| * | Merge branch 'master' into i1173-ShowPersonalMessageDan Finlay2017-03-072-5/+5
| |\ \
| | * | Fix issue where old txMeta object was being used to pass the txHash to the cbFrankie2017-03-072-5/+5
| | |/
| * | Fix normalizeMsgData function to always return hex prefixedDan Finlay2017-03-071-1/+1
| | |
| * | Render personal_sign messages as utf-8 textDan Finlay2017-03-071-8/+14
| |/ | | | | | | | | | | | | | | | | | | | | Calls to `personal_sign` are now: - When hex encoded, preserved as hex encoded, but displayed as utf-8 text. - When not hex encoded, decoded as utf-8 text as hex for signing. - The messages proposed for signing are displayed as UTF-8 text. - When the message cannot be rendered as UTF-8 text, it is displayed as hexadecimal. Fixes #1173
* | More conflict resolution.Kevin Serrano2017-03-024-4/+4
|\ \
| * | add controllers to root scripts folderDan Finlay2017-02-284-3/+3
| | |
| * | Merge branch 'master' into i1144-moarrpcDan Finlay2017-02-2812-281/+252
| |\ \
* | \ \ Fix merge conflicts.Kevin Serrano2017-03-0214-327/+267
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Add a couple more debug logsDan Finlay2017-03-011-0/+1
| | |
| * | Use correct action to update and submit txDan Finlay2017-03-011-0/+1
| | |
| * | LintedDan Finlay2017-03-011-1/+0
| | |
| * | Remove gasMultiplier txMeta paramDan Finlay2017-03-016-44/+4
| | | | | | | | | | | | | | | | | | 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.
| * | Fixed bug that made send screen sometimes transition to account detailDan Finlay2017-03-011-0/+1
| | |
| * | Add background method for updating and approving a tx in one callDan Finlay2017-02-281-2/+9
| | |
| * | Merge branch 'master' into i765-gaslimitsDan Finlay2017-02-2812-281/+251
| |\|
| | * Removed redundant personal_recover logicDan Finlay2017-02-252-18/+0
| | |
| | * Mostly fix personal_recoverDan Finlay2017-02-252-6/+6
| | |
| | * Fix cancel msg signing behavior.Dan Finlay2017-02-241-6/+25
| | |
| | * Got personal_sign workingDan Finlay2017-02-243-21/+42
| | | | | | | | | | | | Also fixed bug where signing would not close popup.
| | * Add alternate UI for pending personal_sign messagesDan Finlay2017-02-242-1/+3
| | |
| | * Add personal sign actions and templateDan Finlay2017-02-231-0/+5
| | |
| | * Allow provider to init before keyringControllerDan Finlay2017-02-221-2/+6
| | |
| | * Fix referenceDan Finlay2017-02-221-1/+1
| | |
| | * Point metamask-controller personalSignRecover method to keyring-controllerDan Finlay2017-02-221-9/+5
| | |
| | * Move sigUtil and keyrings to external modulesDan Finlay2017-02-2210-261/+202
| | | | | | | | | | | | 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.
| * | Make gasPrice accessible to the UI.Kevin Serrano2017-02-251-0/+1
| |/
* | Tested against code to play nice with unit tests.Kevin Serrano2017-02-242-3/+12
| |
* | Implemented functionality for displaying recent custom RPCsKevin Serrano2017-02-231-14/+15
| |
* | Fix namingKevin Serrano2017-02-222-3/+3
| |
* | Basic infrasture for RPC list added.Kevin Serrano2017-02-222-3/+24
|/
* Add memstore update after adding new keyringDan Finlay2017-02-161-0/+1
|
* keyring controller - update memStore after restoreKeyringkumavis2017-02-161-0/+1
|
* Merge branch 'master' into devDan Finlay2017-02-162-4/+29
|\
| * got hash test passingDan Finlay2017-02-142-2/+5
| |
| * Revert old style message sighingFrankie2017-02-102-2/+24
| |
* | Made migrations non-destructive; fixed currency migration.Kevin Serrano2017-02-1610-22/+49
| |
* | Add migrations for removing terms of use data.Kevin Serrano2017-02-152-0/+31
| |
* | Merge branch 'dev' into disclaimer-notifyKevin Serrano2017-02-102-1/+7
|\ \
| * | Allowed net_version to be called synchronouslyKevin Serrano2017-02-092-1/+7
| |/
* | Delete all code related to disclaimers.Kevin Serrano2017-02-104-73/+0
| |
* | Fix bugs with notice. Add disclaimer notice.Kevin Serrano2017-02-101-3/+3
|/
* Fix typoDan Finlay2017-02-051-1/+1
|
* Remove shapeshift tx list from idStoreDan Finlay2017-02-051-2/+1
|
* Stop removing old shapeshift txsDan Finlay2017-02-051-16/+0
|
* Do not remove completed shapeshift depositsDan Finlay2017-02-041-1/+2
|
* Fix bug when clearing old shapeshift txsDan Finlay2017-02-041-1/+3
|
* Automatically remove shapeshift txs over 11 minutes old with no paymentDan Finlay2017-02-041-0/+22
|
* Add migration to indexDan Finlay2017-02-041-1/+2
|
* Got ShapeShiftController back to workingDan Finlay2017-02-042-12/+43
|
* Mostly got shapeshift tx management into its own controllerDan Finlay2017-02-043-37/+112
| | | | Rendering the list is still having issues, so this isn't done yet.
* eth-store - update store state after manipulatingkumavis2017-02-041-0/+2
|
* id mgmt - update to latest eth_sign speckumavis2017-02-044-34/+55
|
* migrations - fix migration #9 and add safety checks to migratorkumavis2017-02-042-3/+14
|
* eths-store - eagerly set current blockkumavis2017-02-041-0/+2
|
* metamask - add missing diskState and memState subscriptionskumavis2017-02-031-6/+11
|
* migration #9 - break out CurrencyController substatekumavis2017-02-036-75/+133
|
* eth-store - cbs default to noopkumavis2017-02-031-5/+5
|
* migration #8 - break out NoticeController substatekumavis2017-02-034-28/+63
|
* eth-store - convert to obs-store subclasskumavis2017-02-032-118/+103
|
* txManager - depend on preferencesStorekumavis2017-02-032-4/+8
|
* metamask - introduce networkStorekumavis2017-02-032-35/+50
|
* migration 7 - break off TransactionManager substatekumavis2017-02-034-25/+89
|
* messageManager - move view state to obs-storekumavis2017-02-032-38/+28
|
* keyring - replace getState with memStorekumavis2017-02-032-30/+2
|
* keyring - manage isUnlocked in memStorekumavis2017-02-031-1/+7
|
* keyring - rm config depkumavis2017-02-032-5/+2
|
* Merge branch 'dev' into notice-managementKevin Serrano2017-02-033-1/+2
|\
| * metamask - memState - adopt configManager.isDisclaimerConfirmed from keyring ↵kumavis2017-02-022-1/+1
| | | | | | | | controller
| * emit a update badgeFrankie2017-02-021-1/+1
| |
| * put updateBadge back inFrankie2017-02-021-0/+1
| |
* | Change filepath for new location of notices.Kevin Serrano2017-02-031-1/+1
|/
* swap out set state for updateStateFrankie2017-02-021-4/+1
|
* Fix messy mergeFrankie2017-02-021-14/+2
|
* Merge branch 'dev' into messageManagerCleanUpFrankie2017-02-022-50/+69
|\
| * metamask - adopt isInitialized from keyring controllerkumavis2017-02-012-4/+8
| |
| * keyring - move identities into memStorekumavis2017-02-011-7/+15
| |
| * keyring - add keyringtypes to memStorekumavis2017-02-011-3/+3
| |
| * metamask - inherit some configManager state from keyring controllerkumavis2017-02-012-10/+13
| |
| * keyring - synchronous getStatekumavis2017-02-012-46/+47
| |
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-02-028-47/+110
|\|
| * migration #6 - fix selectedAddress data sourcekumavis2017-01-311-2/+2
| |
| * inpage - set web3.eth.defaultAccount correctlykumavis2017-01-312-2/+2
| |
| * continue rename selectedAccount to selectedAddresskumavis2017-01-314-13/+13
| |
| * rename selectedAccount to selectedAddresskumavis2017-01-314-10/+13
| |
| * metamask - rename getSelectedAccount to getSelectedAddresskumavis2017-01-312-5/+5
| |
| * migration #6 - move selectedAccount from keyringController to ↵kumavis2017-01-312-0/+42
| | | | | | | | preferencesController
| * metamask - move selectedAccount set/get to preferencesControllerkumavis2017-01-312-33/+12
| |
| * preferences - introduce preferences controllerkumavis2017-01-312-0/+39
| |
* | code clan up and testsFrankie2017-02-023-41/+39
| |
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-01-302-4/+13
|\|
| * metamask - lookup selectedAccount via keyringControllerkumavis2017-01-302-3/+12
| |
| * public config - get selectedAccount from keyring controller substatekumavis2017-01-301-1/+1
| |
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-01-295-174/+236
|\|
| * metamask - subscribe metamask store to keyringController substatekumavis2017-01-291-0/+3
| |
| * migration 5 - move keyring controller state to substatekumavis2017-01-293-67/+95
| |
| * keyring - add and initialize obs-storekumavis2017-01-292-6/+36
| |
| * metamask - adopt shapeshift txs from keyringControllerkumavis2017-01-282-2/+3
| |
| * tests - remove persistence and start with initial statekumavis2017-01-281-9/+1
| |
| * metamask - organize methodskumavis2017-01-281-120/+126
| |
* | Clean up message manger includes:Frankie2017-01-295-126/+129
| | | | | | | | | | | | | | | | | | 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
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-01-284-194/+205
|\|
| * metamask - fix setupProviderConnectionkumavis2017-01-271-1/+1
| |
| * keymanager - small cleankumavis2017-01-271-2/+2
| |
| * metamask controller - cleanup remote apikumavis2017-01-271-77/+100
| |
| * metamask - organize into sectionskumavis2017-01-271-49/+61
| |
| * metamask - use web3-stream-provider/handler instead of manual wiringkumavis2017-01-271-23/+8
| |
| * metamask controller - adopt setup*Communication from backgroundkumavis2017-01-272-44/+41
| |
| * background - stream disconnection fixkumavis2017-01-272-8/+8
| |
| * metamask controller - adopt clearSeedWords from keyring controllerkumavis2017-01-272-15/+9
| |
* | Rewrite message controller to fit controller patternFrankie2017-01-281-48/+45
|/
* background - graceful publicConfigStore connection teardownkumavis2017-01-271-1/+3
|
* background - organize metamask instantiationkumavis2017-01-273-47/+37
|
* obs-store - use published modulekumavis2017-01-2510-295/+85
|
* migrations - rename 005 to stubbed _multi-keyringkumavis2017-01-251-0/+7
|
* Merge branch 'dev' of github.com:MetaMask/metamask-plugin into obs-store2kumavis2017-01-252-31/+33
|\
| * Merge branch 'dev' into i#1048kumavis2017-01-252-0/+56
| |\
| | * Merge pull request #1051 from MetaMask/hotfix1048Frankie2017-01-251-3/+5
| | |\ | | | | | | | | hotfix - addNewAccount - dont assume hd keyring position
| | | * hotfix - dont assume hd keyring positionkumavis2017-01-251-3/+5
| | | |
| * | | background controller - extract KeyringC.placeSeedWords to MetamaskCkumavis2017-01-252-22/+16
| | | |
| * | | keyring-controller - cleanupkumavis2017-01-251-2/+3
| | | |
| * | | keyring-controller - cleanupkumavis2017-01-251-5/+3
| | | |
| * | | Move the assumption of their only being one hd keyring when requesting seed ↵Frankie2017-01-252-7/+8
| | | | | | | | | | | | | | | | words to metamaskController
| * | | Fix issue where generating a new account would put it in loose keysFrankie2017-01-252-4/+12
| | |/ | |/|
* | | Merge branch 'dev' into obs-store2kumavis2017-01-2210-135/+328
|\ \ \ | | |/ | |/|
| * | Merge branch 'master' into upToDateFrankie2017-01-211-1/+3
| |\|
| | * keyring controller - placeSeedWords should use first hdKeyringkumavis2017-01-211-1/+3
| | |
| * | Merge branch 'dev' into i715-AddJsonImportDan Finlay2017-01-191-1/+1
| |\|
| | * Merge branch 'master' into Version-3.1.0Dan Finlay2017-01-191-1/+1
| | |\
| | | * Merge branch 'master' into fixSignedVsSubmittedFrankie2017-01-191-3/+6
| | | |\
| | | * | Fix the dissplay for submitted transactions and the listner wating to hear ↵Frankie2017-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | when tx's were included in a block
| * | | | Add ability to import v3 JSON walletsDan Finlay2017-01-191-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is now a menu item labeled "JSON File" for importing, and it can digest either: - v1 MyEtherWallet JSON files - v3 Account files (used by Geth, Mist, and MyEtherWallet). Fixes #715
| * | | | Added new modular private key import systemDan Finlay2017-01-192-0/+48
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
| * | | Merge branch 'dev' into i715-AddImportMenukumavis2017-01-191-6/+5
| |\ \ \
| | * | | tx-manager - use rpc-specified txHashkumavis2017-01-191-6/+5
| | | | |
| * | | | Allow importing of private key stringsDan Finlay2017-01-183-8/+22
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
| * | | Merge branch 'dev' into conversion-api-errDan Finlay2017-01-189-130/+249
| |\ \ \
| | * | | Fix bug where signed messages were not dismissedDan Finlay2017-01-171-0/+1
| | | | |
| | * | | Fix removeHexPrefix to stripHexPrefixDan Finlay2017-01-171-1/+1
| | | | |
| | * | | Wrote fix for eth.signDan Finlay2017-01-171-2/+1
| | | |/ | | |/|
| | * | keyring - simple - throw error if wallet not found for addresskumavis2017-01-171-1/+4
| | | |
| | * | keyring - simple - fix address generationkumavis2017-01-171-3/+3
| | |/
| | * eth-store - emit update on new account addkumavis2017-01-151-1/+3
| | |
| | * background - txManager - filter txs by networkkumavis2017-01-152-4/+6
| | |
| | * background - return txHash to provider-engine on donekumavis2017-01-152-14/+13
| | |
| | * Fix the inclusion of the txFee in the meta tx objectFrankie2017-01-151-3/+5
| | |
| | * fix for lintingFrankie2017-01-141-0/+1
| | |
| | * Satisfy review needs:Frankie2017-01-142-21/+23
| | | | | | | | | | | | | | | | | | | | | removed unnecessary this.query = opts.query from constructor Created a tx error state for errors in approveTransaction validateTxParams has been moved to tx-utils removed "value" arg from _setTxStatus
| | * fix the maxcost not being included in txMetaFrankie2017-01-141-3/+7
| | |
| | * Merge branch 'bug-submitTx' of github.com:MetaMask/metamask-plugin into ↵kumavis2017-01-144-13/+38
| | |\ | | | | | | | | | | | | bug-submitTx
| | | * Merge branch 'dev' into bug-submitTxkumavis2017-01-144-13/+38
| | | |\
| | | | * Merge branch 'dev' into integrateTxManagerUIFrankie2017-01-141-2/+2
| | | | |\
| | | | * | Clean up codeFrankie2017-01-141-1/+2
| | | | | |
| | | | * | Merge branch 'dev' into integrateTxManagerUIFrankie2017-01-121-1/+1
| | | | |\ \
| | | | * | | Fix wording and icon of failed txsFrankie2017-01-122-15/+16
| | | | | | |
| | | | * | | Add to CHANGELOGFrankie2017-01-121-2/+8
| | | | | | |
| | | | * | | Merge branch 'dev' into integrateTxManagerUIFrankie2017-01-123-36/+11
| | | | |\ \ \
| | | | * | | | Take some of the tx Logic out of the UI and create a visble state for ↵Frankie2017-01-124-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pending and unaproved transactions
| | * | | | | | background - metamask controller - fix 'this' refkumavis2017-01-141-7/+8
| | |/ / / / /
| | * | | | / background - handle tx finalization in controllers instead of provider-enginekumavis2017-01-134-108/+186
| | | |_|_|/ | | |/| | |