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

11977 Commits

Author SHA1 Message Date
David Walsh
e69a6d6dee Prevent signature request component from canceling hardware wallet signing (#11013) 2021-06-07 10:02:39 -02:30
ryanml
cfdfe0fcc6 Removing unused prop from TransactionActivityLog (#11014) 2021-06-07 10:02:39 -02:30
Mark Stacey
3ba3b330f6 Use strict assertion mode everywhere (#11012)
The `assert` module has two modes: "Legacy" and "strict". When using
strict mode, the "strict" version of each assertion method is implied.
Whereas in legacy mode, by default it will use the deprecated, "loose"
version of each assertion.

We now use strict mode everywhere. A few tests required updates where
they were asserting the wrong thing, and it was passing beforehand due
to the loose matching.
2021-06-07 10:02:39 -02:30
Mark Stacey
9d002cbff0 Remove SET_CURRENT_FIAT action (#11003)
The `SET_CURRENT_FIAT` action has been removed. It has been replaced
by a call to `forceUpdateMetamaskState`. The only purpose of this
action was to eagerly update the current fiat currency settings before
the next state update. Forcing a state update instead is simpler and
safer.

The `setCurrentCurrency` function in the background has been updated to
no longer return the state, now that it's no longer needed.
2021-06-07 10:02:39 -02:30
Niranjana Binoy
e906bd8d0e adding condition to check for non-mainnet network and test env (#11007) 2021-06-07 10:02:39 -02:30
Niranjana Binoy
640c6d98d3 replacing seed phrase with Secret Recovery Phrase (#10994) 2021-06-07 10:02:39 -02:30
Mark Stacey
119693fe05 Update @metamask/controllers to v8 (#11000)
Update `@metamask/controllers` from v6 to v8. The breaking changes were
all in controllers that aren't used by the extension, so no changes
were required.
2021-06-07 10:02:39 -02:30
Mark Stacey
dfe758d7ac Add changelog validation (#10999)
Add changelog validation to CI, ensuring that the changelog follows the
KeepAChangelog format. Additionally, this will also ensure that all of
the auto-generated "Uncategorized" changelog entries on release
branches get categorized.
2021-06-07 10:02:39 -02:30
Mark Stacey
e6fcd3d867 Replace auto-changelog script (#10993)
The `auto-changelog` script has been replaced with the package
`@metamask/auto-changelog`. This package includes a script that has
an `update` command that is roughly equivalent to the old
`auto-changelog.js` script, except better. The script also has a
`validate` command.

The `repository` field was added to `package.json` because it's
utilized by the `auto-changelog` script, and this was easier than
specifying the repository URL with a CLI argument.
2021-06-07 10:02:30 -02:30
Daniel
92a79904f7 Swaps: Improve hardware wallet UX (#10987) 2021-06-07 10:02:30 -02:30
ryanml
4016bb535b Re-validating chain id when rpc url changes [custom network form] (#10982) 2021-06-07 10:02:30 -02:30
ryanml
5f1a0f7a69 Fixing changelog 2021-06-07 10:02:25 -02:30
Erik Marks
88d85d43bd @metamask/post-message-stream@4.0.0 (#10989) 2021-06-07 10:00:17 -02:30
ryanml
d421e593a2 Allowing for scroll overflow when swaps content is too tall (#10988)
Fixes MetaMask/metamask-extension#10957
2021-06-07 10:00:16 -02:30
ryanml
c63ff8f315 Revert "Remove tests that are only needed for the commit reverted in 68c5defc"
This reverts commit 08b401b4e0aa284cfe6c39e16adfc6ee5f74ef33.
2021-06-07 10:00:16 -02:30
ryanml
2dd26f9249 Revert "Removing recovery video entry from changelog"
This reverts commit 38d30a0ab2ff013d5ca2505df8490940f33c8e73.
2021-06-07 10:00:16 -02:30
ryanml
b8d385be62 Revert "Revert "Adding recovery phrase video to onboarding process (#10717)""
This reverts commit 68c5defcdbb7cf3745c14c0023a1d3c37e657992.
2021-06-07 10:00:11 -02:30
Daniel
91601ebe5e Allow 0% slippage, show a warning for 0 < slippage <= 1, disable "Review Swap" button for negative slippage (#10936)
* Allow 0% slippage, show a warning for 0 < slippage <= 1, disable “Review Swap” button for negative slippage

* Update a translation key, use both new and old key until it’s translated everywhere

* Keep an old key for `en`: swapSlippageTooLow

* Fix an ESLint issue

* Only use swapSlippageNegative, remove swapSlippageTooLow
2021-06-07 09:58:45 -02:30
Alex Donesky
ce8b173f56 add setting to dismiss seed phrase backup reminder (#10967) 2021-06-07 09:58:45 -02:30
Alex Donesky
fbe1da81a5 send user to activity after transaction complete (#10946) 2021-06-07 09:58:45 -02:30
ryanml
6fddd7f548 Removing gray background from contact address input (#10971) 2021-06-07 09:58:45 -02:30
Mark Stacey
024095f090 Migrate check for GITHUB_TOKEN (#10958)
The check for the GITHUB_TOKEN environment variable was being done in
the wrong release script. It has been migrated to the relevant script.

A second check for the username has also been added, as it is also
required.
2021-06-07 09:58:45 -02:30
Mark Stacey
4f8ac95887 Update deploy key used for Storybook (#10966)
The SSH key used for Storybook deployments to `metamask-storybook` has
been updated. This new key is associated with `metamaskbot` rather than
a specific team member.
2021-06-07 09:58:45 -02:30
David Walsh
f8e400f51c Fix #10173 - Prevent lag in external monitors when using Mac + Chrome (#10952) 2021-06-07 09:58:45 -02:30
Brad Decker
29742b9519 remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
Niranjana Binoy
ffbd8e2c2f Handling gas price fetch failure (#10767) 2021-06-06 12:10:08 -02:30
Dan J Miller
d23db62ba0
Merge pull request #11232 from MetaMask/Version-v9.5.9
Version v9.5.9
2021-06-03 15:53:45 -02:30
Dan J Miller
5d566a483a Resolve ws dependency to version ^7.4.6 to fix security vulnerability (#11229) 2021-06-03 14:07:17 -02:30
Dan Miller
8d99a7360c Version v9.5.9 2021-06-03 14:06:43 -02:30
Dan Miller
e632076b20 Changelog lint fix for v9.5.8 2021-06-03 14:05:01 -02:30
Dan J Miller
a6b1444b4d Improve detection of whether a whats new notification was 'seen' (#11225) 2021-06-03 14:01:51 -02:30
Dan J Miller
0a9aee19f4
Merge pull request #11216 from MetaMask/Version-v9.5.8
Version v9.5.8
2021-06-01 15:04:21 -02:30
Dan Miller
31fb26f196 Version v9.5.8 2021-05-31 17:36:51 -02:30
Dan J Miller
6131d10d4b Fix notification locale format (#11207) 2021-05-31 17:33:09 -02:30
Dan Miller
517daba1af Revert "Revert "lint fix""
This reverts commit 02b442aace.
2021-05-31 17:31:35 -02:30
Dan Miller
ad7b4595ce Revert "Revert "Adding "What's New" notification for Ledger Support Update (#11188)""
This reverts commit 7365f87f9e.
2021-05-31 17:31:23 -02:30
Dan Miller
c68a858688 Revert "Revert "Disable Ledger Live toggle for Firefox users (#11169)""
This reverts commit 6e0da428ac.
2021-05-31 17:31:11 -02:30
Dan Miller
e3ed26cc24 Revert "Revert "Implement Ledger Live bridge (#10293)""
This reverts commit 56db48a1c3.
2021-05-31 17:30:56 -02:30
Dan J Miller
96ab804193
Merge pull request #11209 from MetaMask/Version-v9.5.7
Version v9.5.7
2021-05-28 20:05:12 -02:30
Dan J Miller
36ac2a92fd
Update CHANGELOG.md
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-05-28 19:36:18 -02:30
Dan Miller
b1ce4022dc Version v9.5.7 2021-05-28 16:29:50 -02:30
Dan Miller
56db48a1c3 Revert "Implement Ledger Live bridge (#10293)"
This reverts commit 397417bf09.
2021-05-28 16:17:17 -02:30
Dan Miller
6e0da428ac Revert "Disable Ledger Live toggle for Firefox users (#11169)"
This reverts commit dec34fa4c6.
2021-05-28 16:16:49 -02:30
Dan Miller
7365f87f9e Revert "Adding "What's New" notification for Ledger Support Update (#11188)"
This reverts commit 939a34f16c.
2021-05-28 16:16:37 -02:30
Dan Miller
02b442aace Revert "lint fix"
This reverts commit 6dfab2e3c6.
2021-05-28 16:16:25 -02:30
ryanml
6d1fcaaa66
Merge pull request #11190 from MetaMask/Version-v9.5.6
Version v9.5.6 RC
2021-05-27 13:32:32 -07:00
ryanml
a3501f2b48
[skip e2e] Update changelog for 9.5.6 (#11192) 2021-05-26 15:56:18 -07:00
ryanml
6dfab2e3c6 lint fix 2021-05-26 14:55:25 -07:00
MetaMask Bot
0d8b5f00d2 Version v9.5.6 2021-05-26 21:40:16 +00:00
ryanml
939a34f16c Adding "What's New" notification for Ledger Support Update (#11188)
* Adding "What's New" notification for Ledger Support Update

* Using Typography component
2021-05-26 14:38:11 -07:00