aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Create test for Migratorfrankiebee2017-05-121-0/+41
|
* Whoops missed some modulesThomas Huang2017-05-054-8/+0
|
* Remove unused modules and STORAGE_KEYThomas Huang2017-05-056-14/+0
|
* Lint testsThomas Huang2017-05-0531-481/+438
|
* Merge branch 'master' of github.com:MetaMask/metamask-plugin into platformkumavis2017-04-013-45/+84
|\
| * Merge pull request #1297 from MetaMask/eip155Dan Finlay2017-04-012-30/+66
| |\ | | | | | | tx-manager - add eip155 support
| | * tests - tx-manager - fix assert and clean formattingkumavis2017-03-311-9/+1
| | |
| | * tx-manager - add eip155 supportkumavis2017-03-312-31/+75
| | |
| * | test - fix notice-controller testkumavis2017-03-311-15/+18
| | |
* | | etc - fix notification-manager ref, remove duplicated test filekumavis2017-03-311-77/+0
|/ /
* | tests - add missing donekumavis2017-03-311-1/+1
| |
* | tests - helper - add notekumavis2017-03-311-9/+11
| |
* | tests - unit - fail on unhandled promise rejectionkumavis2017-03-311-4/+45
|/
* tests - tx-utils gasBuffer calc - fix bug and user easier numberskumavis2017-03-301-11/+17
|
* explorer - fix ropsten explorer link testskumavis2017-03-282-8/+13
|
* tests - fix ropsten link checkkumavis2017-03-281-2/+2
|
* correct bug in test.Kevin Serrano2017-03-251-1/+1
|
* Add tests.Kevin Serrano2017-03-251-0/+11
|
* Add migration tests to ensure that bodies are erased properly in notices.Kevin Serrano2017-03-232-0/+14
|
* Remove eth-lightwalletDan Finlay2017-03-174-352/+0
|
* Add test to account for prevention of identities duplication.Kevin Serrano2017-03-111-1/+22
|
* Add another test for duplicates.Kevin Serrano2017-03-111-0/+7
|
* Add basic tests.Kevin Serrano2017-03-112-1/+29
|
* Merge branch 'master' into kumavis-patch-1Dan Finlay2017-03-093-5/+6
|\
| * Merge branch 'master' into i1144-moarrpcKevin Serrano2017-03-091-0/+26
| |\
| * | Fix tests until new ones to-be-written.Kevin Serrano2017-03-081-17/+0
| | |
| * | Merge github.com:MetaMask/metamask-plugin into i1144-moarrpcKevin Serrano2017-03-081-1/+1
| |\ \
| * | | Refactor of code into separate reducers and actions.Kevin Serrano2017-03-081-10/+2
| | | |
| * | | Merge branch 'master' into i1144-moarrpcKevin Serrano2017-03-082-1/+47
| |\ \ \
| * | | | Modify tests.'Kevin Serrano2017-03-081-15/+19
| | | | |
| * | | | More conflict resolution.Kevin Serrano2017-03-021-1/+1
| |\ \ \ \
| | * | | | Fix test referenceDan Finlay2017-02-281-1/+1
| | | | | |
| | * | | | Merge branch 'master' into i1144-moarrpcDan Finlay2017-02-285-289/+98
| | |\ \ \ \
| * | \ \ \ \ Fix merge conflicts.Kevin Serrano2017-03-025-289/+98
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | |
| * | | | | | Fix spelling error.Kevin Serrano2017-02-251-1/+1
| | |/ / / / | |/| | | |
| * | | | | Tested against code to play nice with unit tests.Kevin Serrano2017-02-241-3/+25
| | | | | |
* | | | | | tx-utils - add encoding utilskumavis2017-03-081-8/+14
| | | | | |
* | | | | | tx-utils - stricter naming type-based conventionkumavis2017-03-081-14/+14
| | | | | |
* | | | | | test - tx-utilskumavis2017-03-081-3/+29
| |_|_|_|/ |/| | | | | | | | | add tests for `addGasBuffer`
* | | | | Merge branch 'master' into i1118-IncreaseGasBufferjaredpereira2017-03-081-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Fixed encodingDan Finlay2017-03-081-1/+1
| | | | |
| * | | | Remove unrelated test fileDan Finlay2017-03-081-38/+0
| | | | |
| * | | | Fix test nameDan Finlay2017-03-071-1/+1
| | | | |
| * | | | Fixed internal encoding test caseDan Finlay2017-03-072-1/+39
| | |_|/ | |/| |
* | | | change BN.mul to BN.mulnJared Pereira2017-03-081-9/+7
| | | |
* | | | add gas buffer multiply testJared Pereira2017-03-081-16/+6
| | | |
* | | | Add gas buffer testDan Finlay2017-03-081-0/+38
|/ / /
* | | Fix normalizeMsgData function to always return hex prefixedDan Finlay2017-03-071-2/+2
| | |
* | | Fix function namesDan Finlay2017-03-071-6/+6
| | |
* | | Render personal_sign messages as utf-8 textDan Finlay2017-03-072-1/+47
| |/ |/| | | | | | | | | | | | | | | | | | | Calls to `personal_sign` are now: - When hex encoded, preserved as hex encoded, but displayed as utf-8 text. - When not hex encoded, decoded as utf-8 text as hex for signing. - The messages proposed for signing are displayed as UTF-8 text. - When the message cannot be rendered as UTF-8 text, it is displayed as hexadecimal. Fixes #1173
* | Fixed referenceDan Finlay2017-02-241-1/+1
| |
* | Fix references in testsDan Finlay2017-02-241-5/+5
| |
* | Remove irrelevant testsDan Finlay2017-02-241-8/+4
| |
* | Move sigUtil and keyrings to external modulesDan Finlay2017-02-223-276/+89
|/ | | | 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.
* Add log global to test suiteDan Finlay2017-02-211-0/+6
|
* Integration tests play nice with new disabled buttons.Kevin Serrano2017-02-211-2/+6
|
* add waits between notices.Kevin Serrano2017-02-211-0/+13
|
* Merge branch 'master' into devDan Finlay2017-02-162-2/+42
|\
| * Verify messages in a loopDan Finlay2017-02-141-27/+25
| |
| * got hash test passingDan Finlay2017-02-141-14/+23
| |
| * Add failing test for signature recoveryDan Finlay2017-02-141-0/+33
| |
| * Revert old style message sighingFrankie2017-02-102-2/+2
| |
* | Complete migration tests.Kevin Serrano2017-02-161-15/+74
| |
* | Adding additional migration state to account for moving data.Kevin Serrano2017-02-161-0/+138
| |
* | Add migrations for removing terms of use data.Kevin Serrano2017-02-151-2/+6
| |
* | Merge branch 'mapachurro-patch-1' of github.com:mapachurro/metamask-plugin ↵Kevin Serrano2017-02-111-0/+28
|\ \ | | | | | | | | | into mapachurro-patch-1
| * | Update first-time.jsmapachurro2017-02-101-0/+28
| |/
* | Fix integration tests.Kevin Serrano2017-02-101-18/+2
| |
* | Delete all code related to disclaimers.Kevin Serrano2017-02-104-38/+2
|/
* test - skip eth_sign tests until we have test datakumavis2017-02-042-2/+2
|
* migration #9 - break out CurrencyController substatekumavis2017-02-032-75/+87
|
* txManager - depend on preferencesStorekumavis2017-02-031-1/+0
|
* metamask - introduce networkStorekumavis2017-02-031-12/+3
|
* migration 7 - break off TransactionManager substatekumavis2017-02-032-54/+60
|
* messageManager - move view state to obs-storekumavis2017-02-031-13/+4
|
* test - first-time - re-add terms header checkkumavis2017-02-021-0/+2
|
* tests - mockDev - fix first-time flowkumavis2017-02-021-20/+18
|
* Merge branch 'dev' into messageManagerCleanUpFrankie2017-02-022-16/+4
|\
| * metamask - adopt isInitialized from keyring controllerkumavis2017-02-011-9/+0
| |
| * keyring - move identities into memStorekumavis2017-02-011-2/+4
| |
| * keyring - synchronous getStatekumavis2017-02-011-9/+4
| |
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-02-022-3/+3
|\|
| * continue rename selectedAccount to selectedAddresskumavis2017-01-312-3/+3
| |
* | code clan up and testsFrankie2017-02-021-0/+98
| |
* | Merge branch 'dev' into messageManagerCleanUpFrankie2017-01-293-154/+31
|\|
| * migration 5 - move keyring controller state to substatekumavis2017-01-292-39/+20
| |
| * tests - remove persistence and start with initial statekumavis2017-01-282-115/+11
| |
* | Clean up message manger includes:Frankie2017-01-291-3/+3
|/ | | | | | | | | 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
* config-manager - default to USD for currentFiatkumavis2017-01-271-14/+4
|
* obs-store - use published modulekumavis2017-01-254-26/+17
|
* Merge branch 'dev' of github.com:MetaMask/metamask-plugin into obs-store2kumavis2017-01-251-0/+3
|\
| * background controller - extract KeyringC.placeSeedWords to MetamaskCkumavis2017-01-251-0/+3
| |
* | Merge branch 'dev' into obs-store2kumavis2017-01-226-50/+74
|\|
| * Fix test to log out despite number of menu itemsDan Finlay2017-01-181-1/+2
| |
| * Wrote failing test for eth.signDan Finlay2017-01-171-0/+18
| |
| * Merge branch 'dev' into simple-keystore-fixkumavis2017-01-171-1/+1
| |\
| | * Merge branch 'master' into devDan Finlay2017-01-171-1/+1
| | |\
| | | * remove network Id 2 from explorer link and Add network Id 3Frances Pangilinan2016-12-211-1/+1
| | | |
| * | | test - keyring - simple - fix fixture datakumavis2017-01-171-6/+3
| |/ /
| * | test - clear localStorage on test startkumavis2017-01-151-3/+3
| | |
| * | test - clear localStorage in case CI caches it (?)kumavis2017-01-151-0/+1
| | |
| * | test - txManager - add network to all txskumavis2017-01-151-18/+19
| | |
| * | tests - txManager - add getNetwork fn to fixture txManagerkumavis2017-01-151-0/+1
| | |
| * | fix for lintingFrankie2017-01-141-2/+2
| | |
| * | background - handle tx finalization in controllers instead of provider-enginekumavis2017-01-132-22/+27
| | |
* | | migrations - introduce promise-based migratorkumavis2017-01-121-24/+24
| | |
* | | background - move pojo migrator to outside of metamask controllerkumavis2017-01-123-79/+39
| | |
* | | test - fix tests from obs-storekumavis2017-01-123-8/+13
| | |
* | | background - introduce ObservableStorekumavis2017-01-121-18/+15
|/ /
* | tests - add fetch polyfillkumavis2017-01-111-1/+3
| |
* | Merge remote-tracking branch 'origin/kumavis-readme-gource' into RevertTxManagerDan Finlay2017-01-037-131/+203
|\ \
| * \ Merge branch 'dev' into TxManagerFrankie2016-12-244-128/+76
| |\ \
| * | | fix some minor spelling mistakes and clean up codeFrankie2016-12-241-6/+6
| | | |
| * | | Merge branch 'dev' into TxManagerFrankie2016-12-227-115/+184
| |\ \ \
| * | | | First pass at revision requestsFrances Pangilinan2016-12-223-77/+48
| | | | |
| * | | | add Test for txManager. As well as fix tests to account for txManager.Frances Pangilinan2016-12-156-80/+185
| | | | |
* | | | | Correct getState test to be asyncDan Finlay2016-12-241-4/+7
| | | | |
* | | | | Add additional migration testDan Finlay2016-12-242-2/+20
| |_|/ / |/| | |
* | | | Restructured migrationDan Finlay2016-12-223-123/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrator now returns a lostAccount array that includes objects these objects include keys of address and privateKey, this allows the MetamaskController to restore the lost accounts even without customizing the idStore or the KeyringController. Also includes a patch that allows idStore to synchronously export private keys.
* | | | Fixed another lostAccount testDan Finlay2016-12-221-1/+1
| | | |
* | | | Refine a lostAccount testDan Finlay2016-12-211-1/+1
| |/ / |/| |
* | | Merge pull request #916 from MetaMask/i894-DetectBadAccountsDan Finlay2016-12-214-41/+66
|\ \ \ | | | | | | | | I894 detect bad accounts
| * | | Made changes according to feedback.Dan Finlay2016-12-201-1/+0
| | | |
| * | | Got bad account detection working and added to stateDan Finlay2016-12-101-3/+5
| | | |
| * | | Mostly added bad account detectionDan Finlay2016-12-094-41/+65
| |/ / | | | | | | | | | Currently riddled with logs, because the migrator is inexplicably returning before generating the new style accounts for comparison.
* | | Remove encryptor in favor of external browser-passworderDan Finlay2016-12-201-71/+0
| | | | | | | | | | | | I broke out the encryptor lib into its own module on npm called browser-passworder.
* | | Merged master into devDan Finlay2016-12-202-3/+118
|\ \ \ | |/ / |/| / | |/
| * move notice code from metamask-controller + config-manager, in to ↵kumavis2016-12-172-94/+115
| | | | | | | | notice-controller
| * clean - code stylekumavis2016-12-171-4/+3
| |
| * Add ability to show notices to user & get confirmation.Kevin Serrano2016-12-171-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Cranked up CI test suite wait duration to alleviate their nondeterminism for nowDan Finlay2016-12-081-1/+1
| |
* | Remove .only from unit test suiteDan Finlay2016-12-081-1/+1
| |
* | Fix vault encrypting & unlocking bugDan Finlay2016-12-012-0/+6
| | | | | | | | | | | | | | | | 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 integration tests for logging out and back inDan Finlay2016-12-011-1/+27
| |
* | Add more integration testsDan Finlay2016-12-011-0/+25
| | | | | | | | | | | | | | | | Integration tests now: - Scroll through terms - Accept terms - Confirm seed phrase - Verify account detail screen
* | Made integration test create a first vaultDan Finlay2016-12-013-3/+25
| |
* | Fix nodeifyDan Finlay2016-11-291-0/+22
| |
* | Denodeify most of KeyringControllerDan Finlay2016-11-293-13/+28
| | | | | | | | | | | | | | | | | | | | 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-241-7/+2
|\|
| * Merge branch 'master' into i868-estimateGasTooHighkumavis2016-11-231-2/+8
| |\
| | * Unify test wordingDan Finlay2016-11-221-2/+2
| | |
| | * Add temporary morden explorer link supportDan Finlay2016-11-221-0/+6
| | |
| | * Fix ropsten link testDan Finlay2016-11-221-2/+2
| | |
| * | idStore - fix estimateGas calculationkumavis2016-11-231-7/+2
| |/
* | Fix last async keyring testDan Finlay2016-11-241-8/+10
| |
* | Fix more keyring asyncifying testsDan Finlay2016-11-241-1/+8
| |
* | Mostly got async keyringController tests passingDan Finlay2016-11-233-55/+91
| |
* | Fix new encryptor migration logicDan Finlay2016-11-231-0/+11
| |
* | Fix password referenceDan Finlay2016-11-231-0/+1
| |
* | Fix vault migration unit testDan Finlay2016-11-231-1/+1
| |
* | Improve vault migration unit testDan Finlay2016-11-231-1/+2
| |
* | Simplify Encryptor API SurfaceDan Finlay2016-11-231-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 #858 from MetaMask/i842-WaitForSeedWordkumavis2016-11-231-2/+8
|\ \ | | | | | | I842 wait for seed word
| * | Fix etherscan link generation testDan Finlay2016-11-231-2/+8
| | |
* | | Merge branch 'dev' into dev-cleanupKevin Serrano2016-11-232-7/+7
|\| |
| * | Fix keyring testDan Finlay2016-11-221-1/+1
| | |
| * | Improve Keyring organizationDan Finlay2016-11-222-6/+6
| | | | | | | | | | | | | | | Separated public & private methods. (Fixes #845) Made class method `type()` into a simple property. (Fixes #846)
| * | Revert premature link test fixDan Finlay2016-11-221-2/+2
| | |
| * | Fixed account link test for ropsten networkDan Finlay2016-11-221-2/+2
| | |
* | | change all instances of selectedAddress to selectedAccount.Kevin Serrano2016-11-221-1/+0
| | |
* | | Remove entropy from encryption and project.Kevin Serrano2016-11-223-6/+4
|/ /
* | Create failing test to check submitPassword in keyringController.Kevin Serrano2016-11-192-0/+67
| |
* | Minimize repeated code.Kevin Serrano2016-11-161-1/+1
| |
* | Re-enable disclaimer screen. Rename variables to reflect role more clearly.Kevin Serrano2016-11-151-14/+14
| |
* | Add idStore tests again.Kevin Serrano2016-11-151-0/+198
| |
* | Rename n variables to numberOfAccounts inside of test suite. Remove idStore ↵Kevin Serrano2016-11-123-203/+4
| | | | | | | | tests.
* | Merge branch 'master' into i328-MultiVaultFrankie2016-11-111-6/+4
|\|
| * Adjust gas buffer to be 20% over estimateDan Finlay2016-11-091-5/+4
| |
| * Increase gas bufferDan Finlay2016-11-091-2/+1
| | | | | | | | Fixes #795
* | Merge branch 'master' into i328-MultiVaultDan Finlay2016-11-081-11/+39
|\|
| * Fix gas price bufferingDan Finlay2016-11-081-8/+6
| | | | | | | | | | | | | | 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.
| * Added failing test for #787Dan Finlay2016-11-081-11/+41
| |
* | Fix integration test suiteDan Finlay2016-11-081-11/+3
| |
* | Fix nickname testDan Finlay2016-11-081-0/+1
| |
* | Fix BN referenceDan Finlay2016-11-081-0/+1
| |
* | Fix 787 gas buffer bugDan Finlay2016-11-081-4/+20
| |
* | Fix password validation and persistence issueDan Finlay2016-11-041-0/+22
| | | | | | | | Was wiping the vault on each successful password attempt... :P
* | Finish fixing nicknaming bugDan Finlay2016-11-041-0/+31
| |
* | Fix account nicknaming bugDan Finlay2016-11-041-0/+11
| | | | | | | | When nicknaming, we weren't normalizing the input, and so we were retrieving with differently formatted addresses than we were persisting.
* | Fix vault creation bugDan Finlay2016-11-041-8/+28
| |
* | Fix dual vault creation bugDan Finlay2016-11-031-1/+12
| |
* | Fix handling of migrating old vault styleDan Finlay2016-11-032-10/+36
| | | | | | | | | | | | 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.
* | Now migrating old vaults to new DEN formatDan Finlay2016-10-292-10/+63
| |
* | Add vault migration testDan Finlay2016-10-291-0/+91
| |
* | Added hd wallet testsDan Finlay2016-10-281-0/+97
| |
* | Merge branch 'i328-MultiVault' of github.com:MetaMask/metamask-plugin into ↵Dan Finlay2016-10-261-2/+0
|\ \ | | | | | | | | | i328-MultiVault
| * | Remove debugger statement.Kevin Serrano2016-10-261-1/+0
| | |
| * | Phase out extra warning screen.Kevin Serrano2016-10-261-2/+1
| | |
* | | Merge branch 'master' into i328-MultiVaultDan Finlay2016-10-262-4/+20
|\ \ \ | |/ / |/| / | |/
| * test - fix delegate-call testkumavis2016-10-253-11/+9
| |
| * Merge branch 'master' into i743-FixDelegateCallFlagkumavis2016-10-251-0/+22
| |\
| * | Reproduced issue 743 in test caseDan Finlay2016-10-182-3/+21
| | | | | | | | | | | | | | | | | | 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
* | | Merge branch 'master' into i328-MultiVaultDan Finlay2016-10-221-0/+22
|\ \ \ | | |/ | |/|
| * | Clean up testsFrankie2016-10-211-4/+4
| | |
| * | Add test and ability for isHex to handle hex strings with hex-prefixFrankie2016-10-201-0/+5
| | |
| * | Add unit test for isHex and add to CHANGELOG.mdFrankie2016-10-201-0/+17
| |/
* | Fix bug in new KeyringController vault restoring logic.Dan Finlay2016-10-222-0/+69
| |
* | Create new vault before each keyringController unit testDan Finlay2016-10-221-3/+5
| |
* | Create basic keyring-controller unit test fileDan Finlay2016-10-222-20/+67
| |
* | Added SimpleKeyring testsDan Finlay2016-10-221-0/+83
| |
* | Fix testsDan Finlay2016-10-214-170/+5
| |
* | Git merge resolution.Kevin Serrano2016-10-201-0/+18
|\|
| * Restore hex prefix to gas priceDan Finlay2016-10-181-0/+1
| |
| * Increase gas estimate by 100000 weiDan Finlay2016-10-181-0/+17
| | | | | | | | | | | | To prevent minor gas estimation errors, probably usually related to operating on dynamic state. Fixes #738.
* | Intermediary commit.Kevin Serrano2016-10-202-5/+5
| |
* | Merge in crypto.Kevin Serrano2016-10-204-2/+68
| |
* | Merge branch 'master' into i328-MultiVaultDan Finlay2016-10-131-4/+7
|\|
| * Remove comments.Kevin Serrano2016-10-121-16/+0
| |
| * Cleanup.Kevin Serrano2016-10-121-10/+22
| |
| * Fix integration test.Kevin Serrano2016-10-061-8/+15
| |
| * Rewritten to react standards. Way easier.Kevin Serrano2016-10-051-1/+1
| |
* | Add initial KeyringController filesDan Finlay2016-10-121-0/+141
|/
* Remove logsDan Finlay2016-09-151-2/+0
|
* Merge pull request #669 from MetaMask/Version-2.12.1Dan Finlay2016-09-151-8/+10
| | | | Version 2.12.1
* Fix clearing of account cache on vault restoreDan Finlay2016-09-131-8/+6
|
* Fix some referencesDan Finlay2016-09-131-2/+2
|
* Fix account unlockingDan Finlay2016-09-131-19/+12
| | | | | | | | 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-0/+18
| | | | Fixes #642
* Fixed caching bugDan Finlay2016-09-111-6/+5
| | | | | | 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.
* Correct assertion for BIP32 complianceDan Finlay2016-09-111-1/+1
| | | | According to [axic's work here](https://github.com/MetaMask/metamask-plugin/issues/640#issuecomment-246133672), MetaMask is generating the correct address, so I've corrected that assertion accordingly.
* Remove logDan Finlay2016-09-111-1/+0
|
* Add more bip44 assertionsDan Finlay2016-09-111-1/+9
|
* Made bip44 assertions easier to add toDan Finlay2016-09-111-27/+36
|
* Clean up testsDan Finlay2016-09-111-18/+17
|
* Correctly clear ethStore cache on new vault restoreDan Finlay2016-09-111-6/+22
|
* Captured #640 in failing testDan Finlay2016-09-111-1/+12
|
* Add new eth-lightwallet salting to vault.Dan Finlay2016-09-101-1/+3
| | | | | | | | | | 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
* Add negative value validation to tx approvalDan Finlay2016-09-071-0/+97
|
* Add test for Edge compatibilityDan Finlay2016-08-301-0/+29
|
* Naming issue.Kevin Serrano2016-08-251-1/+1
|
* Implement usage of nock.Kevin Serrano2016-08-251-2/+11
|
* Now calls API functions with mock options.Kevin Serrano2016-08-251-3/+5
|
* Merge branch 'master' into i390-TransactionLimitDan Finlay2016-08-231-1/+6
|\
| * Add testFrankie2016-08-201-1/+6
| |
* | Added `view more` button to transaction listDan Finlay2016-08-191-0/+12
| | | | | | | | Visible at the end of the transaction list, or if no transactions are listed, displayed right after the `No Transactions` message.
* | Enforce tx history limitDan Finlay2016-08-191-0/+11
|/
* Added compliance for tests and properly accounts for N/A conversions.Kevin Serrano2016-08-171-7/+6
|
* Remove extra test.Kevin Serrano2016-08-171-4/+0
|
* Merge branch 'master' into usd-conversionKevin Serrano2016-08-051-3/+12
|\
| * Fix extension testsDan Finlay2016-07-261-3/+12
| |
| * Fix promise usage?Dan Finlay2016-07-231-1/+3
| |
| * Skip PhantomJS in testemDan Finlay2016-07-232-2/+0
| |
| * Add promise polyfill for PhantomJSDan Finlay2016-07-232-0/+2
| |
| * Fix testem runner pageDan Finlay2016-07-232-3/+1
| |
| * Separate UI tests from normal unit test suiteDan Finlay2016-07-231-1/+3
| |
| * Add UI Testing Framework and Simple UI TestDan Finlay2016-07-234-0/+52
| | | | | | | | | | | | | | | | | | | | Added a Testem configuration that launches a Qunit page with an iFrame that builds and loads our mock-dev page and can interact with it and run tests on it. Wrote a simple test that accepts the terms and conditions and transitions to the next page. I am not doing any fancy redux-hooks for the async waiting, I've simply added a `tests/integration/helpers.js` file with a `wait()` function that returns a promise that should wait long enough. Long term we should hook into the app lifecycle by some means for testing, so we only wait the right amount of time, and wait long enough for slower processes to complete, but this may work for the time being, just enough to run some basic automated browser tests.
* | Merge branch 'master' into usd-conversionKevin Serrano2016-07-264-0/+54
|\ \
| * | Ui testing (#481)Dan Finlay2016-07-264-0/+54
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add UI Testing Framework and Simple UI Test Added a Testem configuration that launches a Qunit page with an iFrame that builds and loads our mock-dev page and can interact with it and run tests on it. Wrote a simple test that accepts the terms and conditions and transitions to the next page. I am not doing any fancy redux-hooks for the async waiting, I've simply added a `tests/integration/helpers.js` file with a `wait()` function that returns a promise that should wait long enough. Long term we should hook into the app lifecycle by some means for testing, so we only wait the right amount of time, and wait long enough for slower processes to complete, but this may work for the time being, just enough to run some basic automated browser tests. * Separate UI tests from normal unit test suite * Add UI tests to CI test script * Add testem and phantom to circleCI pre-script * Fix circle pre script * Move pre scripts to dependencies key * Remove phantom from build deps * Fix testem runner page * Add promise polyfill for PhantomJS * Skip PhantomJS in testem * Run browser tests in parallel * Fix promise usage? * Correct skip usage
* | Change function names. Add interval polling for api. Refactor functions.Kevin Serrano2016-07-221-3/+3
| |
* | Merge branch 'master' into usd-conversionKevin Serrano2016-07-221-0/+39
|\|