Dan J Miller
c5861c88a5
Merge pull request #5893 from MetaMask/loading-network-screen
...
Loading network screen
2018-12-13 14:20:27 -03:30
Dan Finlay
75a737b69a
Version 5.2.2 RC1
2018-12-12 18:48:50 -08:00
Dan Miller
04cc98d8e4
Clean up for the loading-network-screen
2018-12-12 14:14:52 -03:30
Dan Miller
0e5e51b8ff
Add identifier of private network to the network loading screen message.
2018-12-12 13:53:37 -03:30
Dan J Miller
970bdebb86
Merge pull request #5919 from MetaMask/gas-customization-fixes
...
Fix some styling and translations in the gas customization modal
2018-12-12 13:38:11 -03:30
Dan J Miller
ea5eb855e8
Version 5.2.1 RC1 ( #5918 )
2018-12-12 09:02:42 -08:00
Dan Miller
3cca6fc886
Add missing translation to the gas customization component.
2018-12-12 13:05:25 -03:30
Thomas Huang
d6fa967b1f
Merge pull request #5902 from MetaMask/i5846-ProviderCrashes
...
Fix provider crashes
2018-12-11 10:24:14 -08:00
Dan Miller
5ab3f5bb20
Changelog and version bump for 5.2.0
2018-12-11 13:51:19 -03:30
Alexander Tseung
dde239797b
Show Failed transaction in the browser notification for on-chain failures ( #5904 )
2018-12-10 18:02:26 -08:00
Alexander Tseung
d8ab9cc002
Group transactions by nonce ( #5886 )
2018-12-09 12:48:06 -08:00
Thomas Huang
575fb607c3
Merge pull request #5892 from MetaMask/fix-net-version-race-condition
...
Fix race condition in network controller lookup() method.
2018-12-07 14:49:00 -08:00
Dan Miller
246dcf689c
Fix race condition in network controller lookup() method.
2018-12-06 16:13:24 -03:30
Whymarrh Whitby
80d7be0a19
Fill in more Polish message translations
2018-12-06 11:11:02 -03:30
Dan Miller
fe535159bb
Fix "fastest" translation message; change to sentence case
2018-12-04 00:06:22 -03:30
Dan Miller
9b9a2cc2e0
Adds createSpeedUpTransaction to txController
2018-12-04 00:06:05 -03:30
Dan Miller
3162a2747c
Redesign of gas customization basic tab.
2018-12-04 00:06:05 -03:30
Dan Miller
6f8e2b1ad9
Clean up for advanced gas tab customization changes.
2018-12-04 00:06:05 -03:30
Dan Miller
5354325fab
Test updates and additions for button integration with send screen.
2018-12-04 00:06:04 -03:30
Dan Miller
b567c78bca
Integrate gas buttons with the send screen.
2018-12-04 00:06:04 -03:30
Dan Miller
d55a2615a4
Split advanced-tab-content.component.js render() method into smaller pieces; add translations to the same file.
2018-12-04 00:06:04 -03:30
Dan Miller
342dc95410
Adds the content of the advanced tab - w/o chart or dynamic content - to gas customize modal.
2018-12-04 00:06:04 -03:30
Dan Miller
f9aa5a70de
Adds new gas customization modal container (without content)
2018-12-04 00:06:04 -03:30
Dan Finlay
a1528674bc
Version 5.1.0: East Bay
2018-12-03 10:54:31 -08:00
Dan Finlay
4935c31711
Update phishing warning copy
...
Per advice of legal counsel.
2018-12-03 09:55:02 -08:00
Michael - Blurpesec
7f6928782a
Hide link for phishing-detect page ( #5864 )
...
* Soften language on phishing-detect page
* remove quotes
2018-12-01 20:15:59 -08:00
Bruno Barbieri
be255210a9
fix visibility
2018-11-30 20:54:57 -05:00
Dan J Miller
4c24555545
Save recent network balances in local storage ( #5843 )
...
* 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>
2018-11-30 14:51:24 -08:00
Paul Bouchon
45a9f40aa6
bugfix: normalize contract addresss when fetching exchange rates ( #5863 )
2018-11-30 11:52:00 -05:00
Dan Finlay
c7233e2cc7
Fixed Vivek's bug ( #5860 )
...
* Fixed Vivek's bug
Fixes #5850
What was happening:
It seems that his MetaMask had crashed while some new transactions had
been loading defaults. He probably had a network connectivity issue to
Infura (which we are working with Infura to address).
As a result of this network cutout, his three unapproved transactions
were not marked failed, and were not marked as `loadingDefaults =
false`, as their gas prices had not yet been estimated.
Normally this behavior is supposed to clean itself up when the
transaction controller starts up, via the
`TransactionController._onBootCleanUp()` function, but in this case,
during unlock, that function was unable to do its job because when it
requested the transaction list, the current network was in the `loading`
state, making it proceed as if there were no pending transactions.
To fix this, I am doing two things:
- Setting transactions to loadingDefaults = false in more catch blocks.
- Calling `onBootCleanUp()` when the network store's status changes, so
that it will re-trigger when loading completes.
* Fixed reference
* Fixed infinite loop bug
Was refreshing the tx list on every tx state change instead of just
network changes, creating an infinite loop.
* Add notes to tx updates to clarify logs
2018-11-29 16:08:03 -08:00
Dan Finlay
4be3fe5906
Version 5.0.4 RC1 ( #5859 )
2018-11-29 11:43:00 -10:00
Frankie
a803522a92
transactions/tx-gas-utils - add the acctual response for eth_getCode for NO_CONTRACT_ERROR's && add a debug object to simulationFailed ( #5840 )
2018-11-29 10:07:05 -08:00
Whymarrh Whitby
67d9f445bd
Merge pull request #5848 from MetaMask/Less-Certain-Language
...
Soften accusatory language on phishing warning
2018-11-28 15:44:36 -03:30
Dan Finlay
ac1b756bd0
Soften accusatory language on phishing warning
...
We don't always know for sure that sites marked as phishers are
defiitely scams, and so we should avoid language that makes concrete
accusations.
2018-11-28 08:35:03 -08:00
Whymarrh Whitby
a9d3c1a87d
Open full-screen UI on install
2018-11-27 09:52:51 -03:30
Whymarrh Whitby
3e85d580f9
Revert "Don't open MetaMask website after install"
2018-11-27 08:50:54 -03:30
Frankie
8198ec9ae1
Autofill gasPrice for retry attempts with either the recommended gasprice or a %10 bump ( #5786 )
...
* transactions - autofill gasPrice for retry attempts with either the recomened gasprice or a %10 bump
* lint
2018-11-26 09:29:14 -10:00
Frankie
97c1e6bcc1
transactions - ensure err is defined when setting tx failed ( #5801 )
2018-11-26 09:00:58 -10:00
Bruno Barbieri
3b1e73eff8
Merge pull request #5792 from MetaMask/signed-type-data-error-hw-wallet
...
Consider HW Wallets for signTypedMessage
2018-11-26 13:40:04 -05:00
Bruno Barbieri
f2066432ba
Use Array.includes
2018-11-26 13:27:49 -05:00
Whymarrh Whitby
08c98a6df7
Show Connect Requests count in extension badge
2018-11-26 12:09:22 -03:30
Whymarrh Whitby
826eb82ed8
Use initState to avoid type-checking providerRequests in state
2018-11-26 12:06:17 -03:30
Thomas Huang
4054b1cb84
Increase Token Symbol length to twelve
2018-11-22 12:39:59 -06:00
Bruno Barbieri
ae8626eceb
Merge pull request #5797 from MetaMask/trezor-v6
...
Add Firefox and Brave support for Trezor
2018-11-21 14:45:55 -05:00
Whymarrh Whitby
66e0de73c5
Merge pull request #5334 from whymarrh/ui-switch
...
Default to the new UI for first time users
2018-11-21 15:21:04 -03:30
brunobar79
7fb9f91d27
trezor v6
2018-11-20 19:12:11 -05:00
brunobar79
9b1df386de
fix merge conflicts
2018-11-20 17:44:28 -05:00
Dan Finlay
5956f8d260
Version 5.0.3 ( #5785 )
...
* Version 5.0.3
Includes a fix to the `version:bump` script that now correctly updates
the changelog header.
* Include inpage provider events
2018-11-20 08:34:14 -10:00
brunobar79
fb94c1bae7
remove extra semicolon
2018-11-20 12:57:58 -05:00
brunobar79
3abf9ec7db
consider hw wallets
2018-11-20 12:48:43 -05:00
Whymarrh Whitby
6b32e82ac1
Remove "Beta" from welcome messages
...
More sed magic:
sed -i.bak 's/MetaMask Beta/MetaMask/' app/_locales/**/messages.json && \
find app/_locales -name '*.bak' -delete
sed -i.bak 's/"welcomeBeta"/"welcome"/' app/_locales/**/messages.json && \
find app/_locales -name '*.bak' -delete
2018-11-20 14:04:50 -03:30
Whymarrh Whitby
444c68ae53
Don't announce new UI to users switching back
2018-11-20 14:04:50 -03:30
Whymarrh Whitby
c5da84d7a2
Remove "Beta" from header logo
2018-11-20 14:04:50 -03:30
Whymarrh Whitby
c482c9926c
Default to the new UI for first time users
2018-11-20 14:04:17 -03:30
Paul Bouchon
7fe37276a1
1102: Push publicConfigStore to next turn to avoid race conditiono ( #5777 )
2018-11-18 07:23:04 -05:00
Dan Finlay
fdea642e6d
Auto fail transactions that have been approved for over 12 hours ( #5765 )
...
* 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
2018-11-16 21:27:01 -08:00
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
2018-11-16 14:54:55 -10:00
Frankie
ce147bf6d8
Tx controller now uses safe event emitter ( #5769 )
...
* 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
2018-11-16 10:34:08 -08:00
brunobar79
e44b750f0f
Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5
2018-11-15 00:29:06 -05:00
Dan Finlay
22ba0b0c2d
Resubmit approved transactions on new block ( #5752 )
...
* 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
2018-11-14 11:34:07 -10:00
brunobar79
18f39ef69e
Merge branch 'develop' of github.com:MetaMask/metamask-extension into trezor-v5
2018-11-14 15:42:45 -05:00
Paul Bouchon
f6e042b7b1
1102: use meta title if it exists before title
2018-11-14 10:43:10 -08:00
brunobar79
484aa6801e
Merge branch 'develop' into trezor-v5
2018-11-13 17:21:15 -05:00
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
2018-11-13 14:57:43 -05:00
PaddyMc
7ce2cf4572
Fixes #3425 : Better support for batch transactions ( #5437 )
2018-11-13 13:49:12 -03:30
Filip Š
d943345151
Slovenian and slovak fixes ( #5730 )
...
* Fix Slovenian translation
* Add Slovak translation
2018-11-12 11:15:55 -05:00
Vimal
6bb92a8672
merging upstream branch
2018-11-12 17:50:37 +05:30
Dan Finlay
da1036f2c4
Version 5.0.2
2018-11-09 20:03:18 -08:00
Paul Bouchon
c317624854
EIP-1102: Update publicConfig store concurrently with approval
2018-11-09 18:21:59 -08:00
Noah I
8bed073f20
1102: Fix inpage listener syntax ( #5708 ) ( #5709 )
2018-11-09 07:14:32 -05:00
Dan Finlay
e53ceb6bc1
Version 5.0.1 ( #5694 )
2018-11-07 12:07:14 -05:00
Dan J Miller
0dd0d8fc83
Merge pull request #5547 from MetaMask/front-ends-deps-gulp-bundle
...
Bundle some ui dependencies separately to limit the build size of ui.js
2018-11-07 13:31:56 -03:30
bitpshr
718393f89a
Cleanup
2018-11-07 08:47:25 -08:00
bitpshr
a224b71837
1102: use postMessage instead of injected scripts to bypass CSP
2018-11-07 08:47:25 -08:00
bitpshr
1ce3591c8e
wip
2018-11-07 08:47:25 -08:00
brunobar79
c651212025
fix merge conflicts
2018-11-06 20:21:19 -05:00
bitpshr
896ae0ab89
Fix lint errors
2018-11-06 14:30:50 -05:00
bitpshr
d7b1cacabc
Remove injected script tags after use
2018-11-06 14:26:02 -05:00
bitpshr
34d80f21e2
Clear cached approval after rejection
2018-11-06 14:13:27 -05:00
Dan Finlay
7b8a73b01f
Version 5.0.0 ( #5685 )
2018-11-06 11:42:22 -05:00
bitpshr
b3f428fd1f
Move experimental provider augmentation
2018-11-05 15:07:09 -08:00
bitpshr
879997af51
Add experimental RPC method support
2018-11-05 15:07:09 -08:00
Whymarrh Whitby
26ada8a828
Update Connect Request screen design ( #5644 )
...
* Parameterize NetworkDisplay background colour
* Update design for login request screen
* Pass siteTitle, siteImage through for calls to ethereum.enable()
* Bring the site images closer together
2018-11-05 15:07:09 -08:00
bitpshr
31cb111d2e
Do not modify isApproved when locked
2018-11-05 15:07:09 -08:00
bitpshr
9984f7edeb
Mark origins as unapproved if user explicitly locks MetaMask
2018-11-05 15:07:09 -08:00
Paul Bouchon
f557d33718
Enable caching
2018-11-05 15:07:09 -08:00
bitpshr
991e08e346
isApproved should return false
2018-11-05 15:07:09 -08:00
bitpshr
72730b3929
Remove internal listeners
2018-11-05 15:07:09 -08:00
bitpshr
cc27a09a1a
rebase
2018-11-05 15:07:09 -08:00
bitpshr
d4171ccea5
Disable approval caching
2018-11-05 15:07:09 -08:00
bitpshr
cc1bab6ebb
Differentiate locked and enabled
2018-11-05 15:07:09 -08:00
bitpshr
d7618bd5c6
Code bath
2018-11-05 15:07:09 -08:00
bitpshr
ba40fcbcb4
Handle logout gracefully
2018-11-05 15:07:09 -08:00
bitpshr
f02e18dd80
Fix lint issues
2018-11-05 15:07:09 -08:00
bitpshr
ace7cfa065
Only filter selectedAddress from publicConfig store
2018-11-05 15:07:09 -08:00
bitpshr
f35466a247
Fix race condition with publicConfigStore
2018-11-05 15:07:09 -08:00
bitpshr
32630b68df
Move convenience methods to _metamask namespace
2018-11-05 15:07:09 -08:00
bitpshr
504f4a50f1
Fix lint issues
2018-11-05 15:07:09 -08:00
bitpshr
84874a639d
Add isUnlocked provider hook
2018-11-05 15:07:09 -08:00
bitpshr
573139b935
Differentiate isEnabled and isApproved hook
2018-11-05 15:07:09 -08:00
bitpshr
3a2ade4e84
Update isEnabled check
2018-11-05 15:07:09 -08:00
bitpshr
5fff6dcbbd
Remove duplicate i18n keys
2018-11-05 15:07:09 -08:00
bitpshr
226601a956
EIP-1102: add user privacy option
2018-11-05 15:07:09 -08:00
bitpshr
bfcb73ad53
EIP-1102: add isEnabled convenience method to provider
2018-11-05 15:07:09 -08:00
bitpshr
89b4aa5d62
EIP-1102: Add option to force-enable provider
2018-11-05 15:07:09 -08:00
bitpshr
c76c9ca2c8
EIP-1102: updated implementation
2018-11-05 15:07:09 -08:00
Dan Finlay
2d4ff1dd82
Version 4.17.1
2018-11-05 14:05:33 -08:00
kumavis
86f09e6bb5
network - infura - hardcode net_version and eth_chainId ( #5670 )
...
* network - infura - hardcode net_version and eth_chainId
* network - infura - add rinkeby handling
* lint fix
2018-11-05 14:13:37 -05:00
Esteban Miño
4489a57f2f
Update watchAsset ERC20 validation ( #5653 )
...
* update ERC20 token valodation for watchAsset
* update ERC20 validation test descriptions
2018-11-05 15:36:34 -03:30
kumavis
14852669ac
Merge pull request #5659 from MetaMask/token-rates-bugfix
...
token-rates - protect against bad token data
2018-11-03 21:57:21 -04:00
Thomas Huang
ed4f612bdc
Revert "support eth_chainId"
2018-11-03 14:21:41 -07:00
kumavis
2c1bca1ab0
token-rates - protect against bad token data
2018-11-02 22:14:40 -04:00
kumavis
e683684e8d
4.17.0
2018-11-01 21:05:37 -04:00
Dan Miller
da5f4a792c
Bundle some ui dependencies separately to limit the build size of ui.js
2018-10-31 20:47:22 -02:30
kumavis
73eeeda215
Merge pull request #5560 from MetaMask/sentry-enhancements2
...
Sentry - various enhancements to help debugging (alternate)
2018-10-29 21:57:51 -04:00
kumavis
310229d22e
Merge pull request #5567 from MetaMask/HowardBraham-develop
...
Feature: Warn when attempting to send tx with data to non-contract
2018-10-29 21:47:07 -04:00
kumavis
7ae5a23b6c
Merge branch 'sentry-enhancements2' of github.com:MetaMask/metamask-extension into sentry-enhancements2
2018-10-29 20:28:02 -04:00
kumavis
ccbc233282
Merge branch 'develop' of github.com:MetaMask/metamask-extension into sentry-enhancements2
2018-10-29 20:25:05 -04:00
kumavis
1bb4a8428c
Merge pull request #5596 from MetaMask/validateSignTypedData
...
Validate signTypedData signer/address in eth-json-rpc-middleware
2018-10-29 20:11:04 -04:00
kumavis
ad009a4606
Merge branch 'develop' into sentry-enhancements2
2018-10-29 19:49:53 -04:00
kumavis
18e530221b
Merge pull request #5552 from EthersocialNetwork/eth_chainid
...
network - check eth_chainId and fallback to net_version
2018-10-29 19:43:25 -04:00
kumavis
2baa57bc4a
Merge pull request #5625 from filips123/develop
...
i18n - Better Slovenian translation
2018-10-29 19:13:21 -04:00
kumavis
986f8b4c21
preferences - fix typo
2018-10-29 18:56:29 -04:00
Filip Š
26012f5879
Fix Slovenian translation
2018-10-27 16:54:37 +02:00
Filip Š
38f0a3e471
Add Slovenian translation for EIP-1102
2018-10-27 13:33:56 +02:00
Filip Š
77bc4227e3
Fix Slovenian translation
2018-10-27 13:22:34 +02:00
hackyminer
bc7f8d0a5b
Merge branch 'develop' into eth_chainid
2018-10-26 20:37:35 +09:00
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
2018-10-26 10:26:43 +02:00
kumavis
9b42416fc0
Merge branch 'develop' of github.com:MetaMask/metamask-extension into HowardBraham-develop
2018-10-25 22:24:30 -04:00
Thomas
8c0e5e97e5
Add version to unapprovedMessage
2018-10-24 20:24:42 -07:00
Thomas
95b92a1ddc
Remove commented out/unused methods
2018-10-24 20:13:40 -07:00
Thomas
1d65687ce4
Validate signTypedData in eth-json-rpc-middleware
2018-10-24 20:03:55 -07:00
Alexander Tseung
7852269ed1
Add Activity Log entry for onchain failures for a transaction. Change scrolling of the transaction list. Remove Transaction Details modal. ( #5581 )
2018-10-23 19:59:04 +08:00
kumavis
97056d2ee6
Merge pull request #5576 from marijnbent/patch-1
...
i18n - Updated Dutch translation for main network name
2018-10-22 23:02:33 -04:00
kumavis
3e2bf36d59
i18n - update haitian translations ( #5565 )
...
* addedd new keys and updated translations to Haitian Creole
* changelog - add entry for hatian creole fix
2018-10-22 21:55:06 +02:00
Marijn Bent
c12a5a23f7
Updated translation for main network name
...
Current translation translates to 'most important Ethereum-network'. 'Main' is totally acceptable to use in Dutch.
2018-10-22 20:13:12 +02:00
Vimal
82b11b69a5
Adding CoinSwitch exchange
2018-10-22 16:44:21 +05:30
kumavis
6d09f60bbf
ens-ipfs - refactor for readability ( #5568 )
...
* ens-ipfs - refactor for readability
* ens-ipfs - use official ipfs gateway for better performance
* lint - remove unused code
* ens-ipfs - support path and search
* lint - gotta love that linter
* ens-ipfs - improve loading page formatting
* ens-ipfs - loading - redirect to 404 after 1 min timeout
* ens-ipfs - destructure for cleaner code
2018-10-21 05:48:15 -04:00
kumavis
b62d07f3a5
Update network.js
2018-10-21 04:32:07 -04:00
brunobar79
9c1b2108f6
fix merge conflicts
2018-10-21 01:59:53 -04:00
kumavis
b0c649a4e3
Merge pull request #5555 from MetaMask/support-wallet-watch-asset
...
Support for prefix wallet_watchAsset
2018-10-21 01:27:08 -04:00
kumavis
61c7bbb1c1
network - improve logging and type conversion
2018-10-21 01:20:08 -04:00
kumavis
31e5cad1e3
tx-gas-util - set error message when invalidating tx based on tx data but no contract code
2018-10-21 01:01:21 -04:00
kumavis
17a856cfd3
send tx - validate - simplify error message for attempting to call function on non-contract address
2018-10-21 00:57:45 -04:00
Brandon Wissmann
b53a1f492c
i18n - use localized names in language selection
...
Fixes #4250 (#5559 )
* Added localized names for languages
* Capital letter for Čeština
* capital letter Русский
* i18n - use localized names in language selection
* fix build
* package-lock.json build fix
2018-10-20 23:55:37 -04:00
kumavis
f0602ca354
Merge branch 'develop' of github.com:MetaMask/metamask-extension into sentry-enhancements2
2018-10-20 23:51:00 -04:00
kumavis
3b46478024
Merge branch 'develop' into develop
2018-10-20 23:48:10 -04:00
kumavis
73ec4e66cb
sentry - include app state in ui errors
2018-10-20 03:14:59 -04:00
kumavis
e3fda83ab2
sentry - replace raven-js with sentry/browser
2018-10-20 02:22:50 -04:00
Esteban Miño
7c4f98ffd6
specific add and remove methods for frequentRpcList ( #5554 )
2018-10-19 17:50:54 -02:30