1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
Commit Graph

13305 Commits

Author SHA1 Message Date
Alex Donesky
a8ec9ada2a
Onboarding V2 Creation Successful view (#12248)
* add creation-successful onboarding view
2021-10-11 09:43:25 -05:00
Alex Donesky
b242d950a0
add optional chaining in isLegacyTransaction method to prevent blow up of useGasFeeInputs use on view quote page (#12316) 2021-10-11 09:06:19 -05:00
ryanml
018095691f Merge remote-tracking branch 'origin/develop' into master-sync 2021-10-09 16:46:28 -07:00
ryanml
4b2ef17d80
Merge pull request #12321 from MetaMask/Version-v10.2.2
Version v10.2.2 RC
2021-10-09 12:54:50 -07:00
ryanml
b61d7700c8 Updating changelog 2021-10-09 10:43:01 -07:00
MetaMask Bot
6ae261e7b0 Version v10.2.2 2021-10-09 17:35:41 +00:00
Jean P
bd05a3e1de Update warning message when Ledger app has contract data/blind signing setting disabled (#12256) 2021-10-09 10:31:53 -07:00
Niranjana Binoy
25901380c1 removing the icronUrl in tokens fron the state.json for fixtures (#12309) 2021-10-09 10:31:45 -07:00
Jean P
3332a11f77
Update warning message when Ledger app has contract data/blind signing setting disabled (#12256) 2021-10-09 10:30:46 -07:00
ryanml
0512b9c9f9
Merge pull request #12317 from MetaMask/Version-v10.2.1
Version v10.2.1 RC
2021-10-09 00:50:26 -07:00
Mark Stacey
9da60c7a42
Update caniuse-lite (#12312)
`caniuse-lite` has been updated to the latest published version. This
update prevents various console warnings that appear during the build.
2021-10-08 22:47:41 -02:30
Mark Stacey
a723179219
Remove unused test/e2e/run-all.sh script (#12314)
This script was replaced by `test/e2e/run-all.js` in #11301, but was
accidentally left behind despite being unused. It has been removed.
2021-10-08 22:46:11 -02:30
ryanml
f0111770ba
[skip e2e] Updating v10.2.1 changelog (#12318) 2021-10-08 14:57:40 -07:00
MetaMask Bot
ff20a999e0 Version v10.2.1 2021-10-08 21:45:18 +00:00
Alex Donesky
cd26cab8fe use improved-yarn-audit and exclude 1002401 and 1002581 (#12310)
* use improved-yarn-audit and exclude 1002401
2021-10-08 14:40:30 -07:00
Mark Stacey
56f800057b Update immer from v8 to v9 (#12303)
`immer` has been updated to v9. This didn't require any changes on our
part; the only breaking changes are to the TypeScript types [1].

The `@reduxjs/toolkit` library has been updated as well, to ensure that
it's using the updated version of Immer internally as well. This update
makes our patch of that package obsolete, as the problematic pattern
that were were patching out is no longer present.

[1]: https://github.com/immerjs/immer/releases/tag/v9.0.0
2021-10-08 14:40:20 -07:00
Dan J Miller
3d630ca8d1 Do case-insensitive comparisons of token addresses in view-quote and build-quote (#12315) 2021-10-08 14:31:33 -07:00
ryanml
43cdce1b9e Restoring mobile sync warning text (#12284) 2021-10-08 14:31:21 -07:00
Dan J Miller
18ca9d14e0
Do case-insensitive comparisons of token addresses in view-quote and build-quote (#12315) 2021-10-08 18:57:45 -02:30
Alex Donesky
3d36fbd8ce
Onboarding V2 Privacy settings view (#12253)
* add Set Advanced Privacy Settings onboarding view
2021-10-08 14:50:36 -05:00
ryanml
78b7f32d97
Adding UrlIcon component to Storybook (#12285) 2021-10-08 11:10:01 -07:00
Alex Donesky
3b5e33bc4c
use improved-yarn-audit and exclude 1002401 and 1002581 (#12310)
* use improved-yarn-audit and exclude 1002401
2021-10-08 12:18:38 -05:00
Niranjana Binoy
1879fb48d7
removing the icronUrl in tokens fron the state.json for fixtures (#12309) 2021-10-08 13:50:08 -02:30
Mark Stacey
7a5b48e018
Update immer from v8 to v9 (#12303)
`immer` has been updated to v9. This didn't require any changes on our
part; the only breaking changes are to the TypeScript types [1].

The `@reduxjs/toolkit` library has been updated as well, to ensure that
it's using the updated version of Immer internally as well. This update
makes our patch of that package obsolete, as the problematic pattern
that were were patching out is no longer present.

[1]: https://github.com/immerjs/immer/releases/tag/v9.0.0
2021-10-08 11:50:07 -02:30
Alex Donesky
614228cba7
Onboarding V2 Secure Your Wallet view (#12208)
* secure-your-wallet onboarding view
2021-10-06 13:52:25 -05:00
Jyoti Puri
fc41321470
Support for type 0 transaction (#12252)
Support for type 0 transaction
2021-10-06 23:59:57 +05:30
Mark Stacey
3a5538bd50
Migrate beta version to the main version field (#12246)
The main `version` field in `package.json` will now include the beta
version (if present) rather than it being passed in via the CLI when
building. The `version` field is now a fully SemVer-compatible version,
with the added restriction that any prerelease portion of the version
must match the format `<build type>.<build version>`.

This brings the build in-line with the future release process we will
be using for the beta version. The plan is for each future release to
enter a "beta phase" where the version would get updated to reflect
that it's a beta, and we would increment this beta version over time as
we update the beta. The manifest gives us a place to store this beta
version. It was also important to replace the automatic minor bump
logic that was being used previously, because the version in beta might
not be a minor bump.

Additionally, the filename logic used for beta builds was updated to
be generic across all build types rather than beta-specific. This will
be useful for Flask builds in the future.
2021-10-06 15:14:48 -02:30
Erik Marks
822ce5b8b0
Fix unit test package scripts (#12278)
This PR fixes our local unit test package scripts. When the state migration unit tests were migrated to Jest in #12106, it left the `test:unit` script in a broken state, because it didn't tell `mocha` to ignore the state migration tests.

Arguably, that script was already broken, since the most reasonably expectation from its name is that it runs _all_ unit tests. The PR makes it so that it does just that, by means of `concurrently`.

Unfortunately, `concurrently` only outputs errors from child processes once (at the time when they exit, https://github.com/open-cli-tools/concurrently/issues/134). This means that we have to search/navigate the output for this combined script to identify the failure. That said, it's better than the status quo.
2021-10-06 07:35:23 -07:00
ryanml
cd09e5b0bb
Restoring mobile sync warning text (#12284) 2021-10-06 05:02:50 -07:00
kumavis
cb174ff8e6
Lavamoat build system integration for WebApp (#12242)
* lavamoat - add lavamoat to webapp background

* test:e2e - add delay to resolve failure

* test:e2e - add delay to resolve failure

* build - add a switch for applying lavamoat, currently off for all

* test/e2e - remove delays added for lavamoat

* Revert "test/e2e - remove delays added for lavamoat"

This reverts commit 79c3479f15c072ed362ba1d4f1af41ea11a17d63.
2021-10-05 12:06:31 -10:00
Alex Donesky
3985a65e36
Onboarding V2 App Header (#12264)
* Add onboarding app header
2021-10-05 15:38:16 -05:00
Niranjana Binoy
68259ee3e2
UX Papercuts Epic: Create a consistent representation of the Buttons (#12096) 2021-10-05 15:20:42 -04:00
Jyoti Puri
68d7ff73c5
Remove autofocus from gas limit input on advance gas popup (#12279) 2021-10-05 21:46:08 +05:30
Etienne Dusseault
9de632e9d1
Fix contact-list Storybook (#12262) 2021-10-05 09:13:07 -05:00
Mark Stacey
9924035bb8
Merge pull request #12267 from MetaMask/master-sync
Sync `master` with `develop`
2021-10-04 13:23:17 -02:30
ryanml
f741712255
Fixing confirmation screen storybook views (#12271) 2021-10-04 06:46:18 -07:00
Elliot Winkler
7c4bd78f2e
Suppress prop types warning in RadioGroupComponent (#12249)
When editing the gas fee for a transaction, the following warning is
being output to the console:

    Warning: Failed prop type: Connector: prop type `isFirst` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined`.

This commit fixes this issue.
2021-10-01 16:23:54 -06:00
ryanml
2f9f187d7e Merge remote-tracking branch 'origin/develop' into master-sync 2021-10-01 14:20:46 -07:00
ryanml
853b4fbdf6
Merge pull request #12104 from MetaMask/Version-v10.2.0
Version v10.2.0 RC
2021-10-01 14:18:43 -07:00
kumavis
a174d50ba5
ci - improve lavamoat validation debug info (#12259)
* ci - improve lavamoat validation debug info

* Update validate-allow-scripts.sh

* Update validate-lavamoat-policy.sh
2021-10-01 09:39:28 -10:00
kumavis
f9ea9e4b43
lockdown - breakout making globalThis properties non-writable (#12258)
* lockdown - breakout making globalThis properties non-writable into lockdown-more.js

* Update app/scripts/lockdown-more.js

Co-authored-by: David Walsh <davidwalsh83@gmail.com>

* Update app/scripts/lockdown-more.js

Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>

Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
2021-10-01 08:53:12 -10:00
ryanml
c14f46eb92
Fixing confirm-add-suggested-token storybook entry (#12261) 2021-10-01 09:07:29 -07:00
Alex Donesky
9355fb21c7
Establish onboarding-flow wrapper/router base and feature flag env variable (#12247)
* establish onboarding-flow wrapper/router base and feature flag env variable

* small cleanup

* addressing feedback
2021-09-30 16:34:11 -05:00
Mark Stacey
3b207fc6bf Run yarn lavamoat:auto
The Lavamoat policy has been automatically updated to reflect changes
made to dependencies for this release.
2021-09-30 18:36:11 -02:30
ryanml
79a43e94e1
Update changelog for v10.2.0 (#12185)
* [skip e2e] Update changelog for v10.2.0

* [skip e2e] adding qualifier to PR #11851

* Updating logline text per review comments

Update 12110

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

Update 11798

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

Update 11851

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

Update 11755

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

Update 11802

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

Update 11795

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

Update 11889

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

Update 11805

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

Update 11964

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

Update 11890

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

Update 12039

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

Update 12058

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

Update 11963

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

Update 12056

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

Update 12169

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

Update 12122

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

Update 11967

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

Update 11982

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

Update 12074

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

Update 12000

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

* [skip e2e] Update log entries for #12098, #11944, #12140, and #11796

* [skip e2e] Move #12098, #11944, from "Fixed" -> "Changed", add #12244

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-09-30 10:14:36 -07:00
ryanml
730605353a
Using URL util to parse hostname for block explorer link (#12241) 2021-09-30 09:14:20 -07:00
Bogdan A
1c5489e046
Locale en message fix- "not connected this site" (#12186) 2021-09-30 11:04:57 -05:00
Jyoti Puri
6187ab9b01
Fix gas control flicker on send screen when switching between EIP-1559 networks (#12230)
Fix gas control flicker on send screen when switching between EIP-1559 networks
2021-09-30 17:27:59 +05:30
Niranjana Binoy
eaf67a20fa Turning OFF token detection for test nets (#12232) 2021-09-29 11:55:21 -07:00
Niranjana Binoy
e238cbc568
Turning OFF token detection for test nets (#12232) 2021-09-29 14:53:56 -04:00