Commit Graph

2359 Commits

Author SHA1 Message Date
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
Mikhail Mikheev 7c141ca1ad Fix currency fetch 400 error 2020-05-12 13:24:18 -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 c2c100550f Merge branch 'development' of github.com:gnosis/safe-react into 536-notifications-status-labels-sync 2020-05-12 13:42:27 +04: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
fernandomg 141e05c2e8 feature: WIP - add mocked tx to the list 2020-05-12 00:40:49 -03:00
fernandomg be4caa1baf refactor: remove duplicated and unused functions 2020-05-11 23:04:04 -03:00
fernandomg 363e9f3888 fix: evaluate storedTransactionIndex as number 2020-05-11 23:02:07 -03:00
Mati Dastugue f2dd025afc Add trezor support 2020-05-11 18:36:39 -03:00
fernandomg 5c95d1f220 Merge branch 'development' into 536-notifications-status-labels-sync
# Conflicts:
#	src/routes/safe/components/Balances/SendModal/screens/SendCollectible/index.jsx
2020-05-11 08:49:15 -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
fernandomg 4820a89d8e chore: update `yarn.lock` 2020-05-10 17:29:16 -03:00
fernandomg b99cf3a02a fix: owner address lookup from tx.confirmation list 2020-05-10 17:26:39 -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
fernandomg de65b2914b Merge branch 'development' into 536-notifications-status-labels-sync
# Conflicts:
#	package.json
#	src/routes/safe/components/Transactions/TxsTable/columns.js
#	src/routes/safe/store/actions/fetchTransactions.js
#	yarn.lock
2020-05-07 19:25:19 -03:00
fernandomg 82b786cc54 fix: properly set safeAddress key for incomingTransactions 2020-05-07 19:19:40 -03:00
Mati Dastugue 8bc5de3246
Upload files separately (#890) 2020-05-07 18:37:46 -03:00
nicolas abb600d837
improve calculation of TX mined (#886) 2020-05-07 17:21:55 -03:00
Mati Dastugue 4969db8f61
Merge pull request #889 from gnosis/fix/release-typo
Update build script
2020-05-07 16:53:45 -03:00
Mati Dastugue 9fe11e69af
Update build script 2020-05-07 16:19:28 -03:00
Mati Dastugue d88c642aa6
Merge pull request #885 from gnosis/fix/build-artifacts
Upload Artifacts when building desktop
2020-05-07 16:17:11 -03:00
Mati Dastugue e63cd145af Upload artifacts when building desktop 2020-05-07 14:03:54 -03:00
Richard Meissner 051080c239
Fix #834: Do not remove trailing slash from Safe app url (#839)
* Fix #834: Do not remove trailing slash from Safe app url

* Use correct url in id

* prevent adding existing App

* Limiting App name length persisted in origin field

Co-authored-by: Richard Meissner <richard@gnosis.io>
Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
2020-05-07 08:47:51 -03:00
Agustin Pane a98652abe4
(Fix) - 772 safe zero balances (#832)
* Refactor currency values:
- Creates middleware to save currency values on actions
- Replaces currency values model to be safeAddress-dependant
-

* - Adds all the safes balances on safe load
- Saves the currency values status to localStorage on the middleware

* Fixs equals comparation used to avoid unnecessary dispatchs

* Update naming

* Fixs rate type

* Fixs wrong variable usage

* Removes currencyBalances from localStorage, just saves currencyRate and currencyValueSelected

* Renames currencyValueSelected to currencyValueSelected

* Refactors currencyValueSelected to selectedCurrencyValue

* Refactors selectedCurrencyValue to selectedCurrency
2020-05-06 17:03:59 -03:00
Mati Dastugue 377df43168
Merge pull request #880 from gnosis/fix/desktop-banner
Disable Analytics and Cookie Banner
2020-05-06 10:04:42 -03:00
Agustin Pane 498dca8afa
Fixs click away listener (#874) 2020-05-06 09:54:20 -03:00
fernandomg e402b51ff8 Merge branch 'development' into dont-fetch-ownername-in-fetchTransactions
# Conflicts:
#	yarn.lock
2020-05-05 17:11:46 -03:00
Agustín Longoni 05b3fd9b48
(Fix) Safe apps list is not scrolling #835 (#859)
* add scroll and styles

* Update Layout.jsx

Co-authored-by: lukasschor <lukas.schor@gnosis.pm>
Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
2020-05-05 15:44:55 -03:00
Mati Dastugue ccadda441b Add INTERCOM_ID variable 2020-05-05 14:56:39 -03:00