1
0
Fork 0
Commit Graph

2182 Commits

Author SHA1 Message Date
Jyoti Puri 2a7776dcf9
Updating ppom validator (#20756) 2023-09-07 05:48:58 +05:30
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
Jyoti Puri ab37800007
Update PPOM Validator (#20738) 2023-09-05 23:17:38 +05: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
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
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
cryptodev-2s 656b7878c2
Use getEncryptionPublicKey from Core KeyringController (#20646) 2023-08-30 18:10:37 +01:00
weizman 982a1b2c51
Bump @metamask/post-message-stream and extension-port-stream core libs (#20659) 2023-08-30 18:32:17 +03:00
Mark Stacey 0c9a61aabe
Merge pull request #20637 from MetaMask/master-sync
Sync `develop` with v10.35.0
2023-08-29 17:27:34 -02:30
Frederik Bolding ebae98d301 Bump snaps packages to `1.0.2` (#20643) 2023-08-29 15:45:41 +02:00
Frederik Bolding 6254fbb98d
Bump snaps packages to `1.0.2` (#20643) 2023-08-29 15:33:10 +02:00
Mark Stacey c065468832 Merge remote-tracking branch 'origin/develop' into master-sync
* origin/develop: (302 commits)
  Added deprecatation comment to menu.js file and Add deprecation notice to storybook (#20622)
  deprecating NetworkDisplay in favour of PickerNetwork (#20619)
  deprecating ConfirmPageContainerWarning in favour of BannerAlert (#20621)
  deprecating Dialog in favour of BannerAlert (#20623)
  Fixing linting issue caused by bad merge of HoldToRevealModal and the Button component library component TS migration (#20634)
  Feat/18890/button ts update (#20492)
  20488: Declare <Chip/> as deprecated (#20579)
  fix: Remove obsolete network controller state properties (#20586)
  Fix Sentry source maps (#20616)
  Track snap uninstalls (#20624)
  split advancedGasFee by network and erase previous options (#20576)
  Part of #20163 for file ui\components\app\detected-token\detected-token-values\detected-token-values.js (#20537)
  Fix account selectors when balances are missing (#20385)
  fix:fix error of balance fetching when add/import an account (#20612)
  fix:remove extra $ after variale in french locale (#20606)
  Multichain v1 App Footer component (#20550)
  Updating watch NFT page header (#20569)
  Always show connected accounts permissions if they exist (#20600)
  Update snaps-related copy (#20601)
  Added missing bindings (#20602)
  ...
2023-08-29 00:44:06 -02:30
Mark Stacey e045476ce7 Version 10.35.1 2023-08-24 11:24:55 -02:30
Howard Braham d3d30fd373
fix(settings): fixed two IPFS gateway issues (#19700)
* fix(settings): fixed two IPFS gateway issues

- adds back in two bugfixes that were originally in #19283
  - fixes #16871
  - fixes #18140

- achieves 100% code coverage for /ui/pages/settings/security-tab
- removes the npm package `valid-url`, which has not been updated in 10 years

* changes after #20172 was merged

* improved URL validation (specifically spaces)

* better Jest coverage

* response to legobeat review

* fixing lint and Jest
2023-08-22 22:13:13 -07:00
Dan J Miller b8525566f2
Enable legacy HD paths for trezor users (#19552)
* Update eth-trezor-keyring to v1.1.0

* Revert "Revert "feature: Add legacy derivation path to Trezor (#19443)" (#19451)"

This reverts commit b5ef94b9f0.

* Fix trezor import

* Update lavamoat policies

* Remove accidentally committed code

* Fix type in previous commit
2023-08-22 16:11:52 -04:00
Albert Olivé a712298f18
updated mmi packages version (#20545)
* updated mmi packages version

* Update LavaMoat policies

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-08-21 15:49:54 +02:00
Frederik Bolding e9c641dfcd Enable snaps in stable (#19134)
* Enable Snaps feature flag in stable

* Run snaps E2Es in stable

* Fix CI config indentation

* Fix CI paths

* Update LavaMoat policies

* Update iframe URL

* Exclude some tests from running in stable e2e

* Disable another test on stable

* Bump to 1.0.1

* Fix config.yml issue due to staleness

* Stop running newly added test

* Update snapshots used for E2E

* Use shallow-git-clone
2023-08-19 08:01:24 -02:30
Frederik Bolding 86987d18cf `snaps@1.0.0` (#20450) 2023-08-19 07:48:04 -02:30
Maarten Zuidhoorn 7447fe14a9 [FLASK] Bump Snaps packages (#20230)
* Bump Snaps packages

* Add endowment:lifecycle-hooks permission

* Run yarn lint:fix

* Fix unit test

* Update LavaMoat policies

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-08-19 07:07:13 -02:30
Frederik Bolding d40306f295 [FLASK] `snaps@0.37.1-flask.1` (#20069)
* snaps@0.37.0-flask.1

* Update LavaMoat policies

* Add support for disabling markdown

* Update execution env URL

* Bump patch version
2023-08-19 07:05:37 -02:30
Dan J Miller 32fdf08f27 Version v11.0.0 2023-08-19 06:51:15 -02:30
Dan J Miller 313deae6d1 Merge remote-tracking branch 'origin/master' into Version-v10.35.0 2023-08-18 21:13:57 -02:30
Dan J Miller c32b406989 Merge origin/develop into master-sync 2023-08-18 21:09:08 -02:30
Gauthier Petetin 23249b68b7
feat: github actions to automatically create and close bug report issue (#20391)
* feat(action): github action to create bug report issue at RC cut

* feat(action): github action to close bug report issue once release is ready

* fix(action): replace main by master

* fix(action): create event does not support branch filter

* fix(action): indentation

* fix(action): actionlint erors

* fix(action): actionlint erors 2

* fix(action): actionlint erors 3

* fix(action): replace npm by yarn for consistency
2023-08-18 12:57:04 -03:00
Jyoti Puri 861c30de29
Updating blockaid related packages (#20480) 2023-08-17 20:50:07 +05:30
Frederik Bolding 8f178bcc26
Enable snaps in stable (#19134)
* Enable Snaps feature flag in stable

* Run snaps E2Es in stable

* Fix CI config indentation

* Fix CI paths

* Update LavaMoat policies

* Update iframe URL

* Exclude some tests from running in stable e2e

* Disable another test on stable

* Bump to 1.0.1

* Fix config.yml issue due to staleness

* Stop running newly added test

* Update snapshots used for E2E

* Use shallow-git-clone
2023-08-17 15:43:01 +02:00
Albert Olivé 486ade85f3
[MMI] Fixed connect mmi button several issues (#20455)
* fixed connect mmi button several issues

* Fixed snapshot

* Improved multiple things

* running yarn dedupe

* Update LavaMoat policies

* For some reason, this.mmiConfigurationController.store.mmiConfiguration?.portfolio sometimes is undefined, added [] if null.
Moved the || {} outside the find method

* minor improvements

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-08-17 14:50:40 +02:00
Michele Esposito 3aa5b7d362
Use `importAccountWithStrategy` from core `KeyringController` (#19815)
* refactor: use new importaccount from keyring controller

* Update LavaMoat policies

* Update LavaMoat policies

* Update LavaMoat policies

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-08-17 09:11:51 +02:00
Frederik Bolding e7b113caa2 Bump SES to fix audit failure (#20434)
* Bump SES to fix audit failure

* Freeze Symbol
2023-08-16 22:51:49 -02:30
Dan Miller 72d20c92d6 Version v10.34.5 2023-08-16 14:29:17 -02:30
Frederik Bolding 260962402b
`snaps@1.0.0` (#20450) 2023-08-15 09:38:38 +02:00
Frederik Bolding e0a6435f62
Bump SES to fix audit failure (#20434)
* Bump SES to fix audit failure

* Freeze Symbol
2023-08-14 16:30:34 -02:30
Dan J Miller b74ab3f26c Merge remote-tracking branch 'origin/master' into Version-v10.35.0 2023-08-14 14:31:37 -02:30
Dan J Miller e9fbf8591f
Merge pull request #20403 from MetaMask/master-sync
Master sync PR following v10.34.3 and v10.34.4
2023-08-14 14:00:46 -02:30
MetaMask Bot 928cb61dd4 Version v10.35.0 2023-08-14 13:54:16 -02:30
Jyoti Puri 2550eaa9ac
PPOM dependency updates (#20342) 2023-08-14 21:48:40 +05:30
Dan J Miller bd37b30cda Merge origin/develop into master-sync 2023-08-14 12:34:43 -02:30
Dan Miller 15bf697538 Version v10.34.4 2023-08-06 20:42:30 -02:30
Alex Donesky 6594f7074e
adapt to use networksMetadata state instead of single networkStatus and networksDetails state (#20219) 2023-08-03 12:31:35 -05:00
Dan J Miller f526c170e2 v10.34.2 2023-08-03 13:41:16 -02:30
Dan J Miller 8e8bef1f87
Merge pull request #20373 from MetaMask/master-sync
Master sync PR following v10.34.2
2023-08-02 19:11:53 -02:30
Alex Donesky bf9311555d
bump @metamask/network-controller from v10.3.1 to v11.0.0 (#20367)
* bump @metamask/network-controller from v10.3.0 to v11.0.0

* add lavamoat policy files

* fix

* tweak
2023-08-02 16:22:35 -05:00
Dan J Miller 39edef5136 Merge origin/develop into master-sync 2023-08-02 18:20:46 -02:30
Brad Decker 038eb63eb0
Upgrade to yarn 4 (#20249) 2023-08-01 17:19:19 -05:00
Mark Stacey 1ed8f99fdf Remove fallback phishing warning configuration (#20327)
* Remove fallback phishing warning configuration

The package `@metamask/phishing-controller` has been updated from v4
v6. The only breaking changes are a minimum Node.js version bump, and
the removal of the fallback phishing configuration.

The fallback phishing configuration was resulting in MetaMask being
incorrectly flagged as malware, and the stale config was causing
problems for sites that had been blocked in the past but have since
been unblocked. This should substantially reduce the bundle size as
well.

* Update LavaMoat policies

* Update test state to include example blocked site

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-08-01 00:17:07 -02:30
Mark Stacey 990dc33fc6
Remove fallback phishing warning configuration (#20327)
* Remove fallback phishing warning configuration

The package `@metamask/phishing-controller` has been updated from v4
v6. The only breaking changes are a minimum Node.js version bump, and
the removal of the fallback phishing configuration.

The fallback phishing configuration was resulting in MetaMask being
incorrectly flagged as malware, and the stale config was causing
problems for sites that had been blocked in the past but have since
been unblocked. This should substantially reduce the bundle size as
well.

* Update LavaMoat policies

* Update test state to include example blocked site

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-07-31 22:26:40 -02:30
Nicholas Ellul db92bef002 Update @metamask/phishing-controller to v4.0.0 (#18840)
* Update phishing controller to v4.0.0

* Move phishing e2e test utilities into its own helper.js

* Update phishing detection e2e test

* Update MetaMask Controller test mocks

* Update mv3 phishing tests

* Fix test for 500 error on warning page

* Allow for directories in test folder

* Update migration number

* Linting fixes

* Remove fail on console error

* Separate mocks from helpers

* Have migration delete PhishingController state entirely

* Remove phishing detection directory

* Only delete the listState in migration

* Bump migration version
2023-07-31 17:55:48 -02:30
Brad Decker e2e1a5fe07
Use node 18 (#20308)
* use node v18
2023-07-31 14:51:39 -05:00
Nicholas Ellul b76875ac69
Update @metamask/phishing-controller to v4.0.0 (#18840)
* Update phishing controller to v4.0.0

* Move phishing e2e test utilities into its own helper.js

* Update phishing detection e2e test

* Update MetaMask Controller test mocks

* Update mv3 phishing tests

* Fix test for 500 error on warning page

* Allow for directories in test folder

* Update migration number

* Linting fixes

* Remove fail on console error

* Separate mocks from helpers

* Have migration delete PhishingController state entirely

* Remove phishing detection directory

* Only delete the listState in migration

* Bump migration version
2023-07-31 10:18:48 -02:30