1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Commit Graph

14288 Commits

Author SHA1 Message Date
kumavis
c1ca70d732 phishing-detect - validate redirect url protocol 2022-05-03 13:39:18 -02:30
ryanml
16bcd0c0eb
Merge pull request #14254 from MetaMask/Version-v10.13.0
Version v10.13.0 RC
2022-04-19 12:21:10 -07:00
ryanml
6420db3e7f Lint fix 2022-04-19 09:51:33 -07:00
Dan J Miller
f4a00872d9 Run main, flask and beta in sequence in generate-lavamoat-policies.sh (#14470) 2022-04-19 13:38:51 -02:30
David Walsh
6a06374784 Dark Mode: Implement Metrics (#14455) 2022-04-19 13:38:44 -02:30
David Walsh
458d4c55d4 Dark Mode: Fix colors in toggle button (#14280) 2022-04-19 08:46:01 -02:30
Guillaume Roux
9950d3ffe3 Dark Mode : Fix connected account permission icon color (#14406) 2022-04-14 15:38:38 -07:00
David Walsh
e4197abfae Dark Mode: Fix QR display (#14312) 2022-04-14 15:38:27 -07:00
Dan J Miller
78f68b3dab Fix speed-up/cancel: don't update existing transaction data (#14355)
* Fix speed-up/cancel: don't update existing transaction data

* Move retryTxMeta state management to useGasFeeInputs.js

* Handle initial retryTxMeta set if no transaction is passed to useGasFeeInputs

* Ensure previousGas is use on retry transaction if it is available in useGasFeeInputs

* Remove update transaction mock and correctly test gas fee increase scenarios now that updateTransaction used in cancel-speedup is defined on the front end
2022-04-14 08:53:33 -07:00
kumavis
54ac00027b unblock ci: update vuln deps + fix npm registry for snaps firefox (#14437)
* dep-audit-fix for async@2.6.3

* deps - update async for vuln fix and remove patch

* deps/ci-yarn-audit - remove outdated ignored vulns

* deps/lock - deduplicate async@2

* deps/lock - deduplicate async@2 + remove indirectly used dep

* Use regular NPM registry for snaps on Firefox (#14439)

* Use regular NPM registry for snaps on FF

* Fix linting

* Update app/scripts/metamask-controller.js

Co-authored-by: Shane <jonas.shane@gmail.com>

Co-authored-by: kumavis <kumavis@users.noreply.github.com>
Co-authored-by: Shane <jonas.shane@gmail.com>

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Shane <jonas.shane@gmail.com>
2022-04-14 08:03:13 -07:00
Dan J Miller
432c88e185 Remove duplicate gas simulation error messages (#14409)
* Remove duplicate gas simulation error messages

* Fixing locales

* Fixing unit tests

* Fixing e2e

Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-04-13 08:01:21 -07:00
Erik Marks
1da6a9a139
Update Flask changelog entries (#14405)
Updates Flask changelog entries for v10.13.0. Some older commits were not included in the most recent Flask release due to merge conflicts. We should never run into this issue again since Flask should henceforth always release alongside the extension.

The commits in question were included in e.g. 10.12.0, but they were never actually released on Chrome.
2022-04-12 11:33:12 -07:00
Daniel
13c5a04752 stx-controller-v1.10.0 (#14352)
* stx-controller-v1.10.0

* yarn yarn-deduplicate
2022-04-07 03:04:31 -07:00
Daniel
2d24a4d643 Swaps timer improvements, optional refresh rates and fix for a notification UI (#14300)
* Set up correct timer value for fetching new quotes

* Show red timer in Swaps if quotes fetching will happen in less than 10s (previously it was 30s)

* Fix a UI issue with the notification close button

* Make stx refresh rates optional, since not every network supports them
2022-04-07 03:01:50 -07:00
Mark Stacey
1b4ddf709b Replace ReadOnlyInput (#14330)
Replace the last two uses of the `ReadOnlyInput` with a div. The idea
of using an input for read-only data is silly. We can just put it in
the DOM directly instead.
2022-04-07 02:45:42 -07:00
George Marshall
cdb9d341bc color fix for hover on swaps quote (#14334) 2022-04-07 02:44:55 -07:00
George Marshall
15a6006237 Updatin contract deployment text label to be darker (#14333) 2022-04-07 02:44:23 -07:00
George Marshall
13c087e2e9 Fixing account details label colors (#14315) 2022-04-07 02:44:09 -07:00
George Marshall
a499d0f045 Fix/14303 show private keys (#14314) 2022-04-07 02:43:54 -07:00
George Marshall
94378c773d Fix/14302 about fox logo (#14308) 2022-04-07 02:43:35 -07:00
George Marshall
36a736d3b5 Fix/14230 dark mode fixes (#14305)
* Dark mode fixes

* removing unused icon svg
2022-04-07 02:42:52 -07:00
Dan J Miller
ba909c3055 Fix the close button in the speed up and cancel popovers (#14356) 2022-04-07 02:42:32 -07:00
George Marshall
1ade2e84f0 Swaps select quote highlight fix (#14270) 2022-04-07 02:42:02 -07:00
ryanml
7d9796bb53 Fix Buy Ether via Moonpay and Wyre actions (#14322) 2022-04-07 02:41:45 -07:00
David Walsh
9760750231 Dark Mode: Remove unwanted background for price quote (#14278) 2022-04-07 02:41:21 -07:00
David Walsh
48eadc669f Ensure proper color for swaps edit link (#14273) 2022-04-07 02:41:02 -07:00
David Walsh
b042858663 Dark Mode: Ensure actionable message button colors are the same color as previously (#14271) 2022-04-07 02:40:45 -07:00
ryanml
485d711e0b Ensure Metafox follows cursor on Fetching quotes screen (#14261) 2022-04-07 02:37:33 -07:00
ryanml
72646b769e Fixing changelog 2022-04-07 02:33:13 -07:00
ryanml
b8c9f370ef Merge remote-tracking branch 'origin/master' into Version-v10.13.0 2022-04-07 02:32:07 -07:00
ryanml
0a38628cc0
[skip e2e] Updating changelog for v10.13.0 (#14257) 2022-04-06 08:00:29 -07:00
Mark Stacey
ed68c1846c
Merge pull request #14349 from MetaMask/Version-v10.12.4
Version v10.12.4 RC
2022-04-06 10:31:49 -02:30
Dan J Miller
fc1463cef3
Update CHANGELOG.md
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2022-04-05 11:38:02 -02:30
ryanml
70a3d3a620 changelog fix 2022-04-05 04:44:32 -07:00
Dan Miller
2185d2f7ef Update changelog 2022-04-04 21:07:48 -02:30
Mark Stacey
831d274a40 Restore version missing from certain build steps (#14344)
Certain build steps accidentally omitted the `version` variable. It has
now been restored to all steps, ensuring that all environment variables
are correctly injected into all bundles.

A check has been added to the Sentry setup module to ensure the release
is not omitted in the future.
2022-04-04 21:06:12 -02:30
MetaMask Bot
4eb303f4e4 Version v10.12.4 2022-04-04 20:56:53 +00:00
Mark Stacey
a977effc10
Merge pull request #14287 from MetaMask/Version-v10.12.2
Version v10.12.2 RC
2022-03-30 22:52:32 -02:30
Mark Stacey
d34e0df37a Update changelog
An additional changelog entry was added for the v10.12.1 rollback
release.
2022-03-30 21:33:35 -02:30
Mark Stacey
98f187c301 Update SRP representation
An array of integers is now used to represent the SRP in three cases:

* In the import wallet flow, the UI uses it to pass the user-provided
  SRP to the background (which converts the array to a buffer).
* In the create wallet flow, the UI uses it to retrieve the generated
  SRP from the background.
* When persisting the wallet to state, the background uses it to
  serialize the SRP.

Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
2022-03-30 21:01:26 -02:30
MetaMask Bot
081f7b621b Version v10.12.2 2022-03-30 23:29:47 +00:00
MetaMask Bot
ac6844ee47 Version v10.13.0 2022-03-29 20:21:37 +00:00
Dan J Miller
09512c7148
Improvements for multi-layer fee UX (#13547)
* Show fiat on confirm screen on multilayer-fee network

* Disable gas editing on optimism

* Fix send max mode on optimism

* Represent layer 2 gas fee as a single value

* Hide gas fee edit UI on optimism

* Improvement multilayer-fee-message styling

* Lint fix

* Fix locales

* Remove unnecessary code change

Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-03-29 16:51:45 -02:30
Daniel
7cb22bd883
metaMetricsEvent -> trackEvent (#14249) 2022-03-29 19:19:40 +02:00
seaona
c7f8c629be
E2e dapp interactions (#14149)
* Connect to a second Dapp when MM is locked

* Refactored dapp server setup to allow multiple servers

* Triggering notification with MM locked

* Fix testcase description

* Fix lint

* Merge develop and remove extra line

* Updated baseport and included iselementPresent for a clearer assertion

* Fix lint issues

* Use Ganache pattern for defining number of Dapp servers

* Fix lint issues
2022-03-29 17:47:45 +02:00
Mark Stacey
c4e89ae84e
Merge pull request #14247 from MetaMask/master-sync
Master sync following v10.12.0
2022-03-29 13:03:47 -02:30
PeterYinusa
b22e93d689
failing contract interaction e2e (#14227)
* failing contract interaction e2e

* variable scope
2022-03-29 15:55:55 +01:00
Dan Miller
1f1462120b Merge remote-tracking branch 'origin/develop' into master-sync 2022-03-29 11:26:55 -02:30
filipsekulic
ee89eddb82
Removed metrics event (#14042) 2022-03-29 08:46:24 -05:00
Dan J Miller
86e95ebde2
Merge pull request #13935 from MetaMask/Version-v10.12.0
Version v10.12.0 RC
2022-03-29 11:11:44 -02:30