Commit Graph

3100 Commits

Author SHA1 Message Date
Daniel Sanchez a4cdf3db70
Merge pull request #1628 from gnosis/release/v2.15.0
Backmerge release v2.15.0
2020-11-18 16:23:55 +01:00
Daniel Sanchez 37877d7fba
Merge branch 'development' into release/v2.15.0 2020-11-18 15:51:24 +01:00
Agustin Pane 0913f2539f
Update legal text (#1624) 2020-11-18 11:23:09 -03:00
nicolas 1d3d61d812
Merge branch 'development' into release/v2.15.0 2020-11-18 10:08:53 -03:00
Daniel Sanchez c36a610cbe
Merge pull request #1625 from gnosis/release/v2.14.1
Electron fixes for Release v2.14.1
2020-11-18 13:30:08 +01:00
nicolas 996d339982
Layout refactor (#1604)
* refactor layout using flexfox

* comments

* fix sidebar css

* remove overflow y

Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
2020-11-17 15:47:17 -03:00
Daniel Sanchez 88052028d0 Fix electron comment message 2020-11-17 17:57:32 +01:00
Daniel Sanchez fb3ad8c0df Merge branch 'master' into release/v2.14.1 2020-11-17 17:56:56 +01:00
Daniel Sanchez 8d69d958d8 Update release artifacts upload
Disable dev tools in production
2020-11-17 16:20:28 +01:00
Daniel Sanchez 456d28c37d Change hw-transport-node-hid for hw-transport-node-hid-singleton 2020-11-17 15:37:59 +01:00
Agustin Pane 38751958bb
(Fix) - #1154 Add more owners on safe creation (#1583)
* Add types in getAddressValidator
Remove unused props

* Absolute import

* Adds safeOwnersAddressesSelector

* Fix uniqueAddress function

* Replaces getAddressesListFromAddressBook with addressBookAddressesListSelector

* Remove comment

* Types

* Fix tests

* Improves safeOwnersAddressesSelector

* Remove memoize from uniqueAddress

* Improves uniqueAddress validation

* Improves uniqueAddress function to check checksum values
Add tests

* Removes toArray from safeOwnersAddressesSelector
Allows uniqueAddress to use both string[] and List<string>

* Renames safeOwnersAddressesSelector to safeOwnersAddressesListSelector

* Update src/components/forms/validator.ts

Improves uniqueAddress

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>

* Fix tests

* Fix uniqueAddress

* Fix types extensions

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: Fernando <fernando.greco@gmail.com>
2020-11-17 09:34:01 -03:00
Daniel Sanchez 9ed9ae8e83 Add devtools to debug Github actions behaviour 2020-11-16 19:52:19 +01:00
Agustin Pane 9f1dc37bbb
(Fix) #1587 - Ens mislabeled as eth (#1601)
* Fix fetch symbol for incoming txs

* Fix getting symbol promise from erc721

* Adda ens contract addresses for different networks
2020-11-16 11:20:07 -03:00
Daniel Sanchez 8ff417e99b
Merge pull request #1597 from gnosis/release/v2.15.0
Release v2.15.0
2020-11-16 13:31:25 +01:00
Daniel Sanchez 0fe29f11c8 Set v2.15.0 2020-11-16 12:52:39 +01:00
Daniel Sanchez 9d7fec573d Merge branch 'master' into release/v2.15.0 2020-11-16 12:52:21 +01:00
Daniel Sanchez 033de25cf5 Set production Sablier and WalletConnect IPFS hash 2020-11-16 12:45:35 +01:00
Daniel Sanchez daed3943bc
Merge pull request #1602 from gnosis/release/v2.14.1
Fix v2.14.1 build for Windows
2020-11-13 16:47:39 +01:00
Daniel Sanchez 639aa7b488
Merge branch 'master' into release/v2.14.1 2020-11-13 15:50:25 +01:00
Daniel Sanchez 3bab94e70d Rollback node-sass to latest v4 version 2020-11-13 15:08:32 +01:00
Daniel Sanchez 710a2a99ed Upgrade @truffle/contract to a version that uses web3@1.2.9
Fix scrypt issue building in windows
2020-11-13 13:32:14 +01:00
Daniel Sanchez 26231ef54b Update node-gyp and node-sass to latest version
This is intended to avoid memory leak in windows machines
2020-11-13 12:45:12 +01:00
Daniel Sanchez 3c795462b7
Rollback web3 to v1.2.11 to avoid issues with walletconnect (#1599) 2020-11-12 20:20:54 +01:00
Daniel Sanchez ddd3e09f9f
Merge pull request #1592 from gnosis/release/v2.14.1
Set v2.14.1
2020-11-12 16:07:08 +01:00
Fernando da1e39c2ef
(Fix) Remove the provider when the site is disconnected (#1585) 2020-11-12 11:40:28 -03:00
Daniel Sanchez 08d24facb7 Set v2.14.1 2020-11-12 12:07:34 +01:00
Fernando 914333dc54
(Fix) Support CryptoKitties NFTs (#1574)
* create `logic/collectibles/utils` file and move all the
 NFT-related helper functions into it

`generateERC721TransferTxData` will decide whether the method
 to transfer an NFT will be `transfer` or `safeTransferFrom`,
 based on preset conditions where CryptoKitties tokens is taken
 as an exception.

Also, `transfer` was used instead of `transferFrom`
 because `transferFrom` is not implemented in the
 rinkeby version, and was the method used as a
 fallback before.

- moved `SAFE_TRANSFER_FROM_WITHOUT_DATA_HASH` const
- moved `isSendERC721Transaction` function
- moved `getERC721Symbol` function
- moved `isERC721Contract` function
- created `getTransferMethodByContractAddress` along with `CK_ADDRESS` const
- created `generateERC721TransferTxData` function
- refactored `ReviewCollectible` component to use `generateERC721TransferTxData`
- updated tests

* remove `ENS_ADDRESS` constant as it's not used

* add unmock of collectibles/utils

* add tests for `getTransferMethodByContractAddress`
2020-11-11 18:31:54 -03:00
Agustin Pane 294ba47142
(Feature) - #1244 send tx again (#1582)
* Types

* Adds tokenAddress to getTxData for tokenTransfer transactions

* Adds sendModalOpenHandler to EllipsisTransactionDetails

* Adds getRawTxAmount util

* Add isTokenTransfer fix for ether in getTxData

* Uses sendFund modal for retry outgoing transfer transactions

* Adds ether address in getTxData result for outgoig transfers

* Uses nativeCoin

* Remove fragmnet

* Fix decimals for native coin

* Fix decimals usage in tx transfer amount

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-11-11 14:20:10 -03:00
Mati Dastugue 433fe9be79 Merge branch 'development' of github.com:gnosis/safe-react into development 2020-11-11 14:12:08 -03:00
Mati Dastugue 19e6df725a
Add tracking info to Google analytics (#1584)
Add extra information to Google Analytics (#1510 )
2020-11-11 15:44:14 +01:00
Agustin Pane ca732001bf
(Fix) - #1561 Outgoing instead of custom tx for sending collectibles (#1567)
* Refactor getTxData

* Add SAFE_TRANSFER_FROM in SAFE_METHODS_NAMES

* Adds check on isSendERC721Transaction for erc721 send

* Adds TOKEN_TRANSFER_METHODS_NAMES types

* Replace type SAFE_TRANSFER_FROM

* Fix import

* Adds nftAssetsListAddressSelector

* Remove txCode and knownTokens from isSendERC721Transaction
Now it directly checks agains the list of nftAssets on the store

* Refactor ENS_TOKEN_CONTRACT usage check

* Add TODO

* Add return for ENS symbol

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: Fernando <fernando.greco@gmail.com>
2020-11-10 17:09:41 -03:00
Fernando 325864cffb
(Fix) Prevent ENS check when not supported (#1570) 2020-11-10 16:16:44 -03:00
Agustin Pane 2a01470d2d
(Fix) - #1542 CopyBtn content in addressbook (#1579)
* Fix CopyBtn content

* Fix explorer url

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-11-10 11:51:14 -03:00
Fernando 325adda00d
(Fix) Error when using up to the max amount of decimals for token transfer (#1576) 2020-11-09 17:04:28 -03:00
Daniel Sanchez 0c67c48648
Upgrade dependencies (#1572)
* Upgrade web3 to v1.3.0

* Remove polished direct dependency

* Upgrade types dependencies

* Upgrade ledger and electron related dependencies

* Update gnosis-safe-components to latest version

* Upgrade sentry dependencies to latest version

* Upgrade truffle-contract and axios

* Upgrade electron dependencies

* Use fade instead rgba with hex value

Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
2020-11-06 17:01:40 +01:00
Daniel Sanchez 296cf30384
Fix development deployment to always use rinkeby network (#1573) 2020-11-06 08:36:26 +01:00
Mati Dastugue 79bf102166 Merge branch 'development' of github.com:gnosis/safe-react into development 2020-11-05 12:53:30 -03:00
Daniel Sanchez 387ebe68fb
Updates bnc-notify version and adds support for GridPlus Lattice [internal] (#1569)
* Adds support for GridPlus Lattice and bumps `bnc-onboard` version.
For more information on the GridPlus Lattice, see https://gridplus.io/lattice

* Disable Lattice wallet from incompatible chains

Co-authored-by: Alex Miller <asmiller1989@gmail.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>
2020-11-05 16:02:24 +01:00
Agustin Pane 4b37b5d867
(Feature) - #1436 Network configuration documentation (#1533)
* Adds networks.md

* Updates readme.md

* Add some rewording

Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-11-05 11:21:31 +01:00
Fernando 7a881537e5
(Fix) Executed transactions status (#1552)
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-11-04 19:40:59 -03:00
Agustin Pane c9fb7fcc10
(Fix) - #1554 Send collectible crash on addressBook (#1559)
* Type TokenSelectField

* Type collectibleSelectField
Remove anys in SendCollectibleTxInfo
Fix cast in SendModal

* Replace cast to toString

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-11-04 10:37:26 -03:00
Agustin Pane f69bffd089
(Fix) Feature/1558 Replace owner modal names (#1562)
* Types

* Uses addressBook when displaying the replace owner modal

Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
2020-11-04 10:18:46 -03:00
Daniel Sanchez 81192859e9
Merge pull request #1566 from gnosis/release/v2.14.0
Backmerge v2.14.0 to development
2020-11-03 18:22:00 +01:00
Daniel Sanchez c4ebb63f5b
Merge branch 'development' into release/v2.14.0 2020-11-03 18:01:32 +01:00
Daniel Sanchez 0f8a0e93b5
Merge pull request #1565 from gnosis/release/v2.14.0
Fix travis instruction
2020-11-03 11:08:45 +01:00
Daniel Sanchez 1ffad69ae2 Separate travis instruction 2020-11-03 09:54:26 +01:00
Daniel Sanchez 6d5164f103
Merge pull request #1537 from gnosis/release/v2.14.0
Release v2.14.0
2020-11-03 09:26:17 +01:00
Daniel Sanchez 8d9b229c9e Disable release build 2020-11-03 09:01:10 +01:00
Mati Dastugue c246223c82 xDai - Disable Wallets (#1563)
* Disable not working wallets for xDai
2020-11-02 19:26:03 +01:00
Mati Dastugue aa5be55414
xDai - Disable Wallets (#1563)
* Disable not working wallets for xDai
2020-11-02 19:24:13 +01:00