Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e9f7acf
Update idle safe app (#1290)
Aug 31, 2020
f7d4cfe
Track GA for safe actions (#1302)
nicosampler Aug 31, 2020
0fbc5f6
Merge branch 'master' of github.com:gnosis/safe-react into dev-backme…
mmv08 Sep 1, 2020
6f036f9
Merge pull request #1310 from gnosis/dev-backmerge/2.11.0
mmv08 Sep 1, 2020
c5bafa6
Bump new onboard.js version (#1307)
matextrem Sep 1, 2020
bfed967
Tech debt 1265: Enable strictNullChecks TS compiler option (#1301)
mmv08 Sep 4, 2020
372d27f
Bug: incoming transactions do not load if it fails to fetch gas for a…
mmv08 Sep 4, 2020
7821da0
Update Contract Data Modal (#1322)
matextrem Sep 6, 2020
b7afc5c
Fix fees not showing in transaction details (#1313)
Sep 7, 2020
43bc498
Revert "Tech debt 1265: Enable strictNullChecks TS compiler option (#…
Sep 9, 2020
9ead8ef
(Feature) Tooltip equivalent balance may be zero (#1337)
matextrem Sep 11, 2020
5b99cea
(Bugfix) - #1286 Fix Sidebar position (#1340)
alongoni Sep 14, 2020
ac92f49
(Fix) Pending transaction amount set to zero (#1316)
fernandomg Sep 14, 2020
f1916e9
(Feature) Add unit tests (#1230)
Agupane Sep 14, 2020
0d7fc80
Add lenght requirements for safe/owner naming when creating or loadin…
Sep 14, 2020
141b646
Add manual trigger to desktop app build (#1356)
Sep 14, 2020
8efafc1
1265 Restore strict null checks (#1336)
Sep 15, 2020
3301817
(Feature) Remove spam tokens / Deactivate tokens refresh fix (#1331)
Agupane Sep 15, 2020
e000958
(Bugfix) - #1312 Assets disappear when loading a safe (#1333)
mmv08 Sep 15, 2020
8a6633d
Apps/Feature #37: add onUserReject event handler (#1354)
mmv08 Sep 15, 2020
6636fdf
add word-break property
alongoni Sep 15, 2020
a86c919
apply the word break property to the container
alongoni Sep 16, 2020
835e647
add styles to class formContainer
alongoni Sep 16, 2020
e546870
Merge branch 'development' into release/v2.11.1
Sep 16, 2020
e81f2ec
Merge pull request #1370 from gnosis/release/v2.11.1
mmv08 Sep 16, 2020
f20152a
Merge branch 'development' into issue-925
Sep 17, 2020
f3b2d69
Merge pull request #1365 from gnosis/issue-925
alongoni Sep 17, 2020
dc632be
Not able to connect with Opera Touch (#1378)
matextrem Sep 21, 2020
46c5946
ENS names not working properly (#1372)
matextrem Sep 21, 2020
fffabf0
(Bugfix) - #1233 Fix method values length in TXs (#1314)
nicosampler Sep 21, 2020
59dc1f7
(Bugfix) - #1246 Addressbook entries removed when reloading page (#1300)
Agupane Sep 22, 2020
eebe972
Feature: Send env info message on safe apps sdk initialization (#1349)
mmv08 Sep 22, 2020
e946879
(Fix) Recipient address used as name as well (#1387)
fernandomg Sep 22, 2020
eec6e64
(Chore) Type fixes and refactor (#1376)
fernandomg Sep 22, 2020
a764a23
(Fix) (development) Missing collectibles and Safe version (#1375)
fernandomg Sep 23, 2020
d134871
Add Yearn Finance app (#1390)
Sep 23, 2020
6f707a6
(Feature) #588 Use addressBook names when creating/loading safe (#1377)
Agupane Sep 23, 2020
32547a8
Add WalletConnect safe-app (#1364)
nicosampler Sep 23, 2020
171b6d9
Update travis script to execute tests (#1382)
Sep 24, 2020
dc806dc
Set v2.12.0
Sep 24, 2020
c1bc366
(Bugfix) Owners duplicated (#1402)
Agupane Sep 25, 2020
aeda4f6
v2.12.0 Bugfix - Fix Activate/Blacklist tokens (#1401)
Sep 25, 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
25 changes: 18 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Build/Release Desktop app

# this will help you specify where to run
on:
push:
branches:
- master
on:
workflow_dispatch

env:
REACT_APP_BLOCKNATIVE_KEY: ${{ secrets.REACT_APP_BLOCKNATIVE_KEY }}
Expand All @@ -29,6 +27,19 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v2

# Add cache for yarn directory
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Patch node gyp on windows to support Visual Studio 2019
if: startsWith(matrix.os, 'windows')
shell: powershell
Expand Down Expand Up @@ -69,21 +80,21 @@ jobs:
release: ${{ startsWith(github.ref, 'refs/tags/v') }}

- name: 'Upload Artifacts OSX'
if: contains(github.ref, 'master') && startsWith(matrix.os, 'macos')
if: contains(github.ref, 'development') && startsWith(matrix.os, 'macos')
uses: actions/upload-artifact@v2
with:
name: Desktop OSX
path: ./dist/Safe[ ]Multisig*.dmg

- name: 'Upload Artifacts Linux'
if: contains(github.ref, 'master') && startsWith(matrix.os, 'ubuntu')
if: contains(github.ref, 'development') && startsWith(matrix.os, 'ubuntu')
uses: actions/upload-artifact@v2
with:
name: Desktop Linux
path: ./dist/Safe[ ]Multisig*.AppImage

- name: 'Upload Artifacts Windows'
if: contains(github.ref, 'master') && startsWith(matrix.os, 'windows')
if: contains(github.ref, 'development') && startsWith(matrix.os, 'windows')
uses: actions/upload-artifact@v2
with:
name: Desktop Windows
Expand Down
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
sudo: required
dist: xenial
services:
- docker
dist: bionic
language: node_js
node_js:
- '12'
os:
- linux
env:
global:
- DOCKER_COMPOSE_VERSION=1.22.0
matrix:
include:
- env:
- REACT_APP_ENV='production'
if: tag IS present
- env:
- REACT_APP_NETWORK='mainnet'
- STAGING_BUCKET_NAME=${STAGING_MAINNET_BUCKET_NAME}
Expand All @@ -28,10 +26,12 @@ before_install:
- sudo apt-get update
- sudo apt-get -y install python-pip python-dev libusb-1.0-0-dev
- pip install awscli --upgrade --user
# Install truffle
- yarn global add truffle
script:
- bash ./config/travis/build.sh
- yarn lint:check
- yarn prettier:check
- yarn test:coverage
- yarn build
#- bash ./config/travis/build.sh
after_success:
# Pull Request - Deploy it to a review environment
# Travis doesn't do deploy step with pull requests builds
Expand Down
54 changes: 26 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "safe-react",
"version": "2.11.1",
"version": "2.12.0",
"description": "Allowing crypto users manage funds in a safer way",
"website": "https://github.com/gnosis/safe-react#readme",
"bugs": {
Expand Down Expand Up @@ -38,7 +38,7 @@
"release": "electron-builder --mac --linux --windows -p always",
"start-mainnet": "REACT_APP_NETWORK=mainnet yarn start",
"start": "react-app-rewired start",
"test": "NODE_ENV=test && react-app-rewired test --env=jsdom",
"test": "react-app-rewired test --env=jsdom",
"test:coverage": "yarn test --coverage --watchAll=false",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"storybook": "start-storybook -p 9009 -s public",
Expand Down Expand Up @@ -164,21 +164,21 @@
]
},
"dependencies": {
"@gnosis.pm/safe-apps-sdk": "https://github.com/gnosis/safe-apps-sdk.git#development",
"@gnosis.pm/safe-apps-sdk": "0.4.0",
"@gnosis.pm/safe-contracts": "1.1.1-dev.2",
"@gnosis.pm/safe-react-components": "https://github.com/gnosis/safe-react-components.git#1bf397f",
"@gnosis.pm/util-contracts": "2.0.6",
"@ledgerhq/hw-transport-node-hid": "5.19.1",
"@ledgerhq/hw-transport-node-hid": "5.22.0",
"@material-ui/core": "4.11.0",
"@material-ui/icons": "4.9.1",
"@material-ui/lab": "4.0.0-alpha.56",
"@openzeppelin/contracts": "3.1.0",
"async-sema": "^3.1.0",
"axios": "0.19.2",
"axios": "0.20.0",
"bignumber.js": "9.0.0",
"bnc-onboard": "1.11.1",
"bnc-onboard": "1.13.1",
"classnames": "^2.2.6",
"concurrently": "^5.2.0",
"concurrently": "^5.3.0",
"connected-react-router": "6.8.0",
"coveralls": "^3.1.0",
"currency-flags": "2.1.2",
Expand All @@ -190,20 +190,20 @@
"eth-sig-util": "^2.5.3",
"ethereum-blockies-base64": "^1.0.2",
"ethereumjs-abi": "0.6.8",
"exponential-backoff": "^3.0.1",
"exponential-backoff": "^3.1.0",
"express": "^4.17.1",
"final-form": "^4.20.1",
"final-form-calculate": "^1.3.1",
"history": "4.10.1",
"immortal-db": "^1.0.3",
"immortal-db": "^1.1.0",
"immutable": "^4.0.0-rc.12",
"js-cookie": "^2.2.1",
"lodash.debounce": "^4.0.8",
"lodash.memoize": "^4.1.2",
"material-ui-search-bar": "^1.0.0-beta.13",
"material-ui-search-bar": "^1.0.0",
"notistack": "https://github.com/gnosis/notistack.git#v0.9.4",
"open": "^7.1.0",
"polished": "3.6.5",
"open": "^7.2.0",
"polished": "3.6.7",
"qrcode.react": "1.0.0",
"query-string": "6.13.1",
"react": "16.13.1",
Expand All @@ -215,15 +215,15 @@
"react-qr-reader": "^2.2.1",
"react-redux": "7.2.1",
"react-router-dom": "5.2.0",
"react-scripts": "^3.4.1",
"react-scripts": "^3.4.3",
"react-window": "^1.8.5",
"recompose": "^0.30.0",
"redux": "4.0.5",
"redux-actions": "^2.6.5",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"semver": "7.3.2",
"styled-components": "^5.1.1",
"styled-components": "^5.2.0",
"truffle-contract": "4.0.31",
"web3": "1.2.9",
"web3-core": "^1.2.11",
Expand All @@ -236,45 +236,43 @@
"@storybook/addons": "^5.3.19",
"@storybook/preset-create-react-app": "^3.1.4",
"@storybook/react": "^5.3.19",
"@testing-library/jest-dom": "5.11.2",
"@testing-library/react": "10.4.8",
"@testing-library/user-event": "12.1.0",
"@testing-library/jest-dom": "5.11.4",
"@testing-library/react": "10.4.9",
"@typechain/web3-v1": "^1.0.0",
"@types/history": "4.6.2",
"@types/jest": "^26.0.9",
"@types/jest": "^26.0.14",
"@types/lodash.memoize": "^4.1.6",
"@types/node": "14.6.0",
"@types/react": "^16.9.47",
"@types/node": "14.11.2",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.6",
"@types/react-redux": "^7.1.9",
"@types/react-router-dom": "^5.1.5",
"@types/styled-components": "^5.1.2",
"@types/styled-components": "^5.1.3",
"@typescript-eslint/eslint-plugin": "3.9.1",
"@typescript-eslint/parser": "3.9.1",
"autoprefixer": "9.8.6",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"electron": "7.2.4",
"electron": "9.3.0",
"electron-builder": "22.8.0",
"electron-notarize": "0.3.0",
"electron-notarize": "1.0.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-sort-destructure-keys": "1.3.5",
"ethereumjs-abi": "0.6.8",
"husky": "^4.2.5",
"lint-staged": "10.2.11",
"lint-staged": "10.4.0",
"node-sass": "^4.14.1",
"prettier": "2.0.5",
"prettier": "2.1.2",
"react-app-rewired": "^2.1.6",
"react-docgen-typescript-loader": "^3.7.2",
"truffle": "5.1.36",
"typechain": "^2.0.0",
"typescript": "3.9.7",
"wait-on": "5.1.0"
"wait-on": "5.2.0"
}
}
4 changes: 4 additions & 0 deletions public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ process.on('uncaughtException',function(error){

app.userAgentFallback = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) old-airport-include/1.0.0 Chrome Electron/7.1.7 Safari/537.36';

// We have one non-context-aware module in node_modules/usb. This is used by @ledgerhq/hw-transport-node-hid
// This type of modules will be impossible to use after electron 10
app.allowRendererProcessReuse = false;

app.commandLine.appendSwitch('ignore-certificate-errors');
app.on("ready", () =>{
// Hide the menu
Expand Down
52 changes: 52 additions & 0 deletions src/assets/icons/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading