1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
Commit Graph

15626 Commits

Author SHA1 Message Date
PeterYinusa
39f9b1e953 fix audit failure for luxon by upgrading (#17106) 2023-01-09 19:26:21 +00:00
seaona
c33b0a83a9 run lavamoat:auto 2023-01-09 16:24:50 +01:00
PeterYinusa
2f7b63e9f4 Remove fast-json-patch exclusion 2023-01-09 14:24:50 +00:00
PeterYinusa
cae0fcf17b policy updates 2023-01-09 13:47:24 +00:00
PeterYinusa
94b0d7fb91 Update policies 2023-01-09 07:39:02 -03:30
PeterYinusa
e71b664bef fix audit failure (#17079) 2023-01-05 11:41:59 +00:00
PeterYinusa
bd7c0a58ae Update CHANGELOG.md 2023-01-05 11:07:33 +00:00
PeterYinusa
eb3aab4033 Merge remote-tracking branch 'origin/master' into Version-v10.24.0 2023-01-05 11:02:15 +00:00
Vladimir Saric
dd728b07db Align custom spending cap Max button in approve screen for multiple languages (#16927)
* Align custom spending cap Max button in approve screen for multiple languages

* Modify some css styles and adding Box props

* Using ButtonLink component instead of <button/>

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-01-04 21:48:47 +00:00
Frederik Bolding
3d1b5062fe Improve SignatureRequest performance (#17052)
* Improve SignatureRequestData performance

* Memoize more selectors
2023-01-04 21:48:20 +00:00
seaona
c99d345b5b Add explanation for user facing changes on design tokens and remove controllers entry on Changelog 2022-12-22 20:04:38 +01:00
seaona
57fbc94643 Added Changelog entry for cherry-picked PR 2022-12-22 18:11:41 +01:00
amerkadicE
30a5208be7 Track when token balance is changed to update value on approval screen (#16964)
* Track when token balance is changed to update value on approval screen

* Code refactor

* Fix unit test

* Fix sign approval balance

* Refactor code
2022-12-22 12:04:23 +01:00
Ariella Vu
8f3451396f i18n: fix missing locale for "en" error (#17014)
on locale change
2022-12-22 12:02:48 +01:00
Dan J Miller
35b07c7431 Add lavamoat policy override for react-responsive-carousel (#16955) 2022-12-21 14:25:01 +01:00
seaona
0123c9c859 Changelog with new entries from last cherry-picked commits 2022-12-21 11:26:49 +01:00
dragana8
e7e72cf6fc Fix insufficient currency buy or receive error message (#16979) 2022-12-20 17:44:18 +01:00
Dan J Miller
cb2f25f767 Show user the general contract interaction screen for token approvals, when the asset standard is undefined (#16765)
Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
2022-12-20 17:41:21 +01:00
seaona
281f8e16b9 Changelog sync with master 2022-12-19 11:07:23 +01:00
seaona
8c0678eb99 Merge branch 'master' into Version-v10.24.0 2022-12-19 11:06:54 +01:00
Ariella Vu
e0644a64f6 Fix token balance precision on confirm token approval page from soon-to-be-deprecated token allowance flow (#16934)
* ConfirmToken: fix token balance onboarding v1
this UI/UX should be deprecated following PR#16740, maybe v10.25

* TokenApproval: use precision for token balance

* EditApproval: calc utilizing existing util
2022-12-19 10:58:23 +01:00
Dan J Miller
60bfdf51d6 remove warning on revoke approval for all nfts (#16953)
Co-authored-by: EresDev <eresdev@hotmail.com>
2022-12-19 10:57:42 +01:00
Dan J Miller
557b5de08d Sanitize privacy sensitive data before sending to sentry. (#16780)
* Sanitize privacy sensitive data before sending to sentry.

Temp

Near complete

Complete

* Temp

* Fix url error message rewrite

* Add unit tests and cleanup code

* Improvements

* Update app/scripts/lib/setupSentry.js

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

* Update app/scripts/lib/setupSentry.js

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

* Update app/scripts/lib/setupSentry.js

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

* Fix syntax of doc comments

* Catch errors caused by invalid urls in sanitizeUrlsFromErrorMessages

* Ensure our allowlist matches multiple subdomains

* Ensure sanitizeUrlsFromErrorMessages correctly matches hostnames

* Update app/scripts/lib/setupSentry.js

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

* Improve test descriptions

* fix

Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2022-12-19 10:56:58 +01:00
David Walsh
6439a0e934 Onboarding: Set SeedPhraseBackedUp when appropriate (#16875)
* Onboarding: Set SeedPhraseBackedUp when appropriate

* Dispatch setSeedPhraseBackedUp

* Fix test

* Make call async

* Fix test

* Fix test

* enhance test

Co-authored-by: Alex <adonesky@gmail.com>
2022-12-16 12:57:51 +01:00
Dan J Miller
34f83a8435
Merge pull request #16975 from MetaMask/Version-v10.23.1
Version v10.23.1
2022-12-15 20:20:26 -03:30
seaona
9d6ab1bcb2 Fix lint by removing un-used variable getAccountsWithLabels 2022-12-15 20:20:58 +01:00
seaona
56b89e7c9f Changelog entry for hotfix 2022-12-15 19:07:27 +01:00
MetaMask Bot
bc073a771c Version v10.23.1 2022-12-15 17:46:22 +00:00
Dan J Miller
bb562ea29c Recipient name passed to confirm-page-container component should be u… (#16961)
* Recipient name passed to confirm-page-container component should be used if pet name exists for the to address

* Ensure recipient edit/add popup is shown for non-owned accounts

* Ensure contract name is rendered if it exists for recipient address

* Ensure that shortened address is last fallback after account, addressbook, token and ens names
2022-12-15 18:42:21 +01:00
Alex Donesky
5accaf88b9 add back error when password is too short (#16876) 2022-12-15 11:03:15 +01:00
seaona
3859c25cac
Changelog for 10.24.0 (#16888)
* Changelog for 10.24.0

* Update FLASK snaps-monorepo entry

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

* Flask entries

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

* Small fixes on changelog entries

* Updated Flask entries classification

* Add new cherry-picked entries

* Small fix for reject tx entry

* Update CHANGELOG.md [FLASK] Fix usage of wrong `ethereum` global for `ethereum` endowment

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

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-12-15 09:49:54 +01:00
Alex Donesky
bcfe67a132 fix issue where final onboarding pages are not show (#16943) 2022-12-14 18:00:12 +01:00
David Walsh
b40fd429fb Fix #16804 - Onboarding - Prevent odd behavior with clicks and show/hide password (#16878) 2022-12-14 16:38:45 +01:00
Jyoti Puri
4e272beb26 User should be able to search setting to batch account balance request (#16887) 2022-12-14 16:34:58 +01:00
Ariella Vu
c4f9dcc3a5 onboardingV2: fix privacy policy in spanish (#16918) 2022-12-14 16:33:36 +01:00
Jyoti Puri
6bc01a1e97 Fix onboarding V2 Install complete page (#16941) 2022-12-14 16:27:59 +01:00
Alex Donesky
fde7cb5e17 remove the ability to navigate back into the onboarding flow after completing onboarding (#16916)
* fix issue when navigating back into the onboarding flow after completing onboarding

* disable navigating back into the onboarding flow

* lint

* fix test

* lint
2022-12-14 15:06:46 +01:00
Jyoti Puri
8d8fcdcf0e ButtonIcon: fix react component proptype (#16942) 2022-12-14 15:04:15 +01:00
Frederik Bolding
1e156ebb94 [FLASK] Bump snaps iframe-execution-environment (#16932) 2022-12-14 12:37:39 +01:00
Vladimir Saric
219e3129dc Added reject transactions modal to be present in the footer of the approve screen (#16832)
* Added reject transactions modal in the footer

* Use Button component for multiple unapproved tx
2022-12-14 11:15:25 +01:00
David Walsh
9dbc8b8ec0 Privacy - Show default selected network after a custom network has been added during onboarding (#16789)
* Privacy - Allow users to set a custom RPC from the onboarding process (#16767)

* Privacy - Allow adding custom IPFS from onboarding (#16782)

* Privacy - Show default selected network after a custom network has been added during onboarding

* WIP: Show dropdown list of networks

* Add network switcher to the onboarding advanced privacy screen

* Fix duplicate imports

* Provide default for networks

* Update ui/helpers/utils/ipfs.js

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Fix lint

* Remove unwanted changes

* Fix lint

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2022-12-08 16:50:47 +00:00
David Walsh
5d15026f2f Privacy - Update metametrics copy during onboarding (#16825) 2022-12-08 16:48:26 +00:00
Pedro Figueiredo
5f6d5706ef fix locales for advance config (#16849) 2022-12-08 16:34:13 +00:00
MetaMask Bot
47ddb321d2 Version v10.24.0 2022-12-07 14:06:53 +00:00
Dan J Miller
36ba4bc8a7
Merge pull request #16827 from MetaMask/master-sync
Master sync PR following v10.23.0
2022-12-07 10:04:47 -03:30
Dan Miller
bc042f96fe Merge remote-tracking branch 'origin/develop' into master-sync 2022-12-06 20:11:16 -03:30
Dan Miller
ce257d8b70 Revert "Use new assets contrller package to fix 0 decimal token bug (#16685)"
This reverts commit 91b635b195.
2022-12-06 20:06:11 -03:30
Dan Miller
388fa59804 Revert "Revert "Added "What's New" Notification for Improved token allowance experience (#16465)""
This reverts commit 5678becb5c.
2022-12-06 19:54:17 -03:30
Dan Miller
5b8f932264 Revert "Revert "Add improved token allowance experience toggle (#16291)""
This reverts commit 1e9d15f647.
2022-12-06 19:54:05 -03:30
Dan J Miller
6af3f9a4fb
Merge pull request #16485 from MetaMask/Version-v10.23.0
Version v10.23.0
2022-12-06 17:08:08 -03:30