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

12983 Commits

Author SHA1 Message Date
ryanml
43cdce1b9e Restoring mobile sync warning text (#12284) 2021-10-08 14:31:21 -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
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
Niranjana Binoy
eaf67a20fa Turning OFF token detection for test nets (#12232) 2021-09-29 11:55:21 -07:00
Daniel
47dbb22024 Fix form prefilling in Swaps on the Build Quote page (#12244)
* Fix form prefilling in Swaps on the Build Quote page

* Fix UTs

* Clean up tokens when resetting swaps state, in case a user is changing a network
2021-09-29 11:08:19 -07:00
David Walsh
7810cb3cdf Prevent fox mesh JSON warning (#12200)
* Prevent fox mesh JSON warning

* Update ui/helpers/utils/build-types.js

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

* Fix lint

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-09-28 10:23:02 -07:00
Niranjana Binoy
afede01717 Hiding refresh list on non-Mainnet networks (#12210) 2021-09-27 10:44:29 -07:00
Niranjana Binoy
62876f26b3 adding checksum conversion (#12209) 2021-09-27 10:44:08 -07:00
Alex Donesky
0e57973db8 fix issue where conversionRates aren't shown for tokens stored in non-checksum format (#12206) 2021-09-27 07:17:58 -07:00
Alex Donesky
b4cb15440b fix cancel button styling bug (#12204) 2021-09-24 16:08:04 -07:00
ryanml
5d1b316817 Fixing accounts scrollbar for chrome (#12205) 2021-09-24 09:29:24 -07:00
ryanml
ae8467cc74 Fixing alignment of settings close button (#12202) 2021-09-24 09:29:14 -07:00
MetaMask Bot
646f78eb30 Version v10.2.0 2021-09-22 19:18:47 +00:00
Jyoti Puri
adb56d8d16
Adding base to BigNumber constructor to round off value (#12140)
* Adding base to BigNumber constructor to round off value

* Numeric inputs to not allow more than 14 decimal places
2021-09-23 00:39:45 +05:30
Thomas Huang
02a4da9ad2
Fix 12145 - Ledger errors being set as Error: [object, object] (#12176)
* Fixes #12145

When transactions fail, preserve error message when presented with an error object. Fallback to stringified error for other cases.

* Perserve error stack when err.stack is present, else set stack to message.

* Use optional chaining
2021-09-22 10:41:23 -07:00
Alex Donesky
1ca02cb633
fix issue where duplicate tokens without icons appear in swap-to token list dropdown (#12148) 2021-09-22 10:31:36 -05:00
Thomas Huang
1cc45774dc
Jestify continue (#12173) 2021-09-22 08:15:40 -07:00
ryanml
5c842107b9
Hardening property check for stopPropagation in ConfirmTxScreen (#12158) 2021-09-21 11:58:39 -07:00
Jyoti Puri
9e7b52b7df
Truncate extra decimal places from token amount for sending (#12169) 2021-09-22 00:04:52 +05:30
Jyoti Puri
c9ce848f47
Fix case of password env variable (#12120) 2021-09-21 23:27:24 +05:30
Alex Donesky
8eca780746
Merge pull request #12171 from MetaMask/master-sync
sync `master` with `develop`
2021-09-21 12:46:36 -05:00
Thomas Huang
e78e82205a
Jestify migrations/ (#12106)
* Jestify migrations/

* Lint exclude migrations from mocha config, and add inclusion to jest config

* Add migration tests to jest config

* Exclude/ignore migration tests

* Set process.env.IN_TEST to true when running tests locally
2021-09-21 09:28:13 -07:00
Alex
a7b7fbb3fb fix sync conflicts 2021-09-21 11:20:31 -05:00
Alex
b751cf80b9 Merge remote-tracking branch 'origin/develop' into master-sync 2021-09-21 11:18:59 -05:00
Alex Donesky
5121dffa76
Merge pull request #12134 from MetaMask/Version-v10.1.1
Version v10.1.1 RC
2021-09-21 11:13:53 -05:00
Brad Decker
9204e65c7e fix pubnub dep vulnerabiltiy (#12170) 2021-09-21 10:19:08 -05:00
Brad Decker
c35797453d
fix pubnub dep vulnerabiltiy (#12170) 2021-09-21 10:12:51 -05:00
ryanml
a58211c0dd Fixing ledger steps display (Confirm TX) (#12163)
* Fixing ledger steps display (Confirm TX)

* Hiding step two on Firefox
2021-09-20 13:22:32 -07:00
ryanml
aba2c71948
Fixing ledger steps display (Confirm TX) (#12163)
* Fixing ledger steps display (Confirm TX)

* Hiding step two on Firefox
2021-09-20 13:19:35 -07:00
Niranjana Binoy
9929820b88
Adding a Token detection announcement in Search tab (#12152) 2021-09-20 15:42:58 -04:00
Matthew Epps
3ca6202282
Add client id header for Swaps Apis (#12137) 2021-09-20 14:06:41 -05:00
Etienne Dusseault
6b7444c257
Add add-recipient to Storybook (#12076) 2021-09-20 14:05:58 -05:00
Decentraliser
3edd544274
Fix translation (#12161) 2021-09-20 14:05:44 -05:00
Niranjana Binoy
e03d3dd5f0
Moving UseTokenDetection toggle to new Experimental tab (#12136) 2021-09-20 12:22:04 -04:00
PeterYinusa
1d658f5e0e
E2e remove xLargeDelayMs and xxLargeDelayMs delays (#12160)
* remove xLargeDelayMs and xxLargeDelayMs delay

* fix tests
2021-09-20 15:48:49 +01:00
ryanml
8df521df8a
Updating swaps availability tooltip text (#12157)
* Updating swaps availability tooltip text

Fixes MetaMask/metamask-extension#12156

* text update
2021-09-20 06:51:22 -07:00
Alex Donesky
f200876b54
[skip e2e] Update changelog for v10.1.1 (#12135) 2021-09-17 17:44:52 -02:30
Alois Klink
b7d5adcf5b
Change remote redux devtools url to redux devtools (#12151)
Fixes #12149.

Although remotedev.io was the official URL for https://github.com/zalmoxisus/remote-redux-devtools, it looks like a phishing/adult website has taken it over.

I've replaced the link with the homepage Redux Devtools Extension in the `redux-devtools` monorepo,
(same link as on the Chrome extension page)
since that has a link to install `remote-redux-devtools` if need be.
2021-09-17 12:41:55 -07:00
PeterYinusa
49de01c509
Interacting with MetaMask Notification window (#12147)
* wait for MetaMask Notification window title to update

* wait for notification to close

* wait for notification to close
2021-09-17 19:27:09 +01:00
Dan J Miller
d2e9de106b Add notification about need for ledger firmware update (#12144)
* Add notification about need for ledger firmware update

* Update messaging for ledger firmware notice

* Code cleanup
2021-09-17 13:10:17 -05:00
Dan J Miller
0f86f678f8
Add notification about need for ledger firmware update (#12144)
* Add notification about need for ledger firmware update

* Update messaging for ledger firmware notice

* Code cleanup
2021-09-17 14:20:16 -02:30
MetaMask Bot
3f5dcbf697 Version v10.1.1 2021-09-17 09:35:51 -05:00
ryanml
8310b551fb Adding "Enable smart contract data" step to Ledger Instructions (Confirmation Screen) (#12115) 2021-09-17 09:35:50 -05:00
Alex
4e08c24552 fixing merge issues 2021-09-17 09:35:50 -05:00
ryanml
6fb6a8e35a Adding usage instructions for Ledger Live users to confirmation screen (#12020)
* Adding usage instructions for Ledger Live users to confirmation screen

* Using design system components

* Hiding first step on Firefox
2021-09-17 09:35:50 -05:00
Alex Donesky
05c4b9691e bump @metamask/controllers to v16.0.0 (#12133) 2021-09-17 09:35:49 -05:00
Erik Marks
049c863f83 @metamask/controllers@15.0.0 (#11975)
Adds the latest version of `@metamask/controllers`, and updates our usage of the `ApprovalController`, which has been migrated to `BaseControllerV2`. Of [the new `controllers` release](https://github.com/MetaMask/controllers/releases/tag/v15.0.0), only the `ApprovalController` migration should be breaking.

This is the first time we use events on the `ControllerMessenger` to update the badge, so I turned the messenger into a property on the main `MetaMaskController` in order to subscribe to events on it in `background.js`. I confirmed that the badge does indeed update during local QA.

As it turns out, [MetaMask/controllers#571](https://github.com/MetaMask/controllers/pull/571) was breaking for a single unit test case, which is now handled during setup and teardown for the related test suite (`metamask-controller.test.js`).
2021-09-17 09:35:13 -05:00
Alex
c5c5d266db Lockfile cleanup 2021-09-17 09:35:11 -05:00
Jyoti Puri
ade9e4ac4b
Changing cancel button labels in send screen when in editing stage (#12056)
* Changing cancel button labels in send screen when in editing stage

* Re-route user to home page when reject is clicked on edit transaction page
2021-09-17 10:07:50 +05:30