Commit Graph

2252 Commits

Author SHA1 Message Date
Mikhail Mikheev 710f6a5ab6
Merge pull request #966 from gnosis/fix-awaitingTransactions
Fix app crashing when safeTransactions is undefined
2020-05-29 14:50:17 +04:00
nicolas 4065d5a007
Allow to load Safe Apps with ENS names (#911)
* Remove ethereum-ens in favour of web3.eth.ens

* Allow load Apps from ENS names

* remove comment

* review changes

* replace REACT_APP_IPFS_NODE by REACT_APP_IPFS_GATEWAY

* review fixes

* TS Errors

* fix paths

* Fix validtor

* Apps: Move App form to a separate file

* re-build

* review changes

* fix iframeEl type

* remove validation

* fix type

* update web3 version

* remove type in getContentFromENS

Co-authored-by: lukasschor <lukas.schor@gnosis.pm>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-05-28 12:50:08 -03:00
Mati Dastugue 7a20aaac42
Merge pull request #935 from gnosis/fix/trezor-support
Add Trezor support
2020-05-28 12:23:13 -03:00
Agustin Pane 7a79579238 Revert initial fix
Add default transaction value for safes without outgoing transactions
2020-05-28 12:03:21 -03:00
Agustin Pane cf38e97907
(Feature) #416 - Add releases link (#936)
* - Add releases link

* - Adds border bottom

* Merge branch 'development' into 623-show-more

# Conflicts:
#	src/routes/safe/components/Transactions/TxsTable/ExpandedTx/TxDescription/index.tsx

* fix hooks import casing

* Improves css link

* Fix hooks import

* Fix hooks import

* Link styling

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-05-28 11:28:57 -03:00
Agustin Pane 2eeb9fc094
Fix icons on send and receive buttons (#962) 2020-05-28 07:33:37 -03:00
Mati Dastugue bf5a24d762 Fix merge 2020-05-27 21:08:20 -03:00
nicosampler afa1f92d3d Fix app crashing when safeTransactions is undefined 2020-05-27 13:17:11 -03:00
Agustin Pane de4d564955
(Feature) #554 - Safe creation tx details (#894)
* ChecksumAddresses when add new addressBook entry
ChecksumAddresses when add new owner
ChecksumAddresses when replaces owner

* Refactor expandedTx to show creation safe data

* Export CreationTx, IncomingTx and OutgoingTx render to components
Rename components

* Renames addMockSafeCreationTx to getCreationTx

* Avoid unnecessary fetch of creation tx after the first fetch

* - Loads creationTx once the safe loads
- Adds addOrUpdateTransactions.js
- Adds fetchSafeCreationTx.js
- Removes creationTx logic from fetchTransactions.js
- Updates notificationsMiddleware.js

* Fixs getAwaitingTransactions

* Remove creationTx selector

* Merge branch 'development' of https://github.com/gnosis/safe-react into 416-contract-version-improvements

# Conflicts:
#	src/routes/safe/components/Balances/index.tsx
#	src/routes/safe/container/index.tsx

* Merge branch 'development' of https://github.com/gnosis/safe-react into 416-contract-version-improvements

# Conflicts:
#	src/routes/safe/components/Balances/index.tsx
#	src/routes/safe/container/index.tsx

* Fix date column in safe creation

* Add copy and etherscanlinks to creation safe details

* Fix hooks import
2020-05-26 15:00:26 -03:00
Mikhail Mikheev 10df1bd876
Merge pull request #954 from gnosis/empty-space-validator
Make required validator trim the value
2020-05-25 16:16:16 +04:00
Mikhail Mikheev 5803ca0ea4 fix hooks import casing 2020-05-25 16:07:40 +04:00
Mikhail Mikheev 9e39b81f9c Merge branch 'development' of github.com:gnosis/safe-react into empty-space-validator 2020-05-25 16:01:12 +04:00
Mikhail Mikheev c8e9ef9a3a fix hooks import casing 2020-05-25 15:43:00 +04:00
Mikhail Mikheev fc89af57aa
Merge pull request #952 from gnosis/stepper-transparent-bg
Bug: Stepper component non-transparent bg
2020-05-23 12:10:24 +04:00
Mati Dastugue 5981ee111d Fix file name 2020-05-22 13:09:57 -03:00
Mati Dastugue f9493c1cd7 Merge with develop 2020-05-22 12:27:55 -03:00
Agustin Pane 425f1ad3e5
(Fix) - #623 Fixes short tx data (#928)
* Fixs short tx data

* Feedback
2020-05-22 11:46:20 -03:00
Mikhail Mikheev 203c8b0ab3
Remove react_app_apps_disabled env var (#953) 2020-05-22 09:31:24 -03:00
Mikhail Mikheev 14d9a3a78f fix required validator 2020-05-22 14:33:08 +04:00
Mikhail Mikheev 26e9c1cb67 add transparent bg to stepper root in mui theme 2020-05-22 13:56:53 +04:00
nicolas 1ae63f6784
Clean up dependencies (#944)
* Clean up dependencies

* Fix css mixing not being called
2020-05-22 13:48:27 +04:00
Agustin Pane 7cc6349785
Fix: app crashing when safe address is null (#947)
* - Fixs non null check on notificationsMiddleware.ts

* - Fixs non null check on notificationsMiddleware.ts

* - Removes yarn.lock changes
2020-05-21 14:57:03 -03:00
Mati Dastugue 3a30db8068 Merge with dev. Fix ts 2020-05-21 13:06:00 -03:00
Mikhail Mikheev d9e62adc26
Bug: fix build directory for deployment, remove unused code (#937)
* fix build dir, remove unused code

* fix public path & remove unused code
2020-05-21 08:42:11 -03:00
nicolas 982d79c0d0
Migrating to Typescript and bringing back react-scripts (#933)
* remove flow from src

* remove unused files

* remove rules from eslint

* replace absolute paths

* add tsconfig

* update package.json

* remove babel-polyfill

* eslint fix

* remove jsconfig.json

* replace .scss by .module.scss

* Revert "replace absolute paths"

This reverts commit e430c71263a1a4c190d50e72271bba7ea6356bc4.

* replace ~/ by src/

* js fixes

* scss fixes

* fix unused vars

* adding eslint

* adding back config folder

* fix eslint and prettier

* force build

* fix baseUrl

* rename js/jsx to ts/tsx

* some rules

* rename files with jsx syntax to tsx

* fix app build

* Revert "fix baseUrl"

This reverts commit 523f29c7b61e14dd6be0ffc3cd199ff399157467.

* some fixes

* replace ts to tsx

* some TS fixes

* more tsc changes

* more tsc fixes

* more fixes

* more ts fixes

* more fixes

* last fix

* fixes

* prettier fix

* some fixes

* fix safe information aligment

* add yarn.lock

* fix blockies and build memory space

* include blockies in tsconfig

* fix blockies

* fix blockies import

* fix Identicon component

* fix build command

* Fix ref type in Identicon

* add libusb-1.0-0-dev to travis

* build command fix [2]

* build command fix [3]

* fix margin layout

* Update  yarn lock

* remove @ts-ignore

* hide Critial dependency

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
2020-05-20 16:15:21 -03:00
Mati Dastugue 593b077ec4 Enable trezor 2020-05-19 17:52:09 -03:00
Mati Dastugue 51f6c9a3e8 Fix trezor connect 2020-05-19 17:42:41 -03:00
Mikhail Mikheev 6377c80e4f
Feature #739: Deployment screen improvements (#908)
* Dep bump

* add deps to useEffect hook

* Revert "Dep bump"

This reverts commit f22795296cd7989ecda594ffef4478c2f5d92911.

* fix / redirect

* Fix currency fetch 400 error

* extract tab labels to components

* fix currency dropdown not showing, rename DropdownCurrency component to CurrencyDropdown

* Fix loader component type

* move steps to a separate file

* make confirmation banner green

* track safe creation in analytics

* add back button

* remove width style from backbutton

* remove width style from backbutton (prev was just commented)

* remove components-v2 and use safe-react-components

* fix duplicated import

* bring back addressinfo component because it was not included in safe-react-components

* Fix broken import (CurrencyDropdown component was renamed)

* add CustomIconText component to fix transaction tab crash

* bring back ListLayoutComponent
2020-05-19 15:55:35 +04:00
Mikhail Mikheev cfffd00d2b
Merge pull request #931 from gnosis/fix/action-disable
Prevent github action from running
2020-05-18 21:21:18 +04:00
Mati Dastugue c964dd9c29
Prevent github action from running 2020-05-18 12:07:42 -03:00
Mati Dastugue f971ca4ef7
Merge pull request #919 from gnosis/fix/update-error
Log error when no files in the release
2020-05-15 14:53:00 -03:00
Mati Dastugue e91de4a1df Log error when no files in the release 2020-05-15 13:32:35 -03:00
Agustin Pane df8897c284
Adds copy to clipboard in owners table (#918) 2020-05-15 11:59:10 -03:00
nicolas 77e4987919
Inform the user if a Safe-App initiate a malformed TX (#895)
* @gnosis.pm/safe-react-components from NPM

* Infor is TX is malformed

* review fixes

* improve names

* review fixes

* trigger build
2020-05-14 10:50:04 -03:00
Fernando b1db9df3db
Set version to `v2.1.1` (#914) 2020-05-13 17:21:49 -03:00
Fernando c396b3eaf8
(Feature) Easier Smart Contract Interaction (#741) 2020-05-13 17:06:01 -03:00
Mati Dastugue 119cc51917
Merge pull request #905 from gnosis/fix/intercom
Update desktop script
2020-05-12 18:35:37 -03:00
Mati Dastugue 2469e9d28b Update desktop script 2020-05-12 18:30:39 -03:00
Mati Dastugue 82c98ff5dd
Merge pull request #904 from gnosis/update-version
Update package.json
2020-05-12 16:50:47 -03:00
Mati Dastugue b3b639ae34
Update package.json 2020-05-12 16:36:06 -03:00
Agustin Pane 30ab99c79c
(Fix) #876 - Checksummed addresses (#884)
* Checksum addresses when build address book from localStorage
Checksum owner's addresses when build safe from localStorage

* ChecksumAddresses when add new addressBook entry
ChecksumAddresses when add new owner
ChecksumAddresses when replaces owner

* Adds checksumAddress function
Replaces old web3 usage with checksumAddress

* Refactors all web3.utils.toChecksumAddress with checksumAddress()

* Fix duplicating var name
2020-05-12 15:33:39 -03:00
Mati Dastugue 15d301fffc
Merge pull request #899 from gnosis/fix/disable-trezor
Disable trezor fot the first release
2020-05-12 11:54:45 -03:00
Mati Dastugue 30105ecda0 Disable trezor fot the first release 2020-05-12 11:40:19 -03:00
Mikhail Mikheev dba3148d9c
Merge pull request #798 from gnosis/dont-fetch-ownername-in-fetchTransactions
Refactoring: store only an address in transaction confirmation model
2020-05-12 13:10:34 +04:00
Mikhail Mikheev 8efbbad0a3 Dep bump 2020-05-12 12:55:51 +04:00
Mati Dastugue f2dd025afc Add trezor support 2020-05-11 18:36:39 -03:00
fernandomg 21181400c8 fix: owner address lookup from tx.confirmation list 2020-05-10 17:40:04 -03:00
fernandomg 72d28470b2 Merge branch 'development' into dont-fetch-ownername-in-fetchTransactions 2020-05-10 17:31:00 -03:00
nicolas 7bc9cd7a94
remove trailing slash for Apps env var (#891) 2020-05-08 18:58:06 -03:00
Agustin Pane 4098a8b9cf
(Fix) #511 - QR scan button (#873)
* Creates ScanQRWrapper to avoid duplicated logic
Refactors components that uses ScanQRWrapper

* Adds closeQrModal to props.handleScan callback

* Fixs mutators usage on components with qrScanWrapper

* Exports getNameFromAdbk
Fixs displaying address on send funds, also displays the name

* Fixs sendCustomTx qrCode
Fixs sendCollectible qrCode
Fixs loadAddress qrCode
2020-05-08 17:09:49 -03:00