Commit Graph

1583 Commits

Author SHA1 Message Date
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
Mikhail Mikheev 1e5958b8ea estimate tx when executing transaction with threshold > 1 2019-10-11 18:43:37 +04:00
Mikhail Mikheev 4aa48d8fce More notification fixes 2019-10-10 18:33:39 +04:00
Mikhail Mikheev de16a0cdec Gas estimations for approving TX wip, fix notifications reducer which led to infinite loop during HMR 2019-10-10 18:25:33 +04:00
Mikhail Mikheev ee483a98e4 refactor tx gas eestimation method to one functions which supports both execution and approval 2019-10-10 16:47:21 +04:00
Mikhail Mikheev ea04ae976e Add gas costs estimation to change owners for multiple owners safe 2019-10-10 13:14:16 +04:00
Mikhail Mikheev 845d0b93bc Add etherscan/copy buttons to remove owner flow 2019-10-09 17:55:49 +04:00
Mikhail Mikheev 85151687e8 Add etherscan/copy buttons to replace owner flow 2019-10-09 17:47:19 +04:00
Mikhail Mikheev e583b041a0 Add etherscan/copy buttons to edit owner 2019-10-09 17:32:41 +04:00
Mikhail Mikheev 43b079f4e0 Add etherscan/copy buttons to add owner 2019-10-09 17:23:10 +04:00
Mikhail Mikheev e1266b8ee0 Don't pass etherscanLink prop to Receive because it's not needed 2019-10-09 17:05:13 +04:00
Mikhail Mikheev c6f5aa41d1 Add etherscan/copy buttons to custom txs flow 2019-10-09 17:03:59 +04:00
Mikhail Mikheev 769f16401a Add gas costs to custom tx, add etherscan/copy btns to send funds flow 2019-10-09 16:47:05 +04:00
Mikhail Mikheev 4d25c04410 Show gas costs estimation when sending TX (not custom), fix loading default safe error message typo, use formatAmount for gas costs when opening a safe 2019-10-09 14:16:45 +04:00
Mikhail Mikheev 147c235f7b use parseFloat in maxValue validator so it works for numbers between 0 and 1 and respects decimals 2019-10-08 16:13:58 +04:00
Mikhail Mikheev d6cce5e446 Don't show gas calculations in send funds review 2019-10-08 13:20:44 +04:00
Mikhail Mikheev 387ea01d5e Transactions gas costs wip 2019-10-07 18:50:33 +04:00
Mikhail Mikheev 712fc80b1e Switch to transaction list after creating tx, fix typos and missing type imports for notifications 2019-10-07 16:44:24 +04:00
Mikhail Mikheev 7eed7419a9 Remove not needed variable export 2019-10-07 15:13:37 +04:00
Mikhail Mikheev 5451f32ff4 Pull from dev, conflict fixes 2019-10-07 15:11:46 +04:00
Mikhail Mikheev 2f13ecc589 Integrate material ui tabs with react router 2019-10-07 14:57:34 +04:00
Mikhail Mikheev c753c55fd0 Use formatAmount for balances in safe list sidebar 2019-10-04 19:13:02 +04:00
Mikhail Mikheev 5c8589cd27 add increaseZindex prop to EtherscanBtn to fix tooltip in provider dropdown in header 2019-10-04 19:10:32 +04:00
Mikhail Mikheev 27bf8f1824 Fix pagination element ordering 2019-10-04 19:06:24 +04:00
Mikhail Mikheev d8d39b38a5 Fix header copy button tooltip not displayed: add a boolean prop to increase z-index 2019-10-04 18:55:34 +04:00
Mikhail Mikheev 051b677651 Safe view tabs as routes wip 2019-10-04 18:10:17 +04:00
Mikhail Mikheev b458aa44ba Fix a fix for sending TX for tokens with decimals other than 24 2019-10-04 17:35:24 +04:00
Mikhail Mikheev 19029819e2 Fix sending TX for tokens with decimals other than 24 2019-10-04 17:09:29 +04:00
Mikhail Mikheev 4de2e26214 ReviewTx import order fix 2019-10-04 16:54:40 +04:00
Mikhail Mikheev a113f2321d add qr scanner to send funds/send custom tx flows 2019-10-04 16:16:53 +04:00
Mikhail Mikheev c38325bca5 Update sending funds with threshold > 2 test because 'approve and execute' is pre-checked now 2019-10-04 15:37:35 +04:00
Mikhail Mikheev 0378470ba6 Fix missing whitespace in required confirmation text 2019-10-04 15:01:11 +04:00
Mikhail Mikheev 673cbaadf9 eslint fix 2019-10-04 12:23:15 +04:00
Mikhail Mikheev fec212f2d6 dep bump, add copy/etherscan buttons to header provider details dropdown 2019-10-04 12:01:17 +04:00
Mikhail Mikheev 0760bfbdc3 Pull from dev, conflict fixes 2019-10-03 18:38:59 +04:00
Mikhail Mikheev 04bfe0a579 Refactor safe model 2019-10-03 18:25:21 +04:00
Mikhail Mikheev 9ba01b3c56 add useMemo to sidebar 2019-10-02 18:51:40 +04:00
Mikhail Mikheev 3b457d8647 Fix token list styles 2019-10-02 18:45:39 +04:00
Mikhail Mikheev 49252889b0 Add react-window in token list for displaying tokens 2019-10-02 18:28:33 +04:00
Mikhail Mikheev 6bbfd04910 Add util function for formatting amounts 2019-10-02 15:47:06 +04:00
Mikhail Mikheev 2d90d804a3 formatAmount wip 2019-10-02 13:25:46 +04:00
Mikhail Mikheev f909ddc699 formatAmount wip, use Intl.Numberformat 2019-10-01 19:58:21 +04:00
Mikhail Mikheev f5d324fff8 formatAmounts wip 2019-10-01 19:31:25 +04:00
Mikhail Mikheev b3b4887fdb formatAmounts wip 2019-10-01 19:25:10 +04:00
Mikhail Mikheev 969a389836 add Legal links to sidebar, rename Block layout component prop 2019-10-01 16:12:45 +04:00
Germán Martínez b9501475f8 Start "Safe" with uppercase letter 2019-10-01 11:54:28 +02:00
Mikhail Mikheev e8271d2b02 Add Early access label 2019-10-01 13:05:23 +04:00
Mikhail Mikheev ab24e44a76 Merge branch 'development' of github.com:gnosis/safe-react into 136-asset-view 2019-10-01 12:28:37 +04:00
Mikhail Mikheev ad737e0df3 add trailing slashes to dev/prod mainnet config endpoints 2019-09-30 19:38:45 +04:00
Mikhail Mikheev 60fcce14fe add copy/etherscan buttons to safe address on safe view page 2019-09-30 16:11:33 +04:00
Mikhail Mikheev 99ddb5989f Pull from dev, conflict fixes 2019-09-30 16:05:08 +04:00
Mikhail Mikheev e474f85c5f
Merge pull request #193 from gnosis/update-localstorage-prefix
Update storage prefix key
2019-09-30 13:38:29 +04:00
Mikhail Mikheev da1353be72 use network in storage prefix key 2019-09-30 13:24:44 +04:00
Mikhail Mikheev c6ea57e6ea
Merge pull request #191 from gnosis/bug/reload-when-sending-tx
BUG: Page reloads when switching screens in send funds modal
2019-09-30 13:03:18 +04:00
Germán Martínez b0f08bc7e8 Handle Mainnet network notifications 2019-09-30 08:39:05 +02:00
Germán Martínez 32e8e201cf Add Goerli to the known networks list 2019-09-30 08:36:28 +02:00
Germán Martínez abf7fb5a9f Merge branch 'development' into 141-mainnet-compatibility 2019-09-30 07:59:03 +02:00
Germán Martínez 286d062155 Style provider info 2019-09-28 20:01:30 +02:00
Germán Martínez c342277c49 Style notifications 2019-09-28 18:55:41 +02:00
Germán Martínez d159dba60e Rename TX_NOTIFICATION_TYPES 2019-09-28 18:46:28 +02:00
Mikhail Mikheev 18945205d3 show loader in send funds modal when lazy loading screens 2019-09-27 18:42:57 +04:00
Mikhail Mikheev 86cebf604b Update add custom token button label font size, fix token item padding, update manage tokens modal title font size 2019-09-27 18:18:47 +04:00
Mikhail Mikheev 3c777fac94 add learn more link to welcome screen, fix add custom token button label 2019-09-27 17:30:49 +04:00
Mikhail Mikheev ab1d0c44d3 fix displaying of 100 in pagination select 2019-09-27 16:52:24 +04:00
Mikhail Mikheev cafb75c5ac Add defaultRowsPerPage to Table component 2019-09-27 16:45:18 +04:00
Germán Martínez 85177d3ddd Refactor error messages 2019-09-27 12:35:13 +02:00
Germán Martínez 5523383781 Throw error when web3 provider returns no accounts 2019-09-27 12:31:42 +02:00
Germán Martínez 6e52f0fddd Rename variables in pending confirmations notification 2019-09-27 12:10:58 +02:00
Germán Martínez b771ba78f8 Add alt attribute to images 2019-09-27 12:07:49 +02:00
Germán Martínez 2afb9735aa Add approveAndExecute param to processTransaction 2019-09-27 12:06:35 +02:00
Germán Martínez ef229b20b0 Add dimiss notification button 2019-09-27 12:00:04 +02:00
Germán Martínez 9259d79f61 Refactor create/confirm transactions 2019-09-27 11:20:35 +02:00
Germán Martínez fc3e4de5ad Merge branch 'development' into 141-mainnet-compatibility 2019-09-26 16:02:54 +02:00
Germán Martínez 65be90d8ed Merge branch 'development' into 135-notifications 2019-09-26 15:38:02 +02:00
Germán Martínez b51aecafad Update notifier and notifications reducer 2019-09-26 15:14:24 +02:00
Germán Martínez 486122d004 Rename notification model variables 2019-09-26 15:13:04 +02:00
mmv e376a97d01 Update production endpoints 2019-09-26 17:07:04 +04:00
mmv 4decf9a323 Eslint fix 2019-09-26 16:59:14 +04:00
mmv ade3010260 Increase gas limit for txs in test environment 2019-09-26 16:51:58 +04:00
mmv 4dad9ce197 refactor processTransaction like createTrasnaction, so we reuse code for executing/approval txs 2019-09-26 16:30:20 +04:00
mmv 6702056709 Refactor createTransaction action, reuse the events code for both execution and confirmation txs' 2019-09-26 15:41:36 +04:00
mmv e33c63d68c Merge branch 'development' of github.com:gnosis/safe-react into 171-txhash-refactoring 2019-09-26 13:26:12 +04:00
Mikhail Mikheev dc85720fb6
Merge pull request #186 from gnosis/132-receive-view-improvements
Feature #132: Receive view improvements
2019-09-26 13:12:12 +04:00
mmv b2ff828792 remove showNotification from createTransaction action 2019-09-25 19:31:14 +04:00
mmv d64814e9a6 Merge branch 'development' of github.com:gnosis/safe-react into 171-txhash-refactoring 2019-09-25 19:28:31 +04:00
mmv b5784d8e7e refactor transactions logic functions and actions so the logic for sending notifications/posting to service is contained in actions only 2019-09-25 19:28:18 +04:00
mmv 9f5960ef26 show safe name above QR code in receive view 2019-09-25 18:42:39 +04:00
Germán Martínez aa613de2e7 Add Notifier component 2019-09-25 15:14:07 +02:00
Germán Martínez d4ed0d7f4a Add models, reducers, actions and selectors for notification handling 2019-09-25 15:08:33 +02:00
Mikhail Mikheev b27cad19cc Fix removal of etherscanLink prop in Balances component 2019-09-25 16:59:19 +04:00