aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add extra tx methods to configManagerDan Finlay2016-04-201-3/+25
|
* Emit transaction list to UIDan Finlay2016-04-191-0/+1
|
* Fix method of emitting unconfirmedTxs to UIDan Finlay2016-04-191-0/+1
|
* Persist transactions to config-managerDan Finlay2016-04-192-6/+56
| | | | | | | | Transactions are now stored, and are never deleted, they only have their status updated. We can add deleting later if we'd like. I've hacked on emitting the new unconfirmedTx key to the UI in the format it received before, I want Aaron's opinion on where I should actually do that.
* inpage - use publicConfigStore for selectedAccount and sync providerkumavis2016-04-161-0/+27
|
* wiring - trusted-untrusted features + remote-storekumavis2016-04-163-1/+114
|
* wiring - move to obj-multiplexkumavis2016-04-151-0/+41
|
* Moved UI into repo with its own dependency stackDan Finlay2016-04-141-2/+2
|
* Point rawtestrpc at new testrpcDan Finlay2016-04-131-1/+1
|
* Migrate etherscan configs to our new production RPC.Dan Finlay2016-04-132-3/+15
|
* popup - fix web3 plumbingkumavis2016-04-091-0/+21
|
* Add ability to export private keysDan Finlay2016-04-071-0/+9
|
* Add mayBeFauceting boolean to account objectDan Finlay2016-04-051-0/+17
| | | | | | | | | This boolean is computed from these requirements: - The user is on the testnet rpc - The account is index 0 The UI is responsible for checking the account balancing and indicating if fauceting is indeed pending or not.
* Support undefined address selectionDan Finlay2016-04-051-0/+5
| | | | If `setSelectedAddress` is called on the IdStore, the first account is automatically selected.
* Merge pull request #84 from MetaMask/revert-83-revert-82-EtherscanProviderkumavis2016-04-022-9/+87
|\ | | | | Etherscan provider
| * Revert "Revert "Etherscan provider""Dan Finlay2016-04-012-9/+87
| |
* | Call back with wallet restore errorsDan Finlay2016-04-021-1/+5
|/
* Revert "Etherscan provider"Dan Finlay2016-04-012-87/+9
|
* Add custom zeroclient that supports etherscan (still not working)Dan Finlay2016-04-011-0/+65
| | | | The Etherscan Subprovider is not providing some methods we need, such as `eth_getCode`. I'll probably be enhancing it after lunch.
* First naive pass at implementing etherscan provider (not working)Dan Finlay2016-04-011-9/+22
| | | | Committing and pushing to get feedback.
* Do not cache the seed, retrieve it from the decrypted walletDan Finlay2016-04-012-15/+21
|
* Remove unnecessary abstractionDan Finlay2016-04-011-5/+1
|
* Removed logsDan Finlay2016-03-311-6/+0
|
* Made configuration migrateableDan Finlay2016-03-314-79/+185
| | | | | | | | | | | | | | Abstract all configuration data into a singleton called `configManager`, who is responsible for reading and writing to the persisted storage (localStorage, in our case). Uses my new module [pojo-migrator](https://www.npmjs.com/package/pojo-migrator), and wraps it with the `ConfigManager` class, which we can hang any state setting or getting methods we need. By keeping all the persisted state in one place, we can stabilize its outward-facing API, making the interactions increasingly atomic, which will allow us to add features that require restructuring the persisted data in the long term without having to rewrite UI or even `background.js` code. All the restructuring and data-type management is kept in one neat little place. This should make it very easy to add new configuration options like user-configured providers, per-domain vaults, and more! I know this doesn't seem like a big user-facing feature, but we have a big laundry list of features that I think this will really help streamline.
* Created etherscan provider (untested)Dan Finlay2016-03-301-0/+62
|
* Fix signing bugDan Finlay2016-03-301-2/+2
|
* Add auto-faucetingDan Finlay2016-03-302-4/+27
| | | | When first creating a vault, the first account is submitted to our `rawtestrpc` faucet, receiving `1.337` ether within 15-30 seconds.
* Remove argument destructuringDan Finlay2016-03-301-1/+3
|
* Return updated state after restoring vaultDan Finlay2016-03-291-1/+1
|
* Remove unused referenceDan Finlay2016-03-261-1/+0
|
* Cleaned up how we pass hdString to LightwalletDan Finlay2016-03-261-4/+11
|
* Implemented BIP44 compliance test.Dan Finlay2016-03-261-57/+43
| | | | Also added the hdPath that Christian had told me to our calls to the LightWallet, but this does not seem to have made us generate the same accounts as `testrpc` yet.
* Convert to bip44 hdTreesDan Finlay2016-03-261-14/+16
| | | | | | Added initial test just to verify we can recover the accounts we generate in this way. Still need to add compliance test to make sure this interoperates with testrpc's new mnemonic flag.
* Gave lock a callback for better loading indicationDan Finlay2016-03-251-2/+3
|
* Add seed word caching during confirmation screenDan Finlay2016-03-251-47/+84
| | | | | | | | In order to persist the seed word page until the user clicks the confirmation button, we need to store the seed words in localStorage. To simplify this process I've also reorganized some of the account manager code, broken up one large function into many smaller functions, and created a new class for the IdMgmt object. Again, sorry such a big refactor in one commit, but I really had to break it down to work through it.
* stream-provider - addd isConnected methodkumavis2016-03-211-0/+4
|
* add vault recoverykumavis2016-03-161-5/+20
|
* notifications - add tx confirm+cancel buttonskumavis2016-03-122-0/+51
|
* plumbing - pipe web3 to the popup.jskumavis2016-03-111-6/+19
|
* idStore - normalize hex format before signingkumavis2016-03-061-1/+7
|
* tx sig - it works againkumavis2016-03-031-138/+93
|
* background - use provider-engine zero clientkumavis2016-03-031-61/+0
|
* web3-provider - add nonce trackerkumavis2016-03-021-0/+5
|
* Fix issue with raw transaction injected.Simon de la Rouviere2016-02-231-6/+6
|
* idStore - add createNewVaultkumavis2016-02-171-14/+17
|
* idStore - add isInitialized flagkumavis2016-02-161-0/+1
|
* idStore - seperate signTx and sendTxkumavis2016-02-131-13/+29
|
* idStore - cancel txkumavis2016-02-131-0/+8
|
* idmgmt - refactorkumavis2016-02-112-318/+263
|
* idmgmt - emit update on new txkumavis2016-02-111-6/+6
|
* context wiring - handle and log errorskumavis2016-02-111-2/+7
|
* clean - silence loggingkumavis2016-02-091-1/+0
|
* logging - silence rpc response loggingkumavis2016-01-311-3/+3
|
* util - stream-provider - fix batchkumavis2016-01-311-3/+11
|
* deps - bump metamask-providerkumavis2016-01-281-2/+2
|
* tx-signing workskumavis2016-01-192-11/+50
|
* add pending txs but just autosignkumavis2016-01-181-8/+50
|
* refactor - push data to popupkumavis2016-01-172-43/+33
|
* wallet sync fixkumavis2016-01-172-8/+33
|
* breakout idmgmtkumavis2016-01-172-5/+238
|
* integrate metamask-ui with id mgmtkumavis2016-01-151-11/+12
|
* migrate to new ui + providerkumavis2016-01-151-108/+41
|
* testing continueskumavis2015-12-211-9/+19
|
* migrate to ProviderEngine zero-clientkumavis2015-12-193-0/+139
|
* build overhaul + basic structurekumavis2015-08-021-0/+122