Commit Graph

375 Commits

Author SHA1 Message Date
kumavis 1079c20c83 meta - package.json - rename npm test scripts 2017-03-30 14:50:01 -07:00
kumavis e95ae43c8f tests - unit - fail on unhandled promise rejection 2017-03-30 14:43:56 -07:00
frankiebee 4cf3beda25 Bump sw-stream and setup "untrusted and trusted comunication" 2017-03-29 15:19:46 -07:00
kumavis f0a2b4d1b0 deps - bump provider-engine
uses fetch instead of xhr, fixes a race condition in cache subp
2017-03-29 12:36:23 -07:00
frankiebee 79248ae5cd WIP: Untrusted external connections eg: dapps 2017-03-28 18:02:08 -07:00
frankiebee 8e30acb41a Merge branch 'master' into mascara 2017-03-23 15:44:29 -07:00
frankiebee 45ab81fb45 WIP: streams->indexdb 2017-03-23 11:06:38 -07:00
Kevin Serrano 046774e768 Require redux-logger of 2.10.2 and up (#1235)
* Require redux-logger of 2.8.1 and up

* Bump to 2.10.2 and above, 2.10.1 had critical bug.
2017-03-22 09:38:03 -07:00
frankiebee d4e8ff188b WIP:stream 2017-03-21 15:35:01 -07:00
Dan Finlay b6e2eaf7b1 Remove eth-lightwallet 2017-03-16 11:16:03 -07:00
Dan Finlay 42e4a0621b Add ENS click to copy
Also bump ethjs-ens version to get proper error for unregistered names.
2017-03-08 15:38:22 -08:00
Dan Finlay e3f6c010ab Get basic ENS working
& merge master into ENS branch.
2017-03-08 15:19:33 -08:00
kumavis 147ac416ba deps - bump web3-provider-engine to 10.0.1
Fixes https://github.com/MetaMask/metamask-plugin/issues/1163
Fixes https://github.com/MetaMask/provider-engine/issues/121
2017-03-07 16:16:26 -08:00
kumavis be8267edf7 deps - bump web3-provider-engine
resolves https://github.com/MetaMask/metamask-plugin/issues/1159
2017-03-07 15:21:39 -08:00
kumavis 993a1cef64 deps - bump web3-provider-engine
include fix for https://github.com/MetaMask/provider-engine/pull/122
2017-03-07 10:15:34 -08:00
Dan Finlay 7d2019eac9 Fix personal sign for loose accounts
Fix was written, but not published to npm.  Now fixing semver at the correct version.
2017-03-06 13:45:19 -08:00
Dan Finlay 69d4aafc3e Add ens recognition to send form input
Attempts to lookup `.eth` addresses on ENS.
Is currently failing.

I've written an isolation example of the problem here:
https://github.com/flyswatter/ens-test
2017-03-01 00:26:36 -08:00
Dan Finlay 7cbb2fc689 Reduce provider-engine requirement 2017-02-24 17:38:11 -08:00
Dan Finlay 3ebf0dc11b Bump provider engine to require compliant personal_recover 2017-02-24 16:15:24 -08:00
Dan Finlay 0584988688 Move sigUtil and keyrings to external modules
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.
2017-02-21 14:25:47 -08:00
Dan Finlay f7a4cb4f1e Merge branch 'master' into AddBetterLogger 2017-02-20 14:45:37 -08:00
Dan Finlay 8aca5bf4b5 Add debug logging to ui routing logic. 2017-02-20 13:14:12 -08:00
Dan Finlay 42a58918d0 Add personal_sign and personal_ecRecover support 2017-02-20 11:46:43 -08:00
Kevin Serrano d0e2846eca
Complete migration tests. 2017-02-15 11:15:47 -08:00
kumavis ff87b9dc7a id mgmt - update to latest eth_sign spec 2017-02-03 14:59:07 -08:00
kumavis 77f8995568 migrations - fix migration #9 and add safety checks to migrator 2017-02-03 14:00:30 -08:00
kumavis 9e4ef45b6a migration #9 - break out CurrencyController substate 2017-02-02 23:32:24 -08:00
kumavis 73edfc9f31 eth-store - convert to obs-store subclass 2017-02-02 22:05:06 -08:00
Kevin Serrano afb60b9061
modification of notices. 2017-02-02 15:02:32 -08:00
Frankie fdee1e3701 Merge branch 'dev' into messageManagerCleanUp 2017-01-28 22:59:28 -08:00
Frankie 8be68575bb Clean up message manger includes:
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
2017-01-28 20:28:20 -08:00
kumavis 4dd6ba9c1b migration 5 - move keyring controller state to substate 2017-01-28 19:19:03 -08:00
kumavis 9616bd826d test - lint first 2017-01-26 20:53:48 -08:00
kumavis 76ce348a04 obs-store - use published module 2017-01-24 19:47:00 -08:00
kumavis bb1ee8e649 Merge branch 'dev' of github.com:MetaMask/metamask-plugin into obs-store2 2017-01-24 16:09:57 -08:00
kumavis 70b8e640f0 Merge branch 'dev' into i#1048 2017-01-24 15:39:33 -08:00
Frankie 8642ced310 Fix issue where generating a new account would put it in loose keys 2017-01-24 12:06:59 -08:00
kumavis 74dc20bdf1 Merge branch 'dev' into obs-store2 2017-01-21 10:06:50 -08:00
Dan Finlay 9126652f2e Implement naieve JSON file importing
Doesn't work on any JSON file I have, it's a very naieve strategy provided by ethereumjs-wallet.  Will need to raise its sophistication before deploying to production.
2017-01-18 16:15:25 -08:00
Dan Finlay 958cbfbde4 Merge branch 'i328-MultiVault-v1' into i715-AddImportMenu 2017-01-17 13:58:54 -08:00
kumavis 29e83d71a8 background - handle tx finalization in controllers instead of provider-engine 2017-01-13 02:00:11 -08:00
kumavis b33c51c0a6 migrations - introduce promise-based migrator 2017-01-12 01:17:05 -08:00
kumavis f6900422d1 deps - bump provider engine
addresses caching memory leak that can cause slow downs
2017-01-10 23:35:24 -08:00
Dan Finlay ff6e633e94 Merge branch 'dev' into gulp1 2017-01-10 15:38:07 -08:00
kumavis 2efcbd9674 gulp - fix brfs instrumentation 2017-01-10 15:33:00 -08:00
kumavis 8e3661555d gulp - add disc bundle analysis task 2017-01-10 13:46:15 -08:00
kumavis 464b7d5814 gulp - clean and simplify 2017-01-10 13:08:13 -08:00
kumavis bd382f4705 tests - add fetch polyfill 2017-01-10 12:39:01 -08:00
kumavis b301c0fb48 deps - replace promise-request with fetch 2017-01-10 12:04:26 -08:00
Dan Finlay d4958b7ffd Remove old eth-store dependency 2017-01-04 14:01:43 -08:00
Kevin Serrano 572980402d
Validate URIs before entering them in. 2016-12-20 16:41:04 -08:00
Dan Finlay 674b268982 Merge pull request #916 from MetaMask/i894-DetectBadAccounts
I894 detect bad accounts
2016-12-20 11:50:26 -08:00
Dan Finlay dea658a898 Bump passworder version 2016-12-20 10:24:58 -08:00
Dan Finlay 2988bc0723 Use security patched version of browser-passworder 2016-12-20 09:28:15 -08:00
Dan Finlay 26f1e6cbd2 Remove encryptor in favor of external browser-passworder
I broke out the encryptor lib into its own module on npm called browser-passworder.
2016-12-19 21:55:02 -08:00
Dan Finlay 20d2204ce6
Made changes according to feedback. 2016-12-19 19:32:59 -08:00
Dan Finlay 77d2deb176 Merged master into dev 2016-12-19 13:37:27 -08:00
Dan Finlay 55fdf06d53 Rebuild development states before ci tests 2016-12-16 11:16:36 -08:00
Kevin Serrano 8819475a2e Add ability to show notices to user & get confirmation.
Implement generation of markdown for notice files.
Create npm command. Enhance notice generation.
Add test files to test multiple notices.
Add basic markdown support to notices.
Interval checks for updates.
Add extensionizer and linker
Add terms and conditions state file
Add link support to disclaimer.
Changelog addition.
2016-12-16 10:44:52 -08:00
kumavis 84ff919f73 deps - bump provider-engine for bug fix 2016-12-12 16:09:52 -08:00
Dan Finlay 5bf1018d75 Flattened addTx async methods 2016-11-29 14:56:58 -08:00
Dan Finlay 12906df601 Remove unused dep 2016-11-28 17:27:44 -08:00
Dan Finlay 80e76b45ee Denodeify most of KeyringController
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.
2016-11-28 16:13:03 -08:00
kumavis bc39cd7b89 KeyringController - estimateGas->analyzeGasUsage fix gasLimit + detect OOG 2016-11-22 14:28:31 -08:00
Dan Finlay b57009493b Hard coding jazzicon at working version 2016-11-08 08:54:30 -08:00
Dan Finlay a7af47db92 Add import account placeholder template 2016-11-04 14:39:53 -07:00
Dan Finlay d8a9ae0f07 Set test env during tests 2016-11-03 11:34:44 -07:00
Kevin Serrano 9b4f3825e7
Merge branch 'i328-MultiVault' of github.com:MetaMask/metamask-plugin into i328-MultiVault 2016-10-28 16:19:14 -07:00
Kevin Serrano 6eb6968037
Merge branch 'master' into i328-MultiVault 2016-10-28 16:19:03 -07:00
Dan Finlay f02e02bef8 Add hd wallet keyring 2016-10-27 16:59:46 -07:00
Dan Finlay bbee238acd Add latest jazzicon version 2016-10-27 16:01:21 -07:00
kumavis b790b0c256 mascara - remove global transpile 2016-10-26 15:29:13 -07:00
kumavis 84bd8784d0 deps - web3 - set version to 0.17.0-beta 2016-10-26 11:36:43 -07:00
Dan Finlay f9ff6cb55e Merge branch 'master' into i328-MultiVault 2016-10-25 16:59:58 -07:00
Dan Finlay 9b8c970706 Update web3.js version 2016-10-25 16:43:56 -07:00
kumavis 3af3565000 test - fix delegate-call test 2016-10-24 16:12:44 -07:00
Dan Finlay 55d56f77cf Began adding first basic keyring 2016-10-20 16:45:58 -07:00
Dan Finlay 331bb735c7 Merge branch 'i328-MultiVault' of github.com:MetaMask/metamask-plugin into i328-MultiVault 2016-10-20 09:49:49 -07:00
Dan Finlay 94f2554369 Add debug flag to dev mode 2016-10-19 15:15:27 -07:00
Kevin Serrano afbc4c832b
Git merge resolution. 2016-10-19 14:57:30 -07:00
Kevin Serrano ad3fa24a28
Intermediary commit. 2016-10-19 14:55:08 -07:00
Kevin Serrano 725d503f68
Remove unused crypto dependencies. 2016-10-19 14:06:48 -07:00
Kevin Serrano 153bb25947
Add crypto packages to package.json 2016-10-19 13:56:21 -07:00
Kevin Serrano 17506fe14f
Merge in crypto. 2016-10-19 11:17:29 -07:00
Dan Finlay 182fd30db5 Fix cli flag capitalization 2016-10-18 14:02:06 -07:00
Dan Finlay 60097d8fba Remove livereload from prod builds 2016-10-18 14:00:20 -07:00
Dan Finlay cce8d9e360 Began adding browser-native encryptor module
Added new Qunit build process that will browserify the contents of `test/integration/lib` into the QUnit browser, allowing much more modular testing, including unit testing of our modules in our target browsers.

Made a basic unit test file of this form for the new encryptor module, which fails miserably because I've only just begun to work with it.

I've started with this blog post as a starting point, and will be adjusting it to our needs from there:
http://qnimate.com/passphrase-based-encryption-using-web-cryptography-api/
2016-10-12 20:07:46 -07:00
kumavis a1c3c944cf dapp reload - fixed disconnect detection via polling 2016-10-12 12:35:55 -07:00
Dan Finlay f21170c7c3 Add tolerance for sending from mixed-case addresses.
We had to convert to lower case, and also had to modify the new provider-engine sanitizer to tolerate mixed case addresses.

Fixes #707
2016-10-05 15:26:56 -07:00
Dan Finlay 39c129f1a2 Bump provider-engine version 2016-10-05 11:19:54 -07:00
kumavis ea4946ab3a Merge branch 'master' of github.com:MetaMask/metamask-plugin into Version-2.13.3 2016-10-05 07:22:51 -07:00
Dan Finlay 6ee22e6688 Version 2.13.3
Bumps provider-engine to fix log query filtering bug.
2016-10-04 16:11:52 -07:00
Dan Finlay 3ad976570b Add announcer script
I always keep writing up this same announcement message whenever I publish a new version.

I've now written a script to automate my announcement formatting, it looks like this:

```
**MetaMask 2.13.2** now published to the Chrome Store! It should be available over the next hour!
 2016-10-4

- Fix bug where chosen FIAT exchange rate does no persist when switching networks
- Fix additional parameters that made MetaMask sometimes receive errors from Parity.
- Fix bug where invalid transactions would still open the MetaMask popup.
```
2016-10-04 12:41:14 -07:00
Dan Finlay 8ef7521675 Version 2.13.2 2016-10-04 11:58:31 -07:00
Dan Finlay b6bbe2d7e8 Version 2.13.1 2016-09-23 10:45:28 +08:00
Dan Finlay 57d9481d9d Bump web3 provider engine version for Parity compliance 2016-09-19 10:17:46 +08:00
kumavis f628b0d1f9 deps - bump provider-engine 8.0.5 2016-09-14 11:17:15 -07:00
Frankie 19c1b1fd8e Merge branch 'master' into qrCode 2016-09-13 12:18:19 -07:00
Frankie 218f380d87 Add qrcode-npm to package.json and swap out Qr Code generator api for node-module 2016-09-12 17:27:14 -07:00
kumavis 850b6d1440 Merge branch 'master' of github.com:MetaMask/metamask-plugin into library 2016-09-12 15:25:36 -07:00
Dan Finlay a4e4c85453 Fix fox logo password following
The new lightweight svg logo was not following text quite right.

The new `lookAt` method was not using the same logic the module was using internally on mouse movement.

I simply used that logic and exposed it via the old (expected) API, and got it behaving the way I like.
2016-09-08 20:31:42 -07:00
Dan Finlay 6c05c221cd Fix new logo related errors
Fixed logo deallocation related bugs, had to patch the logo repo itself to add a stopAnimating method.

Also tuned up the logo to more closely resemble the old behavior.
- Overlaps the title text
- Points nose at cursor, not just front of eyes
- Cursor is more "distant" from fox, to avoid extreme angles on edges.
2016-09-08 15:41:21 -07:00
Dan Finlay 20ae4c2689 Fix logo usage for metamask-logo v2.0.0
- No longer need to check for webGL compliance (svg rendered!)
- logo.canvas has been replaced with logo.container, since svg doesn't render to canvas but to an element.

Otherwise, worked with very little effort!!

Fixes #624
2016-09-08 11:22:04 -07:00
Kevin Serrano 168b4c5bc0 Install deps. Fix chrome/firefox typo. 2016-09-01 15:01:45 -07:00
kumavis b7aab95519 library - basic test server + partial safari fixes 2016-08-26 17:39:19 -07:00
kumavis 23a144fb8b library - popup handler demo 2016-08-26 11:08:23 -07:00
Kevin Serrano 4dff4f2d72 Testing bump for web3 provider engine 2016-08-25 10:31:10 -07:00
Kevin Serrano c82a494b4b Implement usage of nock. 2016-08-24 13:58:50 -07:00
Kevin Serrano 304b5b0b20 Remove gulp dependency. 2016-08-23 15:56:17 -07:00
Kevin Serrano d2c4227a31 Modify package.json. 2016-08-23 15:43:16 -07:00
Kevin Serrano 4bceda37a8 Merge branch 'master' into fox-sub 2016-08-23 14:51:09 -07:00
Kevin Serrano 00e8db31ce Update package.json 2016-08-23 14:47:37 -07:00
Dan Finlay a0d0245343 Add gulp tasks as npm scripts 2016-08-22 17:37:23 -07:00
Kevin Serrano da2527ddb4 Remove react-select as dependency. 2016-08-16 13:23:28 -07:00
Kevin Serrano 6e51a5aa75 Add to package request-promise. 2016-08-16 11:26:02 -07:00
Kevin Serrano 6895d330ff Merge master. 2016-08-15 10:50:53 -07:00
kumavis 0b660f4ac8 deps - extracted ensnare to module 2016-08-12 13:25:38 -07:00
kumavis a26d682976 deps - bump web3-stream-provider 2016-08-11 14:09:55 -07:00
kumavis d7dffedf48 deps - local-message-stream extracted as module post-message-stream 2016-08-11 14:04:20 -07:00
Frankie b81bacf22a Add testem to devDependencies 2016-08-10 10:34:18 -07:00
Kevin Serrano 92fb827923 currency now selectable and save-able. 2016-08-04 14:04:04 -07:00
Dan Finlay 2368c2993d Add platform specific builds and zip tasks (#486)
* 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
2016-07-26 15:15:40 -07:00
Dan Finlay be74589f49 Fix extension tests 2016-07-25 17:33:22 -07:00
Dan Finlay 913a9e85bd Inject inpage script synchronously
Huge thanks to the Firefox team, for their help on the issue of our long-standing inpage script race condition.

http://stackoverflow.com/questions/38577656/how-can-i-make-a-firefox-add-on-contentscript-inject-and-run-a-script-before-oth

The problem is that we were injecting a `script` tag and assigning its `src` attribute, which triggers an asynchronous fetch request, and does not guarantee execution order! (That was news to me!)

Instead, I'm now assigning the `script` tag a `textContent` value of the script to inject, and it seems to fix the problem!

There is also a Firefox-only API that could solve this whole problem in an even more elegant way, so we might want to expose a code path for that solution later on:

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.exportFunction

Allows you to expose an object from one scope to another. There was even talk of creating a polyfill for it that does virtually what we do, message passing between contexts.
2016-07-25 16:38:07 -07:00
Dan Finlay 5476cb9a2c Correct skip usage 2016-07-22 17:09:50 -07:00
Dan Finlay ae6fa76241 Run browser tests in parallel 2016-07-22 17:03:37 -07:00
Dan Finlay c15ff7164e Add UI tests to CI test script 2016-07-22 16:23:52 -07:00
Dan Finlay 2e61102147 Separate UI tests from normal unit test suite 2016-07-22 16:20:43 -07:00
Dan Finlay 5b4e2ffeac Add mock dev mode 2016-07-21 18:08:35 -07:00
kumavis 97e38b4983 new tx - calculate estimatedGas and show thing in tx-details (#441)
* new tx - calculate estimatedGas and show thing in tx-details

* Bump changelog
2016-07-13 23:39:44 -07:00
Kevin Serrano ad803125cb Bump provider-engine from 7.8.1 to 7.8.3 (#435)
* Bump provider-engine from 7.8.1 to 7.8.3

* Modify changelog.
2016-07-13 12:04:46 -07:00
Dan Finlay 977e8611d6 Add state list rebuilding on ui task 2016-07-05 11:15:30 -07:00
Dan Finlay 0cd11915ce Improved Ui Dev Mode
Dev mode now reloads on file changes (although it seems to sometimes reload too soon, not getting the update... we can tune the timeout interval in development/index.html)

Dev mode now reloads on all non-`node_modules` file changes, so the `ui` and `app` folders are both being watched for live reloading.
2016-07-01 14:23:37 -07:00
Dan Finlay 50afc386e5 Simplify ui task command 2016-06-30 23:15:38 -07:00
Dan Finlay d1545245c2 Clean up beefy usage
Now properly uses brfs transform so it can reload on state object changes.
2016-06-30 22:59:28 -07:00
kumavis 5a917431d8 disclaimer - render via react-markdown 2016-06-30 21:46:19 -07:00
Dan Finlay 90e4483d68 Add ui mocking script 2016-06-30 18:23:13 -07:00
Dan Finlay e55938ed15 First simple version of ui mocker 2016-06-30 18:22:16 -07:00
Dan Finlay 78e6ed22be Add tooltip to copy button 2016-06-29 15:57:59 -07:00
kumavis 216e7235dd deps - bump web3-stream-provider 2016-06-23 13:09:01 -07:00
kumavis d7b76f83ff deps - bump web3-stream-provider 2016-06-23 12:55:24 -07:00
kumavis d3b743c9cd deps - bump stream-provider 2016-06-23 11:44:14 -07:00
Dan Finlay 1cafdb8b1d Add linting to our mocha suite 2016-06-21 14:01:40 -07:00
Dan Finlay 7b2f061fbb Some manual fixes 2016-06-21 12:51:04 -07:00
Dan Finlay 45506d6758 Got eslint running correctly 2016-06-21 12:40:09 -07:00
Dan Finlay 7b9a1197c8 Began adding auto linting 2016-06-21 12:07:13 -07:00
kumavis c1e9444200 idStore - add DELEGATE_CALL detection 2016-06-16 19:51:34 -07:00
kumavis 40d56acbb9 deps - bump stream-provider for better batch rpc 2016-06-14 12:32:05 -07:00
Dan Finlay d49ef1a2e5 Blockchain status now updates on availability change 2016-06-03 15:18:20 -07:00
Dan Finlay d8c4af5f2b Update eth-lightwallet for security fix 2016-05-26 10:13:05 -07:00
kumavis 092c191c1f background + notifications - add origin to message signatures 2016-05-25 18:03:16 -07:00
kumavis 8fa8813b91 deps - bump 2016-05-22 18:00:56 -07:00
kumavis 00e9f3c6ae inpage - refactor for modularity 2016-05-22 15:23:16 -07:00
kumavis f86a1bdcb0 deps - bump provider-engine 2016-05-19 16:55:58 -07:00
kumavis cd7fd6353f deps - bump provider-engine 2016-05-19 13:28:59 -07:00
Dan Finlay 9d0cad0e16 Finish clean implementation of drop-down menu 2016-05-18 17:32:26 -07:00
Dan Finlay d0b0526765 Add dynamic list item styles 2016-05-18 14:36:35 -07:00
Dan Finlay d18d9a8f97 Add animated sandwich button 2016-05-18 12:30:03 -07:00
kumavis 82504ae965 ui - txList - add time 2016-05-13 17:02:33 -07:00
Dan Finlay f2676d1241 Merge branch 'master' into eyeballs 2016-05-13 00:20:40 -07:00
kumavis 47a5b58b92 deps - bump web3 2016-05-12 03:02:08 -07:00
Dan Finlay 4e9b829179 Merge branch 'master' into eyeballs 2016-05-11 14:16:53 -07:00
kumavis a468294d2c deps - bump provider-engine 2016-05-11 13:23:53 -07:00
Dan Finlay 9ff218afa8 Added transition group dependency back 2016-05-11 02:53:49 -07:00
Dan Finlay 2978e6e494 Fixed transitions 2016-05-11 02:46:41 -07:00
kumavis 82f9955f21 deps - bump jazzicon 2016-05-11 00:18:52 -07:00
Dan Finlay d9d442ed1f Began adding jazzicons
Currently experiencing a few problems:

1. Tons of errors on app start. It's as if Jazzicon is getting called many times at start with some object as its diameter.
2. Weird visual glitches. When leaving a view with a jazzicon, it flashes off its border radius.
3. Messy transitions. Might want to just re-do the transitions. They just look awful, it's barely worthwhile.
2016-05-10 23:07:01 -07:00
kumavis aa2816010d inpage - automatic dapp reload 2016-05-05 16:04:43 -07:00
Dan Finlay 118da12197 Merge branch 'master' into Identicon 2016-04-29 14:01:58 -07:00
Dan Finlay 9360e33510 Convert icons to identicons 2016-04-29 12:45:46 -07:00
kumavis 82983e5eff idmgmt - eth_sign support + notifications 2016-04-28 14:16:24 -07:00
kumavis d562b86f7a tx list - bug fix - fixes #143 2016-04-28 11:48:39 -07:00
kumavis c66ac13cc9 provider - use provider-engine zero 2016-04-26 11:36:23 -07:00
kumavis 04a61b7de9 build - post process with dereq 2016-04-20 13:22:41 -07:00
kumavis 2a53a26fca Merge pull request #117 from MetaMask/i33
reject unknown tx 'from' address via provider-engine
2016-04-18 13:09:59 -07:00
kumavis c503d0897d deps - bump provider-engine to 7.4.0 2016-04-18 12:57:42 -07:00
kumavis 046bacbd5b deps - remove unused faux-jax 2016-04-18 12:56:55 -07:00
Dan Finlay 65d73d7bb4 Unify test suites 2016-04-18 11:41:29 -07:00
Dan Finlay 8b62a8bec2 Fix plugin tests 2016-04-18 11:31:06 -07:00
Dan Finlay 6e0bb68cba Run all UI tests 2016-04-14 15:26:26 -07:00
Dan Finlay 702b7e86f2 Limit test suite to UI for now 2016-04-14 15:10:12 -07:00
Dan Finlay 29f1957b86 Bump ethereumjs-utils version 2016-04-14 14:34:52 -07:00
Dan Finlay 4754db8c5f Remove metamask-ui dependency 2016-04-13 15:48:13 -07:00
Dan Finlay a27677a87c Move UI deps into main plugin package.json
Also move UI test scripts into main plugin
Also move testing explanation to main plugin README.
2016-04-13 15:46:39 -07:00
Dan Finlay b3e5fc2cf6 Revert "Revert "Etherscan provider"" 2016-03-31 16:32:35 -07:00
Dan Finlay 3314aad9cc Revert "Etherscan provider" 2016-03-31 16:32:06 -07:00
Dan Finlay 8384b035e8 Got etherscan working, bump version
New version of provider-engine includes etherscan-subprovider features required to let Metamask use it.

Hard coded the new version of `web3-provider-engine` even though it is not live on `npm` yet, because it is a dependency of this branch.

I'll deploy to the Chrome store but not merge on Github until that provider-engine is published, because it could break others' dev environments.
2016-03-31 16:23:22 -07:00
Dan Finlay c2046be0d8 Made configuration migrateable
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.
2016-03-30 19:15:49 -07:00
Dan Finlay 335a03d650 Removed unused dependency 2016-03-25 15:45:23 -07:00
Dan Finlay 7fc8195cb1 Remove broken npm script 2016-03-25 15:43:26 -07:00
Dan Finlay a2c7ccafa6 Implemented BIP44 compliance test.
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.
2016-03-25 14:51:19 -07:00
Dan Finlay 37fd45e5b7 Convert to bip44 hdTrees
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.
2016-03-25 12:41:18 -07:00
Dan Finlay da31f4daed Added basic es6 mocha test suite 2016-03-24 17:51:46 -07:00
kumavis b8e36f41a2 notifications - add tx confirm+cancel buttons 2016-03-11 17:13:48 -08:00
kumavis b3d46e02b8 build - use gulp, remove grunt 2016-03-11 15:21:43 -08:00
kumavis 1ffc98917d plumbing - fix rpc feedback loop bug 2016-03-10 13:04:45 -08:00
kumavis f64e4a518b plumbing - pipe web3 to the popup.js 2016-03-10 12:28:42 -08:00
kumavis 95610c305f deps - bump metamask-ui 2016-03-08 14:36:44 -08:00
kumavis 099bb6e63d deps - bump ui and provider-engine 2016-03-08 13:27:38 -08:00
kumavis f1d100f910 deps - add gulp deps 2016-03-02 23:29:43 -08:00