Mark Stacey
7199d9c567
Use externally hosted phishing warning page
...
An externally hosted phishing warning page is now used rather than the
built-in phishing warning page.The phishing page warning URL is set via
configuration file or environment variable. The default URL is either
the expected production URL or `http://localhost:9999/ ` for e2e testing
environments.
The new external phishing page includes a design change when it is
loaded within an iframe. In that case it now shows a condensed message,
and prompts the user to open the full warning page in a new tab to see
more details or bypass the warning. This is to prevent a clickjacking
attack from safelisting a site without user consent.
The new external phishing page also includes a simple caching service
worker to ensure it continues to work offline (or if our hosting goes
offline), as long as the user has successfully loaded the page at least
once. We also load the page temporarily during the extension startup
process to trigger the service worker installation.
The old phishing page and all related lines have been removed. The
property `web_accessible_resources` has also been removed from the
manifest. The only entry apart from the phishing page was `inpage.js`,
and we don't need that to be web accessible anymore because we inject
the script inline into each page rather than loading the file directly.
New e2e tests have been added to cover more phishing warning page
functionality, including the "safelist" action and the "iframe" case.
3 years ago
ryanml
57e7d05bfa
Update Lavamoat policies
3 years ago
Frederik Bolding
c2cd6f8097
Bump `addons-linter` ( #14717 )
...
* Bump addons-linter
* Deduplicate yarn.lock
* Rerun yarn install and LavaMoat policy gen
3 years ago
Brad Decker
f251ca4ff2
Track send flow history on txMeta ( #14510 )
3 years ago
ryanml
214211f847
Update Lavamoat policies
3 years ago
Dan J Miller
f4094925f0
Ensure ledger keyring message event listener are removed on metamask lock ( #14691 )
...
* Ensure ledger keyring message event listener are removed on metamask lock
* Clean up
3 years ago
Mark Stacey
8a14504b63
Version v10.14.5
...
This version is equivalent to v10.14.2. This release is just intended
to fix build configuration issues.
3 years ago
Brad Decker
ae4efef43e
add networks without ticker trait ( #14607 )
...
* add networks without ticker trait
3 years ago
Lachlan Tweedie
eee4cc3100
Add Coinbase Pay as fiat onramp option ( #14648 )
3 years ago
Alex Donesky
23565cac2c
Bump @metamask/controllers version, remove patches ( #14618 )
3 years ago
Hassan Malik
a3917763d4
Removed onExecutionEnvironmentError ( #14698 )
...
* used correct method to stop snap
* removed dead code, snap controller already subscribes to execution environment errors
* fixed linting error
3 years ago
Daniel
d305dcba9d
Change styles for the high price impact notification in Swaps ( #14697 )
3 years ago
Bowen Sanders
77c1100858
create e2e test for manageState snap ( #14699 )
3 years ago
Dan J Miller
8948018e5a
Ensure ledger keyring message event listener are removed on metamask lock ( #14691 )
...
* Ensure ledger keyring message event listener are removed on metamask lock
* Clean up
3 years ago
Alex Donesky
5e55cf2cf2
add case in useTransactionDisplayData to handle transaction type safeTransferFrom ( #14678 )
...
* add case in useTransactionDisplayData to handle transaction type safeTransferFrom
* add test
3 years ago
kumavis
02d374fde0
deps - patch secp256k1 for fast module init via lazy loading ( #14677 )
3 years ago
Ariella Vu
c0957866a9
metametrics: deprecate flatMap ( #14608 )
3 years ago
Frederik Bolding
a96d40957b
Stop using 4bytes for contract deployment ( #14598 )
3 years ago
Niranjana Binoy
6c757ab5e0
Event tracking for Token Detection V2 ( #14441 )
3 years ago
Erik Marks
4b2cd0ef7a
Fix Snaps view search ( #14693 )
...
Closes #14687
Snap IDs were not properly encoded (and decoded) as URI components in the Snaps view search implementation. This ensures that they are.
3 years ago
Daniel
9a153d2388
Remove gas editing in Swaps ( #14673 )
...
* Remove gas editing in Swaps
* Remove "extraApprovalGas"
3 years ago
Frederik Bolding
b258cbafe7
Remove confirmation for terminated snaps ( #14566 )
3 years ago
PeterYinusa
12cda5eb2d
Chromedriver v101 ( #14617 )
...
* update chromedriver package
* update chrome binary used in ci
3 years ago
Frederik Bolding
2dac88cbf4
snaps-skunkworks@0.12.0 ( #14670 )
...
* snaps-skunkworks@0.12.0
* Bump iframe execution environment
* Remove policy override
* Rerun LavaMoat
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
3 years ago
PeterYinusa
890e0ed70f
Fix auto-lock e2e test ( #14685 )
...
Fixes auto lock e2e tests introduced in https://github.com/MetaMask/metamask-extension/pull/14624
3 years ago
ryanml
54292f6c81
Fix eth_sign 'Learn more' dialog link ( #14667 )
3 years ago
George Marshall
23f4b58dca
Updating alert text color ( #14674 )
3 years ago
PeterYinusa
f47d02b72a
Auto lock e2e ( #14624 )
...
* add auto lock e2e test
* fix console errors
3 years ago
kumavis
55e88a0e8e
lavamoat - bump for stats support ( #14641 )
...
* lavamoat - bump for stats support
* lavamoat - update policy
* deps - dedupe lockfile
3 years ago
VSaric
833eaa61c1
Fix Ropsten Test Network icon ( #14626 )
3 years ago
Ariella Vu
98c7515344
TransactionListItem: fix save/cancel rounded btn ( #14659 )
3 years ago
Niranjana Binoy
0a10b425ea
Add New Tokens Found page ( #14366 )
3 years ago
Daniel
2bd7127433
Swaps / STX improvements ( #14622 )
3 years ago
Frederik Bolding
9e401b14bf
Simplify removeSnap functionality after snaps-skunkworks update ( #14646 )
3 years ago
ryanml
a2ea1cacc8
Fixing Speed up/Cancel information text ( #14551 )
...
* Fixing Speed up/Cancel information text
* Adding tests
3 years ago
Frederik Bolding
fa9d703aa0
Fix SRP paste duplication ( #14625 )
...
* Fix SRP paste duplication
* Remove else-case for paste event
* Add E2E test that would catch this issue in the future
* Fix linting
3 years ago
kumavis
07da8ce589
LavaMoat - UI upgrade - secure package naming ( #14565 )
...
* lavamoat - update lavamoat-browserify to v15
* lavamoat/ui - unify override across build types
* lavamoat/ui - update policy overrides
* lavamoat - update to lavapack@3 to match lavamoat-browserify@15
* lavamoat - add missing policy
* lavamoat - add missing nanoid policy
* lavamoat - regenerate policy
* deps - update lock
* lavamoat - update policy
* lavamoat - update policy
3 years ago
PeterYinusa
b0ad0cb1f3
E2e send tests ( #14568 )
...
* update fill method
* remove redundant steps
* remove arbitrary delays
3 years ago
Alex Miller
32a82be2b6
[GridPlus] Updates Lattice-related modules to unlock functionality ( #14467 )
...
GridPlus has updated the EVM signing pathway in Lattice firmware,
which has not yet been released. Additionally, requesters can now
include ABI definitions with signing requests, which are used by
Lattice firmware to decode calldata in place.
All updates are backward compatable.
Updates:
* https://github.com/GridPlus/gridplus-sdk/compare/v1.1.6...v1.2.4
* https://github.com/GridPlus/eth-lattice-keyring/compare/v0.6.1...v0.7.3
3 years ago
Frederik Bolding
c3071b273b
slip44@2.1.0 ( #14619 )
3 years ago
Mark Stacey
91fd8342dc
Reproducible `.zip` files ( #14623 )
...
* Create `.zip` files deterministically
Our build system now creates `.zip` archives deterministically.
Previously the `.zip` file would differ between builds even when the
files being archived were identical. This was because the order the
files were passed in was non-deterministic, and the `mtime` for each
file was different between builds.
The files are now sorted before being zipped, and the `mtime` for each
file has been set to the unix epoch.
* Update lavamoat build policy
3 years ago
Alex Donesky
4550a10d32
fix incorrect casing of includeUsdRate option passed to CurrencyRateController ( #14615 )
3 years ago
Mark Stacey
f3b7a656fc
Fix redundant entry in lockfile ( #14616 )
...
The lockfile would change upon install due to a redundant entry. This
seems to have been introduced in #14612 as a result of running
`yarn-deduplicate`.
3 years ago
Brad Decker
564ad2f81b
Track send flow history on txMeta ( #14510 )
3 years ago
PeterYinusa
4127583224
Jest tests - incremental coverage ( #14612 )
...
* add jest-it-up dependancy
* add reporter
* post test run jest-it-up
* Add CI check
* update coverage
* deduplicate dependancies
3 years ago
Mark Stacey
a58faa13a3
Version v10.14.2
...
This version includes a build system fix that ensures our builds are
deterministic.
3 years ago
kumavis
fefe9401a1
build - update bify-module-groups for build determinism ( #14610 )
3 years ago
kumavis
5524f224b2
build - update bify-module-groups for build determinism ( #14610 )
3 years ago
David Walsh
8a71f0f008
Add search information for Theme dropdown ( #14476 )
3 years ago
Ariella Vu
f926925b3f
metametrics: deprecate flatMap ( #14608 )
3 years ago