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

17891 Commits

Author SHA1 Message Date
Mark Stacey
3c900794a2 Merge remote-tracking branch 'origin/develop' into master-sync
* origin/develop: (352 commits)
  Update PPOM Validator (#20738)
  Update Snap privacy warning content (#20741)
  Use versioned URL for `manageAccounts` test (#20739)
  fix(readme): yarn v3 no longer required (#20713)
  fix(20548): fix warning levels in migration file (#20737)
  Add missing derivation path names (#20735)
  feat(locale): New Crowdin translations by Github Action (#20563)
  Blockaid validation should be done on ethereum mainnet only (#20709)
  Reverting ppom.js file to old version (#20566)
  Added Specification for opBNB as a multilayer network (#20715)
  Use transactions array in frontend (#20523)
  Add what's new popup for snaps (#20686)
  Fix position of a warning triangle icon on Snap Install Warning (#20712)
  Reduce logging in production builds (#20694)
  Add resolution for `semver` (#20710)
  feat: Update Blockaid copies on What's new modal, Settings, and BannerAlert (#20671)
  add whatsnew popup to drop ledger support for firefox (#19498)
  AvatarIcon prod updates and some deprecated fixes (#20557)
  Fix missing property on snap export metric (#20685)
  Subscribe to event fired by KeyringController on account removal (#20478)
  ...
2023-09-05 17:03:48 -02:30
Mark Stacey
75c213a551
Merge pull request #20539 from MetaMask/Version-v11.0.0
Version v11.0.0
2023-09-05 16:36:17 -02:30
David Drazic
b72df4386c Update Snap privacy warning content (#20741)
* Update Snap privacy warning content

* Update unit test

* Remove translations
2023-09-05 19:48:02 +02:00
Jyoti Puri
ab37800007
Update PPOM Validator (#20738) 2023-09-05 23:17:38 +05:30
Frederik Bolding
2af52bb8da Use versioned URL for manageAccounts test (#20739) 2023-09-05 19:46:00 +02:00
David Drazic
335d9598a9
Update Snap privacy warning content (#20741)
* Update Snap privacy warning content

* Update unit test

* Remove translations
2023-09-05 19:45:09 +02:00
Frederik Bolding
376ceb216d
Use versioned URL for manageAccounts test (#20739) 2023-09-05 18:46:38 +02:00
Gauthier Petetin
25114997c4
fix(readme): yarn v3 no longer required (#20713)
Modern releases of yarn are not intended to be installed globally or via npm. The good practice now is to use Corepack, a utility included with Node.js by default, that manages Yarn on a per-project basis, based on the version specified by the packageManager property in the project's package.json file.
2023-09-05 09:02:42 -07:00
Danica Shen
8608655886
fix(20548): fix warning levels in migration file (#20737) 2023-09-05 16:57:19 +01:00
Maarten Zuidhoorn
6c7da3e146 Add missing derivation path names (#20735) 2023-09-05 16:49:07 +02:00
Maarten Zuidhoorn
0962e85a1b
Add missing derivation path names (#20735) 2023-09-05 16:48:34 +02:00
MetaMask Bot
519444163c
feat(locale): New Crowdin translations by Github Action (#20563)
* New Crowdin translations by Github Action

* fix(locale): trigger a success pipeline with CLA verified

---------

Co-authored-by: metamaskbot <metamaskbot@users.noreply.github.com>
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-09-05 14:49:07 +01:00
Jyoti Puri
7906f18104
Blockaid validation should be done on ethereum mainnet only (#20709) 2023-09-05 15:43:43 +05:30
Jyoti Puri
997d1359d2
Reverting ppom.js file to old version (#20566) 2023-09-05 05:44:15 +05:30
Jyoti Puri
0e9845f5a0
Added Specification for opBNB as a multilayer network (#20715)
* added configuration for gas calculations for opBNB

* updated configuration for gas calculations of opBNB

* Specify that opBNB is a multilayer network

* fixed prettier issues

* Update

---------

Co-authored-by: RumeelHussainbnb <rumeelhussainbnb@gmail.com>
2023-09-05 05:43:16 +05:30
Frederik Bolding
6ac82cefe2 Add what's new popup for snaps (#20686)
* Add what's new popup for snaps

* Update SVG

* Update copy and link out

* Update SVG and fix lint

* Fix unnecessary space in copy

---------

Co-authored-by: Howard Braham <howrad@gmail.com>
2023-09-04 23:09:47 +02:00
Matthew Walsh
07adba5926
Use transactions array in frontend (#20523)
Send the entire transactions array to the frontend rather than currentNetworkTxList and unapprovedTxs.
2023-09-04 16:48:25 +01:00
Frederik Bolding
6ee90ac8b2
Add what's new popup for snaps (#20686)
* Add what's new popup for snaps

* Update SVG

* Update copy and link out

* Update SVG and fix lint

* Fix unnecessary space in copy

---------

Co-authored-by: Howard Braham <howrad@gmail.com>
2023-09-04 16:41:06 +02:00
David Drazic
51cdb73a5f
Fix position of a warning triangle icon on Snap Install Warning (#20712) 2023-09-04 16:08:37 +02:00
Mark Stacey
da138106f2 Reduce logging in production builds (#20694)
Our logger middleware can be quite noisy in production, logging all RPC
requests. It has been updated to have more condensed logs in production
builds, but preserving the existing logging for development builds.
2023-09-04 15:23:53 +02:00
Mark Stacey
20f654a348
Reduce logging in production builds (#20694)
Our logger middleware can be quite noisy in production, logging all RPC
requests. It has been updated to have more condensed logs in production
builds, but preserving the existing logging for development builds.
2023-09-04 10:35:23 -02:30
Frederik Bolding
52f4936fa1
Add resolution for semver (#20710)
* Add resolution for semver

* Update LavaMoat policies

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-09-04 11:27:33 +02:00
Ariella Vu
3d2de0211d
feat: Update Blockaid copies on What's new modal, Settings, and BannerAlert (#20671)
* feat: update Blockaid What's New copy

* feat: update Blockaid settings description copy

* feat: remove Blockaid more providers copy

* feat: update experimental settings padding

* feat: update Blockaid copy transactions -> transaction

* feat: rm Blockaid select provider copies

* feat: use blockaid BannerAlert "Powered By" copy

* style: add Blockaid toggle padding

* fix: rm unused notifications23DescriptionThree
also remove translactions for notifications23DescriptionOne except en
since it has been updated

* fix: What's New popup notif 23 test
following removal of notifications23DescriptionThree
2023-09-01 10:46:20 -07:00
Monte Lai
907cd8b7d1
add whatsnew popup to drop ledger support for firefox (#19498)
* add whatsnew popup to drop ledger support for firefox

* add missing 21 ui notification

* improved look of notification

* added NOTIFICATION_DROP_LEDGER_FIREFOX to prep for merge with develop

---------

Co-authored-by: Howard Braham <howrad@gmail.com>
2023-09-01 12:38:04 -04:00
Garrett Bear
92f04eb6e8
AvatarIcon prod updates and some deprecated fixes (#20557)
* AvatarIcon prod updates and some deprecated fixes

* fix flex display

* fix iconsize on props

* fix IconSize import

* IconSize

---------

Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-09-01 07:26:29 -07:00
Frederik Bolding
10ccbfc68d
Fix v11 RC issues following merge (#20690)
* Update LavaMoat policies

* Update sentry mask

* Update snapshots
2023-09-01 15:51:40 +02:00
Frederik Bolding
7cb69ceb95
Merge branch 'master' into Version-v11.0.0 2023-09-01 14:03:30 +02:00
Frederik Bolding
01786ad199 Fix missing property on snap export metric (#20685) 2023-09-01 13:56:04 +02:00
Frederik Bolding
acf386c609
Fix missing property on snap export metric (#20685) 2023-09-01 13:10:42 +02:00
Mark Stacey
32c4559349
Merge pull request #20680 from MetaMask/master-sync
Sync v10.35.1 with `develop`
2023-08-31 21:46:27 -02:30
Mark Stacey
df2d57e5db Merge remote-tracking branch 'origin/develop' into master-sync
* origin/develop: (333 commits)
  Subscribe to event fired by KeyringController on account removal (#20478)
  Updating padding for 'import-token__custom-token-form' to match 'import-token__search-token' in Import Token Modal (#20661)
  [MMI] Adding missing logic to handle custodian approval in token allowance (#20662)
  style: fix Settings pages padding (#20674)
  Fix #20648 - Show Linea ETH fiat value by default (#20672)
  Fix: UnitInput too narrow for small and trailing zeroed numbers (#20666)
  fix(20314): fix window.left negative value causing polifll warning (#20653)
  UX: Create selector for blockie preference (#20577)
  style: update Desktop App settings styles (#20676)
  UX: Nit: Avoid AccountPicker props error (#20645)
  Bump test-dapp to v7.1.0 (#20665)
  use @blockaid/ppom_release vs @blockaid/ppom (#20669)
  Use getEncryptionPublicKey from Core KeyringController (#20646)
  fix/BannerTip to TS (#20538)
  Declared <IconWithFallback/> as deprecated (#20656)
  Bump @metamask/post-message-stream and extension-port-stream core libs (#20659)
  Fix Blockaid and OpenSea BannerAlert placement for Token Allowance, Confirm Pages, SIWE, and Signature V3/V4 pages (#20530)
  Use `verifySeedPhrase` from `KeyringController` (#19817)
  Update network.ts (#20617)
  Declared <TextField/> as deprecated (#20640)
  ...
2023-08-31 15:43:24 -02:30
Mark Stacey
a7b4c20f32
Merge pull request #20588 from MetaMask/Version-v10.35.1
Version 10.35.1
2023-08-31 15:11:34 -02:30
cryptodev-2s
83b1f1714d
Subscribe to event fired by KeyringController on account removal (#20478) 2023-08-31 18:35:34 +01:00
Bra0xit
2180d9c584
Updating padding for 'import-token__custom-token-form' to match 'import-token__search-token' in Import Token Modal (#20661)
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-08-31 21:37:45 +05:30
Albert Olivé
3376ea4e95
[MMI] Adding missing logic to handle custodian approval in token allowance (#20662) 2023-08-31 17:45:07 +02:00
Ariella Vu
ec0a02fe40
style: fix Settings pages padding (#20674) 2023-08-31 08:15:04 -07:00
David Walsh
9b1de22ce9
Fix #20648 - Show Linea ETH fiat value by default (#20672) 2023-08-31 09:31:07 -05:00
Brian Bergeron
1e558af3b6
Fix: UnitInput too narrow for small and trailing zeroed numbers (#20666)
* fix: UnitInput too narrow for small and trailing zeroed numbers

* lint

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-31 09:29:29 -05:00
Danica Shen
90a89f3f5b
fix(20314): fix window.left negative value causing polifll warning (#20653)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-31 15:15:09 +01:00
David Walsh
53f585b68e
UX: Create selector for blockie preference (#20577)
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-31 08:53:22 -05:00
Ariella Vu
c15226325e
style: update Desktop App settings styles (#20676) 2023-08-31 06:50:21 -07:00
David Walsh
ebf2156573
UX: Nit: Avoid AccountPicker props error (#20645)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-31 08:46:40 -05:00
seaona
e50d94104c
Bump test-dapp to v7.1.0 (#20665)
* Bump test-dapp to v7.1.0

* Update erc721 tests with new dapp layout

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-31 12:55:49 +02:00
Brad Decker
92ad4bc35f
use @blockaid/ppom_release vs @blockaid/ppom (#20669)
* use @blockaid/ppom_release vs @blockaid/ppom

* build system file
2023-08-31 06:20:01 +09:00
Mark Stacey
6c644c5793 Update changelog to remove #20168 2023-08-30 16:21:06 -02:30
Pedro Figueiredo
e5ad6ef2b7 feat: Add more state props from controllers to Sentry mask (#20595)
* feat: update sentry mask adding  controller props to improve error monitoring

* fix:remove changes in chrome-driver dependency

* Remove properties from mask

* Add more values to mask

* Sort the mask alphabetically

* Add termsOfUseLastAgreed to mask

* Fix test imports

* Update policy gap test to compare UI mask

* Reorganize tests under one describe block

* Update snapshots

* Mask another timestamp in state snapshots

* Mask browser environment properties

* Add missing UI field mask, and refactor field masking/removal

* Eliminate remaining policy gaps

* Simplify ganache options

* Eliminate extra mask properties

* Update mask to capture dynamic keys

The mask now supports dynamic keys. This lets set more fine-grained rules
for which data to include within dynamic data structures.

The mask has been updated to include just top-level keys for various
token-related data collections in state. This lets us see the chain IDs
that users have tokens on. This will be useful in debugging Sentry
reports of invalid keys in these data structures.

* Add additional 'expected missing state' entries

* Remove unnecessary properties from state snapshot

* Add providerConfig.chainId to state snapshot

* Update error state snapshots

---------

Co-authored-by: Danica Shen <zhaodanica@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-08-30 16:21:06 -02:30
Mark Stacey
052e90ec7c Update changelog for v10.35.1 (#20650) 2023-08-30 16:21:06 -02:30
Brad Decker
6d2cc98b81 Add whats new popup for changes to advanced gas fee (#20632)
* Add whats new popup for changes to advanced gas fee

* Update shared/notifications/index.js

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

* updated text

* verified working, changed order of init

* use first renderer for formatting issue

---------

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-30 16:21:06 -02:30
Mark Stacey
ec23b00fc6 Update protobufjs checksum 2023-08-30 16:21:06 -02:30
Brad Decker
e801714992 fix weird lockfile irregularities (#20333)
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-08-30 16:21:06 -02:30