Bogdan Fazakas
b2fa5dc538
fix is owned and valid tx ( #1869 )
2023-01-27 14:29:02 +02:00
mihaisc
83934301fb
remove annoucement ( #1864 )
...
* remove annoucement
* put back old message
* Update content/site.json
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2023-01-18 14:40:22 +02:00
Jamie Hewitt
d86c45f6bd
Release candidate 09-01-2023 ( #1843 )
...
* Avoiding getInitialPaymentCollector failure (#1816 )
* early return is no web3 or ddo
* Creating test for MetaFull
* adding test: src/components/Asset/AssetContent/MetaSecondary.test.tsx
* Adding test for bookmarks
* Adding test for displaying payment collector
* Removing comments
* Renaming assetAquarius
* Renaming assetWithAccessDetails
* Ensuring that the payment collector is shown even without a wallet connected
* Removing broken test
* Using getDummyWeb3 for fetching the payment collector address
* google validation (#1835 )
* Updating validation to exclude any google link
* Updating Yup validation
* Checking if domain includes google.com
* Updating isGoogleUrl function
* Moving isGoogleUrl into @utils/url/index file
* isGoogleUrl function
* Updating tests
* Adding additional tests for other google domains
* Updating tests
* Updating isGoogleUrl file path
* Updating pricing message (#1842 )
* Bump @storybook/addon-essentials from 6.5.13 to 6.5.15 (#1841 )
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials ) from 6.5.13 to 6.5.15.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.15/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.15/addons/essentials )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 29.2.3 to 29.2.5 (#1840 )
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.2.3 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump prettier from 2.8.0 to 2.8.1 (#1837 )
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-select from 5.6.1 to 5.7.0 (#1839 )
Bumps [react-select](https://github.com/JedWatson/react-select ) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0 )
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-tabs from 5.1.0 to 6.0.0 (#1838 )
Bumps [react-tabs](https://github.com/reactjs/react-tabs ) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/reactjs/react-tabs/releases )
- [Commits](https://github.com/reactjs/react-tabs/compare/v5.1.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: react-tabs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix asset route (#1836 )
* updating the buy button message for free assets
* Updating pricing text for compute and algorithms
* Updating tests
* Adding a seperate sentence about paying gas fees for network charges with free assets
* Fixing tests
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Showing hosting type in File Info (#1846 )
* Bump @storybook/addon-essentials from 6.5.13 to 6.5.15 (#1841 )
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials ) from 6.5.13 to 6.5.15.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.15/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.15/addons/essentials )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 29.2.3 to 29.2.5 (#1840 )
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.2.3 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump prettier from 2.8.0 to 2.8.1 (#1837 )
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-select from 5.6.1 to 5.7.0 (#1839 )
Bumps [react-select](https://github.com/JedWatson/react-select ) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0 )
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-tabs from 5.1.0 to 6.0.0 (#1838 )
Bumps [react-tabs](https://github.com/reactjs/react-tabs ) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/reactjs/react-tabs/releases )
- [Commits](https://github.com/reactjs/react-tabs/compare/v5.1.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: react-tabs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix asset route (#1836 )
* Adding hosting type to the file info component
* Writting smart contract hosting type across two lines
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add initial price value for not supported price assets (#1851 )
* Fix compute basetoken issue (#1829 )
* fix lint
* add dynamic provider fees
* fixes
* cleanup and more fixes
* bump oceanlib to 2.6.0
* fix 404 styling (#1850 )
* Fixing the z-index for the tippy component (#1858 )
* Removing infinite approval (#1857 )
* Removing infinite approvals
* Removing infinite approval content message
* Removing infinite approval from default user preferences
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: EnzoVezzaro <enzo-vezzaro@live.it>
2023-01-18 12:35:14 +02:00
Jamie Hewitt
c62abb66bc
Adding polygon hardfork warning banner ( #1861 )
2023-01-17 09:43:47 +03:00
mihaisc
686f4d1803
fix asset route ( #1836 )
2023-01-02 16:56:55 +01:00
mihaisc
6db159f1cc
Fix filters ( #1830 )
...
* fix filters
* add chainid, fix test
2022-12-13 11:42:56 +02:00
mihaisc
025701a4fc
update for new subgraph release ( #1821 )
...
* update query
* undo hardcode
2022-12-09 10:22:40 +02:00
EnzoVezzaro
79cee02271
fix file object on edit ( #1818 )
2022-12-08 14:04:24 +01:00
cb25c20123
fix search ( #1822 )
2022-12-06 08:30:18 +00:00
1b612e4194
package updates & technical debt cleanup ( #1771 )
...
* package updates
* bump Next.js
* update for Next.js v13 new `Link` behavior
* see https://nextjs.org/docs/upgrading#link-component
* test tweaks, simplify getNetworkDisplayName()
* modify codeclimate excludes
* test tweaks and cleanup
* more cleanup
* switch to Node.js v18
* back to Node.js v16
* temporarily run CI against Node.js v16 & v18
* update codeowners
* fixtures fixes for asset price
* switch to Node.js v18
* package updates
* remark updates, typescript and test fixes
* fix
* test run fixes
* yet another lockfileVersion update
* package updates
* test run fixes
2022-12-01 09:09:40 +00:00
Jamie Hewitt
b58cb36e00
Adding paymentCollector back into edit form ( #1799 )
2022-11-29 02:20:51 +00:00
EnzoVezzaro
aa8dcdaa79
fix edit form validation ( #1797 )
...
* fix edit form validation
* more validation edit form
2022-11-25 17:41:17 +01:00
EnzoVezzaro
f6d11e5e6f
adding ipfs / arweave support ( #1765 )
...
* support storage type publish
* adding storageType to edit form
* add IPFS type
* fix testst and rollback ipfs typing
* update oceanjs lib
* fix Ipfs type
* Update package-lock.json
* added graphql and smartcontract options UI (WIP)
* update package.json
* removed graphql and smartcontracts
* make various fixes for edit and publish with IPFS (missing Arweave)
* removed no-case-declarations lines
* moved ipfs utils
* renamed getFileUrlInfo to getFileInfo
* added is-ipfs to jest mock
* Update package-lock.json
* fix things
* npm is fun
* rename url to file in getFileInfo
* refactor publish form (storage type field)
* fix tab value when changing tabs
* refactoring edit form
* more refactor edit form
* fix edit validation
* fix validation when input is empty on edit form
* fix validation when loading asset in edit form
* change URL to file confirmed
* change messages based on service type
* Update form.json
* fix FileInput tests and added ipfs / arweave tests
* removed unnecessary comment
* Update index.tsx
* cleanup logic
* update @oceanprotocol/lib
* Update package-lock.json
* fix test error
* fix test assetsWithAccessDetails
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-25 15:07:55 +01:00
EnzoVezzaro
8d17c30f41
Merge pull request #1786 from oceanprotocol/issue-1775-edit-paymentCollector
...
Allowing publisher to edit payment collector
2022-11-17 10:35:17 -04:00
EnzoVezzaro
35ead98cbf
Merge pull request #1766 from oceanprotocol/fix/issue-validation-g-drive-links
...
fix validation link field on edit view when the asset is already hosted on g drive
2022-11-17 06:58:25 -04:00
Jamie Hewitt
d51538a32f
Only showing payment collector if it is different to the owner
2022-11-17 13:39:49 +03:00
Jamie Hewitt
5ab6b7dc66
Setting payment collector inline
2022-11-17 13:36:58 +03:00
Jamie Hewitt
2265d750a5
Replacing console.error with loggerinstance.error
2022-11-16 18:08:59 +03:00
Jamie Hewitt
105343435c
Showing revenue account on asset detail page if it is different to the owner account
2022-11-16 18:05:16 +03:00
Jamie Hewitt
36a88674b4
Deleting unused test
2022-11-16 11:03:51 +03:00
Jamie Hewitt
c2514debf0
Adding test for FormActions
2022-11-15 18:58:07 +03:00
mihaisc
131f1f15e3
Change datatoken template and ensure compatibility with both ( #1728 )
...
* change template
* fix build
* add template config
* test fixes
* Update app.config.js
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2022-11-15 16:35:26 +02:00
Jamie Hewitt
6776ffe34d
Adding inital outline for test
2022-11-15 12:40:14 +03:00
Jamie Hewitt
40f3335cfc
removing unused imports
2022-11-15 11:48:26 +03:00
Jamie Hewitt
fd30d5e138
Updating paymentCollector on submit
2022-11-15 11:38:43 +03:00
Jamie Hewitt
e22407ad43
setting inital payment collector from EditMetadata
2022-11-15 10:45:14 +03:00
Jamie Hewitt
9429af22e2
Populating the edit form with the current payment collector
2022-11-15 10:05:12 +03:00
EnzoVezzaro
072d346932
Revert "fix text and added ipfs and arweave tests"
...
This reverts commit 23d8002ce8
.
2022-11-14 12:18:35 -04:00
EnzoVezzaro
23d8002ce8
fix text and added ipfs and arweave tests
2022-11-14 12:17:29 -04:00
EnzoVezzaro
1649e075e2
Merge branch 'main' into fix/issue-1069-c2d-unsupported-networks
2022-11-14 11:47:44 -04:00
Jamie Hewitt
cbdc81b836
Checking if payment collector address is valid using form validation
2022-11-14 18:09:29 +03:00
mihaisc
6ba95fe4d5
fix loading in preview ( #1785 )
2022-11-11 12:27:30 +00:00
Jamie Hewitt
4ff84b0871
Handle provider error & showing Retry button ( #1770 )
...
* adding error handling for button onCLick
* Updating butoon to show retry & updating toast message
* Logging provider error
* Removing unused imports
* Using early return when provider fees are present to prevent unneccessary nesting
* Adding retry logic for compute
* Removing duplicate teast message
* Adding tests for rendering Buy button
* Additional tests for BuyButton
* Refactoring BuyButton tests for download
* Fix failing tests
* Refactoring compute tests
* Refactoring tests
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-11 12:54:21 +03:00
4b4a926f89
special veOCEAN number treatment ( #1782 )
...
* special veOCEAN number treatment
* path fix
* fix duplicate AllLocked declarations
* so many duplicate declarations
* bold numbers on asset teasers
* update test
* unify number formatting in more generic `formatNumber()` method
2022-11-09 14:14:57 +00:00
b99634a3b3
filter out className
from Tippy
( #1783 )
2022-11-09 12:23:26 +00:00
482af1be0c
NFT image & faulty metadata fixes ( #1779 )
...
* safeguard against faults in metadata.tags
* properly handle image strings in tokenURI
* keep image ratios
* render test for faulty tags
* tweak fallback in popover
2022-11-09 12:22:30 +00:00
mihaisc
c302122795
Add most viewed ( #1754 )
...
* add most viewed
* Update src/components/Home/index.tsx
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* add views in teasers
* typo
* add test
* switch to axios
* test tweaks
* fix
* add 30 days label
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-08 17:17:22 +00:00
EnzoVezzaro
8363b9f2bb
fix tests
2022-11-08 05:25:01 -04:00
EnzoVezzaro
606a32065c
Merge branch 'main' into fix/issue-1069-c2d-unsupported-networks
2022-11-08 05:15:39 -04:00
EnzoVezzaro
ceb055af36
Merge branch 'main' into fix/issue-validation-g-drive-links
2022-11-07 17:15:25 -04:00
Jamie Hewitt
81341cd914
Showing related assets ( #1748 )
...
* Creating related assets component
* Ensuring that related assets doesn't show the same asset
* Adjusting query to show assets from the same publisher but not the exact same asset
* modifying search term
* Removing logs and unused import
* Removing log
* Updating query
* Fixes
* updating query
* Updating query to include both related tag assets anbd related owner assests when <3. SHowing results as a list of links
* creating minimal asset teaser
* removing duplicate filters
* Changing minimal to noDescription
* Removing unneccessary use of noDescription prop
* Adding minimal prop back into Publisher
* Removing props from RelatedAssets component
* Getting data from asset context
* refactor
* space-saving asset teaser changes
* remove price from output
* increase to 4
* refactor for better loading experience
* css cleanup
* filter out duplicates when merging results
* basic render test
* try/catch, secure against null query responses
* different test tactic
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-07 20:09:19 +00:00
Bogdan Fazakas
cd20fa0d53
merge main
2022-11-07 17:10:43 +02:00
Bogdan Fazakas
124fd1d137
Fix compute asset selection lists ( #1773 )
...
* fix compute asset selction lists
* Update src/@utils/assetConvertor.ts
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* use propper const
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-07 12:07:42 +00:00
56f5e77c49
Tests for @shared components ( #1737 )
...
* asset teaser test, story, useUserPreferences Jest mock
* fixtures & mocks
* more tests
* cleanup
* more tests
* more tests
* more tests
* more tests
* typing fix
* package updates
* reorg
* more tests
* more tests
* more tests
* more tests
* reorg, more tests
* reorg fixes
* more tests
* rebase fix
* subgraph query typing fix
* restore some storybook stories
* more tests
* more tests
* package lock fix
* graphql override
2022-11-04 15:52:40 +02:00
EnzoVezzaro
49960f38e0
cleanup after merge
2022-11-04 07:16:06 -04:00
EnzoVezzaro
983d460614
Merge branch 'main' into fix/issue-1069-c2d-unsupported-networks
2022-11-04 06:49:33 -04:00
Jamie Hewitt
a042387804
Ensuring the market doesn't crash when asset has no services ( #1768 )
...
* Ensuring the market doesn't crash when asset has no services
* Showing no pricing schema available when there are no services for an asset
* Shoing No file info available when there are no services available
* removing logs
* early return if asset has no services
2022-11-02 15:40:55 +00:00
Bogdan Fazakas
c780411b74
C2D fixes ( #1715 )
2022-11-02 15:24:20 +00:00
EnzoVezzaro
7fc5418189
block validation link when hosting is on g drive
2022-11-02 06:32:35 -04:00
Jamie Hewitt
d1e3fa9afa
Checking for google drive links ( #1757 )
...
* checking for google drive links
* Removing unused function
* Update src/components/Publish/_validation.ts
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* CHecking for google drive URLs on the edit form
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-01 15:00:07 +00:00