Commit Graph

2751 Commits

Author SHA1 Message Date
nicosampler bf066fb92b run typescript befor commit 2020-08-07 08:26:57 -03:00
nicosampler e39e9bbc31 tsc fixes 2020-08-07 08:21:54 -03:00
nicosampler b119f3e88f Merge branch 'development' into issue-1144 2020-08-06 19:28:03 -03:00
nicolas 22d12a37fa
Fix broken unit tests (#1216)
* Fix broken unittests

* fix TS errors

* remove unused mock

* remove getTransactinoServiceMock function

* fix types in tests

* fix safe reducer types

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-07 00:58:05 +04:00
Fernando f8b9851020
(Feature) Add "Action" details in transaction list (#1134)
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-06 12:18:46 -03:00
nicosampler 44a5a9c190 update package.json 2020-08-06 08:55:14 -03:00
nicosampler 18dd6b7e97 Merge branch 'development' into issue-1144 2020-08-06 08:22:19 -03:00
Mikhail Mikheev b6bb5ffde1
Tech Debt: Safe Apps Refactor (#1110)
* apps refactoring wip

* apps refactoring wip

* type fixes

* add useLegalConsent hook in apps

* useAppList hook wip

* dep nump

* useAppList hook wip

* fix selecting first app

* Remove console.log

* dep bump

* update persisting app logic

* update saveToStorage type

* fix crash on apps tab

* reuse selectedApp variable in hook

* remove initialAppSelected
2020-08-06 11:33:58 +04:00
Corey Shirk bda71f896e
Updating readme.md to reflect material ui version (#1175)
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
2020-08-05 11:30:57 +04:00
Fernando a0ed0a1f31
(Feature) Decode multiSend tx details (#1106)
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-04 15:32:09 -03:00
nicosampler a21de8be18 Replace AddressInfo by EthHashInfo 2020-08-04 15:29:29 -03:00
Mati Dastugue 2cc4e82bb2
Merge pull request #1205 from gnosis/fix/cla-event
Change CLA event
2020-08-04 13:50:08 -03:00
Mati Dastugue 5e4affa38d
Change CLA event 2020-08-04 13:36:23 -03:00
Mati Dastugue 61b282f92c
Add support from Pull Requests coming from Forks (#1204)
* Add support from Pull Requests coming from Forks

* Update cla.yml

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-04 20:09:16 +04:00
Mikhail Mikheev ece2bc6a8c
Fix safe loading (#1203) 2020-08-04 19:53:30 +04:00
Mati Dastugue 4130902548
Merge pull request #1187 from gnosis/feature/cla-assistant
CLA assistant
2020-08-04 12:30:42 -03:00
Mikhail Mikheev 59cb58b14a allowlist adjustments 2020-08-04 15:34:18 +04:00
Mikhail Mikheev dcba16830c use gnosis version of github_action for debugging 2020-08-04 14:58:44 +04:00
Mikhail Mikheev 94156166d2 add comment about github token 2020-08-04 14:25:49 +04:00
Mikhail Mikheev b5d8784e83 adjust allowlist 2020-08-04 14:19:19 +04:00
Mikhail Mikheev 6e2e436041
Merge branch 'development' into feature/cla-assistant 2020-08-04 13:40:37 +04:00
nicosampler 7f3a99b7f1 Merge remote-tracking branch 'origin/development' into issue-1144 2020-08-03 13:36:36 -03:00
nicosampler 24fe633e1a Styles 2020-08-03 13:31:43 -03:00
nicosampler bc5c30ec85 fix makeTransaction 2020-08-03 13:02:48 -03:00
nicosampler 7373c4afac ExpandedTx 2020-08-03 13:01:47 -03:00
nicosampler 877cf5ea4b ExpandedTx - creation 2020-08-03 12:38:02 -03:00
nicosampler 1bd028b97a SafeList types 2020-08-03 12:35:40 -03:00
nicosampler 7b2d7fd35d remove unused classes 2020-08-03 11:03:39 -03:00
Daniel Sanchez f374315a5a
Avoid constant creation of new web3 object (#1171)
* Avoid constant creation of new web3 object

* rollback web3 version, small type fixes in ConnectButton

* Use web3 instance in getProviderInfo

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-08-03 11:29:17 +02:00
Mati Dastugue 088b1e1d2a
Merge branch 'development' into feature/cla-assistant 2020-07-31 20:04:09 -03:00
Mikhail Mikheev 86cbd94b0c
Tech debt: Add types for contracts (#1118)
* typechain wip

* add types for multisend

* type definitions improvements

* type safe contract in estimateTxGasCosts

* contract type definitions wip

* SafeInstance truffle -> web3 migration

* fix calls for version

* transactions/send enhancements

* fix safe recor owner type

* Stepper type definitions wip

* dep bump

* stepper types wip

* refactoring stepper component to fix bug in load safe form

* stepper types wip, addressbook reducer types wip

* finally make it work

* Fix ownerlist component hook in load safe

* dep bump

* dep bump

* rollback types/history

* add types for gas calc

* debugging...

* fix using RO web3 for sending txs

* update package.json generate-types command

* add ts-ignore for stepperpage

* db

* dep bump

* as unknown as AbiItem -> as AbiItem[]

* use optional chaining for isExecution in gas esimations

* abiITem -> AbiItem[]

* fix safeVersion utils tests

* fix imports, put upgradeSafe test close to the actual code

* add comment about ts-ignore usage

* downgrade web3 version
2020-08-01 02:26:10 +04:00
Mikhail Mikheev 24dffd53da
Set inclusive false for minValue validator in sendfunds form (#1193) 2020-08-01 01:15:56 +04:00
nicosampler df8e3f49df review fixes 2020-07-31 15:21:17 -03:00
Mati Dastugue 231a412fb8
Update branch 2020-07-31 13:38:18 -03:00
Mati Dastugue 1b71d5275e
Typo in username 2020-07-31 11:13:34 -03:00
Mati Dastugue 7fd1a813f4
Merge branch 'development' into feature/cla-assistant 2020-07-31 10:58:56 -03:00
nicolas 81c14133ac
Update MultiSend contract address. (#1186)
* Update Multisend Address

* Update Apps loaders not centered

* remove empty spaces

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-31 14:27:22 +04:00
Mikhail Mikheev 7896825161
Merge branch 'development' into issue-1144 2020-07-31 13:23:02 +04:00
Mikhail Mikheev cd7bbabd46
Merge branch 'development' into feature/cla-assistant 2020-07-31 13:21:25 +04:00
Mati Dastugue ab9de7dbda Add Gnosis CLA (#1188) 2020-07-31 13:20:57 +04:00
Mati Dastugue 86bee9587d
Delete GNOSISCLA.md 2020-07-30 21:45:01 -03:00
Mati Dastugue 6f1781af9f Merge branch 'development' of github.com:gnosis/safe-react into feature/cla-assistant 2020-07-30 19:56:11 -03:00
Mati Dastugue 9b7e279033 Add CLA assistant 2020-07-30 19:56:03 -03:00
nicosampler e31ef44d76 run prettier for files faining in CI 2020-07-30 15:32:03 -03:00
nicosampler 5f1f5f5387 update yarn.lock 2020-07-30 12:09:49 -03:00
nicosampler b84db710e8 Merge branch 'development' into issue-1144 2020-07-30 12:08:00 -03:00
nicosampler 0fcb00a908 update safe-react-components 2020-07-30 11:28:54 -03:00
nicolas 251da319a5
Fix: debounce fetch apps (#1021)
* Fix: debounce fetch apps

* refactor: fix AddAppForm name and add missing types

* add `use-lodash-debounce` hook to test debounce functionality

I'm planning to remove this dependency, as it requires to also install `lodash.debounce`. I prefer to implement it ad-hoc.

* refactor AddAppForm to use the observable pattern

* memoize `getAppInfoFromUrl` to prevent requesting the same information over and over

* prevent requesting data if url is not valid

* remove logging

* prevent validating form before visiting the fields

* refactor AddAppForm

reorganize code

* fix: change `any` to `unknown`

* fix: `uitls.ts` types and imports

* refactor: rename `isSubmitDisabled` to `onSubmitButtonStatusChange` prop

* refactor: rename `agreement` to `agreementAccepted`

also, moved `initialValues` to a constant `INITIAL_VALUES` outside the component

* refactor: reimplement `useDebounce` hook in-app

* refactor: extract app manifest verification to a helper function

also fixed types

* fix: prevent accessing `contentWindow` if `iframe` is `null`

* fix: `getAppInfoFromOrigin` return type

also, removed the expected type for the `getAppInfoFromOrigin` calls as it is inferred

Co-authored-by: fernandomg <fernando.greco@gmail.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-30 18:28:30 +04:00
nicosampler 5cc29d518d Add network 2020-07-29 16:33:04 -03:00
nicosampler a295747cb6 Wallet details 2020-07-29 16:16:29 -03:00