1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
Commit Graph

15051 Commits

Author SHA1 Message Date
Dan Miller
b497797b60 Update lavamoat again 2022-09-19 21:34:14 -02:30
Dan Miller
9360239e5d Update lavamoat policy for v10.19.0 RC, after 0402e04 2022-09-19 20:45:11 -02:30
Niranjana Binoy
0402e043f8 updating the copy and title on token dettection toggle in advanced settings and notification in import tokens (#15880) 2022-09-19 21:34:00 +01:00
ryanml
51f1e4f238 Bump @metamask/etherscan-link from 2.1.0 to 2.2.0 (#15881) 2022-09-19 21:17:46 +01:00
Dan J Miller
341d4de8da Revert "Ensure that 'tokens found in this account' message is only shown when token detection activated (#15823)" (#15879)
This reverts commit b359844dc5.
2022-09-19 19:52:56 +01:00
Dan J Miller
1bbeb80dff Ensure the seed phrase reminder is displayed with precedence over the network deprecation warning (#15869)
* Ensure the seed phrase reminder is displayed with precedence over the network deprecation message

* Prevent error when attempting to get balance before account info has been fully sete

* Fix implementation of seedphrase-reminder-display-fix

* Prioritize seed phrase reminder notification over portfolio tooltip, and that tooltip over testnet deprecation
2022-09-19 19:00:50 +01:00
Dan J Miller
e6017ee2a4 Don't display DetectedTokenSelectionPopover if there are no detected tokens (#15877)
* Don't display DetectedTokenSelectionPopover if there are no detected tokens

* adding length greater than 0 check as a 0 is displayed at the end of teh page previously

Co-authored-by: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-19 19:00:35 +01:00
Dan J Miller
5c41ff0aa1 Ensure New Network Info popup doesn't show when switching to testnets (#15867)
* Ensure New Network Info popup doesn't show when switching to testnets

* Update ui/pages/routes/routes.component.js

Co-authored-by: Alex Donesky <adonesky@gmail.com>

* Fix typo

* Fix isTestNet property name casing

Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-09-19 19:00:16 +01:00
Dan J Miller
5c970fc0ba Properly configure ethereumjs Common for Sepolia network (#15871) 2022-09-19 16:02:53 +01:00
seaona
b88b39f485
10.19.0 Changelog (#15755)
* 10.19.0 Changelog - first draft

* Remove non-changelog PRs

* Cleanup by removing uncategorized commits that should not go to the Changelog

* Re-write commit descriptions

* Re-phrasing more descriptions

* Add missing spaces and fix URLs for gridplus

* Flask description updated for snap_getBip44Entropy

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Flask description updated for snap_getBip32Entropy

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Flask description updated for Dapp triggered Snap updates

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Flask description updated for fix permissions

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Move to the proper categories Flask PRs

* Remove Snap package update as has no user-facing changes

* Fix Changelog

* Add space after Unreleased

* Add Swaps fix for redirect to Activity tab

* Last PR entries added

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-09-19 16:53:11 +02:00
Dan J Miller
060fc9453c Correct when setApprovalForAll message is shown (#15863) 2022-09-19 13:06:59 +01:00
Mark Stacey
db158c242c Fix portfolio URL configuration (#15849)
The portfolio URL added in #15407 was meant to be configurable via
environment variable or the `.metamaskrc` file, but that configuration
was broken. Instead the default value was always used.

That configuration has been fixed. The portfolio URL can be set either
by environment variable or configuration file.
2022-09-16 15:53:13 +01:00
Matthew Epps
dc1b658348 Add entry point for metalabs dapp into metamask home page (#15407)
Co-authored-by: Dan Miller <danjm.com@gmail.com>
2022-09-16 15:52:57 +01:00
PeterYinusa
6bd284a016 Case insensitive modifier for Firefox (#15831)
JSON.parse: unexpected character at line 1 column 1 of the JSON data

JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
2022-09-16 15:52:28 +01:00
Dan Miller
5f21cbeeff Fix bug introduced when resolving conflict during cherry-pick of 7ffcad3328 2022-09-15 20:42:50 -02:30
Dan J Miller
d5c3dbce95 Fix sepolia network id (#15847) 2022-09-15 14:32:41 -02:30
Mark Stacey
3047c3ab24 Resolve inconsistency between browsers (#15800)
Resolve an inconsistency between Chrome and Firefox with how the
contentscript runs in an iframe.

This should have no user-facing impact, it's just meant as a safeguard
in case something unintentionally gets included in the contentscript.
2022-09-15 18:36:02 +02:00
Niranjana Binoy
06fc3a1dd5 Displaying the aggregators from tokenList in Detected token popover (#15835)
* using the aggregators from tokenList instead of detectedToken to avoid conflicts between static and dynamic list

* removing aggregator from the detectTokens object List
2022-09-15 12:55:11 -02:30
Dan J Miller
c35b4d6ec8 Add notification about the merge (#15846) 2022-09-15 12:52:38 -02:30
Olusegun Akintayo
5316fc682e Show 3box deprecation message in whats new (#15763)
* Show 3box deprecation message in whats new

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Add . after message

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Change deprecation notification message and remove date

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-09-15 12:52:38 -02:30
ryanml
7ffcad3328 Adding Sepolia as a default test network (#15787) 2022-09-15 12:25:42 -02:30
Dan J Miller
99e3721f13 Ensure that 'tokens found in this account' message is only shown when token detection activated (#15823) 2022-09-15 15:41:27 +02:00
Dan J Miller
b2f1c3f53e Hide DetectedTokenAggregators if token.aggregators lists are empty (#15824) 2022-09-15 15:40:58 +02:00
Dan J Miller
96a68019bf Move updateBackgroundConnection call in ui/index.js to before the action calls (#15826) 2022-09-15 15:40:26 +02:00
Dan J Miller
222c5debf3 Ensure chainId is defined in validateRecipientUserInput in send-duck (#15822) 2022-09-15 15:39:54 +02:00
Dan J Miller
7054dd6694 Ensure approval warning for setApprovalForAll is not shown when revoking (#15806)
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-15 15:38:33 +02:00
Dan J Miller
ba11a4b5ad Ensure network info popup only displays on networks where the user has no balances (#15821) 2022-09-15 15:36:41 +02:00
Dan J Miller
527f56fa5f Properly handle JSON errors when restoring data in advanced settings (#15815) 2022-09-13 18:00:24 -07:00
Dan J Miller
a1673af673 Update whats new dates (#15804)
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-13 07:27:25 -07:00
Dan J Miller
e6f23e9dda Update token detection whats new message: token detection is off by default (#15807)
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-13 07:23:03 -07:00
Taylor Monahan
9529462740 fix issue where signing a message sometimes doesn't allow you to scroll to the bottom (#15788)
* fix issue wherein signing a message sometimes doesn't allow you to scroll all the way to the bottom

done in a way to make it as mergeable as possible

* Fixing length-zero-no-unit lint issue

Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-12 08:57:42 -07:00
Adnan Sahovic
64391d346e warning for deprecated Rinkeby, Ropsten and Kovan test networks (#15725)
* warning for deprecated Rinkeby, Ropsten and Kovan test networks

* modified DeprecatedTestNetworks function

* added getCompletedOnboarding

* removed warning message from MetaMask ​​Notification page

* updated deprecatedTestNetworksMsg
2022-09-12 17:29:50 +02:00
seaona
bc0d32de56 New 10.19.0 RC 2022-09-06 16:56:52 +02:00
VSaric
cd5398b2b2
Replaced use of pubnub for uuid method in app/ directory (#15712) 2022-09-06 09:13:04 -05:00
VSaric
8fa96ac1a2
Updated Avalanche rpcUrl endpoint (#15720) 2022-09-06 09:12:05 -05:00
VSaric
4f8c22accb
Updated the main copy on SetApprovalForAll confirmation screen (#15724) 2022-09-06 09:11:13 -05:00
VSaric
0b92b13def
Set view full transaction details by default (#15726) 2022-09-06 08:36:02 -05:00
Jyoti Puri
3154e5e19c
Make updateTransactionSendFlowHistory background method idempotent (#15585) 2022-09-06 14:39:12 +05:30
Jyoti Puri
3fb7de5768
Make addUnapprovedTransaction action idempotent (#15667) 2022-09-06 14:38:32 +05:30
Lorenz
e817ff8a77
improvement it translation (#15477)
Co-authored-by: Nidhi Kumari <menidhikjha@gmail.com>
2022-09-05 11:53:51 -05:00
Jyoti Puri
99ed42b3dc
MV3: add retry logic to actions (#15337) 2022-09-05 20:25:34 +05:30
Thomas Huang
ece5901b40
Unit tests for first time flow/new account and onboarding flow. (#15625) 2022-08-30 16:53:24 -07:00
Zbyszek Tenerowicz
44d2f210d0
Set lavamoat codeowners to allow supply chain reviews (#15624) 2022-08-28 12:26:35 -05:00
Frederik Bolding
7fc418a96d
[FLASK] snaps-skunkworks@0.20.0 (#15706)
* snaps-skunkworks@0.20.0

* Generate LavaMoat policy

* Fix some breaking changes

* Update iframe execution env

* Fix unit tests

* Implement snap_getBip44Entropy

* Regenerate LavaMoat policy

* Prefer ControllerMessenger over direct calls

* Fix not showing warning for BIP44 legacy permission and E2E test

Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2022-08-26 13:48:53 +02:00
PeterYinusa
fe78890dd2
Sentry e2e test (#15715) 2022-08-25 18:07:31 -05:00
Adnan Sahovic
341f761dd7
Created a new token component (#15617)
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-08-25 18:01:30 -05:00
Alex Miller
21e3b4785d
[GridPlus] Version bump (#15711)
* [GridPlus] Bumps packages
Significant updates:
* Reverts build system changes to reduce bundle size (`gridplus-sdk` #461)
* Adds support for nested ABI definitions if firmware allows it (`gridplus-sdk` #462, #450)
Full changes:
* `eth-lattice-keyring`: https://github.com/GridPlus/eth-lattice-keyring/compare/v0.11.0...v0.12.0
* `gridplus-sdk`: https://github.com/GridPlus/gridplus-sdk/compare/v2.2.2...v2.2.7

* [GridPlus] Lavamoat changes
2022-08-25 18:11:17 -02:30
Mark Stacey
92a7f2c615
Merge pull request #15710 from MetaMask/master-sync
Sync v10.18.4 with `develop`
2022-08-25 10:54:10 -04:00
mirjanaKukic
eabbe9f037
add e2e test for default icons (#13869) 2022-08-25 09:48:13 -05:00
Mark Stacey
a1cda8ad9d Merge remote-tracking branch 'origin/develop' into master-sync
* origin/develop: (228 commits)
  Update `object.values` patch (#15692)
  chore: Adjust trailing whitespace (#15636)
  updated casing in import Token for spanish (#15687)
  development scripts: add node shebang; mark as executable (#15655)
  Created a new contract details modal (#15549)
  Token allowance improvements feature flag (#15646)
  Updated origin pill component to match the new design (#15603)
  Update `depcheck` to latest version (#15690)
  Replace `lavamoat-runtime.js` patch (#15682)
  upgrade jest (#15642)
  Fix Sentry deduplication of events that were never sent (#15677)
  Jest configuration fix (#15673)
  Header component for transaction confirmation screens (#15614)
  New network info popup (#13319)
  Consolidating Zendesk URLs in to constants file (#15669)
  Created review spending cap component (#15633)
  Fix Sentry in LavaMoat contexts (#15672)
  Fix LavaMoat policy generation script (#15668)
  Using formatIconUrlWithProxy to get the iconUrl proxy of swap token (#15562)
  Migrate app constants to typescript (#15611)
  ...
2022-08-25 11:03:29 -02:30