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

15343 Commits

Author SHA1 Message Date
Mark Stacey
d91ce9c4b5 Revert "Merge pull request #16353 from MetaMask/Version-v10.22.0"
This reverts commit 308033edbf, reversing
changes made to b8d71d6d1d.
2022-11-15 11:30:02 -03:30
Mark Stacey
308033edbf
Merge pull request #16353 from MetaMask/Version-v10.22.0
Version v10.22.0
2022-11-11 15:43:19 -03:30
seaona
d4d8a8a13d Add Changelog entry for fix Network form by validating chainId 2022-11-11 16:41:32 +01:00
Alex Donesky
68684bfd11 fix chainId validation on network form (#16452) 2022-11-11 11:01:07 -03:30
David Walsh
de0f1ec51b BETA - Update verbiage for success messages after onboarding (#16343) 2022-11-11 10:24:06 +01:00
Adnan Sahovic
568683d1c5 Warning on a Send transaction request (#16220) 2022-11-10 15:44:50 +01:00
Dan J Miller
1db38adf4c Call onbootcleanup at the end of the tx controller constructor (#16449)
* Call onbootcleanup at the end of the tx controller constructor

* Update app/scripts/controllers/transactions/index.js

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-11-10 14:30:50 +01:00
seaona
73ee36a972 Merge branch 'master' into Version-v10.22.0 2022-11-10 11:56:56 +01:00
seaona
15c7530601
Changelog for 10.22.0 (#16436)
* Changelog for 10.22.0

* Update CHANGELOG.md Fix crash after restoring MetaMask if you had snaps installed

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Update CHANGELOG.md Fix a problem with displaying snaps transaction insight data

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Update CHANGELOG.md Improve transaction confirmation page performance

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-11-10 10:00:45 +01:00
Nicholas Ellul
18f11fc0bc Fix the rendering of certain domain names in connected-sites list (#16074)
* Fix rendering origins in connected-sites list
2022-11-09 11:49:12 +01:00
seaona
ad5793bda9 Sync master and update changelog 2022-11-08 10:58:44 +01:00
Dan J Miller
b8d71d6d1d
Merge pull request #16395 from MetaMask/Version-v10.21.2
Version v10.21.2
2022-11-07 13:28:07 -03:30
seaona
a970ac7901 Fix lint 2022-11-07 12:38:47 +01:00
seaona
925253bc9f Changelog updated 2022-11-07 12:19:15 +01:00
Jyoti Puri
1e681f9918 Fix approve transaction call in _onBootCleanUp (#16382) 2022-11-07 12:11:34 +01:00
seaona
ab82ff53e7 Merge branch 'develop' into Version-v10.22.0 2022-11-03 16:41:18 +01:00
Daniel
d634ff89df
Enable and stabilise e2e tests for Swaps, add debouncing (#16326) 2022-11-03 14:54:49 +01:00
Thomas Huang
129ba1290e
Continue converting tests from enzyme to @testing-library/react (#16249) 2022-11-03 08:40:20 -05:00
seaona
47736bd571 Merge branch 'develop' into Version-v10.22.0 2022-11-03 09:04:41 +01:00
Alex Donesky
adad036466
Fix issue where ens resolution stops working after sw is terminated (#16335)
* fix issue where ens resolution stops working after sw is terminated
2022-11-02 16:19:32 -05:00
ryanml
a9839688fb
Fix Secret Recovery Phrase video clipping issue for smaller viewports (#16345) 2022-11-02 13:12:04 -07:00
Frederik Bolding
36b3fe029c
[FLASK] Fix crash on snaps settings page if snap has no permissions (#16354) 2022-11-02 17:37:05 +01:00
mirjanaKukic
95dcf072f8
added new tests for editing and deleting contact from address book (#16014)
lint fix

fix

added fixture builder
2022-11-02 14:28:17 +00:00
seaona
b3be9ceffa Run update-changelog script 2022-11-02 13:11:16 +01:00
Mark Stacey
19aa432643
Merge pull request #16351 from MetaMask/sync-master
Sync develop with master v10.21.1
2022-11-02 09:37:22 -02:30
seaona
6f78b5e67c Merge branch 'master' into develop 2022-11-02 12:15:20 +01:00
seaona
c246eaa8e2
Updating chromedriver to last stable version (#16310)
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2022-11-02 11:14:43 +01:00
kumavis
9a74c995bf
[LavaMoat] improve policy generation performance in dev workflow (#16338)
* npm scripts - rename lavamoat:background to lavamoat:webapp

* lavamoat - generate webapp policy - add devMode flag to run in node for speed

* lavamoat - generate webapp policy - dont lint fences

* lint fix
2022-11-01 08:52:38 -10:00
ryanml
d8372500cf
Fix "Learn more" link on Connected Account notification (#16339) 2022-11-01 08:43:10 -07:00
legobeat
b744eab176
ci: temporarily downgrade ubuntu to 20.04 (#16320) 2022-11-01 09:56:35 -02:30
Alex Donesky
aa59f7f89c
ensure that we default users with browser language code 'zh' to the supported 'zh_CN' language code (#16329) 2022-10-31 16:48:51 -05:00
Mark Stacey
ae197d02b6
Merge pull request #16328 from MetaMask/Version-v10.21.1
Version v10.21.1 RC
2022-10-31 17:14:10 -02:30
Alex Donesky
08a4f93b53
remove unused zh locales directory in favor of zh_CN (#16322) 2022-10-31 14:12:06 -05:00
Mark Stacey
e3d5dc52d1 Update changelog 2022-10-31 15:36:22 -02:30
MetaMask Bot
c70ac4462b Version v10.21.1 2022-10-31 17:59:00 +00:00
Mark Stacey
824184ed52 Increase provider rate limited to 5 minutes (#16308)
The metric event for provider methods has been increased from 1 minute
to 5 minutes. This will reduce the event rate, ensuring a maximum of
one event is tracked for each method call every five minutes.
2022-10-31 15:24:39 -02:30
Mark Stacey
25fae8d32e
Increase provider rate limited to 5 minutes (#16308)
The metric event for provider methods has been increased from 1 minute
to 5 minutes. This will reduce the event rate, ensuring a maximum of
one event is tracked for each method call every five minutes.
2022-10-31 15:24:01 -02:30
Mark Stacey
143793c480
Merge pull request #16309 from MetaMask/sync-master
Sync v10.21.0 with develop
2022-10-31 14:43:34 -02:30
Mark Stacey
f8e01a0690
Merge branch 'develop' into sync-master 2022-10-31 13:51:53 -02:30
Erik Marks
a8c1756816
Remove 3box feature and delete ThreeBoxController (#14571)
* Remove 3box feature and delete ThreeBoxController

Lint locale messages

lavamoat policy updates

* Restore 3Box user trait with value `false`

The 3Box user trait has been restored and hard-coded as `false`. This
ensures that users don't get stuck in our metrics as having this trait.

A deprecation comment has been left in various places for this trait.

* Remove unused state

* Remove additional 3box-related things

* Run `yarn-deduplicate`

* Restore migration that was lost while rebasing

* Remove obsolete override

* Remove additional unused resolutions/dependencies

* Update LavaMoat policies

* Remove obsolete security advisory ignore entries

* Remove 3Box fixture builder method

* Update unit tests

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2022-10-31 13:50:50 -02:30
Peter Yinusa
88a6f3787c
[E2E] Restore tests (#16298)
* add restore test

* rename spec
2022-10-31 09:48:04 +00:00
Jyoti Puri
17af3bb11e
Making permission and approval controller methods idempotent (#15848) 2022-10-31 11:22:31 +05:30
Mark Stacey
ba16fd970a Merge remote-tracking branch 'origin/develop' into sync-master
* origin/develop: (79 commits)
  Exclude E2E tests for swaps until they are stabilised (#16303)
  Add e2e tests for Swaps notifications (#16202)
  E2e test fixtures (#16061)
  Improve transaction confirmation page performance (#16205)
  [MV3] Fix e2e `encrypt-decrypt` test for MV3 test build (#16264)
  Fix e2e incremental-secuirty test for mv3 build (#16265)
  Enable "Add Popular Network" feature by default for all users (#16172)
  [e2e] Fix Dapp interactions flaky test on chrome (#16282)
  [FLASK] Allow snaps insights to show on regular EOA transactions (#16093)
  TextFieldBase updates after design reveiw (#16201)
  Adding `TextField` component (#16105)
  Remove ETH badge from NetworkAccountBalanceHeader when on non-ETH net… (#16102)
  Updating controller dependency (#16033)
  Fix inputs that should allow decimals (#16254)
  Chromedriver v106 (#16213)
  [FLASK] Clear snap state on restore (#16228)
  [FLASK] Fix flaky BIP-32 E2E test (#16255)
  Continue converting tests from enzyme to @testing-library/react (#16175)
  Fix/16207/text component storybook (#16214)
  ci: fix stats-module-load-init step (#16196)
  ...
2022-10-28 23:14:18 -02:30
Mark Stacey
f9d468fc4b Merge pull request #16036 from MetaMask/Version-v10.21.0
Version v10.21.0
2022-10-28 22:42:19 -02:30
Daniel
802a20449a
Exclude E2E tests for swaps until they are stabilised (#16303) 2022-10-28 20:34:10 +02:00
Daniel
2f84010629
Add e2e tests for Swaps notifications (#16202) 2022-10-28 16:09:46 +02:00
seaona
3374718f75 lavamoat 2022-10-28 12:47:42 +02:00
Maarten Zuidhoorn
7c90fe56a0 Update Jest config to avoid transpiling dependencies (#16068)
* Use stable version of Jest

* Update Jest config
2022-10-28 11:23:02 +02:00
Peter Yinusa
0b4532ec1b
E2e test fixtures (#16061)
* remove state.json files

* move file

* Update Readme

* Create fixture builder

* load test fixture

* remove redundant method

* update snap tests

* update stats tests

* update extension tests

* update extension tests

* Update fixture data

* snap test dapp connection

* Update fixture data

* add onboarding fixture

* use onboarding fixture

* reuse import account vault

* remove unnecessary use of class

* use fixture builder in new tests

* switch to function

* update default fixture

* update default fixture

* update test

* update 1559 test fixttures

* update 1559 test fixtures

* update 1559 test fixtures

* dismiss 3box whats new

* remove redundant code

* move docs

* remove unused code

* token detection

* use default timeout

* remove redundant code

* Update fixture builder

hide `Protect your funds` dialog
remove browser environment
remove default network details
hide dismiss seed backup reminder
recursively merges fixture data

* add token to tokencontroller

* remove network details

* add missing identities to preference controller

* remove duplicate properties

* update bip-32 to use fixturebuilder

* alphabetise snap permissions

* update get snaps to use fixturebuilder

* Update test-snap-bip-32.spec.js

wait for window

* add popular network state

* update test

* lint
2022-10-28 09:42:12 +01:00
Frederik Bolding
012e9fab9d
Improve transaction confirmation page performance (#16205)
* Reduce the amount of calls to insight snaps

* Add dep

* Update LavaMoat policies

* Fix selectors and revert changes to hook

* Remove dep

* Revert "Update LavaMoat policies"

This reverts commit 7469c94e0e7c52eb877766a96005cc559c9d8d20.
2022-10-28 10:37:33 +02:00