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

16558 Commits

Author SHA1 Message Date
Mark Stacey
8de87c0734 Remove mobile sync feature (#18692)
The mobile sync feature has been removed. It has been disabled for
years. When we enable sync again, it will be using a different
implementation. This has already been removed on the mobile side.
2023-04-20 14:36:53 -02:30
Dan J Miller
e6b21c1100 Fix coverage targets that were modified incorrectly in a merge conflict resolution 2023-04-20 14:16:23 -02:30
legobeat
567fd93377 deps/security: vm2@3.9.15->3.9.16 (#18555)
CVE-2023-29199  / GHSA-xj72-wvfv-8985
2023-04-20 13:48:02 -02:30
Dan J Miller
9e127f01ce Merge remote-tracking branch 'origin/master' into Version-v10.29.0 2023-04-20 13:47:31 -02:30
Filip Sekulic
6f29c96c2e Replace contract with third party within the token allowance flow (#18101) 2023-04-20 13:42:02 -02:30
Dan J Miller
aaee8ec466 Rename migration 83 to 84 and rename migration 84 to 83 (#18655)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-20 13:41:42 -02:30
Monte Lai
f9a3bc8070 18566 firefox ledger u2f message (#18570)
* check for user agent

* fix regex

* fix lint

* update link

* add test

* update message

* update coverage

* fix test names

* update text

* add whats new notification for firefox and ledger users

* update action button link

* update notification text

* update viewed notification

* update coverage

* update coverage
2023-04-20 07:44:43 -02:30
Dan J Miller
baf0ad5c21 Fix swaps controller: update provider after networkIdStore state update (#18670)
* Fix swaps controller: update provider after networkIdStore state update

* Listen for changes on networkController.store, instead of networkController.networkIdStore, in the swaps controller

* Fix unit tests
2023-04-19 18:17:23 -02:30
Mark Stacey
cffce88e32 Fix Sentry console logs (#18539)
Sentry console logs were failing with the error "Error: TypeError:
Cannot read properties of undefined (reading 'log')". This error has
been fixed; now Sentry can log errors to the console.

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-19 16:58:49 -02:30
Danica Shen
5e95e8140f fix(18574): fix new BigNumber() not a number: undefined for setApprovalForAll method (#18660) 2023-04-19 16:58:35 -02:30
David Drazic
525d5ff54e [FLASK] Revert changes made to stable permission display (UI design) (#18470)
* Revert changes made to stable permission display (UI design)

* Add test for new component

* Update paddings for install flow

* Fix missing icons on snap installation flow

* Update storybook path

* Add targetSubjectMetadata param

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2023-04-19 14:09:09 -02:30
vthomas13
b7518c0810 adding notification 18 title (#18526)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-19 13:07:33 -02:30
PeterYinusa
aef27db737 update policies 2023-04-19 16:24:47 +01:00
Dan J Miller
bffbfe1fad Fix merge conflict introduced by cherry-picking ad11352 without also having 3577d3545f on the branch 2023-04-19 11:31:30 -02:30
Jyoti Puri
e091e77674 Update gas limit on token allowance change (#18524)
* Update gas limit on token allowance change

* Fix unit test case

* lint: remove unused var txParams

* fix

* fix

* fix e2e

* fix e2e

* fix e2e

* fix e2e

* fix e2e

* fix build

* fix build

* fix build

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobt <6wbvkn0j@anonaddy.me>
2023-04-19 07:50:37 -02:30
Brad Decker
ad11352199 use network did change instead of state update for assetsContractController (#18629) 2023-04-19 07:50:37 -02:30
Jyoti Puri
600909418c Fix approve all warning modal (#18613)
* Fix approve all warning modal

* fix

* fix

* fix
2023-04-19 07:50:37 -02:30
Dan J Miller
3cc82898a6 Ledger trezor display (#18637)
* gst

* Only display ledger info on approval screen for ledger hardware wallets
2023-04-19 07:50:37 -02:30
Dan J Miller
a97383d62e Pass correct params to fetchEstimatedL1Fee in the swaps controller (#18634) 2023-04-19 07:50:37 -02:30
Jyoti Puri
b69e662ba5 Fix error in console on rejecting signature request (#18614) 2023-04-19 07:50:37 -02:30
Danica Shen
f8f1abf53c fix/18577: Add title back for approving ERC20 token (#18617)
* fix/18577: Add title back for approving ERC20 token

* Apply suggestions from code review

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

---------

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-04-19 07:50:36 -02:30
Jyoti Puri
9fa099f5fc Fix issue with requests with empty data being forwarded to opensea (#18598) 2023-04-19 07:50:36 -02:30
Ariella Vu
7e14686ec7 siwe: add ledger instructions (#18589) 2023-04-19 07:50:36 -02:30
Matthew Walsh
58ed6af3a4 Disable rate limiting for signature approval requests (#18594) 2023-04-19 07:50:32 -02:30
George Marshall
2575fe1da8 Fix hold to reveal button (#18496) 2023-04-19 07:46:56 -02:30
Jyoti Puri
ca7f61126c Improvement on approval pages (#18545) 2023-04-19 07:46:56 -02:30
Dan J Miller
2fb016e243
Merge pull request #18535 from MetaMask/Version-v10.28.3
Version v10.28.3 RC
2023-04-11 21:06:08 -02:30
legobeat
0ef2680294 deps/security: vm2@3.9.11->3.9.15 (#18512)
Fixes CVE-2023-29017 / GHSA-7jxr-cg7f-gpgv
2023-04-11 17:59:58 -02:30
Dan J Miller
8220051390 Fix changelog for v10.28.3 2023-04-11 17:58:43 -02:30
Dan J Miller
6a14f12c76 Ensure that all networkConfiguration object in networkController state have an id (#18513)
* Ensure that all networkConfiguration object in networkController state have an id

* Lint fix

* Update app/scripts/migrations/084.ts

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Add unit tests for error cases

* Simplify code

* Remove unnecessary any typing

* Fix network controller type checking

* Lint fix

* Improve typing

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-04-11 17:47:42 -02:30
MetaMask Bot
2cc41c9bb8 Version v10.28.3 2023-04-11 19:23:04 +00:00
Dan J Miller
22cb8cefe7
Merge pull request #18486 from MetaMask/Version-v10.28.2
Version v10.28.2 RC
2023-04-06 13:12:47 -07:00
Dan J Miller
afc7ec3a6a Update change log 2023-04-06 15:18:17 -02:30
Dan J Miller
d8e79188a5 Fix locale file issues on chrome store (#18487) 2023-04-06 14:52:04 -02:30
MetaMask Bot
467858fb78 Version v10.29.0 2023-04-06 17:07:58 +00:00
vthomas13
227af24483 Bumping notification id's to 18 & 19 (#18460)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-04-06 14:31:31 -02:30
Dan J Miller
43d5bf152c Fix switch-ethereum-chain handler by passing configuration id to setA… (#18483)
* Fix switch-ethereum-chain handler by passing configuration id to setActiveNetwork

* fix e2e test

* Fix e2e tests

* Update test/e2e/tests/switch-custom-network.spec.js

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Revert "Update test/e2e/tests/switch-custom-network.spec.js"

This reverts commit be533ff7f25e1fd42e951d9b817b8438035ae256.

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-06 14:31:31 -02:30
MetaMask Bot
0cb53f74f2 Version v10.28.2 2023-04-06 15:14:11 +00:00
vthomas13
c6cd3c9ff2
Bumping notification id's to 18 & 19 (#18460)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-04-06 12:38:11 -02:30
Dan J Miller
afa09ddf6c
Fix switch-ethereum-chain handler by passing configuration id to setA… (#18483)
* Fix switch-ethereum-chain handler by passing configuration id to setActiveNetwork

* fix e2e test

* Fix e2e tests

* Update test/e2e/tests/switch-custom-network.spec.js

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Revert "Update test/e2e/tests/switch-custom-network.spec.js"

This reverts commit be533ff7f25e1fd42e951d9b817b8438035ae256.

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-06 12:37:34 -02:30
Bowen Sanders
90f4e47326
[FLASK] More Snaps E2E Optimization and Delay Reductions (#18245)
* bip32 delay reduction

* asserts changed to waitFors in 32/44

* scrollTo change

* replaced delay for firefox flake

* more reduced delays

* more delay reductions and changes

* raise paralellism to 4 for snaps tests

* additional delay changes

* fixed update code

* removed comment

* removed another comment
2023-04-06 10:57:11 -04:00
Dan J Miller
b2dc2c4639
Fix firsttimeloaded logic (#18344)
* use session storage, instead of chrome.runtime.onStartup and globalThis, for firstTimeLoaded architecture

* Ensure account tracker accounts remain defined upon service worker restart

* lint fix

* Simplify code

* Only call browser.storage.session in mv3

* Only call browser.storage.session.set after resetStates in mv3

* fix metamask controller reset states unit tests

* fix test

* fix test

* Actually fix tests

* lint fix
2023-04-06 12:13:01 -02:30
António Regadas
cf0b48a009
removes unnecessary images (#18484) 2023-04-06 15:32:01 +01:00
Danica Shen
f92e463a0f
fix: Pass correct optimism chain id to gas estimation (#18478) 2023-04-06 12:50:52 +01:00
Aditya Patel
18ff108627
Typography to text (#18382)
* Typography to text

* Update README.md

* Update README.md

* minor changes in custom file

* minor change

* Resolved Conflict issues

---------

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-04-06 16:40:14 +05:30
legobeat
a816a6e592
Fix typo: detetcted-tokens-link -> detected-tokens-link (#18408) 2023-04-06 18:31:45 +09:00
Thomas Huang
baee6f185c
Bump coverage (#18454)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-05 13:45:02 -02:30
George Marshall
4ce605f514
Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
George Marshall
94292fadc9
Small update to badgewrapper story (#18450) 2023-04-05 08:37:09 -07:00
Frederik Bolding
40628da3b4
[FLASK] Fix crash when requesting unknown snap permission (#18447) 2023-04-05 15:34:33 +02:00