aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* 1. correct name display in network dropdown 2. enable 373 derived pathChen Wei2019-07-011-3/+3
|
* feature: integrate gaba/CurrencyRateController (#6570)Paul Bouchon2019-06-012-80/+7
|
* transactions/deps - use broken out nonce-tracker module (#6555)Frankie2019-05-211-238/+0
|
* drop transactions who's nonce is lower then the known network nonce but were ↵Frankie2019-05-161-5/+67
| | | | | | | | | | | | | | | | | | | | | | not included in a block (#6388) * transactions/pending - check nonce against the network and mark as dropped if not included in a block * transactions/pending - unifiy "dropped" txs * transactions/pending - test - fix for new expected behavior * fix comment * transactions/pending - clean up dropped event * fix spelling Co-Authored-By: frankiebee <frankie.diamond@gmail.com> * nit fix * test/tx-pending - clarify test description
* feature: integrate gaba/ShapeShiftController (#6569)Paul Bouchon2019-05-151-1/+1
|
* Set a default value for code in _determineTransactionCategory (#6604)Dan J Miller2019-05-151-0/+87
| | | | | | | | | | * Set a default value for code in _determineTransactionCategory * Adds e2e tests that fail when token txs without gas param are not properly handled. * Adds unit tests for _determineTransactionCategory * Base error throwing and simple gas setting in estimateTxGas on transactionCategory
* Merge pull request #6568 from MetaMask/feature/gaba-phishing-controllerThomas Huang2019-05-112-58/+1
|\ | | | | feature: integrate gaba/PhishingController
| * feature: integrate gaba/PhishingControllerbitpshr2019-05-092-58/+1
| |
* | New settings custom rpc form (#6490)Dan J Miller2019-05-101-3/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add networks tab to settings, with header. * Adds network list to settings network tab. * Adds form to settings networks tab and connects it to network list. * Network tab: form adding and editing working * Settings network form properly handles input errors * Add translations for settings network form * Clean up styles of settings network tab. * Add popup-view styles and behaviour to settings network tab. * Fix save button on settings network form * Adds 'Add Network' button and addMode to settings networks tab * Lint fix for settings networks tab addition * Fix navigation in settings networks tab. * Editing an rpcurl in networks tab does not create new network, just changes rpc of old * Fix layout of settings tabs other than network * Networks dropdown 'Custom Rpc' item links to networks tab in settings. * Update settings sidebar networks subheader. * Make networks tab buttons width consistent with input widths in extension view. * Fix settings screen subheader height in popup view * Fix height of add networks button in popup view * Add optional label to chainId and symbol form labels in networks setting tab * Style fixes for networks tab headers * Add ability to customize block explorer used by custom rpc * Stylistic improvements+fixes to custom rpc form. * Hide cancel button. * Highlight and show network form of provider by default. * Standardize network subheader name to 'Networks' * Update e2e tests for new settings network form * Update unit tests for new rpcPrefs prop * Extract blockexplorer url construction into method. * Fix broken styles on non-network tabs in popup mode * Fix block explorer url links for cases when provider in state has not been updated. * Fix vertical spacing of network form * Don't allow click of save button on network form if nothing has changed * Ensure add network button is shown in popup view * Lint fix for networks tab * Fix block explorer url preference setting. * Fix e2e tests for custom blockexplorer in account details modal changes. * Update integration test states to include frequentRpcList property * Fix some capitalizations in en/messages.json * Remove some console.logs added during custom rpc form work * Fix external account link text and url for modal and dropdown. * Documentation, url validation, proptype required additions and lint fixes on network tab and form.
* Check for unused function arguments (#6583)Whymarrh Whitby2019-05-0910-50/+50
| | | | | | | | | | * eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
* Remove nock#restore call from actions.spec.jsWhymarrh Whitby2019-05-081-5/+0
| | | | | This call was unmocking all of our HTTP requests, allowing further test cases to hit the network. Calling nock#restore should not be required.
* feature: add Goerli support (#6459)Paul Bouchon2019-04-184-3/+21
|
* Remove NoticeController (#6382)Thomas Huang2019-04-025-196/+42
|
* test - unit - ui - actions - setCompletedOnboarding - fix stub to call callbackkumavis2019-03-291-0/+2
|
* lint fixkumavis2019-03-291-1/+1
|
* notice-controller - make markAllNoticesRead synckumavis2019-03-291-1/+1
|
* lib - nodeify - correctly wrap synchronous functionskumavis2019-03-291-4/+45
|
* notices - markAllNoticesRead - use async/awaitkumavis2019-03-292-10/+6
|
* Merge branch 'develop' into clearNoticeskumavis2019-03-2916-32/+27
|\
| * Replaces the coinbase link in the deposit modal with one for wyre (#6302)Dan J Miller2019-03-221-8/+3
| |
| * Folder restructure (#6304)Chi Kei Chan2019-03-2215-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove ui/app/keychains/ * Remove ui/app/img/ (unused images) * Move conversion-util to helpers/utils/ * Move token-util to helpers/utils/ * Move /helpers/*.js inside /helpers/utils/ * Move util tests inside /helpers/utils/ * Renameand move confirm-transaction/util.js to helpers/utils/ * Move higher-order-components to helpers/higher-order-components/ * Move infura-conversion.json to helpers/constants/ * Move all utility functions to helpers/utils/ * Move pages directory to top-level * Move all constants to helpers/constants/ * Move metametrics inside helpers/ * Move app and root inside pages/ * Move routes inside helpers/ * Re-organize ducks/ * Move reducers to ducks/ * Move selectors inside selectors/ * Move test out of test folder * Move action, reducer, store inside store/ * Move ui components inside ui/ * Move UI components inside ui/ * Move connected components inside components/app/ * Move i18n-helper inside helpers/ * Fix unit tests * Fix unit test * Move pages components * Rename routes component * Move reducers to ducks/index * Fix bad path in unit test
* | Remove exclusive testThomas Huang2019-03-211-1/+1
| |
* | Clear notices when setCompletedOnboarding is calledThomas Huang2019-03-212-0/+50
|/
* GABA: Integrate AddressBookController (#5847)Paul Bouchon2019-03-121-54/+0
| | | | | | * gaba: integrate AddressBookController * pin gaba version and update lockfile
* Delete old-ui folderWhymarrh Whitby2019-02-214-196/+0
|
* Remove betaUI preference state, replace with completedUiMigrationWhymarrh Whitby2019-02-051-5/+3
|
* Add visual indicator when displaying a cached balance (#5854)Dan J Miller2019-01-301-0/+1
|
* I#5956 fix2 dont overwrite existing rpc settings (#6044)Frankie2019-01-301-0/+12
| | | | | | | | | | | | | | * mm-controller - dont overwrite existing rpc settings * ui-networkDropdown - dont pass old network as chainId * add methods preferencesController.updateRpc and metamaskController.updateAndSetCustomRpc * use updateAndSetCustomRpc in settings to allow rpcs to be updated * use new rpc as nickname if no nick name has been supplied * fix update rpc method
* Refactor first time flow, remove seed phrase from state (#5994)Alexander Tseung2019-01-232-3/+59
| | | | | | | | | | | | | | | | | | | | * Refactor and fix styling for first time flow. Remove seed phrase from persisted metamask state * Fix linting and tests * Fix translations, initialization notice routing * Fix drizzle tests * Fix e2e tests * Fix integration tests * Fix styling * Fix migration naming from 030 to 031 * Open extension in browser when user has not completed onboarding
* I#5956 fix 1 (#6026)Frankie2019-01-181-0/+37
| | | | | * prevent invalid chainId's when adding cusstom rpcs * migration 30 removes invalid chaids from preferences and networkController for custom rpcs
* Disallow loading as metamaskNetworkId (#5924)Frankie2018-12-141-2/+11
| | | | | | * transactions - throw an error if a transaction is generated while the network is loading * add tests for failing when netId is loading
* Adds network loading retry / error screen.Dan Miller2018-12-131-2/+2
|
* Final gas customization fixesDan Miller2018-12-041-1/+1
|
* Adds createSpeedUpTransaction to txControllerDan Miller2018-12-041-0/+67
|
* Save recent network balances in local storage (#5843)Dan J Miller2018-12-011-0/+137
| | | | | | | | | | | | * Use selector for state.metamask.accounts in all cases. * Default to cached balance when selecting metamask accounts * Adds the cached-balances controller * Documentation and small codes fixes for #5843 Co-Authored-By: danjm <danjm.com@gmail.com>
* Autofill gasPrice for retry attempts with either the recommended gasprice or ↵Frankie2018-11-271-1/+4
| | | | | | | | a %10 bump (#5786) * transactions - autofill gasPrice for retry attempts with either the recomened gasprice or a %10 bump * lint
* Version 5.0.3 (#5785)Dan Finlay2018-11-211-1/+1
| | | | | | | | | * Version 5.0.3 Includes a fix to the `version:bump` script that now correctly updates the changelog header. * Include inpage provider events
* Fix rounding issue when sending max tokens (#5695)Alexander Tseung2018-11-201-1/+1
| | | | | | | | | | * Fix rounding issue when sending max tokens * Ensure amount row shows exact amount of max tokens on send screen (#2) * Fix tests * Change stored redux value from BigNumber to hex string. Fix TokenInput default value
* Auto fail transactions that have been approved for over 12 hours (#5765)Dan Finlay2018-11-171-0/+38
| | | | | | | | | | | | | | | | | | | | * Auto fail transactions that have been approved for over 12 hours Converts txs using a migration. This migration uses a new helper function that generates tx-failing migrations, and only requires a version, error message, and condition to run on each transaction. * Linted * Only migrate approved txs to failed * Cleanup * Cleanup * Small lint fixes
* ESLint fixes (#5775)Whymarrh Whitby2018-11-172-4/+4
| | | | | | * eslint . --fix * Upgrade all ESLint warnings to errors
* Tx controller now uses safe event emitter (#5769)Frankie2018-11-173-24/+27
| | | | | | | | | | | | * transactions - use safe-event-emitter over events * tests - pass a platform object on init with a noop showTransactionNotification * test - fix for tx-state-history-helper trying to reduce an empty array * deps - safe-event-emitter * lint
* Resubmit approved transactions on new block (#5752)Dan Finlay2018-11-152-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add beginning of test * Resubmit approved transactions on new block May fix #4343 and related issues, where an error could leave transactions stranded in the approved state. * Remove unused test * Re-approve transactions when retrying approved * Add retry approved test * Include approved in pending tx count * Fix getPendingTxs() * Linted * Only throw hash error in submitted state * Only check submitted txs for block inclusion * Fix test expectations
* Update Balanc3 API (#5744)Paul Bouchon2018-11-141-9/+0
| | | | | | * Update balanc3 API used in TokenRatesController * Remove demo URL and use nativeCurrency when fetching token rates
* Merge pull request #5481 from MetaMask/reducersThomas Huang2018-11-072-0/+1574
|\ | | | | tests/Reducers
| * Remove .onlyThomas2018-10-311-1/+1
| |
| * Readable tests, and set nextUnreadNotice to null when CLEAR_NOTICES is ↵Thomas2018-10-311-23/+95
| | | | | | | | dispatched
| * Merge branch 'develop' into reducersThomas2018-10-316-85/+1519
| |\
| * | Isolate variables to individual testsThomas2018-10-311-53/+64
| | |
| * | ReducersThomas2018-10-102-0/+1491
| | |
* | | EIP-1102: updated implementationbitpshr2018-11-061-2/+2
| | |
* | | Update watchAsset ERC20 validation (#5653)Esteban Miño2018-11-061-0/+26
| |/ |/| | | | | | | | | * update ERC20 token valodation for watchAsset * update ERC20 validation test descriptions
* | Add support for RPC endpoints with custom chain IDs (#5134)HackyMiner2018-10-263-10/+10
| |
* | Fix blockies icons overriding contract map icons. Refactor Identicon ↵Alexander Tseung2018-10-251-36/+0
| | | | | | | | component (#5599)
* | Merge pull request #5555 from MetaMask/support-wallet-watch-assetkumavis2018-10-211-0/+5
|\ \ | | | | | | Support for prefix wallet_watchAsset
| * | add support for wallet_watchAssetEsteban MIno2018-10-201-0/+5
| | |
* | | specific add and remove methods for frequentRpcList (#5554)Esteban Miño2018-10-201-0/+19
|/ /
* | Adds toggle for primary currency (#5421)Alexander Tseung2018-10-171-44/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add UnitInput component * Add CurrencyInput component * Add UserPreferencedCurrencyInput component * Add UserPreferencedCurrencyDisplay component * Add updatePreferences action * Add styles for CurrencyInput, CurrencyDisplay, and UnitInput * Update SettingsTab page with Primary Currency toggle * Refactor currency displays and inputs to use UserPreferenced displays and inputs * Add TokenInput component * Add UserPreferencedTokenInput component * Use TokenInput in the send screen * Fix unit tests * Fix e2e and integration tests * Remove send/CurrencyDisplay component * Replace diamond unicode character with Eth logo. Fix typos
* | Ensure that new transactions added are using the selected addressWhymarrh Whitby2018-10-111-4/+26
| |
* | test - add actions unit tests (#5369)Thomas Huang2018-10-101-0/+1468
|/ | | | | | | | * Actions.spec.js * Error handling tests * Lint
* Refactor buffer constructor (#5468)Noel Yoo2018-10-091-1/+1
|
* Fix typos (#5471)Noel Yoo2018-10-091-2/+2
|
* Increase suggested gas percentile to 65 (#5359)Dan Finlay2018-10-051-1/+1
| | | | | | | | * Increase suggested gas percentile to 65 I keep submitting transactions then waiting a long time. Apparently 50th percentile isn't enough. * Update test for getGasPrice
* Add ability to whitelist a blacklisted domain at runtimeWhymarrh Whitby2018-10-021-0/+15
|
* Some Ui teststmashuang2018-09-258-4/+342
|
* Implement latest EIP-712 protocolbitpshr2018-09-141-1/+1
|
* Default NoticeController ctor opts to empty objWhymarrh Whitby2018-09-121-1/+1
|
* Delete ConfigManager, replacing its usages with PreferencesControllerWhymarrh Whitby2018-09-124-137/+46
|
* fix conflictsEsteban MIno2018-08-291-0/+71
|\
| * Add test cases for MetaMaskController#_onKeyringControllerUpdateWhymarrh Whitby2018-08-231-0/+71
| |
* | watchAsset small changesEsteban MIno2018-08-281-1/+1
| |
* | typo watchAsset imageUrl to imageEsteban MIno2018-08-241-7/+7
| |
* | Merge branch 'develop' into WatchTokenFeatureEsteban MIno2018-08-221-1/+1
|\|
| * fix unit testsbrunobar792018-08-211-1/+1
| |
* | unit tests for watchAssetEsteban MIno2018-08-221-0/+110
|/
* Merge branch 'develop' into ledger-supportBruno Barbieri2018-08-181-0/+62
|\
| * Restores accounts until one with a zero balance is foundDan Matthews2018-08-171-0/+62
| |
| * Remove commented out code for detect-token-testThomas2018-08-151-10/+0
| |
| * Merge branch 'develop' into network-remove-provider-engineThomas2018-08-153-16/+223
| |\ | | | | | | | | | Override package-lock and fix merge conflicts
| * | LintThomas Huang2018-07-311-2/+2
| | |
| * | Set metamask controller network provider to localhostThomas Huang2018-07-313-2/+24
| | |
| * | Detect Tokens are weirdThomas2018-07-301-26/+31
| | |
| * | Merge branch 'develop' into network-remove-provider-engineThomas2018-07-268-134/+439
| |\ \
| * | | test - unit - remove tests for obsolete methodskumavis2018-07-041-52/+0
| | | |
| * | | Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-07-0425-220/+245
| |\ \ \ | | | | | | | | | | | | | | | network-remove-provider-engine
| * \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-07-033-63/+66
| |\ \ \ \ | | | | | | | | | | | | | | | | | | network-remove-provider-engine
| * \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-06-073-0/+97
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | network-remove-provider-engine
| * \ \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-06-071-1/+26
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | network-remove-provider-engine
| * | | | | | | test - unit - tx-controller - fix blockTracker stubkumavis2018-05-291-0/+1
| | | | | | | |
| * | | | | | | test - unit - pending-tx-tracker - update method namekumavis2018-05-291-2/+2
| | | | | | | |
| * | | | | | | test - unit - nonce-tracker - fix blockTracker stubkumavis2018-05-291-0/+1
| | | | | | | |
| * | | | | | | controllers - transactions - merge @frankiebee's work with minekumavis2018-05-292-56/+7
| | | | | | | |
| * | | | | | | test - unit - metamask-controller - remove logkumavis2018-05-261-1/+0
| | | | | | | |
| * | | | | | | test - unit - code style nitpickkumavis2018-05-251-1/+2
| | | | | | | |
| * | | | | | | test - unit - metamask-controller - fix many bugs in testskumavis2018-05-251-33/+45
| | | | | | | |
| * | | | | | | test - unit - tx-controller-test - add history object to txMeta when using ↵kumavis2018-05-251-31/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal calls
| * | | | | | | test - unit - move fetch polyfill to helperkumavis2018-05-252-6/+0
| | | | | | | |
| * | | | | | | test - unit - metamask-controller - polyfill global.fetchkumavis2018-05-251-2/+4
| | | | | | | |
| * | | | | | | test - remove .only from unit testskumavis2018-05-251-1/+1
| | | | | | | |
| * | | | | | | Merge branch 'network-remove-provider-engine' of ↵frankiebee2018-05-2338-307/+939
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/MetaMask/metamask-extension into transactions-use-new-block-tracker
| | * \ \ \ \ \ \ Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-05-2338-307/+939
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | network-remove-provider-engine
| * | | | | | | | | transactions - update pending-tx-tracker to use the new block trackerfrankiebee2018-05-231-1/+1
| | | | | | | | | |
| * | | | | | | | | test pending-tx-tracker - update tests to reflect new block tracker behavior ↵frankiebee2018-05-231-32/+21
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | and remove tx:confirmed event tests
| * | | | | | | | test - unit - network - get providerProxy via public methodkumavis2018-05-171-4/+5
| | | | | | | | |
| * | | | | | | | network - create provider and block-tracker via json-rpc-enginekumavis2018-05-171-4/+4
| | | | | | | | |
* | | | | | | | | fix merge conflictsbrunobar792018-08-189-167/+154
| | | | | | | | |
* | | | | | | | | fixed unit testsbrunobar792018-08-151-5/+9
| | | | | | | | |
* | | | | | | | | fix tx testsbrunobar792018-08-141-8/+18
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | tests for migration 28Esteban MIno2018-08-101-0/+46
| | | | | | | |
* | | | | | | | create tokens storage when setadressesEsteban MIno2018-07-311-0/+25
| | | | | | | |
* | | | | | | | unit tests for tokens per account and networkEsteban MIno2018-07-281-0/+128
| | | | | | | |
* | | | | | | | modify tests according to tokens by networkEsteban MIno2018-07-272-18/+8
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Merge branch 'develop' into detectTokenFeatureEsteban Miño2018-07-217-134/+298
|\ \ \ \ \ \ \
| * | | | | | | Auto-detect tokens #3034 (#4683)Esteban Miño2018-07-211-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * detect tokens polling * network store to detect token * tests for spec * passtest-lint * fix lint * improve tests * detect tokens through infura * detect tokens when submit password and new account selected * keyring unlocked detect and unit tests * add changelog
| * | | | | | | Merge pull request #4625 from MetaMask/initial-trezor-supportBruno Barbieri2018-07-202-0/+181
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Initial trezor support
| | * | | | | | | added tests for removeAccountbrunobar792018-07-171-0/+33
| | | | | | | | |
| | * | | | | | | added more unit testsbrunobar792018-07-171-2/+55
| | | | | | | | |
| | * | | | | | | added unit tests for metamaskcontrollerbrunobar792018-07-171-0/+70
| | | | | | | | |
| | * | | | | | | added test for preferences controllerbrunobar792018-07-171-0/+25
| | | | | | | | |
| * | | | | | | | Fix testsAlexander Tseung2018-07-181-67/+0
| |/ / / / / / /
| * | | | | | | Merge pull request #4691 from MetaMask/i4404-confirm-refactorAlexander Tseung2018-07-121-61/+41
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Refactor and redesign confirm transaction views
| | * | | | | | | Fix existing unit testsAlexander Tseung2018-07-081-61/+41
| | | |_|_|_|_|/ | | |/| | | | |
| * | | | | | | test - check that #setTxStatusRejected removes transaction from historyfrankiebee2018-07-111-0/+9
| | | | | | | |
| * | | | | | | test - fix for lintfrankiebee2018-07-111-5/+5
| | | | | | | |
| * | | | | | | Merge branch 'develop' of https://github.com/MetaMask/metamask-extension ↵frankiebee2018-07-1125-227/+197
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into i#3896
| * | | | | | | tests - fix cancle transaction test to better fit new behaviorfrankiebee2018-06-272-13/+10
| | | | | | | |
| * | | | | | | woops - remove .onlyfrankiebee2018-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: @jennypollack
| * | | | | | | trandsactions - remove rejected transactions from historyfrankiebee2018-06-261-0/+14
| | | | | | | |
| * | | | | | | migration 27 - remove rejected transactions from statefrankiebee2018-06-261-0/+50
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | fix detection on submit passwordEsteban MIno2018-07-211-6/+27
| | | | | | |
* | | | | | | keyring unlocked detect and unit testsEsteban MIno2018-07-201-6/+32
| | | | | | |
* | | | | | | detect tokens when submit password and new account selectedEsteban MIno2018-07-201-4/+4
| | | | | | |
* | | | | | | detect tokens through infuraEsteban MIno2018-07-131-9/+17
| | | | | | |
* | | | | | | improve testsEsteban MIno2018-07-121-56/+49
| | | | | | |
* | | | | | | fix lintEsteban MIno2018-07-041-54/+46
| | | | | | |
* | | | | | | Merge branch 'develop' into detectTokenFeatureEsteban MIno2018-07-0425-229/+199
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | fix unit testsbrunobar792018-07-031-4/+3
| | | | | | |
| * | | | | | fix testsbrunobar792018-07-032-6/+12
| | | | | | |
| * | | | | | fix warning for unit testsbrunobar792018-07-0314-68/+35
| | | | | | |
| * | | | | | eslint --fix .brunobar792018-07-0321-168/+166
| |/ / / / /
* / / / / / tests for specEsteban MIno2018-06-281-0/+101
|/ / / / /
* | | | | Merge pull request #4566 from MetaMask/notice-phishingDan Finlay2018-06-151-46/+4
|\ \ \ \ \ | | | | | | | | | | | | Push new notice on recent phishing incidents
| * | | | | notices - replace getLatestNotice with getNextNoticekumavis2018-06-141-46/+4
| | |_|_|/ | |/| | |
* | | | | Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-06-143-5/+97
|\| | | | | | | | | | | | | | | | | | | ValidateEmptyKey
| * | | | Merge pull request #4512 from MetaMask/test-metamask-no-diagnosticsThomas Huang2018-06-071-0/+3
| |\ \ \ \ | | | | | | | | | | | | test - metamask-controller - disable diagnostics
| | * | | | test - metamask-controller - disable diagnosticskumavis2018-06-061-0/+3
| | | |_|/ | | |/| |
| * | | | Merge pull request #4414 from scsaba/recipient-blacklistkumavis2018-06-072-0/+94
| |\ \ \ \ | | |/ / / | |/| | | Disallow sending to ganache default accounts on main net
| | * | | remove generating blocked accounts and use a config file insteadCsaba Solya2018-05-311-11/+10
| | | | |
| | * | | adding tests for recipient blacklist checkerCsaba Solya2018-05-301-0/+78
| | | | |
| | * | | adding transaction controller testsCsaba Solya2018-05-301-0/+17
| | | |/ | | |/|
| * | | diagnostics - rewrite bug-notifier as diagnostics-reporterkumavis2018-06-061-5/+0
| | | |
* | | | test - unit - add assertRejects to test asyncFnskumavis2018-06-142-5/+23
| | | |
* | | | test - unit - import strategies - properly await async methodskumavis2018-06-141-8/+8
| | | |
* | | | Make account import tests much more specificDan Finlay2018-06-121-10/+10
| | | | | | | | | | | | | | | | | | | | However, they no longer seem to work. I'm unclear why this test is failing. The private key being provided should be valid.
* | | | Improve private key import testsDan Finlay2018-06-081-1/+25
| | | |
* | | | Improve test formattingDan Finlay2018-06-081-16/+19
|/ / /
* | | Mock notifier in testDan Finlay2018-06-051-0/+5
| | |
* | | Add failing test for unknown identity entryDan Finlay2018-06-051-3/+28
|/ /
* | Merge branch 'develop' into testingtmashuang2018-05-221-30/+0
|\ \
| * | Reveal get filtered tx list (#4332)Frankie2018-05-221-30/+0
| | | | | | | | | | | | | | | | | | * add getFilteredTxList from txController to getApi * transactions - remove dead code (isNonceTaken)
* | | Merge branch 'develop' into testingtmashuang2018-05-226-57/+214
|\| |
| * | Fix migration 026 to produce the correct shape for state.identitiesWhymarrh Whitby2018-05-181-2/+2
| | |
| * | Update MetaMaskController vault restoration test for new KC apiWhymarrh Whitby2018-05-171-1/+1
| | |
| * | Add migration to move identities from KeyringControllerWhymarrh Whitby2018-05-171-0/+41
| | |
| * | Add test case for PreferencesController#setAccountLabelWhymarrh Whitby2018-05-171-0/+21
| | |
| * | Add PreferencesController#setAddresses to update idsWhymarrh Whitby2018-05-171-0/+44
| | |
| * | Update AddressBookController to read from preferences storeWhymarrh Whitby2018-05-171-13/+13
| | |
| * | Move setAccountLabel into PreferencesControllerWhymarrh Whitby2018-05-173-36/+84
| |/
* | Moved loose some loose test files to sub folderstmashuang2018-05-2129-59/+108
| |
* | signMessage and signPersonalMessageThomas2018-05-181-13/+33
| |
* | Merge branch 'develop' into testingThomas2018-05-174-90/+134
|\|
| * Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-05-171-25/+5
| |\ | | | | | | | | | scsaba-transaction-history-timestamps
| | * Merge branch 'develop' of github.com:MetaMask/metamask-extension into ↵kumavis2018-05-171-0/+30
| | |\ | | | | | | | | | | | | network-controller-remove-setNetworkEndpoints
| | * | test - network controller - remove tests for deprecated APIs + update testskumavis2018-05-031-25/+5
| | | |
| * | | add time stamps to transaction history log entriesCsaba Solya2018-05-103-65/+129
| | |/ | |/|
* | | console.log -> assert.equalThomas2018-05-091-1/+1
| | |
* | | ImportAccountWithStrategies Json and KeystoreThomas2018-05-091-0/+30
| | |
* | | Remove approvePersonalMessage testThomas2018-05-081-45/+0
| | |
* | | Merge branch 'develop' into testingThomas2018-05-0810-194/+271
|\| |
| * | transactions - add a nonce check utility for ui usefrankiebee2018-05-021-0/+30
| |/
| * Merge pull request #4116 from MetaMask/test-unit-ganacheThomas Huang2018-05-012-12/+12
| |\ | | | | | | Test - Move unit tests to ganache-core
| | * test - unit - send from test accounts to avoid not-enough-balance error from ↵kumavis2018-04-282-12/+12
| | | | | | | | | | | | ganache
| * | Verify identities state after restoring new accounts (#4091)Paul Bouchon2018-04-301-8/+25
| |/
| * Merge pull request #4042 from MetaMask/tx-controller-rewrite-v3kumavis2018-04-268-173/+164
| |\ | | | | | | docs and file organization for txController
| | * Merge branch 'master' into tx-controller-rewrite-v3frankiebee2018-04-203-0/+91
| | |\
| | * | meta - transactions - code clean up and jsDocfrankiebee2018-04-141-2/+2
| | | |
| | * | meta - transactions - create a transactions dir in controller and move ↵frankiebee2018-04-118-171/+162
| | | | | | | | | | | | | | | | relevant files into it
| * | | Clean up network configAlexander Tseung2018-04-241-1/+41
| | |/ | |/|
* | | setupUntrustedCommunication and setupTrustedCommunicationThomas2018-04-251-0/+45
| | |
* | | Merge branch 'master' into testingThomas2018-04-243-0/+91
|\| |
| * | Merge branch 'master' into i3580-InternationalizeCurrencyDan Finlay2018-04-182-0/+64
| |\ \
| | * | Disable token price polling when no client is activebitpshr2018-04-171-0/+1
| | | |
| | * | Maintain token prices using a background servicebitpshr2018-04-161-0/+28
| | | |
| | * | Add tests for ComposableObservableStorebitpshr2018-04-141-0/+35
| | |/
| * | Merge branch 'master' into i3580-InternationalizeCurrencyDan2018-04-106-56/+224
| |\|
| * | Fix and improve testDan Finlay2018-04-041-2/+12
| | |
| * | Internationalize currencyDan Finlay2018-04-041-0/+17
| | | | | | | | | | | | Fixes #3580
* | | ConfigManager markAccountsFound, markPasswordForgotten, unMarkPasswordForgottenThomas2018-04-241-7/+70
| | |
* | | resetAccount and addNewAccountThomas2018-04-201-0/+45
| | |
* | | newUnsignedMessage and newUnsignedPersonalMessageThomas2018-04-191-0/+102
| | |
* | | Merge branch 'master' into testingThomas2018-04-116-34/+228
|\ \ \ | | |/ | |/|
| * | migrations - back fixesfrankiebee2018-04-061-1/+9
| | |
| * | create migration 25frankiebee2018-04-062-3/+50
| | |
| * | test - run live migrations over first time statefrankiebee2018-04-061-4/+25
| | |
| * | meta - create a migration templatefrankiebee2018-04-061-0/+17
| | |
| * | Merge pull request #3887 from MetaMask/i#3886kumavis2018-04-061-8/+9
| |\ \ | | | | | | | | transactions - remove unnecessary keys on txParams
| | * | transactions - _normalizeTxParams will now return a new object for txParamsfrankiebee2018-04-061-9/+9
| | | |
| | * | transactions - remove unnecessary keys on txParamsfrankiebee2018-04-051-1/+2
| | | |
| * | | make migration-24 compat with first-time-statefrankiebee2018-04-061-0/+12
| |/ /
| * | transactions - make #_validateTxParams not async and "linting" wink wink ↵frankiebee2018-04-051-11/+8
| | | | | | | | | | | | nudge nudge
| * | hot-fix - migrate unaproved txParams so that the from is lowercasefrankiebee2018-04-051-0/+37
| | |
| * | transactions - normalize txParamsfrankiebee2018-04-052-44/+72
| |/
| * tests - fix txController tests so that txMetas have a from feildfrankiebee2018-04-031-2/+4
| |
| * transactions validationt - valdate from field on txParamsfrankiebee2018-04-031-0/+24
| |
* | MM-controlller testsThomas2018-04-111-2/+55
| |
* | Update Sinon methods. sinon.sandbox.create() -> sandbox.createSandbox()Thomas2018-04-057-8/+8
| |
* | Merge branch 'testing' of https://github.com/tmashuang/metamask-extension ↵Thomas2018-04-032-2/+146
|\ \ | |/ |/| | | into testing
| * Metamask controller methodsThomas2018-03-281-1/+146
| |
| * Remove console.logThomas2018-03-281-1/+0
| |
* | Rename variable to be more understandableDan Finlay2018-03-291-2/+19
| |
* | Add test to reproduce issue behaviorDan Finlay2018-03-291-0/+19
| |
* | migration for removing unnecessary transactions from statefrankiebee2018-03-282-3/+102
|/
* migration for adding submittedTime to the txMeta (#3727)Frankie2018-03-271-0/+32
| | | | | | * test for migration 022 * write migration 022 adding submittedTime to txMetas whove been submitted
* Merge branch 'master' into retry-tx-refractorDan2018-03-203-3/+3
|\
| * Remove unused files from ui folder. (#3577)anticlimactic2018-03-193-3/+3
| | | | | | | | | | | | * Removed unused UI files. Fixes #3434. * Reverted the deletion of "feature-toggle-utils.js". Reverted the deletion of the test files and modified the paths so they referred to the old-ui.
* | Merge branch 'master' into retry-tx-refractorfrankiebee2018-03-151-3/+1
|\|
| * deps - use pify instead of util.promisifykumavis2018-03-151-3/+1
| |
* | Merge branch 'master' into retry-tx-refractorDan2018-03-141-4/+6
|\|
| * Merge pull request #3497 from MetaMask/testingkumavis2018-03-101-4/+6
| |\ | | | | | | Persist rinkeby.infura.io and clean nock after
| | * Persist rinkeby.infura.io and clean nock afterThomas2018-03-101-4/+6
| | |
* | | tests - add tests for transactions#retryTransaction and ↵frankiebee2018-03-141-1/+44
|/ / | | | | | | transactions#_markNonceDuplicatesDropped
* | Merge pull request #3409 from scsaba/seed-phrase-verificationDan Finlay2018-03-081-0/+133
|\ \ | |/ |/| Add seed phrase verification script into background process
| * move more test code to beforeEachCsaba Solya2018-03-041-23/+8
| |
| * verify seedwords on log inCsaba Solya2018-03-041-40/+8
| |
| * verify addresses regardless caseCsaba Solya2018-03-031-0/+44
| |
| * seed phrase verifierCsaba Solya2018-03-031-0/+136
| |
* | fix typo in tests and tx-state-managerJeffrey Tong2018-03-082-4/+4
| |
* | Merge pull request #3259 from MetaMask/controllerStubskumavis2018-03-073-126/+96
|\ \ | | | | | | Offline testing
| * | Using noop to not lose itThomas2018-02-281-1/+1
| | |
| * | Revert initializing first-time-stateThomas2018-02-281-3/+3
| | |
| * | Network controller nockThomas Huang2018-02-161-24/+16
| | |
| * | Offline testingThomas Huang2018-02-163-103/+81
| | |
* | | Merge pull request #3309 from scsaba/edge-supportDan Finlay2018-03-071-0/+101
|\ \ \ | | | | | | | | Add Edge Support
| * | | fix testCsaba Solya2018-02-231-1/+2
| | | |
| * | | add negative decrypt testCsaba Solya2018-02-231-0/+20
| | | |
| * | | fix testsCsaba Solya2018-02-231-6/+20
| | | |
| * | | adding testsCsaba Solya2018-02-231-0/+66
| | |/ | |/|
* | | Remove logsDan Finlay2018-03-031-1/+0
| | |
* | | Add version bumping scriptDan Finlay2018-03-033-0/+1031
|/ / | | | | | | | | One step towards automating our deploy process is automating our version bumping scheme. This PR does that.
* | Point add-token unit test to old-ui component.Dan2018-02-081-1/+1
| |
* | Merge branch 'master' into uatDan2018-02-083-0/+102
|\|