1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
Commit Graph

8652 Commits

Author SHA1 Message Date
Bruno Barbieri
3a75571da2
--unsafe-perm ? 2019-01-02 16:18:24 -05:00
Bruno Barbieri
58b0a4c8f4
Dont use sudo to install truffle 2018-12-31 16:16:34 -05:00
Alexander Tseung
30a2be85ee
Prevent users from changing the From field in the send screen (#5922)
* Prevent users from changing the From field in the send screen

* Fix integration tests
2018-12-13 18:19:36 -08:00
Alexander Tseung
435fdae84a
Fix displayed time and date in the activity log. Remove vreme library, add luxon library. (#5932) 2018-12-13 12:48:15 -08:00
Frankie
b5d6452454
Disallow loading as metamaskNetworkId (#5924)
* transactions - throw an error if a transaction is generated while the network is loading

* add tests for failing when netId is loading
2018-12-13 09:14:46 -10:00
Dan J Miller
c5861c88a5
Merge pull request #5893 from MetaMask/loading-network-screen
Loading network screen
2018-12-13 14:20:27 -03:30
Thomas Huang
042845791c
Merge pull request #5926 from MetaMask/Version-5.2.2
Version 5.2.2 RC1
2018-12-12 19:01:36 -08:00
Dan Finlay
75a737b69a Version 5.2.2 RC1 2018-12-12 18:48:50 -08:00
Alexander Tseung
05e8753641 Fix speed up button not showing for transactions with the lowest nonce (#5925) 2018-12-12 18:33:46 -08:00
Thomas Huang
8cb8b9b408
Merge pull request #5923 from MetaMask/phishing-text-link
Update the Phishing Warning notice text to not use inline URLs
2018-12-12 16:25:06 -08:00
Dan Finlay
a6f61d1e22 Make docs links consistent (#5920)
* Make docs links consistent

So our various docs pages inter-link consistently per https://github.com/MetaMask/metamask-docs/issues/1

* Add docs links to internal docs page
2018-12-12 20:48:18 -03:30
Whymarrh Whitby
967fc98a3f
Update the Phishing Warning notice text to not use inline URLs
This changeset makes the Phishing Warning text not have a raw link right at the end of a sentence since it could introduce possible copy-and-paste errors.
2018-12-12 20:43:46 -03:30
Dan Miller
04cc98d8e4 Clean up for the loading-network-screen 2018-12-12 14:14:52 -03:30
Dan Miller
f4dc64960d Improve styling of loading retry / error screen 2018-12-12 13:54:45 -03:30
Dan Miller
20dbebae9f Adds network loading retry / error screen. 2018-12-12 13:53:37 -03:30
Dan Miller
0e5e51b8ff Add identifier of private network to the network loading screen message. 2018-12-12 13:53:37 -03:30
Dan Miller
47501a6f7a Add spinner and dropdown arrow to network indicator on custom network loading. 2018-12-12 13:53:37 -03:30
Dan J Miller
970bdebb86
Merge pull request #5919 from MetaMask/gas-customization-fixes
Fix some styling and translations in the gas customization modal
2018-12-12 13:38:11 -03:30
Dan J Miller
ea5eb855e8 Version 5.2.1 RC1 (#5918) 2018-12-12 09:02:42 -08:00
Dan Miller
66f7102c06 Show transaction fee instead of total fee in top left of gas customization modal. 2018-12-12 13:27:44 -03:30
Dan Miller
dabf263733 Fix width of gas customization model in notification view 2018-12-12 13:05:38 -03:30
Dan Miller
3cca6fc886 Add missing translation to the gas customization component. 2018-12-12 13:05:25 -03:30
Dan J Miller
7c60414075
Merge pull request #5917 from MetaMask/correct-gas-limit-from-external-tx
Ensures that advanced tab gas limit reflects tx gas limit
2018-12-12 12:19:31 -03:30
Dan Miller
1145a0a9ad Ensures that advanced tab gas limit reflects tx gas limit 2018-12-12 12:00:57 -03:30
Alexander Tseung
9c24019659
Add submitDisabled prop to Modals. Disable submit button when creating a cancel transaction (#5910) 2018-12-11 15:04:57 -08:00
Thomas Huang
d6fa967b1f
Merge pull request #5902 from MetaMask/i5846-ProviderCrashes
Fix provider crashes
2018-12-11 10:24:14 -08:00
Thomas Huang
ce23891404
Merge pull request #5908 from MetaMask/i5846-ProviderCrashes-changelog
Changelog and version bump for 5.2.0
2018-12-11 09:51:35 -08:00
Dan Miller
5ab3f5bb20 Changelog and version bump for 5.2.0 2018-12-11 13:51:19 -03:30
Alexander Tseung
dde239797b
Show Failed transaction in the browser notification for on-chain failures (#5904) 2018-12-10 18:02:26 -08:00
Dan Finlay
3bfd4d1524 Merge branch 'develop' into i5846-ProviderCrashes 2018-12-10 15:40:14 -08:00
Dan J Miller
1fbdce8916 Improve ux for low gas price set (#5862)
* Show user warning if they set gas price below safelow minimum, error if 0.

* Properly cache basic price estimate data.

* Default retry price to recommended price if original price was 0x0

* Use mock fetch in send-new-ui integration tests.
2018-12-10 13:51:00 -08:00
Dan Finlay
14bd599790 Bump package lock, mostly to https links 2018-12-10 10:47:47 -08:00
Dan Finlay
0d8fa9290c Bump json-rpc-engine to v4.0.0 2018-12-10 10:47:36 -08:00
Noah Zinsmeister
49971e9ec2 fix formatting of 32-byte strings in personal_sign (#5878) 2018-12-10 09:47:52 -03:30
Alexander Tseung
d8ab9cc002
Group transactions by nonce (#5886) 2018-12-09 12:48:06 -08:00
Thomas Huang
575fb607c3
Merge pull request #5892 from MetaMask/fix-net-version-race-condition
Fix race condition in network controller lookup() method.
2018-12-07 14:49:00 -08:00
Whymarrh Whitby
347b26f028
Merge pull request #5890 from whymarrh/pl-i18n
Fill in more Polish message translations
2018-12-07 19:17:53 -03:30
Whymarrh Whitby
0c8c6db040
Merge pull request #5891 from whymarrh/npm-audit
Migrate test deps CI job to npm audit
2018-12-07 08:18:17 -03:30
Dan Miller
246dcf689c Fix race condition in network controller lookup() method. 2018-12-06 16:13:24 -03:30
Whymarrh Whitby
d7c8a3048f Deduplicate package.json file
From `npm install`:

> npm WARN The package css-loader is included as both a dev and production dependency.
> npm WARN The package eslint-plugin-react is included as both a dev and production dependency.
> npm WARN The package file-loader is included as both a dev and production dependency.
> npm WARN The package gulp is included as both a dev and production dependency.

It's also worth noting that the Gulp version we were using was inconsistent and there is
a published v4 release on GitHub.
2018-12-06 12:40:57 -03:30
Whymarrh Whitby
ac6b0bd31c Update ganache-core to mitigate vuln
=== npm audit security report ===

> # Run  npm install --save-dev ganache-core@2.3.1  to resolve 1 vulnerability
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Memory Exposure                                              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ bl                                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ ganache-core [dev]                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ ganache-core > level-sublevel > levelup > bl                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/596                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
2018-12-06 12:40:57 -03:30
Whymarrh Whitby
855c8b209c npm uninstall open 2018-12-06 12:40:57 -03:30
Whymarrh Whitby
b6789a6e2f Remove beefy dependency and its usages
Refs #4768
Refs #5389

This changeset removes the beefy package that:

1. Was last published 2 yrs ago
2. Brought with it 1 moderate and 1 critical vulnerability
3. Was only used in scripts that no longer work
2018-12-06 12:40:57 -03:30
Whymarrh Whitby
c804185081 circleci: Replace nsp with npm audit
Refs #4751
2018-12-06 12:40:57 -03:30
Whymarrh Whitby
c7f46f77ca npm audit fix 2018-12-06 11:46:05 -03:30
Whymarrh Whitby
9beac977d8 circleci: Disable npm audit when installing packages
Auditing packages when installing here doesn't help anyone as the summary
isn't visible and vulnerabilities don't produce a non-zero exit code. We
will have `npm audit` as an extra CI job.
2018-12-06 11:43:50 -03:30
Whymarrh Whitby
161fdcfba6 Update lockfile to fix errors
npm has informed me that the lockfile has "errors":

    npm ERR! code ELOCKVERIFY
    npm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.
    npm ERR!     Missing: c3@^0.6.7
    npm ERR!     Invalid: lock file's d3@3.5.17 does not satisfy d3@^5.7.0
2018-12-06 11:43:50 -03:30
Whymarrh Whitby
80d7be0a19 Fill in more Polish message translations 2018-12-06 11:11:02 -03:30
Whymarrh Whitby
7ade47d1fe
Merge pull request #5882 from whymarrh/fix-main-container-wrapper-height
Force main container wrapper height to fill remaining space
2018-12-05 18:10:45 -03:30
Whymarrh Whitby
6a0993a45e Replace height: 100% rule with workaround for flexbox quirks 2018-12-05 14:13:45 -03:30