Commit Graph

201 Commits

Author SHA1 Message Date
Mikhail Mikheev 75cc009896 Pull from master, conflict fix 2019-12-09 16:22:18 +04:00
Mikhail Mikheev 8382907b80
Fix security vulnerability: Remove uglifyjs, use terser plugin (#327)
* Remove uglifyjs, use terser plugin

* fix css-loader config
2019-12-09 16:19:30 +04:00
Mikhail Mikheev c2b2ccd14f
Development to master (#318)
* Adds cookie permissions to localStorage/redux state

* Adds action

* Adds files to git

* (fix) linting issues

* (update) flow-typed

* (update) .eslint and .flowconfig

* (add) cookie banner

* Finish cookie banner implementation

* (Add) checkbox's disabled style.

* Removes redux for cookiesStorage

* Fix cookieStore deletion

* Fixs cookies acceptance

* Fixs cookies banner verbiage
Fix "x" in wrong place for snackbar messages

* (remove) unused library

* Adds cookies utils
Replaces localStorage with cookies
Adds js-cookie

* (fix) added correct polished library and import, updated flow-typed

* (update) removed polish flow type, added js-cookie flow type

* Add link to cookie policy, use generic links for legal docs

* Remove link to cookie policy from sidebar, link cookie policy in the banner

* Let the user re-open the cookie banner

* remove withMutations from cookies reducer, move utils/cookies to logic/cookies

* Now the sidebar closes when the cookie banner is toggled

* 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

* Remove 'Hide zero balances' (#310)

* Use medium font size for 'select an asset' label (#312)

* Feature #272: Google Analytics (#299)

* Adds google analytics tracking for every route

* Adds cookies acceptance check before tracking

* Fix react-ga dependency

* Fix cookieStore deletion

* Merge with #189-cookie-banner

* Fixs react ga version
Refactored HOC with hooks

* Fix TYPO

* Fix path for cookies utils

* Fix imports

* remove flow type definition for polish

* Add GA ID log

* Fix load GA After cookies acceptance

* Feature #224: Activate tokens automatically (#300)

* Replace 'Manage Tokens' with 'Manage List'

* prevent 301 redirects

* Add `BLACKLISTED_TOKENS` key to persist through immortal

* Add store/action to extract _activate tokens by its balance_

- keeps already activated tokens
- discards blacklisted tokens
- adds tokens whose vales are bigger than zero and are not blacklisted

* Add `blacklistedTokens` list to safe's store

* Display activeTokensByBalance in 'Balances' screen

* Enable token's blacklisting functionality in Tokens List

* Retrieve balance from API

* Rename action to `activateTokensByBalance`

* Fix linting errors

- line too long
- required return

* Do not persist a separate list into `BLACKLISTED_TOKENS`
2019-12-05 16:28:23 +04:00
Agustin Pane 85ff11796e Feature #272: Google Analytics (#299)
* Adds google analytics tracking for every route

* Adds cookies acceptance check before tracking

* Fix react-ga dependency

* Fix cookieStore deletion

* Merge with #189-cookie-banner

* Fixs react ga version
Refactored HOC with hooks

* Fix TYPO

* Fix path for cookies utils

* Fix imports

* remove flow type definition for polish

* Add GA ID log

* Fix load GA After cookies acceptance
2019-12-05 12:54:42 +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
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
Gabriel Rodriguez Alsina 43a1990559 (Add) checkbox's disabled style. 2019-11-25 16:44:36 -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
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 c9a8e86409 react-final-form version bump 2019-11-19 13:42:15 +04:00
Mikhail Mikheev c5e0888437 Pass value to search bar 2019-11-19 12:42:53 +04:00
Mikhail Mikheev 306802e7bb dep bump 2019-11-18 11:18:44 +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
mmv 2e5d2c8f0e hardcode safe-contracts version to 1.0.0 2019-11-14 12:19:26 +04:00
mmv 9dade2561c Pull from dev, conflict fixes 2019-11-14 11:03:17 +04:00
mmv 82b15d7e09 Remove mention of daily limit feature 2019-11-13 17:17:08 +04:00
mmv 3b5bdbb9ec dep bump 2019-11-11 14:33:20 +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 dc47868a9f Conflict fix 2019-11-07 13:58:21 +04:00
Germán Martínez 9b0c503fbf Update dependencies 2019-11-06 17:12:31 +01:00
Mikhail Mikheev 60d4aee59a dep bump[2] 2019-11-06 17:30:09 +04: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 5b89a2c66a Dep bump, use new wallet icon in header dropdown 2019-11-05 13:30:51 +04:00
mmv 77f5da5da6 Pull, connect to injected provider if preivously connected provider was injected one 2019-10-25 13:25:09 +04:00
mmv 980de6c8d1 dep bump 2019-10-25 13:04:23 +04:00
Mikhail Mikheev a263aba2fc fix dependency cycle for getInfuraUrl 2019-10-24 13:22:01 +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 0eeb6bd127 Dep bump 2019-10-22 13:54:59 +04:00
Mikhail Mikheev 24ad792407 Web3Connect integration wip: add ConnectButton component, modify Header component 2019-10-21 18:29:14 +04:00
Mikhail Mikheev 32b888548d dep bump 2019-10-16 19:23:30 +04:00
mmv c63af7997e Dep bump 2019-10-14 16:13:21 +04:00
Mikhail Mikheev 1e5958b8ea estimate tx when executing transaction with threshold > 1 2019-10-11 18:43:37 +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 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 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 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 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 49252889b0 Add react-window in token list for displaying tokens 2019-10-02 18:28:33 +04:00
Germán Martínez 6236a2abc5 Update dependencies 2019-10-01 11:57:18 +02:00
Mikhail Mikheev e8271d2b02 Add Early access label 2019-10-01 13:05:23 +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
Germán Martínez 54e4ecfba6 Import notistack package forked by Gnosis 2019-09-28 19:27:06 +02:00
Mikhail Mikheev cafb75c5ac Add defaultRowsPerPage to Table component 2019-09-27 16:45:18 +04:00
Germán Martínez 65be90d8ed Merge branch 'development' into 135-notifications 2019-09-26 15:38:02 +02: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 dcd1ea7868 revert yarn.lock changes 2019-09-25 18:46:23 +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 4335ec6c09 Update dependencies 2019-09-25 15:00:13 +02:00
Mikhail Mikheev afb68ca05b add margin-bottom for settings window to fix scroll on smaller screens 2019-09-25 15:24:30 +04:00
Mikhail Mikheev fbb89bb32d Dep bump, header border-bottom/shadow updates, clear filter in sideBar after 300ms after closing so user doesn\'t see the changes 2019-09-23 14:38:45 +04:00
Mikhail Mikheev b3840b17b2 show 'make default' button on safe hover in safe list sidebar, dep bump 2019-09-19 11:22:09 +04:00
Germán Martínez 4877c41908 Update dependencies 2019-09-18 18:44:24 +02:00
Mikhail Mikheev 21ccc5058b Change zIndex for header row so it's displayed over the drawer 2019-09-16 18:09:51 +04:00
Mikhail Mikheev 6ea743da25 dep bump 2019-09-16 17:09:30 +04:00
Germán Martínez f0e22db699 Update dependencies and install notistack 2019-09-16 12:57:29 +02:00
Mikhail Mikheev 89dd6f2bdb Make 'Remove Safe' and 'Manage tokens' positioning the same so they dont jump 2019-09-09 14:21:57 +04:00
Mikhail Mikheev 0932f34a68 increase minHeight for settings to avoid jumping 2019-09-05 14:06:04 +04:00
Mikhail Mikheev 4dc756398f Add an option to disable table pagination WIP 2019-09-04 12:42:44 +04:00
Mikhail Mikheev 79ddcc718e Fix Tab component styles to match mockups 2019-09-02 13:54:23 +04:00
Mikhail Mikheev 7b921e84de add averta font 2019-08-29 12:35:52 +04:00
Mikhail Mikheev b08e0215dc replace colors, change button styling 2019-08-28 18:25:18 +04:00
mmv 6f92662e03 dep bump 2019-08-15 16:49:35 +04:00
Mikhail Mikheev 2d81871b23 dep bump, eslint fix 2019-08-02 12:45:26 +04:00
Mikhail Mikheev 6e5bdf90e4 dep bump, add validation 2019-07-29 13:34:41 +04:00
Mikhail Mikheev 2beb8afc29 Merge branch 'development' of github.com:gnosis/safe-react into 125-ens 2019-07-26 16:06:27 +04:00
Mikhail Mikheev 335b672f76 Address input component wip 2019-07-26 16:05:23 +04:00
mmv c442ed76ae pull from dev 2019-07-25 14:44:43 +04:00
Germán Martínez eaae2b3b9f Temporal fix: update of the creationTxHash 2019-07-22 14:30:18 +02:00
mmv d882f17d7d add qrcode scanner component, logic wip 2019-07-19 16:48:16 +04:00
Germán Martínez 062884f5c3 Remove warning during tests execution 2019-07-18 18:38:36 +02:00
mmv 4342fc1b7a add instructions on how to run transaction service, tests wip 2019-07-18 18:38:36 +02:00
mmv 25eadc369d remove separate threshold field, fixing validation when removing an owner wip 2019-07-18 17:49:15 +04:00
mmv 396c7340c7 Add EtherscanLink component, refactor openTxInEtherscan and getEtherscanLink to one method 2019-07-17 12:30:49 +04:00
mmv a26a1faddf Fix isCancellationTx formatting, add AddressLink component 2019-07-17 11:53:55 +04:00
mmv c2e6c885eb test fixes 2019-07-15 17:53:50 +04:00
mmv 78ace6dbf0 conflict fix, fix safestorage mware 2019-07-15 15:52:40 +04:00
mmv 4909533048 fix eth transfers displaying as modify settings txs, dep bump 2019-07-15 15:07:28 +04:00
mmv a2c2793788 decoding params from settings txs wip 2019-07-11 11:54:37 +04:00
mmv 276334f8f8 fix table component detecting if a column has an order prop on mount 2019-07-10 13:26:51 +04:00
mmv d68dc9d77c fix value agrument type for tx, fix calculation of confirmed owners 2019-07-08 16:09:40 +04:00
Mikhail Mikheev 07fe2dd5b1 tx execution wip 2019-07-05 14:14:30 +04:00
Germán Martínez 89dbe7895a Update dependencies 2019-07-03 17:25:47 +02:00
Mikhail Mikheev cb9c464952 dep bump, cancel tx modal 2019-07-03 12:53:33 +04:00
Mikhail Mikheev ac00b647d4 show unconfirmed owners 2019-07-02 13:02:59 +04:00
Mikhail Mikheev 91e6adbc5b dep bump 2019-07-01 14:18:29 +04:00
Mikhail Mikheev 9a70737fe5 pull 2019-07-01 14:05:34 +04:00
Mikhail Mikheev 1d040f87ce fix load safe test, create safe fix TBD 2019-06-26 14:08:58 +04:00
mmv 0b3c791a93 Pull from dev 2019-06-20 13:12:47 +04:00
mmv f126071669 TxsTable wip 2019-06-19 17:24:55 +04:00
mmv 72c8611cc5 send tx for changing threshold, validation wip 2019-06-18 16:25:55 +04:00
mmv 473e2a769f change threshold modal wip 2019-06-18 12:51:47 +04:00