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

13264 Commits

Author SHA1 Message Date
Dan J Miller
f15825d0c4 Ensure one and only one localhost option appears in network list (#12786)
* Ensure one and only one localhost option appears in network list

* Fix unit tests
2021-11-22 13:16:35 -03:30
Dan J Miller
08104cdc75 Add fixed json-schema to resolutions file to resolve security issue (#12787) 2021-11-22 13:16:35 -03:30
Alex Donesky
e93b3b97d6 fix issue where contractExchangeRates are not available in swaps controller, make token address matching case insensitive (#12770) 2021-11-22 13:16:35 -03:30
MetaMask Bot
56021eb133 Version v10.6.2 2021-11-22 12:28:36 +00:00
ryanml
f3ade11c74
Merge pull request #12769 from MetaMask/Version-v10.6.1
Version v10.6.1 RC
2021-11-19 15:43:15 -07:00
ryanml
eb7d96e988 Updating changelog 2021-11-19 11:05:50 -07:00
MetaMask Bot
32c3d8b6fd Version v10.6.1 2021-11-19 17:58:37 +00:00
Dan J Miller
a533dcc403 Ensure that metametrics error related to anonymousId is not sent to sentry (#12763) 2021-11-19 10:53:50 -07:00
Mark Stacey
baef54bd31 Update improved-yarn-audit and ignore 2 advisories (#12765)
`improved-yarn-audit` has been updated so that it supports GitHub
advisories. Two new GitHub advisories have been ignored, as they are
both moderate RegExp DoS vulnerabilities that don't affect us, and they
are embedded deep within our dependency graph and are difficult to
update.
2021-11-19 10:53:36 -07:00
ryanml
042c19e0cb Don't dispatch hideTestNetMessage (#12748) 2021-11-19 10:53:21 -07:00
kumavis
db7fc50216 metametrics - ensure segment submission failures do not bubble up (#12573)
* metametrics - ensure segment submission failures do not bubble up

* metametrics - differentiate between trackEvent and submitEvent

* metametrics - validate event in trackEvent

* metametrics - re-throw error on clean stack

* lint fix

* controllers/metametrics - take a captureException option

* controllers/metametrics - capture and report any errors in trackPage

* Update app/scripts/controllers/metametrics.js

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

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-11-19 10:53:08 -07:00
ryanml
079837c4a7
Merge pull request #12629 from MetaMask/Version-v10.6.0
Version v10.6.0 RC
2021-11-16 16:17:23 -07:00
Dan J Miller
e74a54ccbc Ensure the test network dismissal message in the network dropdown is permanently dismissed (#12723) 2021-11-16 15:23:04 -07:00
ryanml
49684eebdc Updates to network dropdown test network messaging (#12722)
* Updates to network dropdown test network messaging

* Updating text from Disable/enable -> Show/hide
2021-11-16 17:09:00 -03:30
Elliot Winkler
730fec4a30 Replace history during onboarding (#12693) 2021-11-16 17:09:00 -03:30
Dan Miller
47455c7eb4 Fix changelog 2021-11-16 01:16:11 -03:30
Dan Miller
d2cc5c3708 Merge branch 'master' into Version-v10.6.0 2021-11-16 01:08:06 -03:30
ryanml
3ad9ab093c Scroll to "show test networks" setting from network dropdown link (#12711)
* Scroll to "show test networks" setting from network dropdown link

* Focusing element
2021-11-15 17:05:28 -07:00
Olusegun Akintayo
c177ff31bb addresses an issue found in 10.6.0 QA (#12710)
* addresses an issue found in 10.6.0 QA

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* update test cases.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fixes unit test texts to pass

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2021-11-15 17:05:13 -07:00
Dan J Miller
e05c693279 Adding scroll bar to handle overflow of long network lists (#12706)
* Adding scroll bar to handle overflow of long network lists

* set scroll property to auto

* Add margin below scrollable network list
2021-11-15 17:05:00 -07:00
Dan J Miller
0c08cb6bf8 Add migration to set showTestNetworks to true if there is evidence of testnet use (#12675)
* Add migration to set showTestNetworks to true if there is evidence the user has used a test network

* Add migration to index file

* Remove console.log

* Clean up conditional structure in migration 67
2021-11-15 17:04:48 -07:00
Alex Miller
58b7905b18 GridPlus: Updates eth-lattice-keyring to v0.4.0 for UX improvements (#12649)
Most notably this adds the ability to manage multiple Lattice/SafeCard
wallets simultaneously. If a user makes a request from an address not
associated with the device's active wallet, an error will display.
See: https://github.com/GridPlus/eth-lattice-keyring/pull/19
2021-11-15 17:04:31 -07:00
Dan J Miller
f20cce1f9b
Merge pull request #12686 from MetaMask/Version-v10.5.2
Version v10.5.2 RC
2021-11-12 22:48:37 -03:30
ryanml
662b90df72 Updating changelog 2021-11-12 16:36:34 -07:00
MetaMask Bot
2a9d7a644d Version v10.5.2 2021-11-12 23:34:53 +00:00
Dan J Miller
58cccdf1cd Ensure approve button can be enabled when using ledger webhid (#12685) 2021-11-12 16:29:18 -07:00
Dan J Miller
56760efaa2
Merge pull request #12663 from MetaMask/Version-v10.5.1
Version v10.5.1 RC
2021-11-11 22:35:20 -03:30
Dan J Miller
15a4ab7381 Fix copy issues related to layer 2 fee changes (#12667) 2021-11-11 20:47:04 -03:30
Mark Stacey
18c10c8bc2 Fix Lavamoat policy 2021-11-11 17:21:39 -03:30
Dan Miller
381d1fe7a9 Run yarn lavamoat:auto 2021-11-11 16:25:47 -03:30
Mark Stacey
00d2f90c77 Add platform-specific build type manifest modifications (#12638)
The build system now supports platform-specific modifications to the
manifest for each build type. The need to customize the `id` on Firefox
motivated this change.

To support this, a new directory was made in each build type directory
for manifest changes. The images currently in this directory were moved
into an `images` subdirectory.

This new `manifest` directory can include each manifest file currently
in `app/manifest`. The `_base.json` file is assumed to exist, but the
platform manifest modifications are optional.
2021-11-11 11:50:03 -07:00
Dan Miller
3d818c53b8 Run yarn lavamoat:moat 2021-11-11 15:17:31 -03:30
Elliot Winkler
d50a95ee78 Refactor tests for AdvancedGasInputs (#12445)
* Upgrade style from Enzyme to React Testing Library
* Use real i18n provider instead of a fake one so that we can look for
  English text instead of just i18n strings, improving readability
2021-11-11 15:13:49 -03:30
ryanml
3a85b99915 Updating changelog 2021-11-11 10:59:54 -07:00
MetaMask Bot
8008e42555 Version v10.5.1 2021-11-11 17:57:53 +00:00
ryanml
2fa877f793 Fix yarn.lock 2021-11-11 10:53:08 -07:00
Dan J Miller
82a95864f7 Support for Layer 2 networks with transaction fees on both layers (#12658)
* Support for Layer 2 networks with transaction fees on both layers

* Use  variable name in transaction-breakdown

* Add comment on code source to ui/helpers/utils/optimism/fetchEstimatedL1Fee.js

* Fix unit tests

* Ensure values passed to  are defined

* Fix activity log
2021-11-11 14:06:33 -03:30
ryanml
9d66f9090e Fixing MetaFox logo display on Approval Screen in full width (#12656) 2021-11-11 09:49:49 -07:00
ryanml
d4176a5e10 Approval screen: Center justify address display content (#12639)
* Approval screen: Center justify address display content

* Removing width prop
2021-11-10 10:59:07 -07:00
Dan Miller
22468ffdb1 Run lavamoat:auto 2021-11-09 17:32:31 -03:30
ryanml
b5fdfe6dea
[skip e2e] Updating changelog for 10.6.0 (#12630) 2021-11-09 08:21:37 -07:00
MetaMask Bot
a664c229a8 Version v10.6.0 2021-11-08 22:00:35 +00:00
ryanml
05aa19a05d
Replacing instances of 'testnets' with 'test networks' (#12626) 2021-11-08 14:55:49 -07:00
ryanml
7c60757814
Implementing display solution for testnets in the network dropdown (#12564)
* Implementing display solution for testnets in the network dropdown

* Update setting from 'Test networks' -> 'Show test networks'

* Add capability to dismiss testnets message

* span -> a
2021-11-08 13:58:23 -07:00
ryanml
1640b081d0
Merge pull request #12616 from MetaMask/master-sync
Sync `master` with `develop`
2021-11-08 11:37:57 -07:00
ryanml
33e253f532
Adding 'gap' prop to Box (#12611) 2021-11-08 09:26:03 -07:00
David Walsh
4b1c51aec5
Rename the function of the Ledger preference renaming (#12459) 2021-11-08 09:28:40 -06:00
Alex Miller
722c4e5b63
Support for GridPlus Lattice1 hardware wallet (#12053)
* GridPlus: Adds support for GridPlus Lattice1 hardware wallet

* Fixes issue with switching hardware HD path
The main `Select HD Path` piece of the account selection component was not
properly hooked up to the state manager (`onPathChange`) and the extra
`Popover` component was being used instead.
I'm not sure what the origin of this is, but I don't see why the Popover
is needed at all. I have remove it and hooked `onPathChange` directly into
the HD path selector dropdown.
This was an issue that nearly every Lattice user who had come from Ledger
has contacted us about.

* GridPlus: Addresses QA issues
* Adds Lattice tutorial + image
* Cleans up connectivity issues (see: https://github.com/GridPlus/eth-lattice-keyring/pull/16)

* GridPlus: Adds Firefox support
To connect to the Lattice you need to open a new tab/window and get
login data from it. We were not able to do this for Firefox because
we relied on the `window` API. This is now fixed.
See corresponding changes:
* `eth-lattice-keyring`: https://github.com/GridPlus/eth-lattice-keyring/pull/17
* Lattice connector: https://github.com/GridPlus/wallet-web/pull/152

* GridPlus: Adds missing error path for Firefox
See: 242a93f559
2021-11-08 11:18:41 -03:30
ryanml
53435980eb Merge remote-tracking branch 'origin/develop' into master-sync 2021-11-08 07:14:51 -07:00
ryanml
263e80da5e
Merge pull request #12584 from MetaMask/Version-v10.5.0
Version v10.5.0 RC
2021-11-08 07:02:34 -07:00