Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master => develop #34

Merged
merged 100 commits into from
Feb 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
4977413
Fix: release file blob
yqrashawn Jan 20, 2020
d543ac0
Fix: circle ci artifact url
yqrashawn Jan 20, 2020
46c8ea7
Docs: issue templates, codeowners, docs, support emails
yqrashawn Jan 20, 2020
f7fb632
Docs: move docs to conflux-portal-docs
yqrashawn Jan 20, 2020
d1cc9dc
Fix: MetaMask -> ConfluxPortal in announcement script
yqrashawn Jan 20, 2020
57c0820
Fix: disable misleading changelog prefix
yqrashawn Jan 20, 2020
6348332
Fix: shelllint
yqrashawn Jan 20, 2020
ed6ea1d
Add page navigation to e2e web driver (#7867)
Gudahtt Jan 20, 2020
acbf751
Revert the revert of "Use common test build during CI (#7196)" (#7404…
Gudahtt Jan 20, 2020
caa152b
Add `withFixtures` helper and simple-send test (#7862)
Gudahtt Jan 20, 2020
e57b9d9
Add 1 second pause at the beginning of each e2e test run (#7872)
Gudahtt Jan 20, 2020
e294a7a
Remove unnecessary `shouldComponentUpdate` (#7875)
Gudahtt Jan 21, 2020
95aa466
Fix intermittent e2e test failure (#7873)
Gudahtt Jan 21, 2020
81c0dfa
Add benchmark script (#7869)
Gudahtt Jan 21, 2020
df76ba4
Update inpage provider (#7878)
rekmarks Jan 21, 2020
703a057
Remove unused browser-passworder dependency from package.json (#7879)
whymarrh Jan 21, 2020
45c8f91
Add margin of error metric (#7877)
yqrashawn Feb 3, 2020
9ba3d80
Change "Log In/Out" terminology to "Unlock/Lock" (#7853)
rekmarks Jan 21, 2020
9510e06
Add mechanism to randomize seed phrase filename (#7863)
ryanml Jan 22, 2020
38fd0d3
Use shared MetaMask ESLint config (#7882)
whymarrh Jan 22, 2020
dcf7faa
Remove unnecessary WebRTC shim (#7886)
Gudahtt Jan 23, 2020
459fcdf
Replace DetectRTC package with standard web APIs (#7887)
Gudahtt Jan 23, 2020
6128da7
Add benchmark to CI (#7871)
Gudahtt Jan 23, 2020
56a5118
Use ref in Mascot component rather than reaching into DOM directly (#…
Gudahtt Jan 24, 2020
5d65040
Remove unnecessary `withRouter` and `compose` calls (#7890)
Gudahtt Jan 24, 2020
d06a4ea
Remove unnecessary get environment type parameter (#7891)
Gudahtt Jan 24, 2020
5655d75
Add top-level error page (#7889)
Gudahtt Jan 24, 2020
0def1c5
Update GABA dependency version (#7894)
whymarrh Jan 24, 2020
d562366
Replace `request-promise` with `node-fetch` (#7899)
Gudahtt Jan 26, 2020
e4740c8
Update Sentry to v5.x (#7880)
Gudahtt Jan 26, 2020
6eac3b1
Minimum changes to get storybook working (#7884)
rickycodes Jan 26, 2020
981d049
Fixing broken JSON import help link (#7910)
ryanml Jan 27, 2020
7dfe5fc
Remove xtend from the dependencies list (#7902)
whymarrh Jan 27, 2020
8ba72ea
Update `classnames` to `v2.2.6` (#7906)
Gudahtt Jan 27, 2020
6b55982
Replace bluebird with Node.js API for unhandled rejections (#7904)
Gudahtt Jan 27, 2020
eb5cb10
Comment out `storybook-deploy` step (#7913)
Gudahtt Jan 27, 2020
3ad3fef
Switch to full lodash package, and update lodash (#7907)
Gudahtt Jan 27, 2020
38798e0
Update `c3` and `d3` (#7905)
Gudahtt Jan 27, 2020
3997db0
Replace `deep-extend` with `merge` from `lodash` (#7908)
Gudahtt Jan 27, 2020
5279a08
Improve LoginPerSite UX/devX and permissions logging (#7649)
rekmarks Jan 27, 2020
f8e310f
disable import button on Import Account screen for empty string/file …
thebrandonlucas Jan 28, 2020
da8494b
Update data on Approve screen after updating custom spend limit (#7918)
Gudahtt Jan 28, 2020
657e898
Remove usage of unlisted extend dependency (#7903)
whymarrh Jan 28, 2020
39b6ca8
Remove JSDoc tools (#7897)
Gudahtt Jan 28, 2020
8f557b5
Update jazzicon component (#7898)
Gudahtt Jan 29, 2020
25b06af
Allow editing max spend limit (#7919)
Gudahtt Jan 29, 2020
7fb8015
Report errors in tests to `test-metamask` Sentry project (#7924)
Gudahtt Jan 29, 2020
e0442bf
Bump Node version to 10.18 (#7925)
whymarrh Jan 29, 2020
3c8a9ac
Remove top-level symlinks (#7927)
whymarrh Jan 29, 2020
653a501
Replace `clone` dependency with `cloneDeep` from lodash (#7926)
Gudahtt Jan 29, 2020
5c5205b
Remove redux-logger from mock-store (#7930)
whymarrh Jan 29, 2020
1388c23
Delete unused .dockerignore file (#7929)
whymarrh Jan 29, 2020
212e38e
Replace `debounce` package with `debounce` function from `lodash` (#7…
Gudahtt Jan 29, 2020
5015f55
Remove unused promise-filter dependency (#7932)
whymarrh Jan 29, 2020
620ae74
Validate custom spend limit (#7920)
Gudahtt Jan 29, 2020
0756cc3
Delete outdated team page (#7928)
whymarrh Jan 29, 2020
47964f0
Replace mkdirp with built-in functionality (#7934)
whymarrh Jan 29, 2020
ec6ef81
Sorting seed phrase confirmation buttons alphabetically (#7933)
ryanml Jan 29, 2020
f13804c
Replace fast-deep-equal with isEqual from lodash (#7935)
whymarrh Jan 29, 2020
0f76c1d
Move devDeps into devDeps (#7936)
whymarrh Jan 29, 2020
accde31
Remove unused number-to-bn package (#7937)
whymarrh Jan 29, 2020
f935bfe
Add Sentry environment (#7923)
Gudahtt Jan 29, 2020
64b1146
Move polyfill-crypto.getrandomvalues to devDeps (#7938)
whymarrh Jan 29, 2020
c316a33
Fix: syntax error
yqrashawn Feb 3, 2020
7b03684
Remove unused fs-extra and fs-promise devDependencies (#7939)
whymarrh Jan 29, 2020
9c44923
Remove unused rimraf devDependency (#7940)
whymarrh Jan 29, 2020
29b6961
Remove unnecessary 'path' dependency (#7942)
whymarrh Jan 30, 2020
995daa0
Only resolve ENS on mainnet (#7944)
Gudahtt Jan 30, 2020
90f9410
Remove unused mocha-eslint dependency (#7943)
whymarrh Jan 30, 2020
8579863
Inline isomorphic-fetch test helper (#7945)
whymarrh Jan 30, 2020
83db41a
Remove dead link to team page in README (#7946)
whymarrh Jan 30, 2020
b1585fe
Remove mocha-jsdom and mocha-sinon (#7947)
whymarrh Jan 30, 2020
a3def1c
Explicitly set Sass compiler for gulp-sass (#7948)
whymarrh Jan 30, 2020
b66956a
ci: Update shellcheck version used in CI (#7951)
whymarrh Jan 30, 2020
3651019
Move issue template and contributing doc to .github (#7952)
whymarrh Jan 30, 2020
643593d
Remove gulp-eslint and gulp-util dependency (#7949)
whymarrh Jan 30, 2020
4ca8919
Update ENS registry addresses (#7954)
whymarrh Jan 30, 2020
3b0dbc3
Bump tree-kill version to fix high-severity vulnerability (#7956)
whymarrh Jan 30, 2020
34f70b1
Bump node-sass to fix low-severity vulnerability (#7955)
whymarrh Jan 30, 2020
5573848
Remove cross-env (#7950)
whymarrh Jan 30, 2020
8781463
Various component tests and some conditional statements (#7765)
tmashuang Jan 30, 2020
42cdb64
Update ethereum-ens-network-map in lockfile (#7959)
whymarrh Jan 30, 2020
fa0c330
Use ethereum-ens-network-map for network support (#7960)
whymarrh Jan 31, 2020
7b48f40
Fix: lint
yqrashawn Feb 3, 2020
c8a28bf
Fix: unit tests
yqrashawn Feb 3, 2020
4bf523e
Fix: settings network tab react dup key error
yqrashawn Feb 3, 2020
691e23e
Fix: no need to pass benchmark test to release for now
yqrashawn Feb 3, 2020
8aa2ef4
Fix: speedup tx
yqrashawn Feb 5, 2020
d7a2303
Updating deprecated Etherscam link (#7464)
hensha256 Feb 3, 2020
31e1eab
Use envify@4.1.0 (#7983)
whymarrh Feb 4, 2020
a3b4e08
Use eth-json-rpc-infura@4.0.2 (#7981)
whymarrh Feb 4, 2020
476cbb6
Use eth-keyring-controller@5.5.0 (#7980)
whymarrh Feb 4, 2020
25914dc
Use gulp@4.0.2 (#7982)
whymarrh Feb 4, 2020
f348e00
Remove redundant eth-*-keyring versions from yarn.lock (#7984)
whymarrh Feb 4, 2020
0962b73
Fixes #5706 - Adds Dai/Sai to currency display (#7986)
tmashuang Feb 4, 2020
7d0d221
Add: testnet to http://testnet-jsonrpc.conflux-chain.org:12537/
yqrashawn Feb 7, 2020
02176db
Fix: sign typed data
yqrashawn Feb 7, 2020
2e88c48
Fix: conflicts with metamask, add testnet chainid
yqrashawn Feb 10, 2020
324dd23
Fix: test:lint
yqrashawn Feb 10, 2020
c9b28c0
Version v0.0.5
ConfluxBot Feb 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 82 additions & 39 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ workflows:
- prep-build:
requires:
- prep-deps
# - prep-docs:
# requires:
# - prep-deps
- prep-build-test:
requires:
- prep-deps
- prep-scss:
requires:
- prep-deps
Expand All @@ -28,10 +28,10 @@ workflows:
- prep-deps
- test-e2e-chrome:
requires:
- prep-deps
- prep-build-test
- test-e2e-firefox:
requires:
- prep-deps
- prep-build-test
- test-unit:
requires:
- prep-deps
Expand Down Expand Up @@ -62,10 +62,14 @@ workflows:
# - test-e2e-firefox
- test-integration-flat-chrome
- test-integration-flat-firefox
- benchmark:
requires:
- prep-build-test
- job-publish-prerelease:
requires:
- prep-deps
- prep-build
# - benchmark
- all-tests-pass
- job-publish-release:
filters:
Expand All @@ -74,16 +78,21 @@ workflows:
requires:
- prep-deps
- prep-build
# - prep-docs
- all-tests-pass
# - job-publish-storybook:
# filters:
# branches:
# only: develop
# requires:
# - prep-deps
- coveralls-upload:
requires:
- test-unit

jobs:
create_release_pull_request:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- run:
Expand All @@ -95,7 +104,7 @@ jobs:

prep-deps:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- run:
Expand All @@ -114,7 +123,7 @@ jobs:

prep-build:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -131,24 +140,27 @@ jobs:
- dist
- builds

prep-docs:
prep-build-test:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
at: .
- run:
name: build:dist
command: yarn doc
name: Build extension for testing
command: yarn build:test
- run:
name: Move test build to 'dist-test' to avoid conflict with production build
command: mv ./dist ./dist-test
- persist_to_workspace:
root: .
paths:
- docs/jsdocs
- dist-test

prep-scss:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -167,7 +179,7 @@ jobs:

test-lint:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -181,17 +193,17 @@ jobs:

test-lint-shellcheck:
docker:
- image: circleci/node:10.17-browsers
- image: koalaman/shellcheck-alpine:stable
steps:
- checkout
- run: sudo apt-get install shellcheck
- run: apk add --no-cache bash jq yarn
- run:
name: Shellcheck Lint
command: yarn lint:shellcheck

test-lint-lockfile:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -202,7 +214,7 @@ jobs:

test-deps:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -213,40 +225,67 @@ jobs:

test-e2e-chrome:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run:
name: test:e2e:chrome
command: yarn build:test && yarn test:e2e:chrome
command: yarn test:e2e:chrome
no_output_timeout: 20m
- store_artifacts:
path: test-artifacts
destination: test-artifacts

test-e2e-firefox:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- run:
name: Install Firefox
command: ./.circleci/scripts/firefox-install
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run:
name: test:e2e:firefox
command: yarn build:test && yarn test:e2e:firefox
command: yarn test:e2e:firefox
no_output_timeout: 20m
- store_artifacts:
path: test-artifacts
destination: test-artifacts

benchmark:
docker:
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run:
name: Run page load benchmark
command: yarn benchmark:chrome --out test-artifacts/chrome/benchmark/pageload.json
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- persist_to_workspace:
root: .
paths:
- test-artifacts

job-publish-prerelease:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand Down Expand Up @@ -276,7 +315,7 @@ jobs:

job-publish-release:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -291,16 +330,20 @@ jobs:
- run:
name: Create GitHub Pull Request to sync master with develop
command: .circleci/scripts/release-create-master-pr
# - run:
# name: github gh-pages docs publish
# command: >
# git config --global user.name "metamaskbot" &&
# git config --global user.email "admin@metamask.io" &&
# yarn publish-docs
# job-publish-storybook:
# docker:
# - image: circleci/node:10.18-browsers
# steps:
# - checkout
# - attach_workspace:
# at: .
# - run:
# name: storybook:deploy
# command: yarn storybook:deploy

test-unit:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -315,7 +358,7 @@ jobs:
- coverage
test-unit-global:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -325,7 +368,7 @@ jobs:
command: yarn test:unit:global
test-mozilla-lint:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -336,7 +379,7 @@ jobs:

test-integration-flat-firefox:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -352,7 +395,7 @@ jobs:
environment:
browsers: '["Chrome"]'
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand All @@ -363,15 +406,15 @@ jobs:

all-tests-pass:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- run:
name: All Tests Passed
command: echo 'weew - everything passed!'

coveralls-upload:
docker:
- image: circleci/node:10.17-browsers
- image: circleci/node:10.18-browsers
steps:
- checkout
- attach_workspace:
Expand Down
4 changes: 2 additions & 2 deletions .circleci/scripts/release-create-gh-release
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ then
release_body="$(awk -v version="${tag##v}" -f .circleci/scripts/show-changelog.awk CHANGELOG.md)"
pushd builds
hub release create \
--attach metamask-chrome-*.zip \
--attach metamask-firefox-*.zip \
--attach conflux-portal-chrome-*.zip \
--attach conflux-portal-firefox-*.zip \
--message "Version ${tag##v}" \
--message "$release_body" \
--commitish "$CIRCLE_SHA1" \
Expand Down
1 change: 0 additions & 1 deletion .circleci/scripts/release-create-master-pr
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ install_github_cli
printf '%s\n' "Creating a Pull Request to sync 'master' with 'develop'"

if ! hub pull-request \
--reviewer '@MetaMask/extension-release-team' \
--message "Master => develop" --message 'Merge latest release back into develop' \
--base "$CIRCLE_PROJECT_USERNAME:$base_branch" \
--head "$CIRCLE_PROJECT_USERNAME:$CIRCLE_BRANCH";
Expand Down
3 changes: 0 additions & 3 deletions .dockerignore

This file was deleted.

4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
!.eslintrc.js

node_modules/**
dist/**
builds/**
Expand All @@ -21,4 +23,4 @@ test/e2e/contract-test/sha3.min.js

package-lock.json

test/e2e/contract-test/metamask-onboarding.bundle.js
test/e2e/contract-test/conflux-portal-onboarding.bundle.js
Loading