Commit Graph

1672 Commits

Author SHA1 Message Date
Mikhail Mikheev 1ff38bcbef
Remove 'Hide zero balances' (#310) 2019-12-04 17:48:12 +04:00
Agustin Pane 434e12edd1 Feature #169: Intercom (#301)
* Implements intercom
Adds REACT_APP_INTERCOM_ID_MAINNET and REACT_APP_INTERCOM_ID_RINKEBY env vars

* Adds .env.example

* Adds intercom env vars

* Updates env vars
Replaces "rinkeby" and "mainnet" with "non-production" and "production"

* Now loads intercom after the user accepted the analytics

* Add env variable for production intercom id

* Update .env.example

* Removes react-intercom
Fixs getIntercomId with default dev appID
Now loads intercom as script

* Renegerate flow-types
2019-12-04 17:19:13 +04:00
apane 5cb148bc8e Merge branch '189-cookie-banner' of https://github.com/gnosis/safe-react into 189-cookie-banner 2019-12-04 09:19:23 -03:00
apane 2e1acb5758 Now the sidebar closes when the cookie banner is toggled 2019-12-04 09:19:07 -03:00
Mikhail Mikheev 639b2b0a23 remove withMutations from cookies reducer, move utils/cookies to logic/cookies 2019-12-04 15:40:13 +04:00
apane d2a7ff94cb Let the user re-open the cookie banner 2019-12-03 14:14:33 -03:00
Mikhail Mikheev dd3743e67f Remove link to cookie policy from sidebar, link cookie policy in the banner 2019-12-03 15:56:07 +04:00
Mikhail Mikheev b909cf25e0 Merge branch '189-cookie-banner' of github.com:gnosis/safe-react into 189-cookie-banner 2019-12-03 15:34:35 +04:00
Mikhail Mikheev 4a6fc32d95 Add link to cookie policy, use generic links for legal docs 2019-12-03 15:31:31 +04:00
Gabriel Rodriguez Alsina a7d7142844 Merge branch '189-cookie-banner' of github.com:gnosis/safe-react into 189-cookie-banner
* '189-cookie-banner' of github.com:gnosis/safe-react:
  Adds cookies utils Replaces localStorage with cookies Adds js-cookie
2019-12-02 10:47:54 -03:00
Gabriel Rodriguez Alsina 1fa3c04d95 (fix) added correct polished library and import, updated flow-typed 2019-12-02 10:47:44 -03:00
apane bc994dc355 Adds cookies utils
Replaces localStorage with cookies
Adds js-cookie
2019-12-02 10:44:29 -03:00
Gabriel Rodriguez Alsina fe422cba9f (remove) unused library 2019-12-02 08:44:21 -03:00
Mikhail Mikheev a9e32042ab Pull updated flow-types from dev 2019-12-02 14:10:28 +04:00
apane c995cc21ba Fixs cookies banner verbiage
Fix "x" in wrong place for snackbar messages
2019-11-27 16:19:37 -03:00
apane a9dee4c44a Fixs cookies acceptance 2019-11-27 11:23:40 -03:00
Mikhail Mikheev 207bd6e6a5 Increase TO_EXP for bignumber.js 2019-11-27 10:43:44 +01:00
apane 26b420742d Fix cookieStore deletion 2019-11-26 11:03:00 -03:00
apane 36251352f9 Merge branch '189-cookie-banner' of https://github.com/gnosis/safe-react into 189-cookie-banner 2019-11-26 10:37:19 -03:00
apane 9c6235f8db Removes redux for cookiesStorage 2019-11-26 10:37:16 -03:00
Gabriel Rodriguez Alsina 43a1990559 (Add) checkbox's disabled style. 2019-11-25 16:44:36 -03:00
apane 3b063d3ee8 Merge branch 'development' of https://github.com/gnosis/safe-react into 189-cookie-banner 2019-11-25 10:16:31 -03:00
apane 6ea47d6990 Finish cookie banner implementation 2019-11-25 10:10:43 -03:00
apane 3af46220fb Merge branch '189-cookie-banner' of https://github.com/gnosis/safe-react into 189-cookie-banner 2019-11-25 09:01:29 -03:00
Mikhail Mikheev fb76e45ebc increase range where BigNumber's toString doesn't convert numbers to exponential 2019-11-25 11:44:26 +03:00
Gabriel Rodriguez Alsina 8848ecd54d (add) cookie banner 2019-11-22 20:23:57 -03:00
Germán Martínez 2a37166d4f Merge branch 'bug/execute-tx-XooY' into development 2019-11-22 13:25:05 +01:00
Germán Martínez 0bd9353e60 Fix confirmation+execution check 2019-11-22 12:24:23 +01:00
Germán Martínez 88d0453168 Fix generation of signatures from tx confirmations 2019-11-21 13:09:31 +01:00
Germán Martínez 22d7d13f8f
Merge pull request #176 from gnosis/support_off_chain_sigs
Feature #176: Support off chain sigs
2019-11-21 12:10:22 +01:00
Mikhail Mikheev 27ce452e1a
Merge pull request #267 from gnosis/215-update-owner-list-fix
Feature #215: Update owner list fix
2019-11-21 13:21:21 +04:00
Mikhail Mikheev 0c33d99b5f
Merge pull request #284 from gnosis/bug/196-popups-incorrectly-displayed
Bug 196: Modals incorrectly displayed on smaller screen resolutions
2019-11-21 13:20:57 +04:00
Mikhail Mikheev a867b6e691
Merge pull request #282 from gnosis/bug/188-long-owner-names-UI-glitch
Bug 188: Long owner names cause UI glitch
2019-11-21 13:20:45 +04:00
Mikhail Mikheev 1021790f8d
Merge pull request #285 from gnosis/feature/208-pending-transactions
Feature #208: Show pending state for newly created transactions
2019-11-21 13:20:07 +04:00
Richard Meissner 8ec6bcf293 Show call type in UI if not call 2019-11-20 23:28:59 +01:00
Richard Meissner 04540790ea Support off chain signatures
Support transactions with refund

Display refund in UI
2019-11-20 23:20:34 +01:00
apane 5839fbe9cb Merge branch 'development' into 189-cookie-banner 2019-11-20 15:57:37 -03:00
apane 13d1de8251 Adds files to git 2019-11-20 13:39:43 -03:00
apane ad3d27e927 Adds action 2019-11-20 10:38:09 -03:00
Mikhail Mikheev 30980ed747 eslint fix 2019-11-20 14:08:21 +04:00
Mikhail Mikheev 3183e3b626 Show newly created tx as pending one 2019-11-20 14:01:49 +04:00
Mikhail Mikheev 36fec0f62d Allow scrolling modal view if its outside the screen 2019-11-20 11:43:16 +04:00
Mikhail Mikheev dffb531a45 Set max-width for owner name, show '...' if it doesn't fit into table cell 2019-11-20 11:15:39 +04:00
Mikhail Mikheev 66cb521dcf Add mising whitespaces in load safe flow 2019-11-20 10:57:11 +04:00
apane a4b92ca4e1 Adds cookie permissions to localStorage/redux state 2019-11-19 16:32:54 -03:00
Germán Martínez 7d887d1e60
Merge pull request #277 from gnosis/revert-before-refactor-changes
Revert before refactor changes
2019-11-19 14:52:09 +01:00
Germán Martínez ad6cc77607
Merge pull request #276 from gnosis/development
Development
2019-11-19 14:28:36 +01:00
Mikhail Mikheev 579cde37f7 Revert "update prod/prod-mainnet endpoints to api without refactor"
This reverts commit cdd091dfe5.
2019-11-19 17:05:47 +04:00
Mikhail Mikheev 0863195786 Revert "send tx to service only after it was mined"
This reverts commit eb0584feef.
2019-11-19 17:05:31 +04:00
Mikhail Mikheev 515d177c89
Merge pull request #274 from gnosis/bug/wrong-confirmation-notification
BUG: Wrong notification for confirmation tx
2019-11-19 16:50:03 +04:00
Mikhail Mikheev 0c0d2fc00d wip 2019-11-19 13:33:37 +04:00
Mikhail Mikheev c5e0888437 Pass value to search bar 2019-11-19 12:42:53 +04:00
Mikhail Mikheev a51915d971 Update validator to check that addresses start with 0x 2019-11-18 11:17:31 +04:00
Mikhail Mikheev 8688c2bc93
Merge pull request #270 from gnosis/bug/safari-clipboard-btns
Bug #234: Click to copy buttons are not shown in safari
2019-11-18 11:04:47 +04:00
Mikhail Mikheev a15a8bf3c3 Use polyfill instead of navigator.clipboard because it doesn't work in safari 2019-11-15 18:29:55 +04:00
Mikhail Mikheev 4603d71820 fix activate token for all safes after changing activeTokens from list to set 2019-11-15 14:09:14 +04:00
apane 94b89b0ad0 In order to replace the owner, first checks that the threshold is 1 2019-11-14 15:16:15 -03:00
apane 1c8f6b42c5 Adds update owner's list to the polling function 2019-11-14 13:46:35 -03:00
apane 54cb38b864 Adds update owner's list to the polling function 2019-11-14 12:19:48 -03:00
Mikhail Mikheev cdd091dfe5 update prod/prod-mainnet endpoints to api without refactor 2019-11-14 17:41:44 +04:00
Mikhail Mikheev eb0584feef send tx to service only after it was mined 2019-11-14 17:38:39 +04:00
Mikhail Mikheev f25f9fb138 Revert "Merge pull request #194 from gnosis/refactor-tx-service"
This reverts commit d4f0cc8f47, reversing
changes made to 101ac77dbe.
2019-11-14 17:35:21 +04:00
Mikhail Mikheev 854846dc80 Merge branch 'development' of github.com:gnosis/safe-react into bug/search-token-field-doesnt-work 2019-11-14 17:01:39 +04:00
mmv feb8d62c6c Fix token search input not working 2019-11-14 15:18:17 +04:00
mmv 8961982366 Fix send params for approval/execution txs 2019-11-14 14:58:33 +04:00
mmv 80d033aa02 remove value:0 where it's not needed 2019-11-14 11:19:52 +04:00
mmv 0e77694f5e Merge branch 'development' of github.com:gnosis/safe-react into bug-web3connect-android-fix 2019-11-14 11:17:08 +04:00
mmv 90bd1a00d3 Remove console.log in store/index.js 2019-11-14 11:04:22 +04:00
mmv 9dade2561c Pull from dev, conflict fixes 2019-11-14 11:03:17 +04:00
mmv 3b233024ba Set value to 0 when sending txs/deploying new safe 2019-11-14 10:30:07 +04:00
Mikhail Mikheev 8783eac2a0
Merge pull request #262 from gnosis/236-change-owners-name
Feature #236: Edit owner name in read-only mode
2019-11-14 10:26:25 +04:00
Germán Martínez c93529b21c
Merge pull request #257 from gnosis/158-notifications-improvements
Feature #158: Notifications improvements
2019-11-13 20:55:35 +01:00
mmv 102acbc392 Implement backdrop for wrong network, don't allow to close wrong network notification 2019-11-13 18:41:16 +04:00
apane 141864333f Fixs tags 2019-11-13 10:21:19 -03:00
mmv 82b15d7e09 Remove mention of daily limit feature 2019-11-13 17:17:08 +04:00
mmv 8239cb608f Fixes: notifications when creating threshold > 1 2019-11-12 18:32:25 +04:00
mmv 6e55d897ef Fixes: Info notification font color, owner/safe name change notifications, update settings change notification message 2019-11-12 17:35:56 +04:00
mmv 2b26e18147 Implement generic settings notifications 2019-11-12 16:55:56 +04:00
mmv fb3d358820 Merge branch 'development' of github.com:gnosis/safe-react into 158-notifications-improvements 2019-11-12 15:10:30 +04:00
mmv 36817ba9a3 ConnectButton cleanup 2019-11-12 15:10:18 +04:00
mmv dbbf8ddb0b try to enable torus 2019-11-12 12:24:48 +04:00
mmv eee95bfa9d Update staging tx history service url 2019-11-11 19:11:38 +04:00
mmv 4c5c7790d9 Update relay url for staging mainnet 2019-11-11 18:48:13 +04:00
mmv e6896d1ee1 fix mainnet url for infura 2019-11-11 17:45:15 +04:00
mmv c2e70136ba Add info icon, notifications wip 2019-11-11 17:43:13 +04:00
mmv 9d0549fc59 Merge branch '124-web3connect-new' of github.com:gnosis/safe-react into 158-notifications-improvements 2019-11-11 15:18:31 +04:00
mmv dd4fe35866 Send transaction to the service right after we get the tx hash (support after tx-history-service refactor) 2019-11-11 15:11:20 +04:00
mmv bfdc36c612 close all notifications on network change 2019-11-11 14:43:41 +04:00
apane 538fc8e929 Let non-owner users to edit the owners name 2019-11-08 16:00:29 -03:00
Mikhail Mikheev 66efe219cf eslint fix 2019-11-08 19:02:49 +04:00
Mikhail Mikheev d5e076a307 Allow passing dismissAll to closeSnackbar action, to be polished 2019-11-08 19:02:42 +04:00
Mikhail Mikheev cca6fda0a3 Disable torus 😒 2019-11-08 16:36:51 +04:00
Mikhail Mikheev 9c513dc2fa Merge branch 'development' of github.com:gnosis/safe-react into 124-web3connect-new 2019-11-08 16:28:52 +04:00
Mikhail Mikheev 4eb153bda7 Fix notifications reducer, fix provider notifications 2019-11-08 16:27:56 +04:00
Mikhail Mikheev 351b2c8592 Fixing notifications WIP 2019-11-08 16:05:28 +04:00
Uxio Fuentefria d441d110b2 Remove executed txHash from confirmations 2019-11-08 11:37:13 +01:00
Mikhail Mikheev 9e5a4f93a3 Merge branch '124-web3connect-new' of github.com:gnosis/safe-react into 124-web3connect-new 2019-11-08 14:15:32 +04:00
Mikhail Mikheev c2a7463236 rename web3ro to web3ReadOnly because RO meaning not easy to understand 2019-11-08 14:15:06 +04:00
mmv 13ab61b622 Enable torus again 2019-11-08 11:06:02 +04:00
Mikhail Mikheev b2c72f9097 wrap saveTxToHistory in try/catch so 'TX failed' notification doesn't show up if it only failed to send tx to service 2019-11-07 17:32:13 +04:00
Mikhail Mikheev 38b2f4d513 Remove torus from providers list because of the bug in their libraryy 2019-11-07 15:51:02 +04:00
Mikhail Mikheev bf8f8c430a Update rinkeby tokens for integrations, remove unused provider packages 2019-11-07 15:25:45 +04:00
Mikhail Mikheev dc47868a9f Conflict fix 2019-11-07 13:58:21 +04:00
Mikhail Mikheev 565e141325 Fix tests (finally): update owners test after we started navigating to transactions page after making a change which creates a tx, handle 404 transactions error and create util function for travelling to owners settings 2019-11-06 18:54:27 +04:00
Germán Martínez f71f00cc32 Fix the order of the owners addresses when creating a Safe 2019-11-06 15:27:12 +01:00
Mikhail Mikheev ede2ebbbe1 Test fixes, pass window.web3 to getProviderInfo in test utils, fix creating safe contracts in test env, dep bump 2019-11-06 17:28:16 +04:00
mmv db54ad812e WIP: Fixing tests, use window.web3 in test setup 2019-11-05 17:58:49 +04:00
mmv 5b89a2c66a Dep bump, use new wallet icon in header dropdown 2019-11-05 13:30:51 +04:00
mmv ea640cb119 fix comment placement for web3ro 2019-10-25 17:11:06 +04:00
mmv 8c1465c740 replace ensureOnce with simpleMemoize when getting master copies because connect provider might change and we have to use the new instance 2019-10-25 16:52:49 +04:00
mmv e8d54b6228 Detect dapper provider 2019-10-25 16:14:46 +04:00
mmv beae72c471 Kill walletconnect session on disconnect 2019-10-25 15:17:54 +04:00
mmv e0ae8c5645 Detect opera provider 2019-10-25 14:31:31 +04:00
mmv 77f5da5da6 Pull, connect to injected provider if preivously connected provider was injected one 2019-10-25 13:25:09 +04:00
Mikhail Mikheev 065b91f899 remove info about current walletconnect session on disconnect 2019-10-25 00:23:05 +04:00
Mikhail Mikheev a263aba2fc fix dependency cycle for getInfuraUrl 2019-10-24 13:22:01 +04:00
Mikhail Mikheev 8f3cecc99a Merge branch 'development' of github.com:gnosis/safe-react into 124-web3connect-new 2019-10-24 12:12:52 +04:00
mmv 2b19c61beb Use our own web3 instance to fetch data from blockchain because of limitations in web3connect 2019-10-23 17:49:22 +04:00
Mikhail Mikheev d8df1465fa Eslint fix 2019-10-23 16:37:52 +04:00
Mikhail Mikheev e60e81c606 Use alternative abi for getting symbol for DAI token 2019-10-23 16:29:48 +04:00
Mikhail Mikheev 1c6581e496 Add ENV variables for providers 2019-10-23 14:42:08 +04:00
mmv 51a01ef11a add new providers from web3connect beta.23, add entries to provider name 2019-10-23 14:08:23 +04:00
mmv 8f14494811 implement providerWatcher middleware 2019-10-22 18:25:03 +04:00
mmv 8e5af74312 refactor removeProvider action, watcher middleware wip 2019-10-22 17:59:25 +04:00
mmv f8426d3174 eslint fix 2019-10-22 17:11:35 +04:00
mmv b23af71a1e fix displaying multiple notifications on provider connect 2019-10-22 17:11:21 +04:00
mmv 6c99942530 use web3connect to get provider 2019-10-22 15:46:15 +04:00
mmv 3d8082c4d7 notification code fixes (typos, wrong types) 2019-10-22 14:43:52 +04:00
mmv 7ef89535da Align connect button to center 2019-10-22 14:17:51 +04:00
mmv 1679bfc065 Merge branch 'development' of github.com:gnosis/safe-react into 124-web3connect-new 2019-10-22 13:55:05 +04:00
Uxio Fuentefria 2e850e6689 Support Safes with old proxy (payingProxy)
- Version of the Safe has to be at least v1.0.0
- Closes #213
2019-10-21 18:42:01 +02:00
Mikhail Mikheev 24ad792407 Web3Connect integration wip: add ConnectButton component, modify Header component 2019-10-21 18:29:14 +04:00
Mikhail Mikheev 0ef723c1bd Merge branch 'development' of github.com:gnosis/safe-react into 133-send-improvements 2019-10-16 19:20:52 +04:00
Mikhail Mikheev ab3f19e7ad Merge branch 'master' of github.com:gnosis/safe-react into development 2019-10-16 19:19:16 +04:00
Mikhail Mikheev 2c5944250d Cancel transaction gas estimations 2019-10-16 19:17:38 +04:00
Mikhail Mikheev 1eb3695e0a remove owner gas estimations 2019-10-16 18:55:41 +04:00
Mikhail Mikheev 7d580e9b4b Styling fix 2019-10-16 18:10:21 +04:00
Mikhail Mikheev 44b7282865 ReplaceOwnerModal gas estimations 2019-10-16 18:03:01 +04:00
Mikhail Mikheev 686a174f0b AddOwnerModal gas estimations styling fixes, ReplaceOwnerModal gas estimations wip 2019-10-16 13:54:18 +04:00
Mikhail Mikheev ede3293968 Add Owner Flow gas estimations 2019-10-16 12:29:35 +04:00
Mikhail Mikheev c5a1ece144 Add owner flow gas estimations WIP 2019-10-15 19:12:34 +04:00
Mikhail Mikheev 0dd2ad5f5d Fix gas calculation error when confirming tx because of the modal premount, improve cancelled tx detection 2019-10-15 18:03:22 +04:00
mmv 75d37a5f39 Fix 'Send max' functionality when sending funds after send funds refactor 2019-10-15 15:17:19 +04:00
mmv f13cf6d083 Refactor send funds token select field to surpress mui warnings 2019-10-15 14:26:39 +04:00
mmv 849ed0a9ee Merge branch 'master' of github.com:gnosis/safe-react into 133-send-improvements 2019-10-15 13:29:19 +04:00
mmv 2b6f33ccda Replace StandardToken with HumanFriendlyToken when encoding token transfer data 2019-10-14 17:19:31 +04:00
mmv 17d42a29b5 Add test case for sending token with 6 decimals, wrap moveFunds helper fireEvent in act() 2019-10-14 17:13:15 +04:00
Mikhail Mikheev 19ce5abd48 Fix a fix for sending TX for tokens with decimals other than 24 2019-10-14 16:15:01 +04:00
Mikhail Mikheev b667f438ee Fix sending TX for tokens with decimals other than 24 2019-10-14 16:14:44 +04:00
Mikhail Mikheev 0ca45b2132 estimate tx when confirming transaction with threshold > 1 2019-10-11 18:58:32 +04:00