aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
Commit message (Collapse)AuthorAgeFilesLines
* 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.