Erik Marks
b1d090ac4d
Add permissions controller unit tests ( #7969 )
...
* add permissions controller, log, middleware, and restricted method unit tests
* fix permissions-related bugs
* convert permissions log to controller-like class
* add permissions unit test coverage requirements
* update rpc-cap
Co-Authored-By: Whymarrh Whitby <whymarrh.whitby@gmail.com>
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
5 years ago
kumavis
7686edadb0
Build system refactor ( #8140 )
...
* build - start static asset task cleanup
* build - simplify manifest tasks
* build - refactor + rename some tasks
* build - various cleanups
* manifest - fix ref from controller
* build - drop gulp for simple async tasks
* build - breakout gulpfile into multiple files
* build - rename some tasks
* build - use task fn refs instead of string names
* build - bundle all scripts first, except for contentscript
* build - improve task timeline
* deps - update lock
* build - improve task time printout
* build/scripts - remove intermediate named task
* build - use 'yarn build' for task entry points
* build - properly run tasks via runTask for timeline display
* development/announcer - fix manifest path + clean
* build - lint fix
* build - make all defined tasks possible entry points
* build/task - properly report errors during task
* ci - fix sesify/lavamoat-viz build command
* build/scripts - run each bundle in separate processes
* lint fix
* build - forward childProcess logs to console
* build/task - fix parallel/series stream end event
* build/scripts refactor contentscript+inpage into a single task
* build/static - use the fs for 150x speedup zomg
* lint fix
* build/static - fix css copy
* Update development/build/scripts.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/scripts.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/index.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* deps - remove redundant mkdirp
* deps - remove unused pumpify
* deps - remove redundant merge-deep
* deps - prefer is-stream of isstream
* deps - remove clone for lodash.cloneDeep
* clean - remove commented code
* build/static - use fs.copy + fast-glob instead of linux cp for better platform support
* build/manifest - standardize task naming
* build/display - clean - remove unused code
* bugfix - fix fs.promises import
* build - create "clean" as named task for use as entrypoint
* build/static - fix for copying dirs
* Update development/build/task.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/display.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* build - use task refs, tasks only return promises not streams, etc
* lint fi bad merge + lint
* build - one last cleanup + refactor
* build - add comments introducing file
* build/manifest - fix bug + subtasks dont beed to be named
* Update package.json
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* build/task - remove unused fn
* Update package.json
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/styles.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
* Update development/build/styles.js
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
5 years ago
Mark Stacey
293741766f
Update `@metamask/eth-ledger-bridge-keyring` ( #8164 )
...
This updates the package to match the version used on `master`
See #8162 and #8163 for details
5 years ago
Whymarrh Whitby
21c1c2a14e
Use @metamask/eth-ledger-bridge-keyring@0.2.2 ( #8155 )
...
* Use @metamask/eth-ledger-bridge-keyring@0.2.2
* Update usages of eth-ledger-bridge-keyring
5 years ago
Whymarrh Whitby
cf85f56989
Use sinon@9.0.0 ( #8123 )
5 years ago
Whymarrh Whitby
f5317e5ab6
Use json-rpc-engine@5.1.8 ( #8124 )
5 years ago
Mark Stacey
b6487f08b7
Allow changing Storybook preview backgrounds ( #8111 )
...
The `@storybook/addon-backgrounds' addon has been added, which allows
changing the component preview background. By default no background
colors are defined, though there is a helpful grid button. A "light"
and "dark" background option has been added globally. Additional
story-specific backgrounds or global backgrounds can be added later if
necessary.
5 years ago
Mark Stacey
2d74fbc75c
Fix `superagent` peer dependency warning ( #8116 )
...
This warning was resolved by updating `pubnub`, which is the dependency
that uses `superagent-proxy` which is causing this warning. The
resolution we added to address a security advisory is also no longer
required.
5 years ago
Mark Stacey
cf8875c57b
Update Storybook dependencies to v5.3.14 ( #8115 )
...
This was primarily done to make explicit that we're using v5.3.x. Our
manifest listed `^5.2.x` but we had already updated to `v5.3.9` in the
lockfile. v5.3.0 lays much of the groundwork for the planned v6.0
release, and includes many changes.
The changes between v5.3.9 and v5.3.14 include various bug fixes, none
of which affect us as far as I know.
Peer dependencies required by Storybook have also been added. These
were already in our dependencies indirectly either way.
5 years ago
Whymarrh Whitby
8d0a757ab5
Use end-of-stream@1.4.4 ( #8098 )
5 years ago
Whymarrh Whitby
5eb95625ca
Remove react-tooltip-component ( #8099 )
5 years ago
Whymarrh Whitby
169ab8adc9
Remove recompose ( #8097 )
5 years ago
Whymarrh Whitby
fcd404015b
Use gulp-replace@1.0.0 ( #8095 )
5 years ago
Whymarrh Whitby
81d8237654
Use eslint-plugin-react@7.18.3 ( #8085 )
5 years ago
Whymarrh Whitby
ec1227fded
Use lockfile-lint@4.0.0 ( #8088 )
5 years ago
Whymarrh Whitby
e8dc8abd5c
Use concurrently@5.1.0 ( #8087 )
5 years ago
Whymarrh Whitby
6c9b7fc8c7
Use gulp-babel@8.0.0 ( #8086 )
5 years ago
Whymarrh Whitby
ef8ea9b188
Remove eslint-plugin-chai ( #8089 )
5 years ago
Konstantin
6f47fece56
Implementation encrypt/decrypt feature ( #7831 )
...
Implement `eth_decrypt` and `eth_getEncryptionPublicKey`. This allows decryption backed by the user's private key. The message decryption uses a confirmation flow similar to the messaging signing flow, where the message to be decrypted is also able to be decrypted inline for the user to read directly before confirming.
5 years ago
Whymarrh Whitby
cab2f1b769
Use react-redux@7.2.0 ( #8069 )
5 years ago
Whymarrh Whitby
8f26f5a021
Remove redux-test-utils dependency ( #8070 )
...
* Remove usages of redux-test-utils
* Remove redux-test-utils dependency
5 years ago
ricky
1f9e3b89d4
Add optional chaining ( #8052 )
...
* Add plugin-proposal-optional-chaining
* Use optional chaining to provide error fallback
5 years ago
Whymarrh Whitby
9c45ae0552
Use http-server@0.12.1 ( #8066 )
5 years ago
Whymarrh Whitby
b5cdbcb581
Update redux-related dependencies ( #8068 )
5 years ago
Erik Marks
9376c47dd1
update packages
5 years ago
Whymarrh Whitby
85430746ad
Update mocha version ( #8028 )
...
* Use mocha@7.0.1
* Remove bad async test
5 years ago
Whymarrh Whitby
7f3cf07f94
Update sinon and proxyquire ( #8027 )
...
* Use sinon@8.1.1
* Use proxyquire@2.1.3
* Move sinon mocking out of global scope into hooks
5 years ago
Whymarrh Whitby
4f3fc95d50
Update ESLint rules for test suite ( #8023 )
...
* Use @metamask/eslint-config@1.1.0
* Use eslint-plugin-mocha@6.2.2
* Mark root ESLint config as root
* Update Mocha ESLint rules with shared ESLint config
5 years ago
Whymarrh Whitby
1a1e0b43d0
Remove unused test:single script ( #8025 )
5 years ago
Whymarrh Whitby
5b28fb3a1c
Enable Storybook deploy on CI ( #8009 )
5 years ago
Whymarrh Whitby
1d654d6c4e
Remove version bump scripts ( #8006 )
5 years ago
Erik Marks
8e307f8d71
update inpage-provider; minor fixes ( #7997 )
5 years ago
Whymarrh Whitby
08c7322203
Remove last remaining usages of `npm run` ( #7994 )
...
* Remove last remaining usages of `npm run`
* Use nyc@15.0.0
5 years ago
Whymarrh Whitby
2aa22fa9d7
Use gulp@4.0.2 ( #7982 )
5 years ago
Whymarrh Whitby
75769e5809
Use eth-keyring-controller@5.5.0 ( #7980 )
5 years ago
Whymarrh Whitby
8610c1cf47
Use eth-json-rpc-infura@4.0.2 ( #7981 )
5 years ago
Whymarrh Whitby
313ee0c5e1
Use envify@4.1.0 ( #7983 )
5 years ago
Whymarrh Whitby
b80afc6493
Use ethereum-ens-network-map for network support ( #7960 )
5 years ago
Whymarrh Whitby
608a1fc298
Remove cross-env ( #7950 )
5 years ago
Whymarrh Whitby
0001b49cdf
Remove gulp-eslint and gulp-util dependency ( #7949 )
5 years ago
Whymarrh Whitby
ca9aaad911
Remove mocha-jsdom and mocha-sinon ( #7947 )
5 years ago
Whymarrh Whitby
2f3f605521
Inline isomorphic-fetch test helper ( #7945 )
5 years ago
Whymarrh Whitby
4ad49ffd68
Remove unused mocha-eslint dependency ( #7943 )
5 years ago
Whymarrh Whitby
472d8c3160
Remove unnecessary 'path' dependency ( #7942 )
5 years ago
Whymarrh Whitby
3b187eff43
Remove unused rimraf devDependency ( #7940 )
5 years ago
Whymarrh Whitby
e380c6fc6c
Remove unused fs-extra and fs-promise devDependencies ( #7939 )
5 years ago
Whymarrh Whitby
4428926784
Move polyfill-crypto.getrandomvalues to devDeps ( #7938 )
5 years ago
Whymarrh Whitby
fe83376b9f
Remove unused number-to-bn package ( #7937 )
5 years ago
Whymarrh Whitby
b4339f6cbf
Move devDeps into devDeps ( #7936 )
5 years ago
Whymarrh Whitby
d75e587533
Replace fast-deep-equal with isEqual from lodash ( #7935 )
5 years ago