Commit Graph

2228 Commits

Author SHA1 Message Date
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
Jamie Hewitt 80c0748dba
Updating readme instructions to include prerequisites (#1824)
* Updating readme instructions to include prerequisites

* Updating text
2022-12-08 11:35:31 +00:00
Andrea Armanni 0ccd375738
Fix #1809 - C2D text update: proposal (#1820)
* C2D text  update: proposal

As suggested by Veronica and Roberto, proposing to update the C2D alert in the publish flow to have a softer connotation. Requesting review/opinions to the OM team

* Update content/site.json

Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
2022-12-07 12:24:40 +00:00
Matthias Kretschmann cb25c20123
fix search (#1822) 2022-12-06 08:30:18 +00:00
Matthias Kretschmann 0a86abbc84
Revert "default to static build (#1812)" (#1819) 2022-12-05 11:50:53 +00:00
dependabot[bot] 4aa85e9052
Bump decode-uri-component from 0.2.0 to 0.2.2 (#1814)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

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>
2022-12-05 10:27:45 +00:00
Matthias Kretschmann 28376404a8
default to static build (#1812) 2022-12-05 09:59:57 +00:00
Matthias Kretschmann 4ae4740ec8
set S3 deploy script to Node.js v18 too (#1805) 2022-12-01 12:11:52 +00:00
dependabot[bot] 5850091d45
Bump loader-utils from 1.4.1 to 1.4.2 (#1806)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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>
2022-12-01 09:29:17 +00:00
Matthias Kretschmann 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
dependabot[bot] 071948e0e6
Bump loader-utils from 1.4.1 to 1.4.2 (#1792)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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>
2022-11-20 15:03:35 +00: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 c65a1070aa Updating link to the docs 2022-11-16 14:29:33 +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
EnzoVezzaro 8225775828
Merge pull request #1487 from oceanprotocol/fix/issue-1069-c2d-unsupported-networks
allow price calculation when users are on unsupported network / not connected
2022-11-15 05:58:40 -04:00
Jamie Hewitt 6776ffe34d Adding inital outline for test 2022-11-15 12:40:14 +03:00
Jamie Hewitt 9fca971d77 Adding placeholder for link to the docs 2022-11-15 11:55:06 +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
Jamie Hewitt 11cf51d85b Adding paymentCOllector to content/pages/editMetadata.json 2022-11-14 17:54:37 +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
Matthias Kretschmann 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
Matthias Kretschmann b99634a3b3
filter out `className` from `Tippy` (#1783) 2022-11-09 12:23:26 +00:00
Matthias Kretschmann 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
dependabot[bot] ee4e5c3b4d
Bump loader-utils from 1.4.0 to 1.4.1 (#1780)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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>
2022-11-09 09:02:18 +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
EnzoVezzaro 0246113295 Merge branch 'fix/issue-validation-g-drive-links' of https://github.com/oceanprotocol/market into fix/issue-validation-g-drive-links 2022-11-07 16:35:18 -04:00
EnzoVezzaro 9c5cba4e05 Merge branch 'main' into fix/issue-validation-g-drive-links 2022-11-07 16:28:31 -04:00