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

15346 Commits

Author SHA1 Message Date
David Drazic
2754f7e7ed
Add changes to support blocking Snaps by source shasum (#15830)
Refactor code and add unit tests for blocklist

Add small fix for undefined

Update property names

Structural refactoring

Refactor and improve unit tests

Add comment that explains part of snaps blocking logic

Refactor blocklist utility
2022-09-23 18:56:46 +02:00
Nicolas Ferro
3f801e377d
Ability to buy tokens with Moonpay (#15924)
* Ability to buy tokens with Moonpay

* fix for test cases failing

* updated description for MoonPayChainSettings type

* removed test results
2022-09-23 09:38:40 -07:00
Andriy Poznakhovskyy
d520fc57cb
Update crowdin.yml (#15910)
Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-09-23 10:26:37 -05:00
David Walsh
d468c9dbde
Dark Mode: Elevate the theme dropdown from experimental to regular settings (#15865)
* Dark Mode: Elevate the theme dropdown from experimental to regular settings

* Fix search

* Fix test

* Adjust settings order

* removing renderTheme call from experimental tab and rearranging setting ref number in general tab

Co-authored-by: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
2022-09-23 10:15:02 -05:00
Brad Decker
c83a307e90
update email in license (#15948) 2022-09-23 09:41:58 -05:00
Dan J Miller
7ea31b3f9f
Add documentation on how to fork ganache for local testing (#15944) 2022-09-23 09:41:46 -05:00
Thomas Huang
aff2d82bb9
Continue converting tests from enzyme to @testing-library/react. (#15941) 2022-09-23 09:41:35 -05:00
Brendan Kirby
9efdf87e86
Fix typo in README (#15950) 2022-09-23 09:17:42 -05:00
Frederik Bolding
4eb8e50800
[FLASK] snaps-skunkworks@0.21.0 (#15889)
* snaps-skunkworks@0.21.0

* Update policy files

* Regen policies again

* Fix tests

* Simplify selector

* Fix flaky test

* Update iframe execution env

* Move snap install warnings to util

* Add basic copy for snap_getBip32PublicKey

* Update permission icon

* Update E2Es

* Fix lint

* Fix locale strings
2022-09-23 12:39:54 +02:00
Alex Donesky
d3bd5b0d6b
Bump keystone package versions to latest (#15878) 2022-09-22 10:04:24 -05:00
ryanml
d01eeaf519
Fix broken error message UI on incorrect private key format (#15940) 2022-09-22 07:56:51 -07:00
Benjamin Bourgeois
6638e5333b
[i18n] Fix typo in locale key (#13186) 2022-09-22 09:50:05 -05:00
PeterYinusa
1370f19cba
Portfolio site e2e (#15921)
* add env variables to test build

* add data-testid attribute to home component

* add method to retrieve the url of the current page

* add portfolio site test

Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-22 08:39:34 +01:00
ryanml
2623fedd16
Using NETWORK_TYPES constants where applicable (Refactor) (#15930) 2022-09-21 13:10:34 -07:00
Thomas Huang
da0e2f92b9
Continue converting tests from enzyme to @testing-library/react. (#15770)
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-09-21 11:38:35 -05:00
Dan J Miller
12c0a8d1d5
Fix display of edit button on confirm screen when sending tx with data to contract (#15812) 2022-09-21 11:22:36 -05:00
Filip Sekulic
2ba6e68c8b
NFT Approval and SetApprovalForAll confirmation screens header updated (#15727)
* Updated header for NFT approval and Set approval for all screens
2022-09-21 09:15:34 -05:00
Mark Stacey
6d9355c6bd
Merge pull request #15908 from MetaMask/master-sync
Sync `master` with `develop`
2022-09-20 22:23:54 -04:00
ryanml
10915d39ea Merge remote-tracking branch 'origin/develop' into master-sync 2022-09-20 13:27:30 -07:00
ryanml
d98c094283
Fixing PR display links in the changelog (#15883) 2022-09-20 12:42:37 -07:00
Dan J Miller
0278de708d
Merge pull request #15746 from MetaMask/Version-v10.19.0
Version v10.19.0
2022-09-20 16:48:50 -02:30
ryanml
e422c6b09b
Show correct base asset in Decrypt Request view (#15885) 2022-09-20 11:33:45 -07:00
ryanml
1dba5d2139 Fixing ENS input styling for confusable chars (#15893) 2022-09-20 10:21:23 -07:00
George Marshall
e69e207b7d
Adding Icon component and removing BaseIcon component (#15772)
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-09-20 12:15:14 -05:00
ryanml
abfa990aa4
Fixing ENS input styling for confusable chars (#15893) 2022-09-20 12:14:58 -05:00
Guillaume Roux
c9dc59ea2a
[FLASK] Snaps Insight (#15814)
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Hassan Malik <41640681+hmalik88@users.noreply.github.com>
2022-09-20 19:00:07 +02:00
Christian Engel
8b5630025b
[German] Fix some spelling errors and messages that don't make sense (#15592)
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-09-20 11:11:03 -05:00
Frederik Bolding
d054175b2e
[FLASK] Fix an issue with installing and updating snaps with 0 permissions (#15796)
* Fix an issue with installing snaps with 0 permissions

* Fix some issues

* Fix lint

* Fix code fencing

* UI improvements for no permission use-case

* Fix redirect

* Delay BIP44 test slightly

* Add more delay

* Fix update UI
2022-09-20 14:46:25 +02:00
Dan Miller
b497797b60 Update lavamoat again 2022-09-19 21:34:14 -02:30
Dan Miller
9360239e5d Update lavamoat policy for v10.19.0 RC, after 0402e04 2022-09-19 20:45:11 -02:30
Niranjana Binoy
0402e043f8 updating the copy and title on token dettection toggle in advanced settings and notification in import tokens (#15880) 2022-09-19 21:34:00 +01:00
Niranjana Binoy
8fcdea7b56
updating the copy and title on token dettection toggle in advanced settings and notification in import tokens (#15880) 2022-09-19 17:53:21 -02:30
ryanml
51f1e4f238 Bump @metamask/etherscan-link from 2.1.0 to 2.2.0 (#15881) 2022-09-19 21:17:46 +01:00
ryanml
c0065b4c5d
Bump @metamask/etherscan-link from 2.1.0 to 2.2.0 (#15881) 2022-09-19 12:31:45 -07:00
Dan J Miller
341d4de8da Revert "Ensure that 'tokens found in this account' message is only shown when token detection activated (#15823)" (#15879)
This reverts commit b359844dc5.
2022-09-19 19:52:56 +01:00
Dan J Miller
5b917444d4
Revert "Ensure that 'tokens found in this account' message is only shown when token detection activated (#15823)" (#15879)
This reverts commit b359844dc5.
2022-09-19 15:41:48 -02:30
Dan J Miller
1bbeb80dff Ensure the seed phrase reminder is displayed with precedence over the network deprecation warning (#15869)
* Ensure the seed phrase reminder is displayed with precedence over the network deprecation message

* Prevent error when attempting to get balance before account info has been fully sete

* Fix implementation of seedphrase-reminder-display-fix

* Prioritize seed phrase reminder notification over portfolio tooltip, and that tooltip over testnet deprecation
2022-09-19 19:00:50 +01:00
Dan J Miller
e6017ee2a4 Don't display DetectedTokenSelectionPopover if there are no detected tokens (#15877)
* Don't display DetectedTokenSelectionPopover if there are no detected tokens

* adding length greater than 0 check as a 0 is displayed at the end of teh page previously

Co-authored-by: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-19 19:00:35 +01:00
Dan J Miller
5c41ff0aa1 Ensure New Network Info popup doesn't show when switching to testnets (#15867)
* Ensure New Network Info popup doesn't show when switching to testnets

* Update ui/pages/routes/routes.component.js

Co-authored-by: Alex Donesky <adonesky@gmail.com>

* Fix typo

* Fix isTestNet property name casing

Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-09-19 19:00:16 +01:00
Dan J Miller
17b7b72886
Ensure the seed phrase reminder is displayed with precedence over the network deprecation warning (#15869)
* Ensure the seed phrase reminder is displayed with precedence over the network deprecation message

* Prevent error when attempting to get balance before account info has been fully sete

* Fix implementation of seedphrase-reminder-display-fix

* Prioritize seed phrase reminder notification over portfolio tooltip, and that tooltip over testnet deprecation
2022-09-19 15:10:30 -02:30
Dan J Miller
d38ba20cca
Don't display DetectedTokenSelectionPopover if there are no detected tokens (#15877)
* Don't display DetectedTokenSelectionPopover if there are no detected tokens

* adding length greater than 0 check as a 0 is displayed at the end of teh page previously

Co-authored-by: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-19 15:10:05 -02:30
ryanml
c8935c6951
Fixing hex address display bug when editing transaction (#15873) 2022-09-19 09:09:12 -07:00
Dan J Miller
b5049a1736
Ensure New Network Info popup doesn't show when switching to testnets (#15867)
* Ensure New Network Info popup doesn't show when switching to testnets

* Update ui/pages/routes/routes.component.js

Co-authored-by: Alex Donesky <adonesky@gmail.com>

* Fix typo

* Fix isTestNet property name casing

Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-09-19 13:09:28 -02:30
Dan J Miller
5c970fc0ba Properly configure ethereumjs Common for Sepolia network (#15871) 2022-09-19 16:02:53 +01:00
seaona
9e1cbe2723
Get ether from faucet fix message (#15875)
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-19 17:01:32 +02:00
Nicolas Ferro
1b563188bf
Ability to buy tokens with Coinbase Pay and Transak (#15551)
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Co-authored-by: Brad Decker <git@braddecker.dev>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-09-19 10:00:57 -05:00
seaona
b88b39f485
10.19.0 Changelog (#15755)
* 10.19.0 Changelog - first draft

* Remove non-changelog PRs

* Cleanup by removing uncategorized commits that should not go to the Changelog

* Re-write commit descriptions

* Re-phrasing more descriptions

* Add missing spaces and fix URLs for gridplus

* Flask description updated for snap_getBip44Entropy

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

* Flask description updated for snap_getBip32Entropy

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

* Flask description updated for Dapp triggered Snap updates

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

* Flask description updated for fix permissions

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

* Move to the proper categories Flask PRs

* Remove Snap package update as has no user-facing changes

* Fix Changelog

* Add space after Unreleased

* Add Swaps fix for redirect to Activity tab

* Last PR entries added

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-09-19 16:53:11 +02:00
Dan J Miller
075a6fb86a
Properly configure ethereumjs Common for Sepolia network (#15871) 2022-09-19 08:17:40 -05:00
Dan J Miller
060fc9453c Correct when setApprovalForAll message is shown (#15863) 2022-09-19 13:06:59 +01:00
seaona
dd660f83ae
Add test insights on circle ci for test-unit job (#15839)
* Test results for jest

* Add jest-junit package for reporting

* Order alphabetically
2022-09-19 13:30:34 +02:00