aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
Commit message (Collapse)AuthorAgeFilesLines
* Linted & added salting to vaultDan Finlay2016-10-211-1/+1
|
* Git merge resolution.Kevin Serrano2016-10-201-0/+12
|\
| * Fix gasPrice rangeFrankie2016-10-141-0/+12
| |
* | Intermediary commit.Kevin Serrano2016-10-201-0/+11
| |
* | Initial work on UI sideKevin Serrano2016-10-161-0/+21
|/
* 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
|
* 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-TransactionLimitDan Finlay2016-08-231-0/+35
|\
| * Create a ShapeShift tx in tx HistoryFrankie2016-08-191-4/+6
| |
| * Merge branch 'master' into shapeshiftTxFrankie2016-08-191-0/+48
| |\
| * | WIP: ShapeShift txFrankie2016-08-191-0/+33
| | |
* | | Enforce tx history limitDan Finlay2016-08-191-0/+6
| |/ |/|
* | 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-161-6/+6
|\|
| * Remove ethereum classic providerDan Finlay2016-08-151-5/+1
| | | | | | | | Fixes #542
| * Fix ether warning checkbox.Kevin Serrano2016-08-111-2/+6
| |
* | 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-051-0/+4
|\|
| * Add eth classic to provider menuDan Finlay2016-07-291-0/+4
| |
* | Fix merge conflicts. Fix typos. Ensure currency immediately updated on load.Kevin Serrano2016-07-231-0/+17
|\|
| * Buy button (#474)Frankie2016-07-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | 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-221-3/+3
| |
* | Provide date access.Kevin Serrano2016-07-221-1/+8
| |
* | Progress on config manager. Plus tests.Kevin Serrano2016-07-211-0/+27
|/
* Remove useless and buggy clearWallet functionDan Finlay2016-07-011-2/+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
|
* Fixed testsDan Finlay2016-06-251-1/+0
|
* Improve refactorDan Finlay2016-06-251-52/+3
| | | | | | 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.
* Auto lintedDan Finlay2016-06-221-59/+56
|
* Add confirmation persisting to localStorageDan Finlay2016-06-171-0/+11
|
* Added ability to nickname wallets locallyDan Finlay2016-05-211-0/+20
| | | | 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.
* Corrected config pathDan Finlay2016-05-201-1/+1
|
* sync rpc fixkumavis2016-05-201-3/+4
|
* Move infura rpcs to httpsDan Finlay2016-05-141-2/+2
|
* 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.
* Add UI for Signing MessagesDan Finlay2016-05-041-67/+0
| | | | | | | | | | 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-291-5/+77
|
* Persist selected accountDan Finlay2016-04-261-0/+11
| | | | | | 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!
* Store metamaskId on metaTx instead of getTxWithParams method.Dan Finlay2016-04-211-10/+0
|
* Fix config manager methodDan Finlay2016-04-201-1/+1
|
* Add extra tx methods to configManagerDan Finlay2016-04-201-3/+25
|
* Persist transactions to config-managerDan Finlay2016-04-191-0/+50
| | | | | | | | 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
|
* Point rawtestrpc at new testrpcDan Finlay2016-04-131-1/+1
|
* Migrate etherscan configs to our new production RPC.Dan Finlay2016-04-131-3/+7
|
* Revert "Revert "Etherscan provider""Dan Finlay2016-04-011-9/+22
|
* Revert "Etherscan provider"Dan Finlay2016-04-011-22/+9
|
* 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-011-9/+5
|
* Made configuration migrateableDan Finlay2016-03-311-0/+161
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.