aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
Commit message (Collapse)AuthorAgeFilesLines
* Change default network to rinkebyThomas Huang2017-05-161-5/+5
|
* migrator - fix typokumavis2017-05-131-1/+1
|
* migrator - cleaner migration runner with es7kumavis2017-05-121-25/+13
|
* use asyncQ.waterfall instead of asyncQ.eachSeriesfrankiebee2017-05-121-4/+10
|
* fix migratorfrankiebee2017-05-111-9/+8
|
* Minor lintKevin Serrano2017-05-031-1/+1
|
* notification-manager - remove promise listenerkumavis2017-04-291-3/+0
| | | | | | | | seems chrome changed their API? MDN suggests that a Promise should be returned but getting `undefined` https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/create Chrome docs suggest its a callback API lolwut https://developer.chrome.com/extensions/windows#method-create
* Merge branch 'master' into rinkebyDan Finlay2017-04-288-21/+21
|\
| * Fix linting warningsThomas Huang2017-04-278-22/+22
| |
* | Add missing changes. Create unique style for rinkeby icon.Kevin Serrano2017-04-261-1/+5
| |
* | add rinkeby networkNickyg2017-04-261-0/+5
|/
* auto-faucet - only skip faucet on explicit test environmentkumavis2017-04-051-1/+1
|
* add platforms to mascara + move buyEther window open to uikumavis2017-04-052-3/+24
|
* Switch auto-faucet from XMLHttpRequest to fetchfrankiebee2017-04-041-5/+11
|
* notification-manager - rename show -> showPoup + make getPopup privatekumavis2017-04-011-10/+10
|
* extension - remove local extension files, we use extensionizerkumavis2017-03-312-85/+0
|
* introduce platform api and rename notifications to notification-managerkumavis2017-03-312-67/+74
|
* 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.
* tx manager - adjust new tx flow and txMeta decorationskumavis2017-03-291-17/+15
|
* 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.
* Remove gas limit paramDan Finlay2017-03-241-3/+3
| | | | Fixes #1256 by removing redundant param.
* 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
|/
* Remove eth-lightwalletDan Finlay2017-03-173-513/+0
|
* Merge branch 'master' into kumavis-patch-1Dan Finlay2017-03-093-207/+0
|\
| * Merge branch 'master' into i1144-moarrpcKevin Serrano2017-03-091-5/+8
| |\
| * \ Merge branch 'master' into i1144-moarrpcKevin Serrano2017-03-081-8/+14
| |\ \
| * \ \ More conflict resolution.Kevin Serrano2017-03-023-237/+0
| |\ \ \
| | * | | add controllers to root scripts folderDan Finlay2017-02-283-238/+0
| | | | |
| | * | | Merge branch 'master' into i1144-moarrpcDan Finlay2017-02-287-34/+127
| | |\ \ \
| * | \ \ \ Fix merge conflicts.Kevin Serrano2017-03-028-55/+129
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Tested against code to play nice with unit tests.Kevin Serrano2017-02-241-2/+11
| | | | | |
| * | | | | Implemented functionality for displaying recent custom RPCsKevin Serrano2017-02-231-14/+15
| | | | | |
| * | | | | Fix namingKevin Serrano2017-02-221-2/+2
| | | | | |
| * | | | | Basic infrasture for RPC list added.Kevin Serrano2017-02-221-3/+23
| | | | | |
* | | | | | 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
| |_|_|_|/ |/| | | |
* | | | | change BN.mul to BN.mulnJared Pereira2017-03-081-1/+1
| | | | |
* | | | | remove constant buffer and add multiplierJared Pereira2017-03-081-5/+8
| |_|_|/ |/| | |
* | | | 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
* | | LintedDan Finlay2017-03-011-1/+0
| | |
* | | Remove gasMultiplier txMeta paramDan Finlay2017-03-014-21/+3
| | | | | | | | | | | | | | | | | | 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
| |/ |/|
* | Got personal_sign workingDan Finlay2017-02-241-2/+2
| | | | | | | | Also fixed bug where signing would not close popup.
* | Add alternate UI for pending personal_sign messagesDan Finlay2017-02-242-1/+3
| |
* | Fix referenceDan Finlay2017-02-221-1/+1
| |
* | Move sigUtil and keyrings to external modulesDan Finlay2017-02-226-32/+122
|/ | | | 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.
* Merge branch 'dev' into disclaimer-notifyKevin Serrano2017-02-101-0/+5
|\
| * Allowed net_version to be called synchronouslyKevin Serrano2017-02-091-0/+5
| |
* | Delete all code related to disclaimers.Kevin Serrano2017-02-102-24/+0
|/
* 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
|
* Got ShapeShiftController back to workingDan Finlay2017-02-041-12/+7
|
* Mostly got shapeshift tx management into its own controllerDan Finlay2017-02-042-34/+100
| | | | 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-041-8/+27
|
* migrations - fix migration #9 and add safety checks to migratorkumavis2017-02-041-1/+12
|
* eths-store - eagerly set current blockkumavis2017-02-041-0/+2
|
* migration #9 - break out CurrencyController substatekumavis2017-02-033-50/+70
|
* eth-store - cbs default to noopkumavis2017-02-031-5/+5
|
* eth-store - convert to obs-store subclasskumavis2017-02-031-116/+98
|
* messageManager - move view state to obs-storekumavis2017-02-031-32/+20
|
* emit a update badgeFrankie2017-02-021-1/+1
|
* put updateBadge back inFrankie2017-02-021-0/+1
|
* swap out set state for updateStateFrankie2017-02-021-4/+1
|
* Merge branch 'dev' into messageManagerCleanUpFrankie2017-02-022-5/+38
|\
| * continue rename selectedAccount to selectedAddresskumavis2017-01-311-5/+5
| |
| * rename selectedAccount to selectedAddresskumavis2017-01-311-2/+5
| |
| * preferences - introduce preferences controllerkumavis2017-01-311-0/+30
| |
* | code clan up and testsFrankie2017-02-021-22/+20
| |
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-01-291-9/+1
|\|
| * tests - remove persistence and start with initial statekumavis2017-01-281-9/+1
| |
* | Clean up message manger includes:Frankie2017-01-291-10/+67
| | | | | | | | | | | | | | | | | | 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-281-4/+5
|\|
| * background - stream disconnection fixkumavis2017-01-271-4/+5
| |
* | Rewrite message controller to fit controller patternFrankie2017-01-281-48/+45
|/
* background - organize metamask instantiationkumavis2017-01-271-1/+1
|
* obs-store - use published modulekumavis2017-01-257-274/+52
|
* Merge branch 'dev' into obs-store2kumavis2017-01-223-2/+62
|\
| * Merge branch 'dev' into conversion-api-errDan Finlay2017-01-183-3/+63
| |\
| | * eth-store - emit update on new account addkumavis2017-01-151-1/+3
| | |
| | * Satisfy review needs:Frankie2017-01-141-2/+12
| | | | | | | | | | | | | | | | | | | | | 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
| | * background - handle tx finalization in controllers instead of provider-enginekumavis2017-01-131-0/+48
| | |
| * | currency conversion - less noisy errorkumavis2017-01-121-1/+1
| | |
* | | migrations - wip - 005 multivault migrationkumavis2017-01-122-23/+14
| | |
* | | migrations - introduce promise-based migratorkumavis2017-01-121-0/+31
| | |
* | | background - move pojo migrator to outside of metamask controllerkumavis2017-01-128-53/+99
| | |
* | | background - introduce ObservableStorekumavis2017-01-127-109/+163
| |/ |/|
* | bugfix - portstream - dont wrap cb in try catchkumavis2017-01-121-2/+2
|/
* Remove erroneous OOG estimation logic.Dan Finlay2017-01-111-15/+2
|
* deps - replace promise-request with fetchkumavis2017-01-111-4/+3
|
* Fixed bugs with sanity-checkingDan Finlay2017-01-051-12/+10
| | | | | | - Was incorrectly calling some eth-query methods (left over from old local eth-query) - Was still passing block to getAccount in addAccount - Now emitting update only after all account balances are loaded, reducing UI update traffic.
* Caught typoDan Finlay2017-01-051-2/+3
|
* Add descriptive commentDan Finlay2017-01-051-0/+9
|
* LintedDan Finlay2017-01-051-22/+17
|
* Removed reliance on eth-store internal custom eth-queryDan Finlay2017-01-051-6/+15
|
* Move eth-store@1.1.0 into local repo.Dan Finlay2017-01-051-0/+132
|
* inpage-provider - add isMetaMaskkumavis2017-01-031-0/+2
| | | | adds `metamaskInpageProvider.isMetaMask === true` Fixes #727
* Merge branch 'dev' into TxManagerFrankie2016-12-244-5/+11
|\
| * Remove logDan Finlay2016-12-231-1/+0
| |
| * Merge pull request #948 from MetaMask/RecoverLostAccountsDan Finlay2016-12-233-3/+9
| |\ | | | | | | Auto-Recover accounts lost to BIP44 derivation fix
| | * Restructured migrationDan Finlay2016-12-222-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Return undefined when vault is uninitializedDan Finlay2016-12-221-1/+1
| | |
| * | Fix account injection bugDan Finlay2016-12-231-2/+3
| |/ | | | | | | | | | | | | | | It seems `selectedAddress` was removed from the keyring-controller’s state, and is used to populate the injected current account. I couldn't help myself, I dug around, I found a PR named [changed all instances of selectedAddress to selectedAccount](https://github.com/MetaMask/metamask-plugin/commit/f5b0795ac5582dd53de728479cf47c43eabfe67c) by @Zanibas. Sorry, Kevin! Had you actually changed all instances, this bug would not have happened. Fixes #908
* | Merge branch 'dev' into TxManagerFrankie2016-12-223-166/+44
|\|
| * Merge pull request #916 from MetaMask/i894-DetectBadAccountsDan Finlay2016-12-212-10/+44
| |\ | | | | | | I894 detect bad accounts
| | * Made changes according to feedback.Dan Finlay2016-12-202-11/+10
| | |
| | * Got bad account detection working and added to stateDan Finlay2016-12-101-21/+1
| | |
| | * Mostly added bad account detectionDan Finlay2016-12-092-6/+61
| | | | | | | | | | | | Currently riddled with logs, because the migrator is inexplicably returning before generating the new style accounts for comparison.
| * | Remove encryptor in favor of external browser-passworderDan Finlay2016-12-201-156/+0
| | | | | | | | | | | | I broke out the encryptor lib into its own module on npm called browser-passworder.
| * | Lint.Kevin Serrano2016-12-201-2/+2
| |/
* | First pass at revision requestsFrances Pangilinan2016-12-223-289/+6
| |
* | Create a TxManagerFrances Pangilinan2016-12-153-52/+118
|/
* Fix vault encrypting & unlocking bugDan Finlay2016-12-011-2/+3
| | | | | | | | This is only a bug in dev, but was committed yesterday. Sometimes the `encrypt` method was being passed values other than the password as the encryption key, leading to un-unlockable vaults. To find this, and avoid it for all time hereafter, I added several more steps to our oft-neglected integration test suite, which now fully initializes a vault, locks it, and unlocks it again, to make sure all of those steps definitely work always.
* Add useful nodeify error messageDan Finlay2016-11-301-2/+9
| | | | | | | If a nodified method does not return a Promise, it will throw an error, like this: ``` Error in event handler for (unknown): Error: The function setSelectedAccount did not return a Promise, but was nodeified. ```
* Fix nodeifyDan Finlay2016-11-291-55/+13
|
* Denodeify most of KeyringControllerDan Finlay2016-11-291-0/+59
| | | | | | | | | | 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.
* Merge branch 'master' into devDan Finlay2016-11-242-22/+55
|\
| * rpc - add sync uninstallFilter supportkumavis2016-11-241-0/+7
| |
| * idStore - fix estimateGas calculationkumavis2016-11-231-22/+48
| |
* | Fix new encryptor migration logicDan Finlay2016-11-231-1/+0
| |
* | Simplify Encryptor API SurfaceDan Finlay2016-11-231-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | At least, the portion of it that we use. Moved salting within the encryptor, so it does not need to be managed externally. KeyringController now caches the password instead of a passwordDerivedKey, since it is ignorant of the salt. Encryptor payload is now in a JSON format, so its portions are both base64 encoded *and* labeled appropriately. The format is `{ "data": "0x0", "iv": "0x0", "salt": "string" }`. Fixes #843 Fixes #859
* | Merge pull request #857 from MetaMask/i841-RenameMethodkumavis2016-11-231-1/+1
|\ \ | | | | | | Rename idStoreMigrator method for clarity
| * | Rename idStoreMigrator method for clarityDan Finlay2016-11-221-1/+1
| | | | | | | | | | | | Fixes #841
* | | Merge pull request #869 from MetaMask/dev-cleanupkumavis2016-11-232-9/+9
|\ \ \ | | | | | | | | Dev Cleanup Package
| * | | change all instances of selectedAddress to selectedAccount.Kevin Serrano2016-11-221-5/+5
| | | |
| * | | Remove entropy from encryption and project.Kevin Serrano2016-11-221-4/+4
| |/ /
* / / Phase out ethereumjs-util from encryptor module.Kevin Serrano2016-11-231-6/+4
|/ /
* | Merge branch 'dev' into i831-AddRopsten-DevDan Finlay2016-11-2211-50/+308
|\ \ | |/ |/|
| * Maintain linting.Kevin Serrano2016-11-192-3/+3
| |
| * Update migration code for new hd wallet param nameDan Finlay2016-11-191-2/+2
| |
| * Resolve merge conflict.Kevin Serrano2016-11-1911-47/+305
| |\
| | * random-id - use Number.MAX_SAFE_INTEGER as maxkumavis2016-11-181-1/+1
| | |
| | * Merge branch 'i328-MultiVault' of github.com:MetaMask/metamask-plugin into ↵Dan Finlay2016-11-189-37/+52
| | |\ | | | | | | | | | | | | i328-MultiVault
| | | * Fix semantics in commentsKevin Serrano2016-11-161-1/+1
| | | |
| | | * Lints.Kevin Serrano2016-11-161-1/+1
| | | |
| | | * Resolve merge conflicts.Kevin Serrano2016-11-161-4/+4
| | | |\
| | | * | Re-enable disclaimer screen. Rename variables to reflect role more clearly.Kevin Serrano2016-11-152-5/+5
| | | | |
| | | * | Package normalize inside sig util file.Kevin Serrano2016-11-121-0/+5
| | | | |
| | | * | Linting to the max.Kevin Serrano2016-11-128-30/+24
| | | | |
| | | * | Merge branch 'master' into i328-MultiVaultkumavis2016-11-111-2/+16
| | | |\ \
| | | * \ \ Merge branch 'master' into i328-MultiVaultFrankie2016-11-111-1/+3
| | | |\ \ \
| | * | | | | Replace old random-id code with incrementing id generatorDan Finlay2016-11-182-10/+10
| | |/ / / /
| | * | | | Merge branch 'master' into i328-MultiVaultDan Finlay2016-11-081-5/+5
| | |\ \ \ \
| | * | | | | Fix password validation and persistence issueDan Finlay2016-11-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Was wiping the vault on each successful password attempt... :P
| | * | | | | Fix account nicknaming bugDan Finlay2016-11-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When nicknaming, we weren't normalizing the input, and so we were retrieving with differently formatted addresses than we were persisting.
| | * | | | | Don't faucet during testsDan Finlay2016-11-041-1/+2
| | | | | | |
| | * | | | | Don't faucet in developmentDan Finlay2016-11-041-1/+3
| | | | | | |
| | * | | | | Fix handling of migrating old vault styleDan Finlay2016-11-031-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now old vaults are recognized as an "Initialized" MetaMask instance. Upon logging in, when fetching the initial password-derived key, if there is no new-style vault, but there is an old style vault, it is migrated to the new format before proceeding through the usual unlocking steps.
| | * | | | | Implement seed word confirmation page.Kevin Serrano2016-11-012-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove logs. Move HD render files to ui/app.
| | * | | | | Merge branch 'i328-MultiVault' of github.com:MetaMask/metamask-plugin into ↵Kevin Serrano2016-10-312-1/+51
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | i328-MultiVault
| | | * | | | | Now migrating old vaults to new DEN formatDan Finlay2016-10-292-1/+51
| | | | | | | |
| | | * | | | | Merge branch 'i328-MultiVault' of github.com:MetaMask/metamask-plugin into ↵Dan Finlay2016-10-262-16/+0
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | i328-MultiVault
| | | * \ \ \ \ \ Merge branch 'master' into i328-MultiVaultDan Finlay2016-10-261-9/+14
| | | |\ \ \ \ \ \
| | * | \ \ \ \ \ \ Merge branch 'master' into i328-MultiVaultKevin Serrano2016-10-291-11/+16
| | |\ \ \ \ \ \ \ \ | | | |_|_|/ / / / / | | |/| | | | | | |
| | * | | | | | | | Phase out extra warning screen.Kevin Serrano2016-10-262-16/+0
| | | |/ / / / / / | | |/| | | | | |
| | * | | | | | | Create basic keyring-controller unit test fileDan Finlay2016-10-221-0/+9
| | | | | | | | |
| | * | | | | | | Added SimpleKeyring testsDan Finlay2016-10-221-0/+23
| | | | | | | | |
| | * | | | | | | Began adding first basic keyringDan Finlay2016-10-211-1/+0
| | | | | | | | |
| | * | | | | | | Merge branch 'master' into i328-MultiVaultDan Finlay2016-10-211-1/+1
| | |\ \ \ \ \ \ \
| | * | | | | | | | Fix testsDan Finlay2016-10-211-6/+8
| | | | | | | | | |
| | * | | | | | | | Linted & added salting to vaultDan Finlay2016-10-212-1/+17
| | | | | | | | | |
| | * | | | | | | | Git merge resolution.Kevin Serrano2016-10-203-1/+32
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | Intermediary commit.Kevin Serrano2016-10-201-0/+11
| | | | | | | | | | |
| | * | | | | | | | | Merge in crypto.Kevin Serrano2016-10-201-0/+119
| | | | | | | | | | |
| | * | | | | | | | | Initial work on UI sideKevin Serrano2016-10-161-0/+21
| | | | | | | | | | |
* | | | | | | | | | | Begin adding Ropsten supportDan Finlay2016-11-221-0/+4
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ropsten links will still not work until Etherscan publishes their ropsten link format. At that time we will need to update ui/lib/account-link.js Otherwise, fixes #831
* | | | | | | | | / Increment tx ids to avoid collisionsDan Finlay2016-11-183-11/+11
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #791 It was possible for two requests to have the same ID, causing a crash and loss of StreamProvider connection. This new id generation strategy creates a random ID, and increments it for each request. In case the id generator is included from two different processes, I'm initializing the counter at a random number, and rolling it over a large number when it gets too big.
* | | | | | | | | First attempt at fixing errors in confirmation screen.Kevin Serrano2016-11-151-3/+3
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | detect tx error - show warning and fix gasLimitkumavis2016-11-111-2/+16
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | remove gas field, due to alias redundancy.Kevin Serrano2016-11-101-1/+0
| | | | | | |
* | | | | | | Fix bug for increasing gas by 20 percent.Kevin Serrano2016-11-101-0/+2
| | | | | | |
* | | | | | | Adjust gas buffer to be 20% over estimateDan Finlay2016-11-091-1/+2
| | | | | | |
* | | | | | | Increase gas bufferDan Finlay2016-11-091-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Fixes #795
* | | | | | Fix gas price bufferingDan Finlay2016-11-081-5/+5
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our gas price buffering logic had a bug, because bn.js has inconsistent behavior when using hex-prefixed output. The issue has been opened with them here: https://github.com/indutny/bn.js/issues/151 We've corrected our usage in the mean time.
* | | | | Merge branch 'master' into i762-RenameWalletToAccountDan Finlay2016-10-271-2/+2
|\ \ \ \ \
| * | | | | Fix delegate call function reference 2Dan Finlay2016-10-261-1/+1
| | | | | |
| * | | | | Fix delegate call analysisDan Finlay2016-10-261-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | Fixed reference allowing transactions to be analyzed for delegate call again.
* / | | | Rename wallet to accountDan Finlay2016-10-261-1/+1
|/ / / / | | | | | | | | | | | | Fixes #762
* | | | Merge branch 'master' into i743-FixDelegateCallFlagkumavis2016-10-251-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Add note about callback param to sync method warningDan Finlay2016-10-201-1/+1
| | |/ | |/|
* / | Reproduced issue 743 in test caseDan Finlay2016-10-181-9/+14
|/ / | | | | | | | | | | This contract hex does include the value `f4`, but it was compiled from a contract with no instance of `.delegatecall`. I believe `f4` in this case is part of some other value or contract address, and `ethBinToOps` has some error in how it skips pushed data. @kumavis
* | Restore hex prefix to gas priceDan Finlay2016-10-181-1/+1
| |
* | Increase gas estimate by 100000 weiDan Finlay2016-10-181-1/+9
| | | | | | | | | | | | To prevent minor gas estimation errors, probably usually related to operating on dynamic state. Fixes #738.
* | Specify base 10 in bignumberFrankie2016-10-141-1/+1
| |
* | Merge branch 'master' into i#495CustomGasFieldFrankie2016-10-144-22/+28
|\|
| * Merge branch 'master' into i695-dapp-reloadkumavis2016-10-132-0/+13
| |\
| * | dapp reload - fixed disconnect detection via pollingkumavis2016-10-134-22/+28
| | |
* | | Fix gasPrice rangeFrankie2016-10-143-4/+20
| | |
* | | Merge branch 'master' into i#495CustomGasFieldFrankie2016-10-122-0/+13
|\ \ \ | | |/ | |/|
| * | Fix bug where new vaults had no nicknamesDan Finlay2016-10-121-0/+2
| | |
| * | Renamed variables to make more sense.Kevin Serrano2016-10-071-2/+2
| | |
| * | Add new functions for storing TOS hashes in config manager.Kevin Serrano2016-10-061-0/+11
| |/
* | Merge branch 'master' into i#495CustomGasFieldFrankie2016-10-113-7/+7
|\|
| * Add tolerance for sending from mixed-case addresses.Dan Finlay2016-10-061-2/+2
| | | | | | | | | | | | We had to convert to lower case, and also had to modify the new provider-engine sanitizer to tolerate mixed case addresses. Fixes #707
| * Correct async linkDan Finlay2016-10-061-4/+4
| |
| * Make popup a little tallerDan Finlay2016-10-051-1/+1
| | | | | | | | | | | | For some reason the popup was often cutting off the bottom buttons of the UI. We should look at that more carefully later perhaps, but especially since we're considering moving off the popup, I'm just fixing it by making it taller for now.
* | Add custom gas field to send pageFrankie2016-10-111-0/+7
|/
* Merge pull request #655 from MetaMask/FixPortStreamEndkumavis2016-09-142-5/+10
|\ | | | | | | Fix port stream end bug
| * Fix port stream end bugDan Finlay2016-09-141-2/+1
|/ | | | | | | | Emitting `end` or `close` was not ending the stream. Pushing a null packet also closes a stream, so I did that instead. Fixes #616
* Fix cache clearing reference for OperaDan Finlay2016-09-131-1/+1
| | | | For some reason Chrome didn't mind this awful bug, but Opera caught it.
* Make cache clearning error tolerantDan Finlay2016-09-131-1/+6
|
* Fix clearing of account cache on vault restoreDan Finlay2016-09-131-3/+7
|
* LintedDan Finlay2016-09-131-2/+2
|
* Load accounts into ethStore on unlockDan Finlay2016-09-131-0/+1
|
* Add accounts back to metamask stateDan Finlay2016-09-131-1/+5
|
* Fix keystore referenceDan Finlay2016-09-131-0/+1
|
* Fix some referencesDan Finlay2016-09-131-2/+2
|
* Fix account unlockingDan Finlay2016-09-132-10/+21
| | | | | | | | SubmitPassword was not creating a new id-management This is because I broke up the old "createIdmgmt" method to not perform as much conditional logic. Now the pieces are reusable and do what they should do.
* Select first address when restoring vaultDan Finlay2016-09-121-2/+10
| | | | Fixes #642
* Fix ethStore pushed addressesDan Finlay2016-09-121-1/+1
| | | | Needed to add hex prefix always.
* Fixed caching bugDan Finlay2016-09-111-6/+1
| | | | | | Fixed bug where the second new vault created in an IdStore would initially return the accounts from the original store. Also fixed some tests that were incorrect.
* Correctly clear ethStore cache on new vault restoreDan Finlay2016-09-111-7/+16
|
* Captured #640 in failing testDan Finlay2016-09-111-0/+5
|
* Add new eth-lightwallet salting to vault.Dan Finlay2016-09-101-57/+43
| | | | | | | | | | eth-lightwallet was previously not salting vault passwords, potentially making it easier to crack them once obtained. This branch incorporates the API changes to allow us to take advantage of the new salting logic. This is still throwing deprecation warnings, but that's actually a bug in eth-lightwallet I wrote, [I've submitted a PR for that here](https://github.com/ConsenSys/eth-lightwallet/pull/116). Fixes #555
* Only init one wallet on restoreDan Finlay2016-09-091-1/+1
| | | | Fixes #610
* lintingVincent Serpoul2016-09-061-1/+1
|
* Error message more helpfulVincent Serpoul2016-09-061-2/+3
|
* notif - use standard err-first callback stylekumavis2016-09-031-18/+24
|
* Merge branch 'master' into i566-NoPopupWhenOpenDan Finlay2016-09-021-4/+18
|\
| * inpage - remap ids on responsekumavis2016-09-011-4/+18
| |
* | LintedDan Finlay2016-09-021-1/+1
| |
* | Do not open popup for internally produced txsDan Finlay2016-09-021-11/+19
|/
* Make popup a type Edge supportsDan Finlay2016-08-301-1/+2
|
* Add extra edge compatibilityDan Finlay2016-08-301-2/+13
|
* Merge branch 'master' into i#563forgotPasswordFrankie2016-08-263-139/+42
|\
| * Merge branch 'master' into PopupNotificationsDan Finlay2016-08-251-2/+2
| |\
| * | Close notification on opening main UIDan Finlay2016-08-241-2/+9
| | |
| * | Skip popup dismissal in testsDan Finlay2016-08-241-0/+6
| | |
| * | Close popup even if last tx is dismissed from main UIDan Finlay2016-08-241-8/+14
| | |
| * | Emit updates to all listeners on pending tx updatesDan Finlay2016-08-241-15/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge branch 'master' into PopupNotificationsDan Finlay2016-08-232-2/+34
| |\ \
| * | | Limit to one popup, re-focus on additional notifications.Dan Finlay2016-08-231-6/+17
| | | |
| * | | Merge branch 'master' into PopupNotificationsDan Finlay2016-08-232-0/+36
| |\ \ \
| * | | | LintedDan Finlay2016-08-171-15/+5
| | | | |
| * | | | MVP Popup Notifications WorkingDan Finlay2016-08-172-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm unsure which will be more performant: A notification using a trimmed down version of the UI, or using them both, letting the browser cache them both. In any case, here I've modified the normal UI to recognize when it's a popup, and change the UX accordingly in a few ways: - Hide the menu bar - Hide the back button from the notifications view. - When confirming the last tx, close the window.
| * | | | Unify notification and popup ui filesDan Finlay2016-08-173-1/+15
| | | | |
| * | | | Merge branch 'master' into PopupNotificationsDan Finlay2016-08-172-0/+51
| |\ \ \ \
| * | | | | Set up MVP for popup-based notifications.Dan Finlay2016-08-171-127/+9
| | | | | |
* | | | | | Merge branch 'master' into i#563forgotPasswordFrankie2016-08-262-4/+36
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |