aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Implement usage of nock.Kevin Serrano2016-08-251-22/+12
| | | | | |
| * | | | | Added mock option to function.Kevin Serrano2016-08-251-13/+23
| | |_|_|/ | |/| | |
| * | | | Merge branch 'master' into i390-TransactionLimitkumavis2016-08-231-2/+28
| |\ \ \ \
| | * | | | inpage provider - reassign incomming idskumavis2016-08-231-2/+28
| | | |_|/ | | |/| |
| * | | | Merge branch 'master' into i390-TransactionLimitDan Finlay2016-08-232-0/+36
| |\| | |
| * | | | Enforce tx history limitDan Finlay2016-08-191-0/+6
| | |_|/ | |/| |
* | | | Add a back button on lock screen to go back to init menuFrankie2016-08-261-0/+5
| |/ / |/| |
* | | Create a ShapeShift tx in tx HistoryFrankie2016-08-191-4/+6
| | |
* | | Merge branch 'master' into shapeshiftTxFrankie2016-08-192-0/+51
|\| |
| * | Added compliance for tests and properly accounts for N/A conversions.Kevin Serrano2016-08-171-3/+3
| | |
| * | Add fallback to API failure.Kevin Serrano2016-08-171-0/+2
| | |
| * | Merge master.Kevin Serrano2016-08-166-132/+18
| |\|
| * | Get fiat numbers rendering on tooltip. Need to find way to create line breaks.Kevin Serrano2016-08-061-6/+0
| | |
| * | Merge branch 'master' into usd-conversionKevin Serrano2016-08-052-6/+23
| |\ \
| * \ \ Fix merge conflicts. Fix typos. Ensure currency immediately updated on load.Kevin Serrano2016-07-232-0/+18
| |\ \ \
| * | | | Linting!Kevin Serrano2016-07-231-1/+1
| | | | |
| * | | | Change function names. Add interval polling for api. Refactor functions.Kevin Serrano2016-07-221-7/+18
| | | | |
| * | | | Add date access throughout the data flow.Kevin Serrano2016-07-222-4/+5
| | | | |
| * | | | Provide date access.Kevin Serrano2016-07-221-1/+8
| | | | |
| * | | | Merge branch 'master' into usd-conversionKevin Serrano2016-07-224-16/+77
| |\ \ \ \
| * | | | | Add data field to pass up parameters up to reducer.Kevin Serrano2016-07-221-1/+3
| | | | | |
| * | | | | Progress on config manager. Plus tests.Kevin Serrano2016-07-211-0/+27
| | | | | |
* | | | | | WIP: ShapeShift txFrankie2016-08-192-0/+34
| |_|_|_|/ |/| | | |
* | | | | Remove ethereum classic providerDan Finlay2016-08-151-5/+1
| | | | | | | | | | | | | | | | | | | | Fixes #542
* | | | | deps - extracted ensnare to modulekumavis2016-08-132-25/+1
| | | | |
* | | | | Add global var for background.Kevin Serrano2016-08-121-3/+6
| | | | |
* | | | | inpage-prov - sync error - fix linkkumavis2016-08-121-1/+1
| | | | |
* | | | | deps - local-message-stream extracted as module post-message-streamkumavis2016-08-121-56/+0
| | | | |
* | | | | clean -formattingkumavis2016-08-121-2/+2
| | | | |
* | | | | inpage-provider - remove createSyncProvider, just failkumavis2016-08-121-40/+3
| | | | |
* | | | | Fix ether warning checkbox.Kevin Serrano2016-08-111-2/+6
| |_|_|/ |/| | |
* | | | Merge branch 'master' into AddEthClassicDan Finlay2016-07-291-1/+1
|\ \ \ \
| * | | | Fix broken reference to host store.didUpdateDan Finlay2016-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | I'd returned this line because it seemed to fix Firefox compatibility, now it seems like that wasn't the case. Removing it again.
* | | | | Add eth classic to provider menuDan Finlay2016-07-291-0/+4
|/ / / /
* | | | Add platform specific builds and zip tasks (#486)Dan Finlay2016-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add platform specific folders to dist folder * Remove gulp hacks * Add platform specific bundling dev and dist tasks now build into platform-specific folders within the `dist` folder. Added tasks `gulp zip` and `gulp dist`. `zip` builds the platform-specific folders into platform-specific bundles within the `dist` folder. `dist` builds and then zips all at once. * Fix chrome bundle zipping * Fix broken reference in eth warning * Fix but where web3.eth.accounts are not available in firefox. * Bump changelog
* | | | Fix integration testsDan Finlay2016-07-261-4/+19
| | | |
* | | | Fix extension testsDan Finlay2016-07-261-1/+4
| | | |
* | | | Clean up extension polyfill abstractionDan Finlay2016-07-261-6/+1
| |_|/ |/| |
* | | Buy button (#474)Frankie2016-07-222-1/+12
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Implement some cross-browser practices (#473)Dan Finlay2016-07-223-15/+68
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Make injected web3 fail hard on sync methods (#471)Dan Finlay2016-07-211-1/+9
|/ | | Make injected web3 fail hard on sync methods
* new tx - calculate estimatedGas and show thing in tx-details (#441)kumavis2016-07-141-17/+37
| | | | | | * new tx - calculate estimatedGas and show thing in tx-details * Bump changelog
* Add one wallet to new accounts instead of three.Kevin Serrano2016-07-131-1/+1
|
* LintedDan Finlay2016-07-121-12/+9
|
* Add notification global for developmentDan Finlay2016-07-121-1/+3
| | | | The background process now has a global `METAMASK_NOTIFIER` object that allows easy mocking of notification data.
* Remove useless and buggy clearWallet functionDan Finlay2016-07-012-5/+0
|
* Emphasizing how weird this bug is by removing all behavior from the method.Dan Finlay2016-07-011-5/+1
|
* Replicated really strange bug with testDan Finlay2016-07-011-1/+1
|
* Unify wording for transaction options (#369)Kevin Serrano2016-06-301-2/+2
| | | | | | | | * Unify wording for transaction options. * Modify changelog. * Fix wording and spacing.
* fix bad mergekumavis2016-06-291-6/+1
|
* Merge branch 'master' into notif2kumavis2016-06-291-1/+6
|\
| * Merge branch 'master' into FixSomeFormattingkumavis2016-06-291-1/+6
| |\ | | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md # app/scripts/lib/notifications.js
| | * fix #341 close notifications when oppening pop upFrankie2016-06-291-2/+2
| | |
* | | background - prepare state for notifcationskumavis2016-06-291-36/+4
|/ /
* / notif - change size for better readabilitykumavis2016-06-281-3/+3
|/
* Merge pull request #326 from MetaMask/conf-tx-refactorkumavis2016-06-251-49/+77
|\ | | | | Tx/Msg Conf page + notifcation refactor
| * clean - appease the linting machinekumavis2016-06-251-1/+0
| |
| * svg notif now work for msg signatureskumavis2016-06-251-47/+77
| |
| * breakout pending-tx-detailskumavis2016-06-251-4/+3
| |
* | Fixed testsDan Finlay2016-06-252-3/+5
| |
* | Improve refactorDan Finlay2016-06-254-62/+27
|/ | | | | | Replace config-manager-singleton with one that is instantiated within the `background-controller`, and takes its persistence callbacks from its instantiated options. Replaced class getters with more familiar get___() functions.
* some legit linting fixeskumavis2016-06-241-0/+1
|
* svg notif - use actual txParamskumavis2016-06-241-15/+5
|
* tx-conf add non-interactive mode for notificationkumavis2016-06-241-0/+1
|
* svg notifications - remove unneeded deps and clean codekumavis2016-06-241-50/+31
|
* initial svg notificationskumavis2016-06-231-16/+101
|
* Fix eth sign with dennis' test inputDan Finlay2016-06-221-6/+8
|
* Manually lintedDan Finlay2016-06-223-21/+12
|
* Merge branch 'master' of github.com:MetaMask/metamask-plugin into AutoLintDan Finlay2016-06-221-0/+2
|\
| * id-mgmt - add missing depskumavis2016-06-211-0/+3
| |
* | Auto lintedDan Finlay2016-06-2214-238/+217
|/
* Merge pull request #294 from MetaMask/SignFullDataNotHashDan Finlay2016-06-212-76/+77
|\ | | | | Sign full data not hash
| * Merge branch 'master' into SignFullDataNotHashDan Finlay2016-06-172-0/+12
| |\
| * | Fixed signing of hashesDan Finlay2016-06-171-13/+10
| | | | | | | | | | | | | | | | | | Signing now always takes a 64 digit hex string, and returns a message signature which appropriately pads r, s, and v with zeroes. Need to verify with Denis that this is the behavior he requires.
| * | Factor idManagement into its own moduleDan Finlay2016-06-162-76/+80
| | |
| * | Sign binary data not hash on eth_signDan Finlay2016-06-161-2/+2
| | |
* | | Merge pull request #296 from MetaMask/i252Dan Finlay2016-06-181-9/+35
|\ \ \ | |_|/ |/| | idStore - add DELEGATE_CALL detection
| * | idStore - add DELEGATE_CALL detectionkumavis2016-06-171-9/+35
| |/
* | Add confirmation status to metamask state branchDan Finlay2016-06-171-0/+1
| |
* | Add confirmation persisting to localStorageDan Finlay2016-06-171-0/+11
|/
* Fix pad with zeroes usageDan Finlay2016-06-151-2/+2
|
* Fix signature concatenationDan Finlay2016-06-151-2/+9
| | | | | | Fixes #280 Or at least, it should. Is this what you were requesting, @denisgranha?
* Merge branch 'master' into display_networkDan Finlay2016-06-042-16/+38
|\
| * Merge pull request #241 from MetaMask/i236kumavis2016-06-031-16/+22
| |\ | | | | | | fix illegal return statement :(
| | * fix illegal return statement :(kumavis2016-06-031-16/+22
| | |
| * | Merge pull request #240 from MetaMask/RecoverSeedkumavis2016-06-031-2/+9
| |\ \ | | |/ | |/| reveal Vault Recovery Seed
| | * Add login checkDan Finlay2016-06-031-1/+1
| | |
| | * Added seed word recovery to config screenDan Finlay2016-06-031-2/+9
| | |
| * | hotfix for #236 - chrome notif api not availkumavis2016-06-031-0/+9
| |/
* | Blockchain status now updates on availability changeDan Finlay2016-06-041-8/+8
| |
* | Add network loading indicationDan Finlay2016-06-041-0/+6
|/
* idStore - track network failurekumavis2016-05-311-1/+4
|
* background + notifications - add origin to message signatureskumavis2016-05-261-0/+1
|
* Merge pull request #219 from MetaMask/i218Dan Finlay2016-05-261-0/+1
|\ | | | | Append dapp origin to RPC/txParams
| * notifications - show tx originkumavis2016-05-261-0/+1
| |
* | notifications - remove timeout for signature requestskumavis2016-05-261-0/+2
|/
* signTx+Msg - show Account Unlock Request when lockedkumavis2016-05-251-0/+14
|
* deps - use web3-stream-provider modulekumavis2016-05-232-73/+1
|
* inpage - refactor for modularitykumavis2016-05-233-0/+184
|
* Added ability to nickname wallets locallyDan Finlay2016-05-212-2/+30
| | | | The changes are persisted to localstorage, so they cannot be restored on a new computer, but for right now it's a nice organizational feature.
* Add ability to add account to vaultDan Finlay2016-05-211-0/+15
| | | | | | | | Scrolling to the bottom of the accounts page now reveals a downward-facing chevron button. Pressing this button shows loading indication, adds a new account to the identity vault, displays it in the list, and scrolls the list to the bottom of the page. Any number of accounts can be generated in this way, and the UX feels intuitive without having to overly explain how HD paths work.
* Corrected config pathDan Finlay2016-05-201-1/+1
|
* sync rpc fixkumavis2016-05-201-3/+4
|
* Merge branch 'master' into eyeballskumavis2016-05-141-2/+2
|\
| * Move infura rpcs to httpsDan Finlay2016-05-141-2/+2
| |
* | Streamlined some transition logicDan Finlay2016-05-131-2/+2
|/ | | | | | | | Fixes #122 Had used multiple actions for some transitions, which would lead to brief intermediary states. Now making a few actions much more explicit about what they route to, so there is less intermediary logic, and we can transition confidently to the correct view.
* Move all users to new scalable backendDan Finlay2016-05-121-8/+3
|
* Make default providers more easiliy configurable for metamask devsDan Finlay2016-05-111-7/+27
| | | | | | | | No longer do our `mainnet` and `testnet` buttons set specific RPC urls. Now they set `provider.type`, which gets interpreted with code. Currently the provider types of `mainnet` and `testnet` point to our new scalable backends, but these could be re-interpreted to use any other provider, be it etherscan, peer to peer, or otherwise. Makes it easier for us to upgrade our infrastructure without incorporating migration logic into the program.
* inpage - automatic dapp reloadkumavis2016-05-063-4/+9
|
* Add UI for Signing MessagesDan Finlay2016-05-043-75/+80
| | | | | | | | | | Calls to `eth.sign` are now transiently persisted in memory, and displayed in a chronological stack with pending transactions (which are still persisted to disk). This allows the user a method to sign/cancel transactions even if they miss the Chrome notification. Improved a lot of the view routing, to avoid cases where routes would show an empty account view, or transition to the accounts list when it shouldn't. Broke the transaction approval view into a couple components so messages and transactions could have their own templates.
* idmgmt - eth_sign support + notificationskumavis2016-04-293-10/+201
|
* tx list - bug fix - fixes #143kumavis2016-04-291-4/+10
|
* Merge pull request #152 from MetaMask/FilterTransactionListDan Finlay2016-04-281-2/+13
|\ | | | | Filter transaction list for current network
| * Filter transaction list for current blockchain networkDan Finlay2016-04-281-2/+13
| | | | | | | | | | | | | | | | | | | | When starting up, we now create a `web3` inside the `background.js` process, which we pass to the `idStore` and ask for the current `network`. We include the `network` on `app.metamask.network` in the state object. We re-request the network when changing provider. We filter the transaction list for transactions that match the current network.
* | provider - use provider-engine zerokumavis2016-04-271-65/+0
|/
* Persist selected accountDan Finlay2016-04-262-10/+18
| | | | | | When selecting an account, we now persist the selection to the `configManager`, so the selection can be restored when re-unlocking Metamask. Also found the bug where `rawtestrpc` was still being used as a default, and fixed it!
* Make account detail view the primary viewDan Finlay2016-04-261-3/+7
| | | | | | | | - When unlocking, the first account is now selected by default and displayed as the main view. - There is now a "CHANGE ACCT" button on the detail view to show the accounts list. - Clicking an account from the accounts list now navigates to the detail view and selects that account. - Config/Info screen "back" buttons now fire a new action, `GO_HOME`, which is configured to navigate to the accountDetail view, putting that logic in one place. - When locking and unlocking again, the first account is always displayed, eventually we should persist the selection.
* Add migration to actual migration array, fix testDan Finlay2016-04-231-0/+2
|
* Store metamaskId on metaTx instead of getTxWithParams method.Dan Finlay2016-04-212-13/+7
|
* Add completed tx hash to persisted tx logDan Finlay2016-04-201-0/+4
|
* Fix config manager methodDan Finlay2016-04-201-1/+1
|