1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
Commit Graph

17469 Commits

Author SHA1 Message Date
George Weiler
96f2ab4dae feat: adds linea mainnet buyable support in anticipation of July 11 launch (#19854)
* feat: adds linea mainnet support in anticipation of July 11 launch

* chore: fixes linting issue

* chore: adds comma for linting

---------

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-07-10 13:54:34 -02:30
Mark Stacey
9c278c3610
Resolve two new security advisories (#19940)
Two new security advisories have been resolved. These advisories are
causing CI to fail on `develop`. Neither presents any risk to us,
as they are prototype pollution issues that are prevented by lockdown.

The first advisory isn't easy for us to patch. It's caused by an
outdated version of `protobufjs` used by `@trezor/transport`. It has
been ignored for now, until Trezor updates that package.

For the second advisory (related to `tough-cookie`), it was resolved
by updating that dependency in our lockfile.
2023-07-10 12:56:34 -02:30
António Regadas
57519235bb
[MMI] Adds dev MMI configuration url (#19899)
* adds dev config url

* env var added to metamaskrc

* clean up

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-07-10 09:52:33 +01:00
Dan J Miller
e72f829cde
Merge pull request #19910 from MetaMask/Version-v10.33.1
Version v10.33.1 RC
2023-07-07 16:37:57 -02:30
Dan J Miller
5f6a61bec5 Update lavamoat for v10.33.1 2023-07-07 15:58:18 -02:30
Elliot Winkler
b385cbcbcc
Bump @metamask/network-controller to 10.3.0 (#19903)
In the new version of NetworkController, it will now precreate network
clients for built-in and custom networks and expose those network
clients for consumers. This furthers the multichain UX project by making
it possible for MetaMask to interface with multiple networks
simultaneously.

This commit also upgrades `@metamask/gas-fee-controller` to prevent a
peer dependency warning from showing up as well as
`@metamask/controller-utils` in order to reduce the dependency tree.
There are no user-facing changes to either package.
2023-07-07 12:14:18 -06:00
Matthew Walsh
779609de8d Patch signature controller to catch message promise (#19927) 2023-07-07 14:01:00 -02:30
Matthew Walsh
f31702653e Provide missing history property (#19896) 2023-07-07 14:01:00 -02:30
Dan J Miller
9187f32178 Version v10.33.1 2023-07-07 14:01:00 -02:30
Matthew Walsh
b70c4a8042
Patch signature controller to catch message promise (#19927) 2023-07-07 13:31:21 -02:30
David Walsh
4b38a2f054
UX: Multichain: Convert Networks Menu to Modal (#19803)
* UX: Multichain: Convert Networks Menu to Modal

* Fix padding

* Remove dead CSS

* moved show network to bottom

* updated snapshot

---------

Co-authored-by: NidhiKJha <menidhikjha@gmail.com>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-07-07 19:38:24 +05:30
David Walsh
64813fb660
UX: Multichain: Use Modal for AccountListMenu (#19809)
* UX: Multichain: Use Modal for AccountListMenu

* Update ui/components/multichain/account-list-menu/account-list-menu.js

Co-authored-by: George Marshall <george.marshall@consensys.net>

---------

Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-07-07 19:18:26 +05:30
Nidhi Kumari
a2730d46fb
updated background color (#19891) 2023-07-07 18:52:23 +05:30
Frederik Bolding
4918aa4c34
[FLASK] Fix Snaps UI divider (#19919) 2023-07-07 15:10:58 +02:00
Brad Decker
484dae32e8
test/e2e: add test for transaction finalized metric events (#19837)
* add transaction finalized metric events

* remove another time based property

* better error messaging

* try to guarantee order of events
2023-07-07 07:06:01 -05:00
George Weiler
90bfbf2725
feat: adds linea mainnet buyable support in anticipation of July 11 launch (#19854)
* feat: adds linea mainnet support in anticipation of July 11 launch

* chore: fixes linting issue

* chore: adds comma for linting

---------

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-07-07 06:59:35 -02:30
Matthew Walsh
3a42b01153 Fix infinite spinner when signing typed messages (#19894)
* Use fixed message-manager

* Remove resolution

* Dedupe

---------

Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-07-07 06:16:37 -02:30
OGPoyraz
64cbe1f2f8 Accept SignController approval request from frontend (#19184) 2023-07-07 06:16:37 -02:30
Nicholas Ellul
524ab017c7 Add edge case handling for tx utilities (#19907) 2023-07-07 06:16:37 -02:30
Matthew Walsh
4e63991cb7
Provide missing history property (#19896) 2023-07-07 09:05:58 +01:00
Pedro Figueiredo
8b2d4efd4a
Add stale bot to extension (#19759)
* add stale bot to extension

* Update .github/workflows/stale-issues-pr.yml

Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>

* change config

* tweak msgs

---------

Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
2023-07-07 08:32:43 +01:00
Matthew Walsh
84c54b75ea
Fix infinite spinner when signing typed messages (#19894)
* Use fixed message-manager

* Remove resolution

* Dedupe

---------

Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-07-06 21:20:26 -02:30
Nicholas Ellul
e0f99600a4
Add edge case handling for tx utilities (#19907) 2023-07-06 21:18:38 -02:30
Frederik Bolding
f829f0069d
[FLASK] Allow Snaps to use eth_accounts as a revokable permission (#19306)
* Add support for snap authorship component at the top of PermissionConnect

* Add PermissionCellOptions

* Add details popover

* Add action for revoking dynamic permissions

* Improve UI and revoke logic

* Better eth_accounts screen support

* Fix tests

* Fix lint

* More linting fixes

* Fix missing fence

* Add another fence

* Unnest permission page to fix weird CSS issues

* Hide footer on permissions connect when using a snap
2023-07-06 22:54:27 +02:00
Dan J Miller
e8bd57fd13
Fix flaky test by stop estimating gas when starting a draft transaction in the send flow (#19897)
* Stop estimating gas when starting a draft transaction in the send flow, because other estimates will happen later

* fix: test fixing overlay dom issue

* Stop estimating gas when starting a draft transaction in the send flow, because other estimates will happen later

* fix: remove extra await delays

---------

Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-07-06 20:57:02 +01:00
António Regadas
2c22e85947
[MMI] personal sign and sign typed logic (#19892)
* adds missing logic

* lint fixes
2023-07-06 16:10:03 +01:00
Frederik Bolding
5d3690aa24
Fix a recent code-fencing issue with keyring snaps (#19874) 2023-07-06 11:15:14 +02:00
David Walsh
1247e03a33
Fix #19856 - Don't autoclose Modals when Popover items are clicked (#19857) 2023-07-05 10:11:49 -07:00
David Walsh
945508c895
UX: Multichain: Convert AccountDetails Popover to Modal (#19811)
* UX: Multichain: Convert AccountDetails Popover to Modal

* Fix E2E

* updated spec file

---------

Co-authored-by: NidhiKJha <menidhikjha@gmail.com>
2023-07-05 18:27:02 +05:30
Monte Lai
daf373251b
fix: fetch for snap registry (#19866) 2023-07-05 20:54:46 +08:00
António Regadas
95d1b3bb3b
[MMI] Adds missing return for MMI (#19869)
* adds missing return for mmi

* clean up
2023-07-05 11:29:17 +01:00
David Walsh
fdac94e361
Fix #19832 - UX: Multichain: Move location of test networks (#19812)
* UX: Multichain: Move location of test networks

* Re-add Linea
2023-07-05 15:31:45 +05:30
António Regadas
ecea2d7506
[MMI] fix note to trader (#19868)
* update styles

* updates snapshot

* prettier

* clean up
2023-07-05 11:00:15 +01:00
Danica Shen
c0483e118d
feature(19457): fix encrypt-decrypt.spec.js flaky tests (#19725)
* feature(19457): fix encrypt-decrypt.spec.js flaky tests

* feature(19457): refactor more of findElement and getText
2023-07-04 18:36:51 +01:00
David Walsh
98c571e90d
UX: Multichain: Use new Box component (#19794)
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-07-04 20:47:05 +05:30
Nidhi Kumari
fa84aa8b0a
Render correct image in the asset dropdown while sending an NFT (#19787)
* show native token image for native token in asset dropdown list

* remove console statements
2023-07-04 18:30:11 +05:30
David Walsh
a3974d8462
Fix #19835 - Update BNB Chain name (#19836) 2023-07-04 18:07:09 +05:30
David Walsh
aa95fe838a
Fix #19764 - Move Token Options Menu (#19765) 2023-07-04 18:06:58 +05:30
David Walsh
e05aec8502
Fix #19830 - UX: Multichain test linting (#19792)
* Fix address-copy-button.test.js

* Fix connected-site-menu.js

* Fix app-header.test.js

* Fix product-tour-popover.test.js
2023-07-04 17:30:09 +05:30
Mark Stacey
18699ccb0e
Add metamaskbot comment when policy update fails (#19772)
The `metamaskbot` account now comments with a failure message when the
policy update fails. This comment also includes a link to the specific
run that failed, so that the PR author can review the log and/or retry
the policy update.
2023-06-30 21:28:19 -02:30
George Marshall
7c014896e8
Fix hold to reveal button on mobile browsers (#19847)
* Replacing MouseDown/Up events with PointerDown/Up so works on mobile browsers

* More test updates

* More test updates
2023-06-30 14:11:29 -07:00
Garrett Bear
a41219ceb8
Update Design Tokens & Add New Text Variants (#19853)
* update button font weight to medium

* update design-tokens and add new Text medium

* undo button base weight change

* fix unused import

* update snapshot

* fix yarn dedupe

* update readme
2023-06-30 11:35:43 -07:00
Mark Stacey
8404b8a3fc
Allow partially re-running a policy update (#19773)
Today if you try to re-run failed jobs in a policy update, it will
fail to restore caches from jobs that were successful. This could
result in a partial update, or a misleading "No policy changes"
message when there are policy changes to make. It's only safe to re-
run the entire workflow.

The cache key has been updated to reference the commit hash instead of
the run ID, making it safe to re-run just the failed jobs.
2023-06-30 13:01:17 -02:30
Dan J Miller
1c8b4bb27a Version v10.34.0 2023-06-30 12:44:27 -02:30
Dan J Miller
6bde562b73
Merge pull request #19841 from MetaMask/master-sync
Master sync following v10.33.0
2023-06-30 12:31:54 -02:30
Albert Olivé
9e5eada190
Added code fences to updateExtensionUninstallUrl (#19845) 2023-06-30 16:27:16 +02:00
Albert Olivé
7c7b5fe3aa
[MMI] Added custom title for institutional (#19844)
* Added custom title for institutional

* passing prop isMMI to notification view
2023-06-30 15:53:55 +02:00
Albert Olivé
17c5964735
[MMI] Removed institutional portfolio dashboard (#19842)
* Removed institutional portfolio dashboard

* Fixed eslint

* Removed unused key
2023-06-30 15:19:59 +02:00
weizman
a3f811957e
fix: skip snow usage for MV3 test build (#19827)
* try fix

* fix lint for app-init.js

* fix lint for use-snow.js

* remove comment in app-init.js

---------

Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-06-30 13:22:07 +01:00
Albert Olivé
5545e5e581
Added code fence to remove backup notice (#19840) 2023-06-30 14:03:47 +02:00