1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
Commit Graph

16352 Commits

Author SHA1 Message Date
Dan J Miller
3af0362f2e Make validate-changelog-in-rc.sh executable (#18402) 2023-04-03 11:38:35 +01:00
PeterYinusa
ed3c0e21b8 Update CHANGELOG.md 2023-03-31 16:00:42 +01:00
Dan J Miller
e38f5ecb68 Allow specific origin to direct to second page of token allowance flow (#18395)
* Allow specific origin to direct to second page of token allowance flow

* Remove accidentally committed git diff text

---------

Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
2023-03-31 15:11:47 +01:00
Davide Brocchetto
9dc8a0238f Fixed test instability (#18174) 2023-03-31 15:04:18 +01:00
PeterYinusa
468357e250 update policies 2023-03-31 14:33:19 +01:00
António Regadas
c02fe456a0 Adds build type mmi (#18399)
* adds build type mmi

* run prettier
2023-03-31 14:27:23 +01:00
PeterYinusa
3d8b371710 update dependancies
Co-Authored-By: legobeat <109787230+legobeat@users.noreply.github.com>
2023-03-31 12:43:46 +01:00
PeterYinusa
87e8521f9c resolve merge conflicts
Co-Authored-By: legobeat <109787230+legobeat@users.noreply.github.com>
2023-03-31 12:29:20 +01:00
PeterYinusa
346aa12470 Merge branch 'master' into Version-v10.28.0 2023-03-31 12:25:47 +01:00
Ariella Vu
559465574d Sign in with Ethereum: re-enable warning UI for mismatched domains / disable domain binding (#18200)
* siwe: re-enable warning UI for mismatched domains
- unblocks mismatched domain support
- we may re-add error handling here #18184
- reverts logic from #16616

* siwe: fix mismatch domain warning msg UI

* lint: rm whitespace EOL

* siwe: rm unit test

* lint: fix whitespace

* Revert "siwe: rm unit test"

This reverts commit c80a4a2e661609c46c76d1e43e05909b6db3f0f5.

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-03-31 11:26:16 +01:00
Jyoti Puri
6b7ff32f85 Change api used for opensea validation (#18383)
* Change api used for opensea validation

* fix build
2023-03-31 10:59:23 +01:00
David Walsh
f3fe5c0328 NFTs: Use Unknown Collection instead of first NFT name (#18388)
* NFTs: Use Unknown Collection instead of first NFT name

* Use localization in hook

* Get localization for previously owned

* Fix tests

---------

Co-authored-by: Dan Miller <danjm.com@gmail.com>
2023-03-31 10:13:22 +01:00
Danica Shen
427b4f2108 fix(18194): Redirect to extension expanded view when click back to sa… (#18376)
* fix(18194): Redirect to extension expanded view when click back to safety button

* Bump phishing warning version

---------

Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-03-31 10:13:02 +01:00
Jyoti Puri
701063542f Adding terms of use link for opensea (#18381) 2023-03-30 19:45:14 +01:00
Alex Donesky
9cd4e8c5a8 Fix #18199 : Add fallbacks for confirmation title on NFT transfers (#18269)
* add fallbacks for confirmation title on nft transfers

* Add token name and id

* fix

* fix test

---------

Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-03-30 18:09:29 +01:00
Jyoti Puri
291469dece Extracting out title component from confirm-transaction-base (#17991) 2023-03-30 18:09:17 +01:00
Matthew Walsh
5f52aa0566 Fix missing transaction notifications (#18323) 2023-03-30 15:59:40 +01:00
Victorien Gauch
ff9d2b18ee fix: update zkevm feature toggle date (#18307) 2023-03-30 15:54:55 +01:00
Ariella Vu
6252133c5b Fix Signature Request scroll (#18305)
* signature-req: fix scroll

* signature-req: fix scroll allow items to shrink
2023-03-30 15:54:10 +01:00
micaelae
0f1c7cab02 Disable Bridge button on unsupported networks (#18268) 2023-03-30 15:53:05 +01:00
Filip Sekulic
d8889ac83a OpenSea security provider metrics (#17688)
* Added metrics for the OpenSea security provider

* Fixed tests

* Fixed a test

* Fixed metrics

* Code refactor

* Lint fixed

* Removed unnecessary code

* Fix build

* Fix e2e

* Cleanup

* Fix e2e

* Code refactor

* Removed unnecessary code

* rpc middleware: catch securityProviderCheck errors
to not block dapp rpc requests

* Fixed an issue

* Added aditional test

* Applied some changes

* Fixed a test

* Fixed a test

* Code refactor

* Covered more code with tests

* Updated a test

* Fixed an issue

---------

Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
Co-authored-by: digiwand <20778143+digiwand@users.noreply.github.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-03-30 15:50:10 +01:00
Ariella Vu
6ad76745fe Fix disabled 'eth_sign' event & add 'Request Disabled' event type (#18007)
* Fix #17974 / add REQUEST_DISABLED event

* RPCMiddleware: add eth_sign REQUEST_DISABLED test

* don't call Signature Request for disabled eth_sign

* clean: alphabetize

* clean: rn isDisabledRequest -> isDisabledRPCMethod

* fix test

* rpc middeware: add eth_sign comment

* fix eth_sign events and re-add Signature Request

* send 'Signature Failed' for disabled eth_sigh
2023-03-30 15:50:04 +01:00
Dan J Miller
73173e685d Fixes to the Linea Goerli implementation (#18290)
* Ensure that NonInfuraDefaultNetworks are only selected in the dropdown if they are the currently selected network

* Ensure Linea Goerli network appears in network settings tab if added manually
2023-03-30 15:43:39 +01:00
vthomas13
8aead51f30 adding opensea security provider image (#18292) 2023-03-30 15:42:40 +01:00
Ariella Vu
cba9ba6198 Fix overflowing UI & buttons in Signature Request screens (#18247)
* signature-req: fix overflow ui

* signature-req: fix uneven btn height
2023-03-30 15:42:10 +01:00
Victorien Gauch
74f566f7f3 feat: add the ConsenSys zkEVM (Linea) as a default network (#17875)
* feat: add the consensys zkEVM as a default network

* fix: change infuraNetworkStatus in navigate-txs file

* fix: remove account tracker for zkEVM + remove zkEVM from infura list

* fix: change consensys zkevm name to linea + change rpc url for linea network

* fix: rebase conflicts

* feat: add new colors for linea goerli network

* feat: add new function inside network dropdown to render non infura networks

* feat: add feature toggle for linea network

* fix: add new unit test

---------

Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-03-30 15:40:27 +01:00
vthomas13
d6b73d339d Revert "What's new - OpenSea security provider (#16831)" (#17968)
This reverts commit 932282e638.
2023-03-30 15:24:14 +01:00
Mark Stacey
917290e764 Revert "Moved subscribe and filter into network controller (#16693)" (#18129)
* Revert "Moved subscribe and filter into network controller (#16693)"

This reverts commit 6f6984fa58. That
commit was an RPC middleware refactor intended to move the subscribe
and filter middleware into the network controller, to simplify the
process of sharing this middleware between clients.

This refactor resulted in `eth_subscribe` notifications being sent on
the wrong connections, causing the UI to break in some cases (the UI
`provider` connection does not support notifications). This happened
because the `setupProviderEngine` function runs per-connection,
whereas the engine setup inside the network controller is global. The
global network client cannot support notifications because it has no
way to route them; they'll need to stay in the per-connection provider
engine.

Closes #17467

* Add e2e test

An e2e test has been added that confirms subscriptions are only
broadcast to the site that registered them. This test fails on
`develop`.
2023-03-30 15:18:50 +01:00
Dan J Miller
d8591d48c6
Merge pull request #18267 from MetaMask/Version-v10.27.0
Version v10.27.0 RC
2023-03-24 05:05:34 -07:00
Victorien Gauch
3e2361a3fc fix: update zkevm feature toggle date (#18307) 2023-03-23 17:27:21 -02:30
Dan J Miller
129535095a Fix error in code written to handle merge conflicts in 3552941323 2023-03-23 15:00:19 -02:30
Dan Miller
50d6e0abc0 Update changelog for v10.27.0 2023-03-23 13:49:24 -02:30
Dan J Miller
1dc09c027c Fixes to the Linea Goerli implementation (#18290)
* Ensure that NonInfuraDefaultNetworks are only selected in the dropdown if they are the currently selected network

* Ensure Linea Goerli network appears in network settings tab if added manually
2023-03-23 13:48:12 -02:30
MetaMask Bot
98ed05c7c0 Version v10.27.0 2023-03-22 16:49:33 -02:30
Victorien Gauch
3552941323 feat: add the ConsenSys zkEVM (Linea) as a default network (#17875)
* feat: add the consensys zkEVM as a default network

* fix: change infuraNetworkStatus in navigate-txs file

* fix: remove account tracker for zkEVM + remove zkEVM from infura list

* fix: change consensys zkevm name to linea + change rpc url for linea network

* fix: rebase conflicts

* feat: add new colors for linea goerli network

* feat: add new function inside network dropdown to render non infura networks

* feat: add feature toggle for linea network

* fix: add new unit test

---------

Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-03-22 16:49:24 -02:30
Dan J Miller
1a003c4bdf
Merge pull request #18226 from MetaMask/Version-v10.26.2
Version v10.26.2 RC
2023-03-20 12:36:30 -07:00
Dan J Miller
ad9181c374 Update changelog 2023-03-17 16:29:11 -02:30
legobeat
dacdaf031c security: patch request for CVE-2023-28155 (#18208)
* security: patch request for CVE-2023-28155

GHSA-p8p7-x288-28g6

Ported from https://github.com/request/request/pull/3444

* add iyarc exclusion
2023-03-17 16:28:40 -02:30
MetaMask Bot
f730c6c8b4 Version v10.26.2 2023-03-17 18:19:39 +00:00
Ariella Vu
4f36a3121c Sign in with Ethereum: re-enable warning UI for mismatched domains / disable domain binding (#18200)
* siwe: re-enable warning UI for mismatched domains
- unblocks mismatched domain support
- we may re-add error handling here #18184
- reverts logic from #16616

* siwe: fix mismatch domain warning msg UI

* lint: rm whitespace EOL

* siwe: rm unit test

* lint: fix whitespace

* Revert "siwe: rm unit test"

This reverts commit c80a4a2e661609c46c76d1e43e05909b6db3f0f5.

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-03-17 15:43:49 -02:30
MetaMask Bot
972e738710 Version v10.28.0 2023-03-14 15:40:26 +00:00
Peter
7215fc25a4
Move nft e2e tests to main e2e test job (#18055)
* NFTs: Remove feature flag for release

* Update security tab jest test

* Fix broken test

* Update snapshot

* Update test

* Fix test

* remove nft build

* move tests to main e2e job

* remove nft scripts

* remove test for nft build

---------

Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-03-14 15:21:24 +00:00
vthomas13
bfefa35811
Adding NFT autodetection to "What's New" Announcements (#17653)
* adding base what's new for NFT autodetection

* lintfix

* Adding nfts svg image

* adding new notification to fixture builder for e2e

* lint:fix

* Adding new messaging, styling what's new

* styling descriptions, increasing fullscreen height

* applying firstNotification styling to NFT whats new announcement

* adding scrollDown button to whats new popup

* adding Opensea announcement, removing old announcement, moving scrollDown button up to popover component

* verify-locales:fix

* updating icon
2023-03-14 11:07:58 -04:00
Peter
2e291ff9c7
Merge pull request #18141 from MetaMask/master-sync-v2
Master sync for v10.26.1
2023-03-14 14:52:17 +00:00
PeterYinusa
a796dbd705 Conflict cleanup 10.26.1 master-sync 2023-03-14 12:25:55 +00:00
PeterYinusa
7d1ce40a19 Merge remote-tracking branch 'origin/develop' into master-sync-v2 2023-03-14 12:12:06 +00:00
PeterYinusa
094c5582e6 Revert "patch lavamoat files to make v10.26.0 compatible with v78 of chrome (#18053)"
This reverts commit 8c550e78e9.
2023-03-14 12:06:48 +00:00
seaona
93be4810b9
Fix typo on test file (#18124) 2023-03-14 12:48:14 +01:00
seaona
b8ec3623ff
[e2e] ENS test improvement - with network controller fixture (#18119)
* With network controller fixture

* fix lint
2023-03-14 12:47:54 +01:00
Thomas Huang
eafffb1af5
Remove console.log of expected action from actions test (#18130) 2023-03-14 06:09:16 -05:00