Compare commits

...

949 Commits

Author SHA1 Message Date
Matthias Kretschmann de77f693d9
Update README.md 2020-10-27 10:12:24 +01:00
Trent McConaghy ad08e3bb53
Say 'obsolete' 2020-10-21 15:36:32 +02:00
Matthias Kretschmann 97b3e55bc1
Merge pull request #327 from oceanprotocol/dependabot/npm_and_yarn/client/types/jest-26.0.0
Bump @types/jest from 25.2.3 to 26.0.0 in /client
2020-06-15 12:50:49 +02:00
dependabot[bot] 0948e18c41
Bump @types/jest from 25.2.3 to 26.0.0 in /client
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.3 to 26.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 09:28:34 +00:00
Matthias Kretschmann 15dcc2e31a
Merge pull request #319 from oceanprotocol/dependabot/npm_and_yarn/server/types/morgan-1.9.1
Bump @types/morgan from 1.9.0 to 1.9.1 in /server
2020-06-15 11:26:15 +02:00
Matthias Kretschmann 2e34c0df81
Merge pull request #316 from oceanprotocol/dependabot/npm_and_yarn/release-it-13.6.3
Bump release-it from 13.6.2 to 13.6.3
2020-06-15 11:25:55 +02:00
Matthias Kretschmann cf1038a7fd
Merge pull request #312 from oceanprotocol/dependabot/npm_and_yarn/client/react-datepicker-3.0.0
Bump react-datepicker from 2.16.0 to 3.0.0 in /client
2020-06-15 11:25:37 +02:00
dependabot[bot] 3b0a366217
Bump @types/morgan from 1.9.0 to 1.9.1 in /server
Bumps [@types/morgan](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/morgan) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/morgan)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 08:50:00 +00:00
dependabot[bot] b63a693ed6
Bump react-datepicker from 2.16.0 to 3.0.0 in /client
Bumps [react-datepicker](https://github.com/Hacker0x01/react-datepicker) from 2.16.0 to 3.0.0.
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](https://github.com/Hacker0x01/react-datepicker/compare/v2.16.0...v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 08:48:29 +00:00
Matthias Kretschmann 468c0204d4
Merge pull request #324 from oceanprotocol/dependabot/npm_and_yarn/server/types/node-14.0.13
Bump @types/node from 14.0.11 to 14.0.13 in /server
2020-06-15 10:48:28 +02:00
dependabot[bot] 31185f9c64
Bump release-it from 13.6.2 to 13.6.3
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.2 to 13.6.3.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.2...13.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 08:46:47 +00:00
Matthias Kretschmann a4cd995669
Merge pull request #325 from oceanprotocol/dependabot/npm_and_yarn/client/query-string-6.13.1
Bump query-string from 6.13.0 to 6.13.1 in /client
2020-06-15 10:45:37 +02:00
Matthias Kretschmann c3cd566efd
Merge pull request #322 from oceanprotocol/dependabot/npm_and_yarn/auto-changelog-2.1.0
Bump auto-changelog from 2.0.0 to 2.1.0
2020-06-15 10:45:14 +02:00
dependabot[bot] ca1e84e3e0
Bump @types/node from 14.0.11 to 14.0.13 in /server
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.11 to 14.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 07:05:13 +00:00
dependabot[bot] 23a11e39ca
Bump auto-changelog from 2.0.0 to 2.1.0
Bumps [auto-changelog](https://github.com/CookPete/auto-changelog) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/CookPete/auto-changelog/releases)
- [Changelog](https://github.com/CookPete/auto-changelog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/CookPete/auto-changelog/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 07:05:00 +00:00
dependabot[bot] f4e0a38520
Bump query-string from 6.13.0 to 6.13.1 in /client
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.13.0 to 6.13.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.13.0...v6.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 07:04:37 +00:00
Matthias Kretschmann 8699cd7ce9
Merge pull request #321 from oceanprotocol/dependabot/npm_and_yarn/release-it/bumper-1.2.0
Bump @release-it/bumper from 1.1.1 to 1.2.0
2020-06-15 09:03:38 +02:00
Matthias Kretschmann 1bae3ae85a
Merge pull request #326 from oceanprotocol/dependabot/npm_and_yarn/client/is-url-superb-4.0.0
Bump is-url-superb from 3.0.0 to 4.0.0 in /client
2020-06-15 09:01:18 +02:00
Matthias Kretschmann 932f6ee1e4
Merge pull request #320 from oceanprotocol/dependabot/npm_and_yarn/eslint-plugin-prettier-3.1.4
Bump eslint-plugin-prettier from 3.1.3 to 3.1.4
2020-06-15 08:59:58 +02:00
Matthias Kretschmann d3b35c302f
Merge pull request #323 from oceanprotocol/dependabot/npm_and_yarn/client/testing-library/react-10.2.1
Bump @testing-library/react from 10.0.6 to 10.2.1 in /client
2020-06-15 08:59:18 +02:00
Matthias Kretschmann b0acdb3473
Merge pull request #318 from oceanprotocol/dependabot/npm_and_yarn/server/types/jest-26.0.0
Bump @types/jest from 25.2.3 to 26.0.0 in /server
2020-06-15 08:58:41 +02:00
Matthias Kretschmann 87dc14f6d9
Merge pull request #317 from oceanprotocol/dependabot/npm_and_yarn/cypress-4.8.0
Bump cypress from 4.7.0 to 4.8.0
2020-06-15 08:58:17 +02:00
Matthias Kretschmann d1d4ab72c6
Merge pull request #315 from oceanprotocol/dependabot/npm_and_yarn/server/sendgrid/mail-7.2.0
Bump @sendgrid/mail from 7.1.1 to 7.2.0 in /server
2020-06-15 08:57:50 +02:00
dependabot[bot] 626432c6c9
Bump is-url-superb from 3.0.0 to 4.0.0 in /client
Bumps [is-url-superb](https://github.com/sindresorhus/is-url-superb) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/is-url-superb/releases)
- [Commits](https://github.com/sindresorhus/is-url-superb/compare/v3.0.0...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 01:05:49 +00:00
dependabot[bot] 5b95d0253c
Bump @testing-library/react from 10.0.6 to 10.2.1 in /client
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.0.6 to 10.2.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.0.6...v10.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 01:03:58 +00:00
dependabot[bot] 8850b76cf8
Bump @release-it/bumper from 1.1.1 to 1.2.0
Bumps [@release-it/bumper](https://github.com/release-it/bumper) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/release-it/bumper/releases)
- [Commits](https://github.com/release-it/bumper/compare/1.1.1...1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 01:03:39 +00:00
dependabot[bot] 72c513c338
Bump eslint-plugin-prettier from 3.1.3 to 3.1.4
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.3...v3.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 01:03:29 +00:00
dependabot[bot] 06f8b88140
Bump @types/jest from 25.2.3 to 26.0.0 in /server
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.3 to 26.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 01:03:04 +00:00
dependabot[bot] 3ce14e8e7b
Bump cypress from 4.7.0 to 4.8.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.7.0...v4.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 01:02:59 +00:00
dependabot[bot] 04598e296e
Bump @sendgrid/mail from 7.1.1 to 7.2.0 in /server
Bumps [@sendgrid/mail](https://github.com/sendgrid/sendgrid-nodejs) from 7.1.1 to 7.2.0.
- [Release notes](https://github.com/sendgrid/sendgrid-nodejs/releases)
- [Changelog](https://github.com/sendgrid/sendgrid-nodejs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sendgrid/sendgrid-nodejs/compare/7.1.1...7.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-15 01:02:38 +00:00
Matthias Kretschmann 473b0b6e9d
Merge pull request #311 from oceanprotocol/dependabot/npm_and_yarn/server/types/node-14.0.11
Bump @types/node from 14.0.9 to 14.0.11 in /server
2020-06-08 12:14:02 +02:00
Matthias Kretschmann cb8c7fdaab
Merge pull request #310 from oceanprotocol/dependabot/npm_and_yarn/client/jest-mock-axios-4.2.0
Bump jest-mock-axios from 4.1.0 to 4.2.0 in /client
2020-06-08 12:13:38 +02:00
Matthias Kretschmann 624ee063b0
Merge pull request #309 from oceanprotocol/dependabot/npm_and_yarn/client/query-string-6.13.0
Bump query-string from 6.12.1 to 6.13.0 in /client
2020-06-08 12:13:11 +02:00
Matthias Kretschmann 6a94339ab6
Merge pull request #313 from oceanprotocol/dependabot/npm_and_yarn/client/ipfs-http-client-44.2.0
Bump ipfs-http-client from 44.1.1 to 44.2.0 in /client
2020-06-08 12:12:49 +02:00
Matthias Kretschmann 08803802fa
Merge pull request #314 from oceanprotocol/dependabot/npm_and_yarn/server/typescript-3.9.5
Bump typescript from 3.9.3 to 3.9.5 in /server
2020-06-08 12:12:31 +02:00
Matthias Kretschmann b771931e74
Merge pull request #308 from oceanprotocol/dependabot/npm_and_yarn/client/react-ga-3.0.0
Bump react-ga from 2.7.0 to 3.0.0 in /client
2020-06-08 12:12:12 +02:00
Matthias Kretschmann f5622b92f6
Merge pull request #307 from oceanprotocol/dependabot/npm_and_yarn/typescript-3.9.5
Bump typescript from 3.9.3 to 3.9.5
2020-06-08 12:11:50 +02:00
dependabot[bot] 4696012f06
Bump typescript from 3.9.3 to 3.9.5 in /server
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.3...v3.9.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 01:09:21 +00:00
dependabot[bot] d8f6c976bf
Bump ipfs-http-client from 44.1.1 to 44.2.0 in /client
Bumps [ipfs-http-client](https://github.com/ipfs/js-ipfs) from 44.1.1 to 44.2.0.
- [Release notes](https://github.com/ipfs/js-ipfs/releases)
- [Changelog](https://github.com/ipfs/js-ipfs/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/ipfs/js-ipfs/compare/ipfs-http-client@44.1.1...ipfs-http-client@44.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 01:07:29 +00:00
dependabot[bot] 54ad4798fc
Bump @types/node from 14.0.9 to 14.0.11 in /server
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.9 to 14.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 01:05:55 +00:00
dependabot[bot] 0eee025656
Bump jest-mock-axios from 4.1.0 to 4.2.0 in /client
Bumps [jest-mock-axios](https://github.com/knee-cola/jest-mock-axios) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/knee-cola/jest-mock-axios/releases)
- [Changelog](https://github.com/knee-cola/jest-mock-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knee-cola/jest-mock-axios/compare/4.1.0...4.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 01:04:45 +00:00
dependabot[bot] 5a4e272c95
Bump query-string from 6.12.1 to 6.13.0 in /client
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.12.1 to 6.13.0.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.12.1...v6.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 01:03:48 +00:00
dependabot[bot] c0ac535814
Bump react-ga from 2.7.0 to 3.0.0 in /client
Bumps [react-ga](https://github.com/react-ga/react-ga) from 2.7.0 to 3.0.0.
- [Release notes](https://github.com/react-ga/react-ga/releases)
- [Commits](https://github.com/react-ga/react-ga/compare/v2.7.0...v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 01:02:52 +00:00
dependabot[bot] ba31f967f2
Bump typescript from 3.9.3 to 3.9.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.3...v3.9.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 01:01:58 +00:00
Matthias Kretschmann 61d0c7328c
Merge pull request #306 from oceanprotocol/dependabot/npm_and_yarn/client/websocket-extensions-0.1.4
Bump websocket-extensions from 0.1.3 to 0.1.4 in /client
2020-06-07 10:59:35 +02:00
dependabot[bot] 8be3572945
Bump websocket-extensions from 0.1.3 to 0.1.4 in /client
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-07 06:46:28 +00:00
Matthias Kretschmann 19e3b55193
Merge pull request #302 from oceanprotocol/dependabot/npm_and_yarn/release-it-13.6.2
Bump release-it from 13.6.1 to 13.6.2
2020-06-03 08:57:42 +02:00
Matthias Kretschmann c4d71aab53
Merge pull request #303 from oceanprotocol/dependabot/npm_and_yarn/server/types/node-14.0.9
Bump @types/node from 14.0.6 to 14.0.9 in /server
2020-06-03 08:57:25 +02:00
Matthias Kretschmann fbe61b006b
Merge pull request #304 from oceanprotocol/dependabot/npm_and_yarn/client/jest-mock-axios-4.1.0
Bump jest-mock-axios from 4.0.0 to 4.1.0 in /client
2020-06-03 08:57:08 +02:00
Matthias Kretschmann 34e20186c3
Merge pull request #305 from oceanprotocol/dependabot/npm_and_yarn/client/testing-library/react-10.0.6
Bump @testing-library/react from 10.0.4 to 10.0.6 in /client
2020-06-03 08:56:49 +02:00
dependabot[bot] f553fcd7e0
Bump @testing-library/react from 10.0.4 to 10.0.6 in /client
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.0.4 to 10.0.6.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.0.4...v10.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-03 06:14:54 +00:00
dependabot[bot] 9ade7d25db
Bump jest-mock-axios from 4.0.0 to 4.1.0 in /client
Bumps [jest-mock-axios](https://github.com/knee-cola/jest-mock-axios) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/knee-cola/jest-mock-axios/releases)
- [Changelog](https://github.com/knee-cola/jest-mock-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knee-cola/jest-mock-axios/compare/4.0.0...4.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-03 06:13:10 +00:00
dependabot[bot] c8706698ed
Bump @types/node from 14.0.6 to 14.0.9 in /server
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.6 to 14.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-03 06:12:02 +00:00
dependabot[bot] ea99c045bd
Bump release-it from 13.6.1 to 13.6.2
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.1 to 13.6.2.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.1...13.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-03 06:11:51 +00:00
Matthias Kretschmann 75039762e7
Merge pull request #301 from oceanprotocol/dependabot/add-v2-config-file
Create Dependabot config file
2020-06-03 08:10:41 +02:00
dependabot-preview[bot] bca6d3d0df
Create Dependabot config file 2020-06-03 00:48:58 +00:00
dependabot-preview[bot] 016086c727
Merge pull request #300 from oceanprotocol/dependabot/npm_and_yarn/server/types/node-14.0.6 2020-06-02 07:02:28 +00:00
dependabot-preview[bot] 735e2c5882
Merge pull request #299 from oceanprotocol/dependabot/npm_and_yarn/client/ipfs-http-client-44.1.1 2020-06-02 07:02:15 +00:00
dependabot-preview[bot] d1a1d5430d
Merge pull request #298 from oceanprotocol/dependabot/npm_and_yarn/server/ts-node-8.10.2 2020-06-02 07:01:58 +00:00
dependabot-preview[bot] 546483b8d0
Merge pull request #297 from oceanprotocol/dependabot/npm_and_yarn/client/testing-library/jest-dom-5.9.0 2020-06-02 07:01:43 +00:00
dependabot-preview[bot] b4da9f3ebc
Merge pull request #296 from oceanprotocol/dependabot/npm_and_yarn/eslint-plugin-cypress-2.11.1 2020-06-02 07:01:23 +00:00
dependabot-preview[bot] 75586154d8
Merge pull request #295 from oceanprotocol/dependabot/npm_and_yarn/cypress-4.7.0 2020-06-02 07:01:04 +00:00
dependabot-preview[bot] 49f76033db
Bump @types/node from 14.0.5 to 14.0.6 in /server
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.5 to 14.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 01:27:20 +00:00
dependabot-preview[bot] 957f9836c4
Bump ipfs-http-client from 44.1.0 to 44.1.1 in /client
Bumps [ipfs-http-client](https://github.com/ipfs/js-ipfs) from 44.1.0 to 44.1.1.
- [Release notes](https://github.com/ipfs/js-ipfs/releases)
- [Changelog](https://github.com/ipfs/js-ipfs/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/ipfs/js-ipfs/compare/ipfs-http-client@44.1.0...ipfs-http-client@44.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 01:26:56 +00:00
dependabot-preview[bot] 1684bf844f
Bump ts-node from 8.10.1 to 8.10.2 in /server
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.1 to 8.10.2.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.1...v8.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 01:26:45 +00:00
dependabot-preview[bot] 6518b01622
Bump @testing-library/jest-dom from 5.8.0 to 5.9.0 in /client
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.8.0...v5.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 01:25:38 +00:00
dependabot-preview[bot] 413ed7e13f
Bump eslint-plugin-cypress from 2.10.3 to 2.11.1
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.10.3 to 2.11.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.10.3...v2.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 01:24:28 +00:00
dependabot-preview[bot] be5a32797c
Bump cypress from 4.6.0 to 4.7.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.6.0...v4.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 01:24:00 +00:00
dependabot-preview[bot] d285b1106f
Merge pull request #290 from oceanprotocol/dependabot/npm_and_yarn/server/types/node-14.0.5 2020-05-25 07:38:00 +00:00
dependabot-preview[bot] d5582e14ce
Merge pull request #292 from oceanprotocol/dependabot/npm_and_yarn/client/types/react-transition-group-4.4.0 2020-05-25 07:17:34 +00:00
dependabot-preview[bot] ab7a519c78
Bump @types/node from 14.0.4 to 14.0.5 in /server
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.4 to 14.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 07:16:00 +00:00
dependabot-preview[bot] cc392edf04
Merge pull request #294 from oceanprotocol/dependabot/npm_and_yarn/client/moment-2.26.0 2020-05-25 07:14:52 +00:00
dependabot-preview[bot] 744bfd67fc
Merge pull request #293 from oceanprotocol/dependabot/npm_and_yarn/client/web3-1.2.8 2020-05-25 07:14:35 +00:00
dependabot-preview[bot] cf24217330
Merge pull request #291 from oceanprotocol/dependabot/npm_and_yarn/cypress-4.6.0 2020-05-25 07:14:01 +00:00
dependabot-preview[bot] fed35cf79b
Bump moment from 2.25.3 to 2.26.0 in /client
Bumps [moment](https://github.com/moment/moment) from 2.25.3 to 2.26.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.25.3...2.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 01:34:33 +00:00
dependabot-preview[bot] 062a030fb5
Bump web3 from 1.2.7 to 1.2.8 in /client
Bumps [web3](https://github.com/ethereum/web3.js) from 1.2.7 to 1.2.8.
- [Release notes](https://github.com/ethereum/web3.js/releases)
- [Changelog](https://github.com/ethereum/web3.js/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/ethereum/web3.js/compare/v1.2.7...v1.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 01:33:28 +00:00
dependabot-preview[bot] bdfe3854d6
Bump @types/react-transition-group from 4.2.4 to 4.4.0 in /client
Bumps [@types/react-transition-group](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-transition-group) from 4.2.4 to 4.4.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-transition-group)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 01:31:59 +00:00
dependabot-preview[bot] 7f8e363840
Bump cypress from 4.5.0 to 4.6.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.5.0...v4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 01:28:28 +00:00
dependabot-preview[bot] 772df475cd
Merge pull request #287 from oceanprotocol/dependabot/npm_and_yarn/client/typescript-3.9.3 2020-05-20 07:19:59 +00:00
dependabot-preview[bot] 12a81c8001
Merge pull request #286 from oceanprotocol/dependabot/npm_and_yarn/client/types/react-router-dom-5.1.5 2020-05-20 07:18:16 +00:00
dependabot-preview[bot] 3f5a4aa4f6
Bump typescript from 3.9.2 to 3.9.3 in /client
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.2 to 3.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.2...v3.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 06:57:05 +00:00
dependabot-preview[bot] 1aa2afb005
Bump @types/react-router-dom from 5.1.3 to 5.1.5 in /client
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 5.1.3 to 5.1.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 06:56:35 +00:00
dependabot-preview[bot] f88d9d556d
Merge pull request #289 from oceanprotocol/dependabot/npm_and_yarn/client/testing-library/jest-dom-5.8.0 2020-05-20 06:54:53 +00:00
dependabot-preview[bot] ee20f6541c
Merge pull request #284 from oceanprotocol/dependabot/npm_and_yarn/server/types/node-14.0.4 2020-05-20 06:54:27 +00:00
dependabot-preview[bot] e35c3015d5
Merge pull request #285 from oceanprotocol/dependabot/npm_and_yarn/server/typescript-3.9.3 2020-05-20 06:53:45 +00:00
dependabot-preview[bot] 99097d91cc
Merge pull request #283 from oceanprotocol/dependabot/npm_and_yarn/typescript-3.9.3 2020-05-20 06:53:34 +00:00
dependabot-preview[bot] 3af9ee9efa
Merge pull request #288 from oceanprotocol/dependabot/npm_and_yarn/client/types/react-helmet-6.0.0 2020-05-20 06:53:13 +00:00
dependabot-preview[bot] 7ba39430c9
Bump @testing-library/jest-dom from 5.7.0 to 5.8.0 in /client
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.7.0...v5.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 01:56:18 +00:00
dependabot-preview[bot] 809deeb3a8
Bump @types/react-helmet from 5.0.15 to 6.0.0 in /client
Bumps [@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet) from 5.0.15 to 6.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 01:54:42 +00:00
dependabot-preview[bot] 119a1ee672
Bump typescript from 3.9.2 to 3.9.3 in /server
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.2 to 3.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.2...v3.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 01:16:19 +00:00
dependabot-preview[bot] bacf948f53
Bump @types/node from 14.0.1 to 14.0.4 in /server
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.1 to 14.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 01:14:57 +00:00
dependabot-preview[bot] 4660175c50
Bump typescript from 3.8.3 to 3.9.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 3.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v3.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 01:14:20 +00:00
Matthias Kretschmann 380b57388c
Release 2.4.1 2020-05-19 19:00:51 +02:00
Alex Coseru 197d3a950d
Merge pull request #282 from oceanprotocol/bug/fix_history
fix history
2020-05-19 19:59:20 +03:00
alexcos20 bbeef61afd fix history 2020-05-19 09:25:10 -07:00
alexcos20 8831c46e39 fix history 2020-05-19 09:23:38 -07:00
Matthias Kretschmann c0effd449f
Release 2.4.0 2020-05-19 16:00:26 +02:00
Matthias Kretschmann 91821e88d4
bump to squid-js v2.2.0 2020-05-19 15:48:50 +02:00
dependabot-preview[bot] 6f05baff3a
Merge pull request #281 from oceanprotocol/dependabot/npm_and_yarn/client/react-router-dom-5.2.0 2020-05-19 13:44:00 +00:00
dependabot-preview[bot] 0abc740ed8
Merge pull request #276 from oceanprotocol/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-2.34.0 2020-05-19 13:42:35 +00:00
dependabot-preview[bot] 5eb2b3fde0
Merge pull request #275 from oceanprotocol/dependabot/npm_and_yarn/concurrently-5.2.0 2020-05-19 13:42:30 +00:00
dependabot-preview[bot] a38ecc255d
Bump react-router-dom from 5.1.2 to 5.2.0 in /client
Bumps [react-router-dom](https://github.com/ReactTraining/react-router) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/ReactTraining/react-router/releases)
- [Changelog](https://github.com/ReactTraining/react-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ReactTraining/react-router/compare/v5.1.2...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 13:23:26 +00:00
dependabot-preview[bot] 7e59a1807c
Bump @typescript-eslint/eslint-plugin from 2.33.0 to 2.34.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.33.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 13:21:14 +00:00
dependabot-preview[bot] 1f9a358451
Bump concurrently from 5.1.0 to 5.2.0
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 13:21:11 +00:00
dependabot-preview[bot] 006948360f
Merge pull request #280 from oceanprotocol/dependabot/npm_and_yarn/client/types/jest-25.2.3 2020-05-19 13:20:34 +00:00
dependabot-preview[bot] bdab45c565
Merge pull request #279 from oceanprotocol/dependabot/npm_and_yarn/client/react-transition-group-4.4.1 2020-05-19 13:20:11 +00:00
dependabot-preview[bot] 62a64f8539
Merge pull request #273 from oceanprotocol/dependabot/npm_and_yarn/eslint-plugin-prettier-3.1.3 2020-05-19 13:19:29 +00:00
dependabot-preview[bot] b3fa56c2b2
Merge pull request #272 from oceanprotocol/dependabot/npm_and_yarn/typescript-eslint/parser-2.34.0 2020-05-19 13:19:18 +00:00
Matthias Kretschmann 55d9592565
Merge pull request #225 from oceanprotocol/feature/compute
Feature/compute
2020-05-19 15:18:53 +02:00
mihaisc 5015d26cea asset details fix 2020-05-19 15:47:21 +03:00
mihaisc a6b0ca4be6 test fix 2020-05-19 15:24:40 +03:00
dependabot-preview[bot] 3c8cbcc22b
Bump react-transition-group from 4.3.0 to 4.4.1 in /client
Bumps [react-transition-group](https://github.com/reactjs/react-transition-group) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/reactjs/react-transition-group/releases)
- [Changelog](https://github.com/reactjs/react-transition-group/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reactjs/react-transition-group/compare/v4.3.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 11:59:42 +00:00
dependabot-preview[bot] 3aa79cd7dc
Merge pull request #277 from oceanprotocol/dependabot/npm_and_yarn/client/web3-1.2.7 2020-05-19 11:56:22 +00:00
dependabot-preview[bot] 0f55b73dc5
Merge pull request #278 from oceanprotocol/dependabot/npm_and_yarn/client/oceanprotocol/squid-2.1.3 2020-05-19 11:56:08 +00:00
dependabot-preview[bot] daf39e8ed2
Bump @types/jest from 25.2.2 to 25.2.3 in /client
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.2 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 11:30:43 +00:00
dependabot-preview[bot] ef013c0d10
Bump @oceanprotocol/squid from 2.1.2 to 2.1.3 in /client
Bumps [@oceanprotocol/squid](https://github.com/oceanprotocol/squid-js) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/oceanprotocol/squid-js/releases)
- [Changelog](https://github.com/oceanprotocol/squid-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/squid-js/compare/v2.1.2...v2.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 11:28:05 +00:00
dependabot-preview[bot] 7184a7bb66
Bump web3 from 1.2.6 to 1.2.7 in /client
Bumps [web3](https://github.com/ethereum/web3.js) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/ethereum/web3.js/releases)
- [Changelog](https://github.com/ethereum/web3.js/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/ethereum/web3.js/compare/v1.2.6...v1.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 11:26:31 +00:00
mihaisc 28b213d2fc Merge branch 'feature/compute' of https://github.com/oceanprotocol/commons into feature/compute 2020-05-19 14:24:04 +03:00
mihaisc 55bf9f314f test fixes 2020-05-19 14:21:34 +03:00
dependabot-preview[bot] 51b1dd228f
Bump @typescript-eslint/parser from 2.33.0 to 2.34.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.33.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 09:19:03 +00:00
dependabot-preview[bot] 3511bafdf3
Bump eslint-plugin-prettier from 3.1.2 to 3.1.3
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.2...v3.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 09:18:59 +00:00
Matthias Kretschmann b93f005154
Merge branch 'master' into feature/compute 2020-05-19 11:18:38 +02:00
dependabot-preview[bot] 7cba1cd148
Merge pull request #271 from oceanprotocol/dependabot/npm_and_yarn/server/types/jest-25.2.3 2020-05-19 09:17:19 +00:00
dependabot-preview[bot] 876d7c22d3
Merge pull request #230 from oceanprotocol/dependabot/npm_and_yarn/prettier-2.0.5 2020-05-19 09:17:03 +00:00
dependabot-preview[bot] 87bcba5af7
Bump @types/jest from 25.2.2 to 25.2.3 in /server
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.2 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 08:45:11 +00:00
Matthias Kretschmann d058fc815d
formatting for new prettier rules 2020-05-19 10:36:18 +02:00
Matthias Kretschmann d916f0df1e
security fixes 2020-05-19 10:34:59 +02:00
Matthias Kretschmann 2884015678
small refactor 2020-05-19 10:28:02 +02:00
Matthias Kretschmann 7d09350967
test fixes 2020-05-19 10:18:40 +02:00
Matthias Kretschmann fe37382833
Merge branch 'master' into feature/compute 2020-05-19 10:11:44 +02:00
dependabot-preview[bot] 0d3bdc7a2c
Bump prettier from 1.19.1 to 2.0.5
Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 08:10:27 +00:00
Matthias Kretschmann 00e2d8acb5
Merge pull request #270 from oceanprotocol/fix/stylelint
remove stylelint & codacy
2020-05-19 10:08:43 +02:00
Matthias Kretschmann b7408a3c9b
remove codacy 2020-05-19 09:46:39 +02:00
Matthias Kretschmann 4ddd607499
remove stylelint 2020-05-19 09:21:55 +02:00
Matthias Kretschmann 5d9fee0e69
Merge branch 'master' into feature/compute 2020-05-19 09:10:55 +02:00
dependabot-preview[bot] 780d9db16e
Merge pull request #263 from oceanprotocol/dependabot/npm_and_yarn/client/react-helmet-6.0.0 2020-05-19 07:01:56 +00:00
Matthias Kretschmann 7905a1f8a9
new Helmet import 2020-05-19 08:37:51 +02:00
Alex Coseru 17cdb87b8d
Merge branch 'master' into feature/compute 2020-05-19 02:16:14 +03:00
dependabot-preview[bot] 4b3130e0e9
Merge pull request #269 from oceanprotocol/dependabot/npm_and_yarn/server/morgan-1.10.0 2020-05-18 22:27:48 +00:00
dependabot-preview[bot] 1014ab02cf
Merge pull request #268 from oceanprotocol/dependabot/npm_and_yarn/server/types/request-2.48.5 2020-05-18 22:27:34 +00:00
dependabot-preview[bot] cb68e7ef3d
Bump morgan from 1.9.1 to 1.10.0 in /server
Bumps [morgan](https://github.com/expressjs/morgan) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/expressjs/morgan/releases)
- [Changelog](https://github.com/expressjs/morgan/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/morgan/compare/1.9.1...1.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 18:08:27 +00:00
dependabot-preview[bot] cc3bc599b4
Bump @types/request from 2.48.4 to 2.48.5 in /server
Bumps [@types/request](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/request) from 2.48.4 to 2.48.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/request)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 18:07:30 +00:00
dependabot-preview[bot] 3ce29a59b9
Bump react-helmet from 5.2.1 to 6.0.0 in /client
Bumps [react-helmet](https://github.com/nfl/react-helmet) from 5.2.1 to 6.0.0.
- [Release notes](https://github.com/nfl/react-helmet/releases)
- [Changelog](https://github.com/nfl/react-helmet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nfl/react-helmet/commits/6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 18:06:21 +00:00
dependabot-preview[bot] 73ba7d4cdd
Merge pull request #266 from oceanprotocol/dependabot/npm_and_yarn/client/types/react-dom-16.9.8 2020-05-18 18:02:56 +00:00
dependabot-preview[bot] f431b66a41
Merge pull request #265 from oceanprotocol/dependabot/npm_and_yarn/client/jest-mock-axios-4.0.0 2020-05-18 18:02:42 +00:00
dependabot-preview[bot] 5d1377fa24
Merge pull request #267 from oceanprotocol/dependabot/npm_and_yarn/client/query-string-6.12.1 2020-05-18 18:02:24 +00:00
dependabot-preview[bot] cd81fa3d9a
Merge pull request #264 from oceanprotocol/dependabot/npm_and_yarn/client/oceanprotocol/squid-2.1.2 2020-05-18 18:02:13 +00:00
dependabot-preview[bot] c69797cb02
Bump query-string from 6.11.1 to 6.12.1 in /client
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.11.1 to 6.12.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.11.1...v6.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 17:41:22 +00:00
dependabot-preview[bot] 6d834fb6a6
Bump @types/react-dom from 16.9.5 to 16.9.8 in /client
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 16.9.5 to 16.9.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 17:40:23 +00:00
dependabot-preview[bot] 0dda840f92
Bump jest-mock-axios from 3.2.0 to 4.0.0 in /client
Bumps [jest-mock-axios](https://github.com/knee-cola/jest-mock-axios) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/knee-cola/jest-mock-axios/releases)
- [Commits](https://github.com/knee-cola/jest-mock-axios/compare/3.2.0...4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 17:38:55 +00:00
dependabot-preview[bot] 41600c2f30
Bump @oceanprotocol/squid from 2.1.1 to 2.1.2 in /client
Bumps [@oceanprotocol/squid](https://github.com/oceanprotocol/squid-js) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/oceanprotocol/squid-js/releases)
- [Changelog](https://github.com/oceanprotocol/squid-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/squid-js/compare/v2.1.1...v2.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 17:37:45 +00:00
alexcos20 54f437a6e6 fix tests 2020-05-18 10:02:40 -07:00
dependabot-preview[bot] 456e9a6607
Merge pull request #262 from oceanprotocol/dependabot/npm_and_yarn/client/ipfs-http-client-44.1.0 2020-05-18 16:22:02 +00:00
dependabot-preview[bot] 8a48afb535
Bump ipfs-http-client from 39.0.2 to 44.1.0 in /client
Bumps [ipfs-http-client](https://github.com/ipfs/js-ipfs) from 39.0.2 to 44.1.0.
- [Release notes](https://github.com/ipfs/js-ipfs/releases)
- [Changelog](https://github.com/ipfs/js-ipfs/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/ipfs/js-ipfs/commits/ipfs-http-client@44.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 16:00:22 +00:00
dependabot-preview[bot] 0dfaf4c069
Merge pull request #261 from oceanprotocol/dependabot/npm_and_yarn/client/react-dropzone-11.0.1 2020-05-18 15:56:39 +00:00
dependabot-preview[bot] 23f956092a
Merge pull request #260 from oceanprotocol/dependabot/npm_and_yarn/client/moment-2.25.3 2020-05-18 15:56:22 +00:00
dependabot-preview[bot] 8bed302e9e
Merge pull request #259 from oceanprotocol/dependabot/npm_and_yarn/client/react-collapsed-3.0.0 2020-05-18 15:56:07 +00:00
alexcos20 f6be84e76f remove css lint 2020-05-18 08:56:02 -07:00
dependabot-preview[bot] 8284a407f8
Merge pull request #258 from oceanprotocol/dependabot/npm_and_yarn/client/testing-library/react-10.0.4 2020-05-18 15:55:40 +00:00
dependabot-preview[bot] 074250e544
Merge pull request #257 from oceanprotocol/dependabot/npm_and_yarn/client/truffle/hdwallet-provider-1.0.35 2020-05-18 15:55:27 +00:00
dependabot-preview[bot] 445c86f60d
Bump react-dropzone from 10.2.1 to 11.0.1 in /client
Bumps [react-dropzone](https://github.com/react-dropzone/react-dropzone) from 10.2.1 to 11.0.1.
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases)
- [Commits](https://github.com/react-dropzone/react-dropzone/compare/v10.2.1...v11.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 15:30:00 +00:00
dependabot-preview[bot] 97fda45977
Bump moment from 2.24.0 to 2.25.3 in /client
Bumps [moment](https://github.com/moment/moment) from 2.24.0 to 2.25.3.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.25.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 15:28:52 +00:00
dependabot-preview[bot] b97205a0c2
Bump react-collapsed from 2.2.3 to 3.0.0 in /client
Bumps [react-collapsed](https://github.com/roginfarrer/react-collapsed) from 2.2.3 to 3.0.0.
- [Release notes](https://github.com/roginfarrer/react-collapsed/releases)
- [Changelog](https://github.com/roginfarrer/react-collapsed/blob/master/CHANGELOG.md)
- [Commits](https://github.com/roginfarrer/react-collapsed/compare/v2.2.3...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 15:27:40 +00:00
dependabot-preview[bot] c0e15d5695
Bump @testing-library/react from 10.0.1 to 10.0.4 in /client
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.0.1 to 10.0.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.0.1...v10.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 15:26:28 +00:00
dependabot-preview[bot] 401d8349e6
Bump @truffle/hdwallet-provider from 1.0.33 to 1.0.35 in /client
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle) from 1.0.33 to 1.0.35.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/compare/@truffle/hdwallet-provider@1.0.33...@truffle/hdwallet-provider@1.0.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 15:25:35 +00:00
dependabot-preview[bot] 9c93c92e10
Merge pull request #244 from oceanprotocol/dependabot/npm_and_yarn/auto-changelog-2.0.0 2020-05-18 13:30:24 +00:00
dependabot-preview[bot] 8505c1efd0
Merge pull request #246 from oceanprotocol/dependabot/npm_and_yarn/release-it-13.6.1 2020-05-18 13:30:08 +00:00
Matthias Kretschmann 7b02cbe52f
Merge pull request #256 from oceanprotocol/dependabot/npm_and_yarn/client/typescript-3.9.2
Bump typescript from 3.8.3 to 3.9.2 in /client
2020-05-18 15:29:34 +02:00
dependabot-preview[bot] a34c37f212
Merge pull request #235 from oceanprotocol/dependabot/npm_and_yarn/server/typescript-3.9.2 2020-05-18 13:29:13 +00:00
dependabot-preview[bot] 98c459241f
Merge pull request #249 from oceanprotocol/dependabot/npm_and_yarn/server/types/jest-25.2.2 2020-05-18 13:14:33 +00:00
dependabot-preview[bot] 6a6688b2e0
Bump typescript from 3.8.3 to 3.9.2 in /client
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 3.9.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v3.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 12:39:47 +00:00
dependabot-preview[bot] d4cb1f78bd
Bump @types/jest from 25.1.4 to 25.2.2 in /server
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.1.4 to 25.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 12:38:03 +00:00
Matthias Kretschmann 13780d6a82
Merge pull request #255 from oceanprotocol/dependabot/npm_and_yarn/client/sindresorhus/slugify-1.0.0
Bump @sindresorhus/slugify from 0.11.0 to 1.0.0 in /client
2020-05-18 14:37:58 +02:00
dependabot-preview[bot] dba1f8f878
Bump typescript from 3.8.3 to 3.9.2 in /server
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 3.9.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v3.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 12:37:38 +00:00
dependabot-preview[bot] 6e12b3f1be
Merge pull request #253 from oceanprotocol/dependabot/npm_and_yarn/client/oceanprotocol/squid-2.1.1 2020-05-18 12:36:14 +00:00
dependabot-preview[bot] 04f5db99f0
Merge pull request #254 from oceanprotocol/dependabot/npm_and_yarn/client/types/react-16.9.35 2020-05-18 12:35:52 +00:00
dependabot-preview[bot] ca6ee70da8
Merge pull request #252 from oceanprotocol/dependabot/npm_and_yarn/client/react-scripts-3.4.1 2020-05-18 12:35:31 +00:00
dependabot-preview[bot] 274a9507e3
Bump auto-changelog from 1.16.2 to 2.0.0
Bumps [auto-changelog](https://github.com/CookPete/auto-changelog) from 1.16.2 to 2.0.0.
- [Release notes](https://github.com/CookPete/auto-changelog/releases)
- [Changelog](https://github.com/CookPete/auto-changelog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/CookPete/auto-changelog/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 12:31:20 +00:00
dependabot-preview[bot] 2dafe64a00
Bump release-it from 13.6.0 to 13.6.1
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.0 to 13.6.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.0...13.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 12:31:14 +00:00
dependabot-preview[bot] e8bab5749b
Merge pull request #248 from oceanprotocol/dependabot/npm_and_yarn/eslint-config-prettier-6.11.0 2020-05-18 12:29:50 +00:00
Matthias Kretschmann 3f5def552e
Merge pull request #250 from oceanprotocol/dependabot/npm_and_yarn/cypress-4.5.0
Bump cypress from 4.2.0 to 4.5.0
2020-05-18 14:29:31 +02:00
dependabot-preview[bot] 7df95c69ab
Merge pull request #243 from oceanprotocol/dependabot/npm_and_yarn/typescript-eslint/parser-2.33.0 2020-05-18 12:28:47 +00:00
dependabot-preview[bot] 024b873614
Merge pull request #251 from oceanprotocol/dependabot/npm_and_yarn/server/ts-node-8.10.1 2020-05-18 12:28:05 +00:00
dependabot-preview[bot] 9c16ad30e1
Merge pull request #247 from oceanprotocol/dependabot/npm_and_yarn/server/types/supertest-2.0.9 2020-05-18 12:27:48 +00:00
dependabot-preview[bot] 8fb906b168
Merge pull request #245 from oceanprotocol/dependabot/npm_and_yarn/server/types/express-4.17.6 2020-05-18 12:27:28 +00:00
dependabot-preview[bot] 20cc62b2fa
Merge pull request #242 from oceanprotocol/dependabot/npm_and_yarn/server/express-validator-6.5.0 2020-05-18 12:27:12 +00:00
alexcos20 99fa2e965b fix lint 2020-05-18 05:09:04 -07:00
dependabot-preview[bot] c82f31dc2d
Bump @sindresorhus/slugify from 0.11.0 to 1.0.0 in /client
Bumps [@sindresorhus/slugify](https://github.com/sindresorhus/slugify) from 0.11.0 to 1.0.0.
- [Release notes](https://github.com/sindresorhus/slugify/releases)
- [Commits](https://github.com/sindresorhus/slugify/compare/v0.11.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 11:49:16 +00:00
dependabot-preview[bot] d11dc641cf
Bump @types/react from 16.9.23 to 16.9.35 in /client
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.23 to 16.9.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 11:48:03 +00:00
dependabot-preview[bot] 8e547f9b9d
Bump @oceanprotocol/squid from 2.0.0-beta.4 to 2.1.1 in /client
Bumps [@oceanprotocol/squid](https://github.com/oceanprotocol/squid-js) from 2.0.0-beta.4 to 2.1.1.
- [Release notes](https://github.com/oceanprotocol/squid-js/releases)
- [Changelog](https://github.com/oceanprotocol/squid-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/squid-js/compare/2.0.0-beta.4...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 11:46:54 +00:00
dependabot-preview[bot] 112f2ba00c
Bump react-scripts from 3.4.0 to 3.4.1 in /client
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@3.4.1/packages/react-scripts)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 11:45:42 +00:00
dependabot-preview[bot] d5ff3c1df2
Bump ts-node from 8.7.0 to 8.10.1 in /server
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.7.0 to 8.10.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.7.0...v8.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 08:54:53 +00:00
dependabot-preview[bot] f7d4a5a994
Bump cypress from 4.2.0 to 4.5.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.2.0 to 4.5.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.2.0...v4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 08:54:31 +00:00
dependabot-preview[bot] abab1b1ffb
Bump eslint-config-prettier from 6.10.0 to 6.11.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.10.0 to 6.11.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.10.0...v6.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 08:53:51 +00:00
dependabot-preview[bot] c1296ed172
Bump @types/supertest from 2.0.8 to 2.0.9 in /server
Bumps [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/supertest) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/supertest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 08:53:38 +00:00
dependabot-preview[bot] c00911c886
Bump @types/express from 4.17.3 to 4.17.6 in /server
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.3 to 4.17.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 08:53:05 +00:00
dependabot-preview[bot] c539db7141
Bump @typescript-eslint/parser from 2.24.0 to 2.33.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.24.0 to 2.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.33.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 08:52:18 +00:00
dependabot-preview[bot] af5dd6339a
Bump express-validator from 6.4.1 to 6.5.0 in /server
Bumps [express-validator](https://github.com/express-validator/express-validator) from 6.4.1 to 6.5.0.
- [Release notes](https://github.com/express-validator/express-validator/releases)
- [Commits](https://github.com/express-validator/express-validator/compare/v6.4.1...v6.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 08:52:07 +00:00
dependabot-preview[bot] f70612300d
Merge pull request #233 from oceanprotocol/dependabot/npm_and_yarn/server/types/node-14.0.1 2020-05-17 01:15:45 +00:00
dependabot-preview[bot] cd9364167d
Bump @types/node from 13.9.2 to 14.0.1 in /server
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.9.2 to 14.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 00:46:57 +00:00
dependabot-preview[bot] 24316aa19d
Merge pull request #241 from oceanprotocol/dependabot/npm_and_yarn/client/source-map-explorer-2.4.2 2020-05-17 00:45:30 +00:00
dependabot-preview[bot] dd6f1537c9
Merge pull request #238 from oceanprotocol/dependabot/npm_and_yarn/server/sendgrid/mail-7.1.1 2020-05-17 00:45:05 +00:00
Matthias Kretschmann c642fa0ee7
Merge pull request #240 from oceanprotocol/dependabot/npm_and_yarn/client/types/jest-25.2.2
Bump @types/jest from 25.1.4 to 25.2.2 in /client
2020-05-17 02:44:34 +02:00
dependabot-preview[bot] 8e06fc63e3
Merge pull request #239 from oceanprotocol/dependabot/npm_and_yarn/client/react-datepicker-2.16.0 2020-05-17 00:43:57 +00:00
dependabot-preview[bot] c64adf2400
Merge pull request #236 from oceanprotocol/dependabot/npm_and_yarn/server/nodemon-2.0.4 2020-05-17 00:43:33 +00:00
dependabot-preview[bot] 32a8086753
Merge pull request #237 from oceanprotocol/dependabot/npm_and_yarn/client/testing-library/jest-dom-5.7.0 2020-05-17 00:42:57 +00:00
dependabot-preview[bot] d2e250149d
Merge pull request #232 from oceanprotocol/dependabot/npm_and_yarn/server/express-validator-6.4.1 2020-05-17 00:16:20 +00:00
dependabot-preview[bot] d5c26544ef
Merge pull request #229 from oceanprotocol/dependabot/npm_and_yarn/stylelint-13.3.3 2020-05-17 00:16:04 +00:00
dependabot-preview[bot] 93db50886e
Bump source-map-explorer from 2.4.0 to 2.4.2 in /client
Bumps [source-map-explorer](https://github.com/danvk/source-map-explorer) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/danvk/source-map-explorer/releases)
- [Commits](https://github.com/danvk/source-map-explorer/compare/v2.4.0...v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 23:55:30 +00:00
dependabot-preview[bot] 5e6b56112f
Bump @types/jest from 25.1.4 to 25.2.2 in /client
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.1.4 to 25.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 23:54:13 +00:00
dependabot-preview[bot] 812812d413
Bump react-datepicker from 2.14.0 to 2.16.0 in /client
Bumps [react-datepicker](https://github.com/Hacker0x01/react-datepicker) from 2.14.0 to 2.16.0.
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](https://github.com/Hacker0x01/react-datepicker/compare/v2.14.0...v2.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 23:53:36 +00:00
dependabot-preview[bot] 0d69433ad2
Bump @sendgrid/mail from 6.5.5 to 7.1.1 in /server
Bumps [@sendgrid/mail](https://github.com/sendgrid/sendgrid-nodejs) from 6.5.5 to 7.1.1.
- [Release notes](https://github.com/sendgrid/sendgrid-nodejs/releases)
- [Changelog](https://github.com/sendgrid/sendgrid-nodejs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sendgrid/sendgrid-nodejs/compare/6.5.5...7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 23:52:21 +00:00
dependabot-preview[bot] 874ae1d058
Bump @testing-library/jest-dom from 5.1.1 to 5.7.0 in /client
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.1.1 to 5.7.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.1.1...v5.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 23:52:02 +00:00
dependabot-preview[bot] 1193b62607
Bump nodemon from 2.0.2 to 2.0.4 in /server
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.2...v2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 23:51:32 +00:00
dependabot-preview[bot] 1d5a17142e
Bump express-validator from 6.4.0 to 6.4.1 in /server
Bumps [express-validator](https://github.com/express-validator/express-validator) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/express-validator/express-validator/releases)
- [Commits](https://github.com/express-validator/express-validator/compare/v6.4.0...v6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 23:49:34 +00:00
dependabot-preview[bot] 78f3358672
Bump stylelint from 13.2.1 to 13.3.3
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.2.1 to 13.3.3.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.2.1...13.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 23:47:26 +00:00
Matthias Kretschmann c34797e9d8
Merge pull request #231 from oceanprotocol/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-2.33.0
Bump @typescript-eslint/eslint-plugin from 2.24.0 to 2.33.0
2020-05-17 01:45:45 +02:00
Matthias Kretschmann aef84642af
Merge pull request #228 from oceanprotocol/dependabot/npm_and_yarn/start-server-and-test-1.11.0
Bump start-server-and-test from 1.10.10 to 1.11.0
2020-05-17 01:45:18 +02:00
dependabot-preview[bot] dbc8baf5ca
Bump start-server-and-test from 1.10.10 to 1.11.0
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.10.10 to 1.11.0.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.10.10...v1.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 22:45:43 +00:00
Matthias Kretschmann 366c49537e
Merge pull request #227 from oceanprotocol/dependabot/npm_and_yarn/handlebars-4.7.6
[Security] Bump handlebars from 4.5.3 to 4.7.6
2020-05-17 00:44:07 +02:00
Matthias Kretschmann 59aa6e3cc8
Merge pull request #226 from oceanprotocol/dependabot/npm_and_yarn/release-it-13.6.0
Bump release-it from 13.1.1 to 13.6.0
2020-05-17 00:43:45 +02:00
dependabot-preview[bot] 881c924afd
Bump @typescript-eslint/eslint-plugin from 2.24.0 to 2.33.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.24.0 to 2.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.33.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 22:20:49 +00:00
dependabot-preview[bot] 41968bf4b6
[Security] Bump handlebars from 4.5.3 to 4.7.6
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.6. **This update includes a security fix.**
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 22:18:34 +00:00
dependabot-preview[bot] 906a141504
Bump release-it from 13.1.1 to 13.6.0
Bumps [release-it](https://github.com/release-it/release-it) from 13.1.1 to 13.6.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.1.1...13.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-16 22:18:23 +00:00
alexcos20 38691369d4 lint fix 2020-05-05 12:43:14 +03:00
alexcos20 23aced5f9c update compute images 2020-05-05 08:36:59 +03:00
alexcos20 3f7e8f9f18 fix get jobs 2020-04-15 15:33:08 +03:00
alexcos20 e7cd6105bf fix image select 2020-04-03 10:30:47 +03:00
mihaisc aff63caf9a job styling 2020-04-02 15:10:27 +03:00
mihaisc b5eb2e2ddf job history 2020-03-31 22:04:15 +03:00
mihaisc 553535c578 job history 2020-03-30 19:22:48 +03:00
mihaisc 1b20b12cce squid update, assetjob refactor 2020-03-30 14:22:34 +03:00
mihaisc d234717a6a add job on compute asset 2020-03-29 17:39:09 +03:00
Matthias Kretschmann f63077181e
Release 2.3.1 2020-03-20 11:47:03 +01:00
Matthias Kretschmann 5f8b3d7b69
Merge pull request #223 from oceanprotocol/fix/packages
package updates
2020-03-20 11:43:10 +01:00
Matthias Kretschmann 192c54134a
more package updates 2020-03-20 00:10:29 +01:00
Matthias Kretschmann b7c6543fbe
lint fixes 2020-03-16 12:40:49 +01:00
Matthias Kretschmann 94fa7701eb
package updates 2020-03-16 11:48:08 +01:00
Matthias Kretschmann 5ced0c4dc8
Merge pull request #222 from oceanprotocol/dependabot/npm_and_yarn/server/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4 in /server
2020-03-16 10:55:35 +01:00
dependabot[bot] f5728e732b
Bump acorn from 5.7.3 to 5.7.4 in /server
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-16 09:32:59 +00:00
Matthias Kretschmann 6bacf8936d
Merge pull request #221 from oceanprotocol/dependabot/npm_and_yarn/client/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4 in /client
2020-03-16 10:30:51 +01:00
Matthias Kretschmann 1e0f549e8f
Merge pull request #220 from oceanprotocol/dependabot/npm_and_yarn/acorn-7.1.1
Bump acorn from 7.1.0 to 7.1.1
2020-03-16 10:30:32 +01:00
dependabot[bot] 70ba8ded20
Bump acorn from 5.7.3 to 5.7.4 in /client
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-15 16:14:51 +00:00
dependabot[bot] a0df037d37
Bump acorn from 7.1.0 to 7.1.1
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-13 23:21:19 +00:00
Matthias Kretschmann f143a59b0b
Release 2.3.0 2020-02-20 16:38:14 +01:00
Matthias Kretschmann 456ad15ddf
Merge pull request #218 from oceanprotocol/feature/squid-v2
bump to squid.js v2 beta
2020-02-20 16:36:42 +01:00
Matthias Kretschmann c669089d3b
update ocean.assets methods 2020-02-20 16:11:28 +01:00
Matthias Kretschmann e81c196d40
bump to squid.js v2 beta 2020-02-20 15:34:55 +01:00
Matthias Kretschmann 57f2022f37
Release 2.2.0 2020-02-01 15:46:03 +01:00
Matthias Kretschmann ba2de2e69c
Merge pull request #209 from oceanprotocol/feature/react-scripts-update
bump to react-scripts v3.3
2020-02-01 15:41:44 +01:00
Matthias Kretschmann 3e814b98a7
fix Travis 2020-02-01 14:25:35 +01:00
Matthias Kretschmann a54bcc1afb
fix tests 2020-01-31 18:03:13 +01:00
Matthias Kretschmann 65b72e597d
package updates 2020-01-31 17:14:03 +01:00
Matthias Kretschmann 004f946d99
test tweaks 2020-01-31 16:57:46 +01:00
Matthias Kretschmann 8089a7aa3e
package updates 2020-01-31 16:57:46 +01:00
Matthias Kretschmann 9cbedb8f87
bump to react-scripts v3.3
* allows to bump all eslint packages too
* fix new lint errors
2020-01-31 16:57:46 +01:00
Matthias Kretschmann b9f83021c7
Release 2.1.0 2020-01-23 13:29:58 +01:00
Matthias Kretschmann 44d0c25e0b
Merge pull request #216 from oceanprotocol/fix/search-duplication
Fix search code duplication
2020-01-23 13:28:37 +01:00
Matthias Kretschmann ebdbb04bd9
Merge pull request #210 from oceanprotocol/feature/keeper-0.13
bump to keeper-contracts v0.13
2020-01-23 13:28:17 +01:00
Matthias Kretschmann 37296c502e
bump all components 2020-01-22 18:17:09 +01:00
Matthias Kretschmann d80530c315
fix search 2020-01-15 21:39:11 +01:00
Matthias Kretschmann c5ea3b7c8a
fix code duplication 2020-01-15 21:31:37 +01:00
Matthias Kretschmann 77e2dd49c5
Release 2.1.0-beta.0 2020-01-07 12:22:45 +01:00
Matthias Kretschmann 5ba5cd9e20
bump to keeper-contracts v0.13.0 2020-01-07 12:21:14 +01:00
Matthias Kretschmann e9e5dd9049
Release 2.0.1 2020-01-07 12:16:23 +01:00
Matthias Kretschmann c98fc44d35
Merge pull request #213 from oceanprotocol/fix/additionalInformation
more additionalInformation checks
2020-01-07 12:14:48 +01:00
Matthias Kretschmann 1355be96c8
more additionalInformation checks 2020-01-07 11:49:06 +01:00
Matthias Kretschmann 3d9ed9d1c3
Merge pull request #211 from oceanprotocol/feature/tabwidth
remove editorconfig
2019-12-18 11:28:15 +01:00
Matthias Kretschmann f8dfaa438c
remove editorconfig, define all styling in prettierrc 2019-12-18 10:46:43 +01:00
Matthias Kretschmann 70a3339f8b
Release 2.0.0 2019-12-09 14:21:45 +01:00
Matthias Kretschmann 1b07944e02
Merge pull request #207 from oceanprotocol/feature/v2-ddo
Migrate to new v2 DDO structure
2019-12-09 14:20:20 +01:00
Matthias Kretschmann 7f9daa0d82
bump to squid-js v1.0.0 2019-12-09 12:55:39 +01:00
Matthias Kretschmann 3df046bbea
test and package fixes 2019-12-07 18:42:30 +01:00
Matthias Kretschmann a8c695e16f
bump dependencies 2019-12-06 16:24:48 +01:00
Matthias Kretschmann ed2812d6f4
bump components 2019-12-06 15:46:47 +01:00
Matthias Kretschmann 2868076da2
Release 2.0.0-beta.3 2019-11-22 12:47:45 +01:00
Matthias Kretschmann b652d243d4
bump squid-js 2019-11-22 12:46:55 +01:00
Matthias Kretschmann c0a79b3188
bump Brizo & Aquarius 2019-11-22 12:43:08 +01:00
Matthias Kretschmann 670f717b37
Release 2.0.0-beta.2 2019-11-22 12:43:07 +01:00
Matthias Kretschmann dcc5642aa2
bump squid-js 2019-11-22 12:42:37 +01:00
Matthias Kretschmann 50d077a887
test against Brizo v0.7.0 2019-11-22 12:42:37 +01:00
Matthias Kretschmann 5800027cbf
bump packages 2019-11-22 12:42:37 +01:00
Matthias Kretschmann f7a5de7b5c
run against Node.js v12 2019-11-22 12:42:37 +01:00
Matthias Kretschmann 954c6d2d46
Release 2.0.0-beta.1 2019-11-22 12:42:37 +01:00
Matthias Kretschmann 8c3262c1d9
bump web3 packages 2019-11-22 12:42:00 +01:00
Matthias Kretschmann b4248b7693
Release 2.0.0-beta.0 2019-11-22 12:42:00 +01:00
Matthias Kretschmann 831e3d1aa1
bump squid-js 2019-11-22 12:40:25 +01:00
Matthias Kretschmann 7eea449a5d
bump to Aquarius v1.0.2 2019-11-22 12:40:25 +01:00
Matthias Kretschmann 417abf8988
search tweaks 2019-11-22 12:40:25 +01:00
Matthias Kretschmann ed33f690f9
test against Aquarius v1.0.1 2019-11-22 12:40:24 +01:00
Matthias Kretschmann 6282dbb5fc
contentLength as string 2019-11-22 12:40:24 +01:00
Matthias Kretschmann ac5c66f0e9
test against Aquarius v1.0.0 2019-11-22 12:40:24 +01:00
Matthias Kretschmann 985803d43e
update to new DDO structure 2019-11-22 12:40:24 +01:00
Matthias Kretschmann c3c8ca5368
switch to v2 components 2019-11-22 12:40:24 +01:00
Matthias Kretschmann a81838c8e7
bump to squid@next 2019-11-22 12:40:16 +01:00
Matthias Kretschmann b02cda043c
Release 1.3.2 2019-11-22 12:37:00 +01:00
Matthias Kretschmann 8ca727fffc
bump to squid-js v0.8.3 2019-11-22 12:36:25 +01:00
Matthias Kretschmann c8a46a5316
Release 1.3.1 2019-11-07 15:06:59 +01:00
Matthias Kretschmann 345bbb0dfb
Merge pull request #206 from oceanprotocol/feature/bump-squid
Bump squid
2019-11-07 15:06:04 +01:00
Matthias Kretschmann afd4ec991f
downgrade @typescript-eslint packages 2019-11-07 14:19:16 +01:00
Matthias Kretschmann 826cb07953
test fix 2019-11-07 13:57:21 +01:00
Matthias Kretschmann ccdef8143e
bump squid 2019-11-07 13:46:03 +01:00
Matthias Kretschmann 4741e1260d
add nvmrc 2019-11-07 11:18:17 +01:00
Matthias Kretschmann 7d60a85885
Release 1.3.0 2019-11-01 12:48:07 +01:00
Matthias Kretschmann 7c88cb4fea
Merge pull request #204 from oceanprotocol/feature/bump-squid
bump packages
2019-11-01 12:47:12 +01:00
Matthias Kretschmann da9237ea46
lock to react-scripts 3.0.1 2019-11-01 11:20:48 +01:00
Matthias Kretschmann 532dee9845
increase add file timeouts in publish test 2019-10-30 12:09:53 +01:00
Matthias Kretschmann ced3f716da
run unit tests in silent mode
* prevents unhelpful and noisy console logging in passed tests
2019-10-30 11:32:59 +01:00
Matthias Kretschmann 9daa49a085
fix async unit tests
* async act() to the rescue with React 16.9+
2019-10-30 10:58:30 +01:00
Matthias Kretschmann e417c8299a
consume integration test tweaks 2019-10-29 17:30:19 +01:00
Matthias Kretschmann aec1f78257
web3 1.2.2 & truffle-hd-wallet updates, simplify types 2019-10-29 14:27:13 +01:00
Matthias Kretschmann fe4f2233f0
more test fixes 2019-10-28 18:46:24 +01:00
Matthias Kretschmann 3fb7358b77
bump testing-library packages 2019-10-25 15:30:56 +02:00
Matthias Kretschmann f14413e34f
test fixes 2019-10-25 12:43:25 +02:00
Matthias Kretschmann 1bf47ce128
bump packages
* squid-js to v0.8.0 with keeper-contracts v12
* ipfs packages
2019-10-24 15:36:35 +02:00
Matthias Kretschmann ae34031e9f
Release 1.2.2 2019-10-24 14:25:54 +02:00
Alex Coseru a8cde6499b
Merge pull request #203 from oceanprotocol/fix/ipfs
IPFS fixes
2019-10-24 15:23:08 +03:00
Matthias Kretschmann 4319115e00
lazy load IPFS component 2019-10-24 13:36:12 +02:00
Matthias Kretschmann 77deaf063e
stream files when adding 2019-10-24 13:31:35 +02:00
Matthias Kretschmann 28c1d2e331
disable progress for now 2019-10-24 13:11:40 +02:00
Matthias Kretschmann 70b3f8c8bd
Release 1.2.1 2019-10-15 11:42:13 +02:00
Matthias Kretschmann 9226bf2799
Docker tweaks 2019-10-15 11:39:34 +02:00
Matthias Kretschmann 78d4c8b874
package fixes 2019-10-15 10:44:47 +02:00
Matthias Kretschmann 8aadcb9d97
hotfix for Docker build 2019-10-14 16:50:14 +02:00
Matthias Kretschmann e06c337ba1
Release 1.2.0 2019-10-14 15:25:09 +02:00
Matthias Kretschmann 54a4ba5c68
Merge pull request #191 from oceanprotocol/feature/ipfs
Add files to IPFS during publish flow
2019-10-14 15:22:51 +02:00
Matthias Kretschmann 4fb47c063b
move travis to ipfs.oceanprotocol.com 2019-10-14 14:30:31 +02:00
Matthias Kretschmann 59ede97931
update docs 2019-10-14 11:23:49 +02:00
Matthias Kretschmann 74cb19f5ef
use final IPFS gateway url in server 2019-10-14 10:57:37 +02:00
Matthias Kretschmann 4ead855731
eslint tweaks 2019-10-14 10:57:37 +02:00
Matthias Kretschmann af8df224cb
bump IPFS packages 2019-10-14 10:57:37 +02:00
Matthias Kretschmann dc0f5c803d
better error handling 2019-10-14 10:57:37 +02:00
Matthias Kretschmann aef52f61c0
IPFS node testing 2019-10-14 10:57:36 +02:00
Matthias Kretschmann 4920bae0fa
api port tweaks 2019-10-14 10:57:06 +02:00
Matthias Kretschmann 8b31257837
test fixes 2019-10-14 10:57:06 +02:00
Matthias Kretschmann e3be76fb95
move IPFS config for client & server 2019-10-14 10:57:06 +02:00
Matthias Kretschmann c63325bdf2
useIpfs fixes 2019-10-14 10:57:06 +02:00
Matthias Kretschmann 60a570892b
more error output in UI 2019-10-14 10:57:06 +02:00
Matthias Kretschmann 483cc35de3
make showing received file size more reliable 2019-10-14 10:57:06 +02:00
Matthias Kretschmann 1813207772
fix gateway url ping 2019-10-14 10:57:06 +02:00
Matthias Kretschmann 752498d6b3
IPFS publish & consume integration tests 2019-10-14 10:57:06 +02:00
Matthias Kretschmann c6f5f8561c
update tests 2019-10-14 10:57:05 +02:00
Matthias Kretschmann ba3704dcce
preserve original file names 2019-10-14 10:57:05 +02:00
Matthias Kretschmann 6d4b6b77c2
refactor IPFS dropzone
* only allow single file for now
* async file content reading
* output list of files by default in Dropzone component
2019-10-14 10:57:05 +02:00
Matthias Kretschmann 302986d63b
test updates 2019-10-14 10:57:05 +02:00
Matthias Kretschmann 84eff3f3b4
add use-ipfs hook test 2019-10-14 10:57:05 +02:00
Matthias Kretschmann 8b612ea4a2
code fixes 2019-10-14 10:57:05 +02:00
Matthias Kretschmann 725215b6ee
new client package-lock 2019-10-14 10:57:05 +02:00
Matthias Kretschmann 3d1d81ffe9
update tests 2019-10-14 10:57:04 +02:00
Matthias Kretschmann be7020bceb
downgrade @typescript-eslint packages 2019-10-14 10:57:04 +02:00
Matthias Kretschmann e512ed4471
IPFS publishing fixes, allow dropping multiple files 2019-10-14 10:57:04 +02:00
Matthias Kretschmann da357b82c2
add content-range 2019-10-14 10:56:34 +02:00
Matthias Kretschmann 2f741d300e
fix file adding on faulty url checker response 2019-10-14 10:56:34 +02:00
Matthias Kretschmann 839140d906
tweaks 2019-10-14 10:56:34 +02:00
Matthias Kretschmann a2a6720fd8
dropzone component 2019-10-14 10:56:34 +02:00
Matthias Kretschmann a258f6b94b
fix useEffect warning 2019-10-14 10:56:33 +02:00
Matthias Kretschmann 955608202d
message output 2019-10-14 10:56:33 +02:00
Matthias Kretschmann a2f075171c
prototype publishing to remote node (ipfs.infura.io) 2019-10-14 10:56:33 +02:00
Matthias Kretschmann 8127174fbd
allow multiple nodes running at same time 2019-10-14 10:56:33 +02:00
Matthias Kretschmann 6db965b79a
more test fixes 2019-10-14 10:56:33 +02:00
Matthias Kretschmann 5002effbfe
unit test fixes 2019-10-14 10:56:33 +02:00
Matthias Kretschmann b6d255bbad
IPFS gateway tweaks 2019-10-14 10:56:33 +02:00
Matthias Kretschmann 9c38c82496
output js-ipfs version 2019-10-14 10:56:32 +02:00
Matthias Kretschmann 3b889725f1
more user feedback, refactoring 2019-10-14 10:56:32 +02:00
Matthias Kretschmann 1c59d49d5d
working prototype of adding files to IPFS during publish flow 2019-10-14 10:56:32 +02:00
Matthias Kretschmann 414dcd455a
update server tests 2019-10-14 10:56:32 +02:00
Matthias Kretschmann 85ffae37d1
add help text 2019-10-14 10:56:32 +02:00
Matthias Kretschmann 475cade27f
support adding files from IPFS url 2019-10-14 10:56:32 +02:00
Matthias Kretschmann 10b662343f
Release 1.1.4 2019-10-14 10:28:08 +02:00
Alex Coseru 2c99d6f9e6
Merge pull request #202 from oceanprotocol/fix/faucet
Faucet route refactor
2019-10-14 11:22:25 +03:00
Alex Coseru 5d880778ba
Merge pull request #201 from oceanprotocol/feature/channels-feature-switch
Put Channels behind feature switch
2019-10-14 11:21:06 +03:00
Matthias Kretschmann e007ab2090
more dynamic intro text 2019-10-11 19:16:23 +02:00
Matthias Kretschmann 5b0c3486dd
Faucet route refactor
* split up components
* move actions state management into single action component
* layout & style tweaks
* update tests
2019-10-11 18:25:13 +02:00
Matthias Kretschmann cf783e66b8
properly make env variable values into booleans 2019-10-10 11:41:33 +02:00
Matthias Kretschmann a7209f690d
put channels behind feature switch 2019-10-10 11:21:55 +02:00
Matthias Kretschmann 8f0988e1b0
Release 1.1.3 2019-10-08 15:31:21 +02:00
Matthias Kretschmann 60327973de
Merge pull request #200 from oceanprotocol/feature/pleuston-commons
switch Barge to --no-commons flag
2019-10-08 13:21:45 +02:00
Matthias Kretschmann 9e773fa791
switch Barge to --no-commons flag 2019-10-08 13:01:42 +02:00
Sebastian Gerske c1f9b96b04
Merge pull request #199 from oceanprotocol/feature/request_tokens
added token faucet functionality
2019-10-07 15:30:52 +02:00
Sebastian Gerske e965fe1ff6 Merge remote-tracking branch 'origin/feature/request_tokens' into feature/request_tokens 2019-10-07 15:11:34 +02:00
Sebastian Gerske d7e93d116c fixed coded ui tests 2019-10-07 15:09:45 +02:00
Matthias Kretschmann 5b52505ee8
update faucet integration test 2019-10-07 15:09:42 +02:00
Sebastian Gerske aeb24aadda - increased token amount given
- made clear which token is going to be requested
- removed code duplication
2019-10-07 14:52:05 +02:00
Sebastian Gerske 3235dc1d5e prettier 2019-10-07 14:25:42 +02:00
Sebastian Gerske 6b237e7348 remove console.log 2019-10-07 14:12:07 +02:00
Sebastian Gerske 9ec7b0af66 added token faucet functionality 2019-10-07 14:02:53 +02:00
Matthias Kretschmann 29e6e8b5af
Release 1.1.2 2019-09-24 17:14:41 +02:00
Matthias Kretschmann 1e592497ae
Merge pull request #198 from oceanprotocol/fix/asset-details-loading
show web3 message on asset loading failure
2019-09-24 16:26:05 +02:00
Matthias Kretschmann 97a5f39b5e
show web3 message on asset loading failure 2019-09-24 14:32:15 +02:00
Matthias Kretschmann 33b14bc8e3
Release 1.1.1 2019-09-13 11:18:45 +02:00
Matthias Kretschmann 5f37adc420
Merge pull request #196 from oceanprotocol/fix/asset-detail-errors
fix error output on asset details loading
2019-09-13 10:59:06 +02:00
Matthias Kretschmann b77e38c3ab
always show price on asset detail when bigger than 0 2019-09-12 13:52:50 +02:00
Matthias Kretschmann e32f3bbb62
fix event bubbling on wallet selector button
* closes #197
2019-09-12 11:45:52 +02:00
Matthias Kretschmann 12f6cfcb80
test fixes 2019-09-12 11:33:20 +02:00
Matthias Kretschmann 821f80da0f
asset details refactor 2019-09-12 11:27:32 +02:00
Matthias Kretschmann c4e71173ba
fix error output on asset details loading 2019-09-12 11:11:47 +02:00
Matthias Kretschmann c4029b147c
Release 1.1.0 2019-09-11 16:48:10 +02:00
Matthias Kretschmann 8e8c145d18
Merge pull request #189 from oceanprotocol/feature/squid
bump to squid-js v0.7.2
2019-09-11 16:06:19 +02:00
Matthias Kretschmann 199df0e23d
failing CI build workaround
* until fix in web3.js is released for https://github.com/ethereum/web3.js/issues/3018
2019-09-11 14:35:03 +02:00
Matthias Kretschmann 8058325697
lock React to v16.8.6 2019-09-11 14:13:20 +02:00
Matthias Kretschmann 9ef8fc9fba
set events handler version 2019-09-11 14:03:26 +02:00
Matthias Kretschmann cb3f9c11d2
bump component versions 2019-09-11 10:42:41 +02:00
Matthias Kretschmann 09caa5461e
specific aquarius & brizo versions on Travis 2019-09-11 10:42:41 +02:00
Matthias Kretschmann 3a32a72de2
bump to squid-js v0.7.2 2019-09-11 10:42:41 +02:00
Matthias Kretschmann 8b155b375f
Merge pull request #195 from oceanprotocol/feature/faucet-version
get faucet network from response
2019-09-11 10:42:20 +02:00
Matthias Kretschmann dd9b1b5122
get faucet network from response 2019-09-10 16:08:45 +02:00
Matthias Kretschmann 7d911bf763
Merge pull request #194 from oceanprotocol/feature/codeclimate
add code climate
2019-09-10 10:11:45 +02:00
Matthias Kretschmann 3f730f295e
code climate script fix 2019-09-10 00:52:25 +02:00
Matthias Kretschmann 60d98340d9
lint fix 2019-09-10 00:33:23 +02:00
Matthias Kretschmann c62b69b17f
pipe and merge coverage reports 2019-09-10 00:22:23 +02:00
Matthias Kretschmann 1f7845aa22
code fixes 2019-09-10 00:15:13 +02:00
Matthias Kretschmann 73c7624873
add code climate coverage reporting 2019-09-09 23:58:12 +02:00
Matthias Kretschmann e009733c7e
Merge pull request #193 from oceanprotocol/feature/disable-auto-deployments
Disable auto-deployments for now
2019-09-09 10:06:41 +02:00
Matthias Kretschmann 4ae344a861
disable auto-deployments for now 2019-09-06 14:27:09 +02:00
Matthias Kretschmann 276688ffee
Release 1.0.2 2019-09-02 16:19:11 +02:00
Matthias Kretschmann 20c0d9b3ae
Merge pull request #190 from oceanprotocol/fix/vulnerabilities
Fix vulnerabilities
2019-09-02 15:33:44 +02:00
Matthias Kretschmann 33301e22c1
change Spree Brizo address 2019-09-02 14:27:22 +02:00
Matthias Kretschmann 348af32b65
new linting rule fixes 2019-09-02 13:25:46 +02:00
Matthias Kretschmann 509a69b53d
bump packages 2019-09-02 13:25:33 +02:00
Jernej Pregelj db6b53257f
Merge pull request #185 from oceanprotocol/fix/cypress-consume
Fix faucet on consume, publish category warning
2019-08-05 12:47:34 +02:00
Jernej Pregelj 459019f5ee fix wait for consume, publish category warning 2019-08-05 12:26:35 +02:00
Jernej Pregelj 483c333732
Merge pull request #184 from oceanprotocol/fix/consume-hang
Consume hang fix
2019-08-02 13:42:57 +02:00
Jernej Pregelj e1b685bb5d add wait after tests 2019-08-02 11:58:24 +02:00
Jernej Pregelj 52ec23628f
Merge pull request #182 from oceanprotocol/feature/optional-prices
Optional pricing
2019-08-01 15:11:42 +02:00
Matthias Kretschmann a2b8bd6400
price display tweaks 2019-08-01 14:27:36 +02:00
Jernej Pregelj 09797aed78
pacakge fixes 2019-08-01 13:51:59 +02:00
Jernej Pregelj 7c59faf4a4
config fixes 2019-08-01 13:49:15 +02:00
Jernej Pregelj 552d9a90f8
pricing to displays 2019-08-01 13:49:15 +02:00
Jernej Pregelj 74075fab08
add pricing to publish 2019-08-01 13:49:15 +02:00
Matthias Kretschmann 105dcbc8cf
Merge pull request #179 from oceanprotocol/feature/packages
package updates and test fixes
2019-08-01 13:48:33 +02:00
Matthias Kretschmann 73ac3d0875
bump root packages 2019-07-31 15:30:43 +02:00
Matthias Kretschmann b112f3aa60
modify /etc/hosts on Travis 2019-07-31 14:45:08 +02:00
Matthias Kretschmann c3270ce36c
lock truffle-hdwallet-provider 2019-07-31 14:21:02 +02:00
Matthias Kretschmann 7c4c7a0956
bump to squid-js v0.6.6 2019-07-31 13:53:43 +02:00
Matthias Kretschmann e76ffd8954
add client bundle analyzer 2019-07-31 12:52:10 +02:00
Matthias Kretschmann ba4717bbd3
document macOS Docker restriction for Spree 2019-07-31 11:45:01 +02:00
Matthias Kretschmann e2aef49256
bump packages, fresh package-lock 2019-07-31 11:45:01 +02:00
Matthias Kretschmann 30917f890f
document usage with barge and Spree 2019-07-31 11:45:01 +02:00
Matthias Kretschmann 036305c315
copy contracts from Docker 2019-07-31 11:45:01 +02:00
Matthias Kretschmann c2e2606133
run cypress tests in specific order, store and read published DID 2019-07-31 11:45:01 +02:00
Matthias Kretschmann abe3f9630f
fix submarine link 2019-07-31 11:45:01 +02:00
Matthias Kretschmann 68250f5ae5
bump faucet version 2019-07-31 11:45:01 +02:00
Matthias Kretschmann 9012eea1dc
have unit tests waiting for keeper contracts 2019-07-31 11:45:01 +02:00
Matthias Kretschmann 1f75f38849
run against latest faucet version 2019-07-31 11:45:01 +02:00
Matthias Kretschmann da70e4d43c
only send auto faucet request if account balance is empty 2019-07-31 11:45:01 +02:00
Matthias Kretschmann 15db426080
disable faucet timespan 2019-07-31 11:45:01 +02:00
Matthias Kretschmann 1405a6931d
run against default barge versions 2019-07-31 11:45:01 +02:00
Matthias Kretschmann 16783bc7da
fix version component Spree detection 2019-07-31 11:45:00 +02:00
Matthias Kretschmann 6fe55e7a81
use faucet in barge 2019-07-31 11:45:00 +02:00
Matthias Kretschmann 62cc0b407d
run E2E tests against local Spree 2019-07-31 11:45:00 +02:00
Matthias Kretschmann 0a196f462a
remove ganache-cli 2019-07-31 11:45:00 +02:00
Matthias Kretschmann f6c67781ed
output browser console errors during integration tests 2019-07-31 11:45:00 +02:00
Matthias Kretschmann 64008abc26
test coverage 2019-07-31 11:45:00 +02:00
Matthias Kretschmann b3ee23e728
bump packages 2019-07-31 11:45:00 +02:00
Jernej Pregelj ba1ba78849
Merge pull request #181 from oceanprotocol/fix/wallets-events
Stop wallet event propagation
2019-07-19 12:34:01 +02:00
Jernej Pregelj 3c5ff6da1d prevent wallet select to fire other events 2019-07-19 12:01:15 +02:00
Matthias Kretschmann 3cafd60b07
Release 1.0.1 2019-07-18 19:12:13 +02:00
Matthias Kretschmann 17112bef00
Merge pull request #180 from oceanprotocol/feature/about
Update About page
2019-07-18 15:10:25 +02:00
Matthias Kretschmann 8d06a67e7f
update about text 2019-07-18 12:46:05 +02:00
Matthias Kretschmann 31a0d3cfb1
Release 1.0.0 2019-07-17 18:34:58 +02:00
Jernej Pregelj 599e1834cc
Merge pull request #176 from oceanprotocol/feature/wallets
Wallet selection
2019-07-17 09:22:11 +02:00
Matthias Kretschmann e0ca17883f
Merge pull request #178 from oceanprotocol/feature/update_k8s_to_pacific
Updated the script to deploy on pacific-ocean
2019-07-16 18:45:42 +02:00
Matthias Kretschmann a31b041c05
workaround for version number components updating 2019-07-16 18:45:22 +02:00
Javier Cortejoso 6f40ba1735
Updated the script to deploy on pacific-ocean 2019-07-16 17:23:46 +02:00
Matthias Kretschmann c1ff41b711
fix AssetFile unit test 2019-07-16 14:50:30 +02:00
Jernej Pregelj 69d8c28858 Merge branch 'feature/wallets' of https://github.com/oceanprotocol/commons into feature/wallets 2019-07-16 12:16:48 +02:00
Jernej Pregelj b09c15ff1b get versions on each rerender 2019-07-16 12:16:16 +02:00
Matthias Kretschmann 9e3f56e622
block download/publish when connected to wrong network with MetaMask 2019-07-15 17:56:27 +02:00
Matthias Kretschmann ba33fc52a4
fix test coverage 2019-07-15 16:14:55 +02:00
Matthias Kretschmann 8d2dee6554
vulnerability fixes 2019-07-15 15:28:08 +02:00
Jernej Pregelj 3a72470208 squid to 0.6.4 2019-07-15 13:00:27 +02:00
Jernej Pregelj 57dcdb7c21 leave seedphrase present 2019-07-15 12:41:52 +02:00
Matthias Kretschmann 892c07b783
mention burner wallet in readme 2019-07-12 17:56:13 +02:00
Matthias Kretschmann c386aa5518
Merge branch 'master' into feature/wallets 2019-07-12 15:47:22 +02:00
Matthias Kretschmann a5919ff69d
Merge pull request #173 from oceanprotocol/feature/integration-test-switch
run tests against Aquarius & Brizo pacific test instances
2019-07-12 15:41:49 +02:00
Matthias Kretschmann 9190dd6f2b
run unit test coverage right after unit tests 2019-07-12 14:06:09 +02:00
Matthias Kretschmann 288c630aa8
consume test fix 2019-07-12 13:59:28 +02:00
Matthias Kretschmann 61aef37e8e
test coverage fixes 2019-07-12 13:49:44 +02:00
Jernej Pregelj 9c47ed2183 fix cypress test 2019-07-12 12:08:10 +02:00
Jernej Pregelj 3518abab26 fix network error v2 2019-07-12 11:18:43 +02:00
Jernej Pregelj a1fdfa8a90 linting 2019-07-12 10:51:43 +02:00
Jernej Pregelj 645f79f733 network name crash fix 2019-07-12 10:25:11 +02:00
Matthias Kretschmann 69d7295f57
fix unit tests 2019-07-12 00:24:29 +02:00
Matthias Kretschmann 1ab87dea30
fix faucet test 2019-07-11 23:13:19 +02:00
Matthias Kretschmann ca58d7d0b1
fix re-renders caused by withTracker HOC 2019-07-11 23:09:03 +02:00
Matthias Kretschmann 93e6ba0af7
increase consume timeout 2019-07-11 17:00:06 +02:00
Matthias Kretschmann c72ebd6749
switch Brizo address 2019-07-11 16:45:03 +02:00
Matthias Kretschmann e488b9f001
Ocean network detection, remove isOceanNetwork 2019-07-11 16:30:54 +02:00
Matthias Kretschmann 4f051deefa
hide wallet selection in non-Web3 browsers 2019-07-11 14:54:43 +02:00
Jernej Pregelj b4db8a6556 add isWeb3Capable 2019-07-11 14:04:40 +02:00
Matthias Kretschmann 55af9ad5ab
run tests against Aquarius & Brizo pacific test instances 2019-07-11 12:41:50 +02:00
Matthias Kretschmann 25ab6e0c42
spacing 2019-07-11 12:41:12 +02:00
Matthias Kretschmann 725b5884bb
fill burner account with Ether automatically 2019-07-10 21:51:07 +02:00
Matthias Kretschmann 0d6875f065
style wallet selection modal, move out content 2019-07-10 21:24:02 +02:00
Matthias Kretschmann 57db99049f
address locked MetaMask account use case 2019-07-10 20:27:06 +02:00
Matthias Kretschmann 0befc3a597
output seed prase for burner wallet account, messaging tweaks 2019-07-10 18:46:28 +02:00
Matthias Kretschmann 87c54d2cb8
fix unit tests 2019-07-10 17:29:33 +02:00
Matthias Kretschmann 01fb305612
remove wallet setup from Cypress 2019-07-10 17:21:55 +02:00
Matthias Kretschmann 4ee5f19a9a
simplify Web3message UI, show during Publish flow 2019-07-10 16:34:16 +02:00
Matthias Kretschmann 8bb8111aca
basic wallet modal styling 2019-07-10 15:41:58 +02:00
Matthias Kretschmann 7b334b9104
new Web3message styling 2019-07-10 14:29:46 +02:00
Matthias Kretschmann ac2cd2eb70
fetch market network, use it in some places to switch copy, fix faucet button 2019-07-10 13:40:19 +02:00
Jernej Pregelj 84c0877c43 some test fixes 2019-07-10 13:05:43 +02:00
Jernej Pregelj 7cc2de7d8b make web3 working again 2019-07-10 10:16:14 +02:00
Matthias Kretschmann 8d23868a9d
adapt messaging for wallet types, output wallet type 2019-07-10 01:31:51 +02:00
Matthias Kretschmann ad454b9f8a
rebase fixes 2019-07-09 23:36:22 +02:00
Jernej Pregelj 9e7df28b89
survive metamask failure to login 2019-07-09 23:18:31 +02:00
Jernej Pregelj 85304c2d09
burner as default, web3 message 2019-07-09 23:18:31 +02:00
Jernej Pregelj cce2a7fad3
select wallet modal 2019-07-09 23:18:31 +02:00
Jernej Pregelj adf52ceb77
allow login to wallets 2019-07-09 23:18:31 +02:00
Matthias Kretschmann d545bcaa30
Merge pull request #177 from oceanprotocol/fix/modal-fixes
Modal fixes
2019-07-09 23:17:39 +02:00
Matthias Kretschmann 62c356d9e8
reset report state on modal close 2019-07-09 22:56:45 +02:00
Matthias Kretschmann c97876336a
prevent modal background scrolling 2019-07-09 22:55:07 +02:00
Matthias Kretschmann edbc3276d7
Release 0.6.3 2019-07-09 15:57:01 +02:00
Matthias Kretschmann 362a266518
server: adapt to new tsc output 2019-07-09 15:56:38 +02:00
Matthias Kretschmann 2a9d7476c8
Release 0.6.2 2019-07-09 14:56:00 +02:00
Matthias Kretschmann 4ed72f382c
server build fix 2019-07-09 14:49:32 +02:00
Matthias Kretschmann 24d26e4b8b
Release 0.6.1 2019-07-09 13:56:13 +02:00
Matthias Kretschmann b6770e68de
Merge pull request #172 from oceanprotocol/feature/reporting
Reporting data sets
2019-07-09 11:31:21 +02:00
Matthias Kretschmann 64d58173c0
copy changes 2019-07-09 11:19:57 +02:00
Matthias Kretschmann ca77e1ed94
add UI states: sending, done, error 2019-07-08 15:50:45 +02:00
Matthias Kretschmann 050936a0c1
remove slack, source email from env var 2019-07-08 15:31:48 +02:00
Matthias Kretschmann fa078c6c4c
send Slack message 2019-07-06 14:39:38 +02:00
Matthias Kretschmann 21b44fb425
fix integration tests 2019-07-05 16:15:00 +02:00
Matthias Kretschmann cee49978c4
email sending via sendgrid 2019-07-05 15:30:19 +02:00
Matthias Kretschmann acb7ae4d35
fix modal tests 2019-07-05 13:54:39 +02:00
Matthias Kretschmann 5adba86e5e
modal fixes 2019-07-05 13:27:00 +02:00
Matthias Kretschmann 4b489811ac
Report component and UI 2019-07-05 13:04:44 +02:00
Matthias Kretschmann cb1e0ca624
add Modal component 2019-07-05 13:04:27 +02:00
Matthias Kretschmann 812854c19d
Release 0.6.0 2019-07-04 11:01:17 +02:00
Matthias Kretschmann 0dcbf05a9a
migrate to release-it hooks 2019-07-04 11:00:40 +02:00
Matthias Kretschmann a3838ba7c3
Merge pull request #164 from oceanprotocol/feature/pacific-copy
default all connections to Pacific
2019-07-04 09:49:18 +01:00
Matthias Kretschmann be847f4909
update network urls 2019-07-04 10:39:27 +02:00
Matthias Kretschmann f5c01a8e30
Merge branch 'master' into feature/pacific-copy 2019-07-04 09:09:23 +01:00
Jernej Pregelj d7f40a631b
Merge pull request #166 from oceanprotocol/fix/version-updates
fix version tags, fixed squid-js
2019-07-03 14:01:47 +02:00
Jernej Pregelj 2ad9e4f2d8 Merge branch 'master' of https://github.com/oceanprotocol/commons into fix/version-updates 2019-07-03 09:51:33 +02:00
Jernej Pregelj 4c744d1ea9
Merge pull request #167 from oceanprotocol/fix/account-message
Connect to pacific
2019-07-02 15:19:12 +02:00
Jernej Pregelj 6c8d22f56c update test asset to consume 2019-07-02 14:36:32 +02:00
Jernej Pregelj 4e8680a073 fix test 2019-07-02 14:24:13 +02:00
Jernej Pregelj 29aba3197d about 2019-07-02 14:14:39 +02:00
Jernej Pregelj eb21932604 more text fixes 2019-07-02 11:51:26 +02:00
Jernej Pregelj c367dd9e57 update address 2019-07-02 10:52:14 +02:00
Jernej Pregelj 3c5f0ce401 fix/account-message 2019-07-01 16:22:15 +02:00
Jernej Pregelj 28b4ce80ae update brizo address 2019-07-01 15:25:41 +02:00
Jernej Pregelj d343f58f8e new travis variables 2019-07-01 15:20:46 +02:00
Jernej Pregelj d169e76f8d travis fixes 2019-07-01 15:06:52 +02:00
Jernej Pregelj 40dab70331 connect to pacific 2019-07-01 14:52:30 +02:00
Jernej Pregelj d4e361aa90 fix version tags, fixed squid-js 2019-06-28 14:10:46 +02:00
Matthias Kretschmann 22275bc9dd
switch to new pacific urls 2019-06-27 21:32:08 +01:00
Jernej Pregelj fcff8c72cd fix wrong nodeUri on cypress config 2019-06-27 11:21:14 +02:00
Matthias Kretschmann 3d129b5415
lint fixes 2019-06-26 19:54:53 +02:00
Matthias Kretschmann 599e712181
fail faster on Travis 2019-06-26 19:46:36 +02:00
Matthias Kretschmann 557cfcc8b5
exit build run when tests fail 2019-06-26 19:34:20 +02:00
Matthias Kretschmann c3673015db
run e2e tests against pacific 2019-06-26 19:21:41 +02:00
Matthias Kretschmann e33be03155
default all connections to Pacific 2019-06-26 18:45:28 +02:00
Matthias Kretschmann c6e791dabd
Merge pull request #165 from oceanprotocol/fix/cypress
Cypress cleanup & fixes
2019-06-26 18:44:28 +02:00
Matthias Kretschmann a8a81226da
another secret store url fix 2019-06-26 16:31:55 +02:00
Matthias Kretschmann 96e5363859
bump packages 2019-06-26 16:28:22 +02:00
Matthias Kretschmann e60a46f72e
travis tweaks 2019-06-26 16:15:35 +02:00
Matthias Kretschmann cc53823279
fix secret store url 2019-06-26 14:45:00 +02:00
Matthias Kretschmann c1cf01b834
test fixes 2019-06-26 13:33:57 +02:00
Matthias Kretschmann af6da53c58
travis tweaks 2019-06-26 12:45:12 +02:00
Matthias Kretschmann 2dfa8a0962
mention Cypress UI 2019-06-26 12:29:41 +02:00
Matthias Kretschmann 9b9db4b655
fresh package-lock 2019-06-26 12:29:33 +02:00
Matthias Kretschmann 1c0f009d3e
load wallet via support file for all tests, more Travis tweaks 2019-06-26 11:52:28 +02:00
Matthias Kretschmann b320e31858
add Chrome on Travis 2019-06-26 11:38:16 +02:00
Matthias Kretschmann 87176212ef
add docs, consolidate more config values 2019-06-26 11:24:54 +02:00
Matthias Kretschmann 0bc38610ee
move cypress env variables 2019-06-26 10:55:21 +02:00
Matthias Kretschmann d240ee8eab
Merge pull request #134 from oceanprotocol/feature/cypress
End-to-end testing setup with Cypress
2019-06-25 17:20:33 +02:00
Jernej Pregelj 3898dc307f reference variable properly 2019-06-25 16:44:24 +02:00
Jernej Pregelj cb2fc05caa fix brizo address 2019-06-25 16:30:06 +02:00
Jernej Pregelj 9a024b6004 squid 0.6.2, to Nile 2019-06-25 16:07:55 +02:00
Matthias Kretschmann 96990309e0
Release 0.5.4 2019-06-25 15:06:39 +02:00
Matthias Kretschmann 57e9cd69ff
bump to squid-js v0.6.2 2019-06-25 14:29:16 +02:00
Jernej Pregelj 49666eb420 remove duplicated 2019-06-25 10:22:35 +02:00
Jernej Pregelj 5caa62ea57 merge 2019-06-25 10:19:52 +02:00
Jernej Pregelj 643d5a3c84 squid 0.6.1 2019-06-25 10:17:43 +02:00
Matthias Kretschmann 9a5ebd0a91
bump to squid-js v0.6.1 2019-06-24 16:28:31 +02:00
Jernej Pregelj 59ffac93a6 squid 0.6.0 2019-06-24 15:28:37 +02:00
Matthias Kretschmann 0b51754954
Merge pull request #163 from oceanprotocol/feature/squid
bump to squid-js v0.6.0
2019-06-24 12:08:03 +02:00
Matthias Kretschmann dfb26d89b8
Merge pull request #162 from oceanprotocol/feature/axios
switch to axios for file url check
2019-06-24 12:07:49 +02:00
Matthias Kretschmann aaf3cff9ce
bump to squid-js v0.6.0 2019-06-24 11:40:44 +02:00
Jernej Pregelj 91a611f834 update squid-js 2019-06-21 16:53:38 +02:00
Jernej Pregelj f38111073e more of Pacific support 2019-06-21 15:54:00 +02:00
Jernej Pregelj d7dadfb291 add pacific in ocean networks, asset 2019-06-21 15:42:28 +02:00
Jernej Pregelj 0ef8a88d30 cypress env variables 2019-06-21 15:18:53 +02:00
Jernej Pregelj 67f736809b use pacific, fix export vars 2019-06-21 14:58:24 +02:00
Jernej Pregelj eae754e6d7 update squid-js 2019-06-20 14:20:41 +02:00
Jernej Pregelj 08d50c0ce1 point to duero 2019-06-20 13:54:49 +02:00
Jernej Pregelj 3cfb9755b4 bump timeouts 2019-06-20 13:41:11 +02:00
Jernej Pregelj 9681d3848c use chrome 2019-06-20 12:08:29 +02:00
Jernej Pregelj 406e039ad8 faucet fix + button test, consume inc timeout 2019-06-20 11:55:16 +02:00
Jernej Pregelj e60ca7b941 facuet + consume fix 2019-06-20 11:40:19 +02:00
Jernej Pregelj 3b3c08f549 remove faucet + target nile node 2019-06-20 11:15:56 +02:00
Jernej Pregelj 24b68baa24 revert package-lock 2019-06-20 10:40:53 +02:00
Jernej Pregelj 932b7b858b inc memory limit 2019-06-20 10:19:00 +02:00
Jernej Pregelj 0cba776f02 show free hd before e2e test 2019-06-20 10:02:18 +02:00
Matthias Kretschmann 75a262f5d6
Release 0.5.3 2019-06-19 17:57:54 +02:00
Matthias Kretschmann 1bda116c14
Merge pull request #159 from oceanprotocol/feature/seo
SEO component
2019-06-19 17:42:26 +02:00
Matthias Kretschmann 7043266254
switch to axios for file publish 2019-06-19 17:39:43 +02:00
Matthias Kretschmann fd1482e6f5
Release 0.5.2 2019-06-19 16:44:37 +02:00
Matthias Kretschmann 27dd656270
Merge pull request #161 from oceanprotocol/feature/pacific
add config values for Pacific connection
2019-06-19 16:27:12 +02:00
Matthias Kretschmann 18f7ab7ddc
Merge pull request #160 from oceanprotocol/feature/versions-squid-js
Refactor VersionNumbers to be sourced from squid-js
2019-06-19 15:45:46 +02:00
Jernej Pregelj e5960d3fd6 add tests 2019-06-19 15:28:31 +02:00
Matthias Kretschmann f55fc09495
bump squid-js 2019-06-19 15:25:36 +02:00
Matthias Kretschmann d43afddc39
add config values for Pacific connection 2019-06-19 14:04:38 +02:00
Matthias Kretschmann 74b8bc3f13
add status info tooltips 2019-06-19 13:43:21 +02:00
Matthias Kretschmann a4178854bb
increase test coverage, mock ocean.versions.get() 2019-06-19 13:14:42 +02:00
Matthias Kretschmann 996d986570
animation fixes 2019-06-19 12:26:46 +02:00
Matthias Kretschmann 3e912f9203
output select commons config values 2019-06-19 11:50:28 +02:00
Matthias Kretschmann 512f06f7d4
commit output, network output, keeper version output 2019-06-19 11:30:25 +02:00
Matthias Kretschmann 8e9a4c1fd2
fix tests 2019-06-18 16:27:23 +02:00
Matthias Kretschmann 059ae62f96
output overall status 2019-06-18 16:08:37 +02:00
Matthias Kretschmann 838757f5e8
collapse contracts by default 2019-06-18 14:35:18 +02:00
Matthias Kretschmann 15ebb34931
fetch faucet 2019-06-18 13:38:02 +02:00
Matthias Kretschmann d92c3e92f4
wait for ocean object, sort contracts 2019-06-18 13:28:35 +02:00
Matthias Kretschmann c4f862baa5
switch to using squid-js for version numbers 2019-06-18 12:27:05 +02:00
Matthias Kretschmann b8113798b6
SEO component 2019-06-18 11:26:44 +02:00
Matthias Kretschmann 30249447ce
add robots.txt 2019-06-17 23:41:08 +02:00
Jernej Pregelj 667c46303c fix server test 2019-06-17 16:43:17 +02:00
Jernej Pregelj d364a7beef fix web3 version + use truffle-hdwallet 2019-06-17 16:27:57 +02:00
Matthias Kretschmann c063ad82cb
Release 0.5.1 2019-06-14 13:18:12 +02:00
Matthias Kretschmann f699fa8db6
Merge pull request #158 from oceanprotocol/fix/hashes
Submarine links and Pacific support
2019-06-14 13:15:47 +02:00
Matthias Kretschmann 6f7edfa30f
link version numbers to release pages 2019-06-14 12:31:29 +02:00
Matthias Kretschmann 46e6d89057
add support for Pacific network 2019-06-13 16:59:28 +02:00
Matthias Kretschmann 97d6c2756e
link up transaction IDs with submarine, support pacific too 2019-06-13 16:48:33 +02:00
Matthias Kretschmann 01d5bf703d
fix Nile submarine links
* specifically return empty string
2019-06-13 16:37:20 +02:00
Matthias Kretschmann 305e050391
move version number components to Molecules 2019-06-13 16:35:41 +02:00
Matthias Kretschmann d8f4ebe7b4
prototype using truffle-privatekey-provider & ganache to provide accounts 2019-06-13 14:39:09 +02:00
Matthias Kretschmann 81cb06e19b
tweak CI app starting 2019-06-13 14:38:57 +02:00
Matthias Kretschmann 8f73c08fdd
cleanup, add asset fixture, add eslint-plugin-cypress 2019-06-13 14:38:37 +02:00
Matthias Kretschmann 5eee8b61d2
travis tweaks 2019-06-13 14:38:37 +02:00
Matthias Kretschmann 1ea527f2d1
return something on root of commons server 2019-06-13 14:38:06 +02:00
Matthias Kretschmann 039f5da189
setup cypress 2019-06-13 14:38:06 +02:00
Matthias Kretschmann ac16107f6b
Release 0.5.0 2019-06-12 15:39:41 +02:00
Matthias Kretschmann c1b32830f7
Merge pull request #142 from oceanprotocol/feature/price-string
make price a string, Aquarius 0.2.7 validation updates
2019-06-12 14:04:28 +02:00
Matthias Kretschmann 217eb80d0f
bump dependencies 2019-06-12 13:49:45 +02:00
Matthias Kretschmann d3bf27fddc
cleanup asset model 2019-06-12 13:38:46 +02:00
Matthias Kretschmann dd6f6966ce
bump required component versions 2019-06-12 13:38:46 +02:00
Matthias Kretschmann 7dbe383269
more Plecos validations 2019-06-12 13:38:46 +02:00
Matthias Kretschmann e5ef417025
test tweaks 2019-06-12 13:38:46 +02:00
Matthias Kretschmann 7d727bcdf9
mock file fetch request 2019-06-12 13:38:45 +02:00
Matthias Kretschmann 4150e56ba3
remove `found` attribute from all File objects before publishing 2019-06-12 13:38:45 +02:00
Matthias Kretschmann 0c10eb5665
metadata validation updates 2019-06-12 13:38:45 +02:00
Matthias Kretschmann 04e6bb0c72
make price a string 2019-06-12 13:38:22 +02:00
Matthias Kretschmann f230e3071c
Merge pull request #157 from oceanprotocol/docs/env
simplify Ocean URIs and env variables, document .env usage
2019-06-12 13:37:46 +02:00
Matthias Kretschmann 4b919f2ee8
highly simplify Ocean URIs and env variables 2019-06-12 13:30:57 +02:00
Matthias Kretschmann 97618c2ef2
document env variables usage 2019-06-12 13:09:58 +02:00
Matthias Kretschmann c9f4871ffb
Merge pull request #156 from oceanprotocol/feature/network
version number fixes
2019-06-12 13:08:21 +02:00
Matthias Kretschmann 097cf8bd63
ignore definition files for coverage reporting 2019-06-11 22:32:54 +02:00
Matthias Kretschmann 264a066874
update tests 2019-06-11 22:15:14 +02:00
Matthias Kretschmann 1b336e2e80
version number fixes
* add loading state
* add error state
* handle connection errors
* backwards compatibility for all components
* small spinner variant
2019-06-11 20:44:04 +02:00
Matthias Kretschmann 89b04e93fd
Merge pull request #155 from oceanprotocol/feature/components
additions to Ocean versions output
2019-06-11 13:07:56 +02:00
Matthias Kretschmann eb59b9dfda
v prefix fixes 2019-06-07 21:01:34 +02:00
Matthias Kretschmann ee4d1820ab
additions to Ocean versions output
* current component is now the minimal variant
* new default variant outputting all versions in a table
* show contract versions and infos about keeper-contracts (fetched from brizo)
* new structure for local state, better typings
* component splitup
2019-06-07 20:47:34 +02:00
Matthias Kretschmann e4994308ad
Release 0.4.5 2019-06-06 11:57:35 +02:00
Javier Cortejoso bf3f6e1517
Merge pull request #154 from oceanprotocol/fix/server-build
hotfix for failing server run on Docker
2019-06-06 11:55:57 +02:00
Matthias Kretschmann 0820cb0bd7
hotfix for failing server run on Docker 2019-06-06 11:49:21 +02:00
Matthias Kretschmann 5f19fbe420
Release 0.4.4 2019-06-06 11:21:33 +02:00
Matthias Kretschmann e4d2dbf772
Merge pull request #153 from oceanprotocol/fix/travis-caching
switch to new Travis caching strategy
2019-06-06 11:19:09 +02:00
Matthias Kretschmann 56f7dec9f6
Merge pull request #152 from oceanprotocol/fix/account-address
fix account address display in Firefox
2019-06-06 11:18:53 +02:00
Matthias Kretschmann f9b5ae6355
switch to new Travis caching strategy 2019-06-05 15:32:19 +02:00
Matthias Kretschmann 273761944e
fix account address display in Firefox 2019-06-03 17:01:08 +02:00
Matthias Kretschmann 303a7bf12c
Release 0.4.3 2019-06-03 10:52:48 +02:00
Matthias Kretschmann 5a0689703d
Merge pull request #151 from oceanprotocol/feature/events-publish
output event messages during publishing flow
2019-06-03 10:30:19 +02:00
Matthias Kretschmann b27c458fb2
squid-js v0.5.14 2019-05-31 21:33:12 +02:00
Matthias Kretschmann 56604b972c
update tests 2019-05-31 17:28:13 +02:00
Matthias Kretschmann 1d1399248f
output event messages during publishing flow 2019-05-31 17:14:34 +02:00
Matthias Kretschmann 7b60127899
Release 0.4.2 2019-05-31 16:28:59 +02:00
Matthias Kretschmann 3386a49bdb
Merge pull request #150 from oceanprotocol/fix/tests
test fixes
2019-05-31 16:27:56 +02:00
Matthias Kretschmann 9888d78f99
prevent test runner conflicts, kick out jasmine, lock TypeScript 2019-05-31 16:19:19 +02:00
Matthias Kretschmann 4fd623f28e
prevent text runner conflicts, kick out jasmine, TypeScript update 2019-05-31 16:00:27 +02:00
Matthias Kretschmann a1eb68b45a
more ocean mocking 2019-05-31 13:53:05 +02:00
Matthias Kretschmann a5489a2e6c
update package-lock.json version numbers too 2019-05-31 13:40:24 +02:00
Matthias Kretschmann b90974938c
switch to @testing-library/react package 2019-05-31 13:38:38 +02:00
Matthias Kretschmann 2d512f341e
Merge pull request #148 from oceanprotocol/feature/dont-re-agreement
Reuse agreements on consume flow
2019-05-31 13:29:09 +02:00
Matthias Kretschmann 340d608141
update required squid-js version in library.json 2019-05-31 13:23:13 +02:00
Matthias Kretschmann 1e6b334cdc
formatting and test tweaks 2019-05-31 13:11:20 +02:00
Matthias Kretschmann da63ab1c37
Merge pull request #147 from oceanprotocol/feature/faucet-version
show faucet version number, small refactor
2019-05-31 13:04:03 +02:00
Matthias Kretschmann b3657352aa
Merge pull request #146 from oceanprotocol/fix/brizo-fallback
change brizo fallback address
2019-05-31 13:03:45 +02:00
Matthias Kretschmann ec887bebd7
show faucet version number, small refactor 2019-05-30 02:41:36 +02:00
Jernej Pregelj 6e0ffe4367 update squid-js 2019-05-29 16:34:21 +02:00
Jernej Pregelj 15b1bf846e detect agreements and reuse 2019-05-29 12:09:23 +02:00
Matthias Kretschmann f9a1da6a37
change brizo fallback address 2019-05-28 16:17:06 +02:00
Matthias Kretschmann 5a8d1884d3
Release 0.4.1 2019-05-28 14:23:11 +02:00
Matthias Kretschmann d3fc187d89
lint fix 2019-05-28 14:13:42 +02:00
Matthias Kretschmann 1af720ffeb
Merge pull request #145 from oceanprotocol/feature/release-tasks-simplify
output version numbers, simplify release tasks, make automatic changelog work
2019-05-28 14:11:37 +02:00
Matthias Kretschmann 043d9429ac
version numbers as component, fetch Brizo & Aquarius 2019-05-28 13:37:47 +02:00
Matthias Kretschmann 2395c3ff21
output version number in footer 2019-05-28 12:50:05 +02:00
Matthias Kretschmann c742426b1a
package-locks 2019-05-28 12:11:48 +02:00
Matthias Kretschmann 321ae3742c
update docs 2019-05-28 11:44:35 +02:00
Matthias Kretschmann a65be11c07
bump version in all package.json 2019-05-28 11:43:04 +02:00
Matthias Kretschmann 41d6726bed
simplify release tasks, automatic changelog 2019-05-28 11:43:04 +02:00
Jernej Pregelj 8dadf21726 Release 0.4.0 2019-05-28 10:34:16 +02:00
Jernej Pregelj dc32c71bba
Merge pull request #125 from oceanprotocol/feature/ai-for-good
AI For Good: channels, new front-page & categories list
2019-05-28 10:02:08 +02:00
Matthias Kretschmann 2506939f62
add render tests 2019-05-27 20:24:03 +02:00
Matthias Kretschmann d74a4c0cbc
fix tests 2019-05-27 19:37:51 +02:00
Matthias Kretschmann f8cb601eb7
error state for missing asset 2019-05-27 19:16:56 +02:00
Matthias Kretschmann be6c478ca7
asset files & fixed metadata tweaks 2019-05-27 19:05:17 +02:00
Matthias Kretschmann 5e94d73197
cleanup contentType in one central place, add more manual replacements 2019-05-27 18:39:04 +02:00
Matthias Kretschmann 48d9b26cb6
sort all search queries by "created" 2019-05-27 17:53:48 +02:00
Matthias Kretschmann 80b77461d3
add channel actions 2019-05-27 16:37:02 +02:00
Matthias Kretschmann fee5f1cf7a
category change: Medicine -> Health & Medicine 2019-05-27 16:18:32 +02:00
Matthias Kretschmann 5efd3bfaa0
update changelog 2019-05-27 15:32:21 +02:00
Matthias Kretschmann 63b87cfb82
Release 0.3.2 2019-05-27 15:32:10 +02:00
Matthias Kretschmann fe0506827f
Merge pull request #144 from oceanprotocol/fix/url-check-range-fix
Add range error handling
2019-05-27 15:30:54 +02:00
Jernej Pregelj 2687c78474 add range error handling 2019-05-27 15:22:01 +02:00
Matthias Kretschmann f0c3fd6865
remove price from all search queries 2019-05-27 14:54:07 +02:00
Matthias Kretschmann 9abde21d3d
channels copy 2019-05-27 14:52:56 +02:00
Matthias Kretschmann 2247e2d980
channel teaser tweaks, spacing 2019-05-27 12:22:21 +02:00
Matthias Kretschmann c41e9790bb
new ai for good banner image 2019-05-27 12:22:21 +02:00
Matthias Kretschmann 144fce56a3
query for actual tags, channel teaser tweaks 2019-05-27 12:21:59 +02:00
Matthias Kretschmann 64304644f4
channel teaser tweaks, new copy 2019-05-27 12:21:59 +02:00
Matthias Kretschmann 6a3efe9d16
channel teaser grid tweaks 2019-05-27 12:21:59 +02:00
Matthias Kretschmann f73fe0ab5e
increase global font size to prevent iOS input zooming 2019-05-27 12:21:58 +02:00
Matthias Kretschmann 8e3c0a62d2
front page layout tweaks 2019-05-27 12:21:58 +02:00
Matthias Kretschmann 65f04b9f62
category link component 2019-05-27 12:21:58 +02:00
Matthias Kretschmann 9c352e740b
fix category link 2019-05-27 12:21:58 +02:00
Matthias Kretschmann 70ac182fd9
handle assets where heading are used extensively in the description 2019-05-27 12:21:58 +02:00
Matthias Kretschmann 66655adbf5
improve empty search view 2019-05-27 12:21:58 +02:00
Matthias Kretschmann f8cff63c79
fix category search 2019-05-27 12:21:57 +02:00
Matthias Kretschmann 9e15845995
category image tweaks, use for channel too 2019-05-27 12:21:57 +02:00
Matthias Kretschmann c11fceaf17
outpout category image on Asset page, refactor Asset components 2019-05-27 12:21:57 +02:00
Matthias Kretschmann 1b7d343984
channel teaser component, use on channels page 2019-05-27 12:21:55 +02:00
Matthias Kretschmann 1000185841
better visual hierarchy for front page 2019-05-27 12:21:55 +02:00
Matthias Kretschmann 90c4590a8b
AI for good frontpage, cleanup 2019-05-27 12:21:55 +02:00
Matthias Kretschmann 9f782adafc
new channel termplate, channels route, use json data for everything 2019-05-27 12:21:55 +02:00
Matthias Kretschmann 3199d89d8d
latest assets styling 2019-05-27 12:21:55 +02:00
Matthias Kretschmann aaf425477f
asset grid tweaks 2019-05-27 12:21:54 +02:00
Matthias Kretschmann 90b163b2aa
rebase fix 2019-05-27 12:21:54 +02:00
Matthias Kretschmann feebf7fc0c
categories styling 2019-05-27 12:21:54 +02:00
Matthias Kretschmann 54e4dc7e5d
merge fix 2019-05-27 12:21:54 +02:00
Matthias Kretschmann f9e367bfbc
category search fixes 2019-05-27 12:21:54 +02:00
Matthias Kretschmann a283cd162b
category search, make multiple layouts on one page possible 2019-05-27 12:21:54 +02:00
Jernej Pregelj 87b2fde0af
categories, show from category on homepage 2019-05-27 12:21:54 +02:00
Jernej Pregelj 4a7ddca9e8
retrieve category asets on home 2019-05-27 12:21:53 +02:00
Jernej Pregelj 988e03bcca
channel view, latest assets from aquarius 2019-05-27 12:21:53 +02:00
Matthias Kretschmann 9540236ef0
merge fix 2019-05-27 12:21:53 +02:00
Jernej Pregelj a94d7e1b6c
latest assets 2019-05-27 12:21:53 +02:00
Matthias Kretschmann 8497f6f9a2
test tweaks 2019-05-27 12:21:53 +02:00
Matthias Kretschmann 92721702a0
categories search link on asset details, test fix 2019-05-27 12:21:53 +02:00
Matthias Kretschmann 7fc99699c7
category search fixes 2019-05-27 12:21:53 +02:00
Matthias Kretschmann 1b1ac5c9ef
category search, make multiple layouts on one page possible 2019-05-27 12:21:52 +02:00
Jernej Pregelj 13c2c9b68a
categories, show from category on homepage 2019-05-27 12:21:52 +02:00
Jernej Pregelj 9795e6e642
retrieve category asets on home 2019-05-27 12:21:52 +02:00
Jernej Pregelj 36d61b3fc1
add category 2019-05-27 12:21:52 +02:00
Matthias Kretschmann 7669545d13
update changelog 2019-05-27 12:05:48 +02:00
Matthias Kretschmann 54f3f170c3
Release 0.3.1 2019-05-27 12:05:24 +02:00
Matthias Kretschmann 1eaf6a1bf4
Merge pull request #143 from oceanprotocol/feature/remove-aiforgood-category
remove AI For Good as category
2019-05-27 12:04:59 +02:00
Matthias Kretschmann 2c280d79c5
remove AI For Good as category 2019-05-27 11:21:55 +02:00
Matthias Kretschmann 88872cc020
update changelog 2019-05-21 16:25:51 +02:00
Matthias Kretschmann f2d69447bc
Release 0.3.0 2019-05-21 16:25:40 +02:00
Matthias Kretschmann f432ce4b2d
Merge pull request #110 from oceanprotocol/feature/events
Consume feedback mesages
2019-05-21 16:17:41 +02:00
Matthias Kretschmann 056ec23925
more empathetic error message 2019-05-21 12:07:27 +02:00
Matthias Kretschmann d6a7800cc4
bump required component versions 2019-05-21 11:16:52 +02:00
Matthias Kretschmann 743fe533dc
fresh package-lock 2019-05-21 11:03:31 +02:00
Matthias Kretschmann 01e68b6632
update changelog 2019-05-20 16:39:54 +02:00
Matthias Kretschmann cda3c54f79
Release 0.2.14 2019-05-20 16:39:44 +02:00
Matthias Kretschmann bf3378bc48
clarify changelog updating 2019-05-20 16:17:41 +02:00
Matthias Kretschmann dfac82b3e0
bump squid-js 2019-05-20 16:08:09 +02:00
Matthias Kretschmann d87d8daae7
Merge pull request #137 from oceanprotocol/feature/ai-commons
AI Commons link
2019-05-20 15:54:57 +02:00
Matthias Kretschmann 081772ce37
add AI Commons logo 2019-05-20 14:40:50 +02:00
Matthias Kretschmann 7a2608f4f3
merge fix 2019-05-20 13:36:07 +02:00
Matthias Kretschmann 879f51170e
message output refactor, testing 2019-05-20 13:36:07 +02:00
Matthias Kretschmann 0e12204a5a
message tweaks 2019-05-20 13:36:07 +02:00
Matthias Kretschmann b2ae8fcce5
fix missing initial message 2019-05-20 13:36:07 +02:00
Matthias Kretschmann 7dca7f8e82
adapot to new order flow 2019-05-20 13:36:07 +02:00
Matthias Kretschmann 10a86d389c
messaging 2019-05-20 13:36:07 +02:00
Matthias Kretschmann d713ef11e4
output more events 2019-05-20 13:36:07 +02:00
Matthias Kretschmann 8856dca647
output step numbers 2019-05-20 13:36:07 +02:00
Matthias Kretschmann cbfc1bd1c7
prototype consume feedback mesages 2019-05-20 13:36:07 +02:00
Matthias Kretschmann fe39dec214
add AI Commons to stats footer 2019-05-20 13:34:36 +02:00
Matthias Kretschmann 7e2d7ac6ad
update changelog 2019-05-20 13:33:34 +02:00
Matthias Kretschmann 7a6075b553
Release 0.2.13 2019-05-20 13:33:24 +02:00
Matthias Kretschmann c859ac098e
Merge pull request #128 from oceanprotocol/feature/total-assets
Output total assets
2019-05-20 13:30:54 +02:00
Matthias Kretschmann cbb6fc6032
Merge pull request #138 from oceanprotocol/sjvallon-patch-1
Updated Telegram link
2019-05-20 13:08:00 +02:00
sjvallon eaf13b38a0
Update meta.json 2019-05-20 12:44:15 +02:00
Matthias Kretschmann 21786a7d16
remove AI Commons line for now 2019-05-17 15:18:00 +02:00
Matthias Kretschmann 7df6958123
update changelog 2019-05-17 15:12:35 +02:00
Matthias Kretschmann 8c4fefcee1
Release 0.2.12 2019-05-17 15:12:14 +02:00
Matthias Kretschmann f93da4576e
Merge pull request #135 from oceanprotocol/fix/k8s_release
Fix versions vwv.y.z
2019-05-17 15:11:35 +02:00
Matthias Kretschmann 16df88aca3
Merge pull request #136 from oceanprotocol/fix/ai-for-good-category
consistent AI For Good category naming
2019-05-17 15:11:22 +02:00
Matthias Kretschmann d3e44be4e0
consistent AI For Good category naming 2019-05-17 14:53:16 +02:00
Javier Cortejoso 0eb35b2fa1
Fix versions vwv.y.z 2019-05-17 14:43:09 +02:00
Matthias Kretschmann e6fc7a9085
styling, AI Commons link 2019-05-17 01:47:36 +02:00
Matthias Kretschmann 22440827ca
output total assets in the marketplace, use new Market Provider for it 2019-05-17 01:47:36 +02:00
Matthias Kretschmann a83184851c
update changelog 2019-05-16 15:09:05 +02:00
Matthias Kretschmann e8b150a8cb
Release 0.2.11 2019-05-16 15:08:54 +02:00
Matthias Kretschmann c7418a172c
Merge pull request #130 from oceanprotocol/fix/search-term
url encode & decode search term
2019-05-16 15:08:06 +02:00
Matthias Kretschmann 51a97bd968
Merge pull request #129 from oceanprotocol/fix/react-ga
fix react-ga initialization
2019-05-16 15:07:28 +02:00
Matthias Kretschmann c5a4a15a3a
url encode & decode search term 2019-05-16 13:27:41 +02:00
Matthias Kretschmann 7d64ec2d55
fix react-ga initialization 2019-05-16 11:43:23 +02:00
Matthias Kretschmann d49cace56a
update changelog 2019-05-15 13:42:26 +02:00
Matthias Kretschmann f0ff2915e5
Release 0.2.10 2019-05-15 13:42:05 +02:00
Matthias Kretschmann 46eba4e795
Merge pull request #126 from oceanprotocol/feature/aiforgood
AI for Good category
2019-05-15 13:41:19 +02:00
Matthias Kretschmann 2729a5df8d
Merge pull request #122 from oceanprotocol/fix/network-detection
Network detection tweaks
2019-05-15 13:39:49 +02:00
Matthias Kretschmann 97b20b4e9b
bump squid-js 2019-05-15 13:33:37 +02:00
Matthias Kretschmann 062759bb46
add AI for Good category 2019-05-14 17:26:28 +02:00
Matthias Kretschmann f49fa14b2a
less verbose error logging 2019-05-14 13:12:18 +02:00
Matthias Kretschmann 6dcb7166ce
add Spree to network detection 2019-05-14 12:57:21 +02:00
Matthias Kretschmann 42dcb8c584
Duero network name 2019-05-14 12:53:43 +02:00
Matthias Kretschmann 807723be35
isCorrectNetwork -> isOceanNetwork 2019-05-14 12:52:41 +02:00
Matthias Kretschmann 74e2d204dc
update changelog 2019-05-13 16:34:37 +02:00
Matthias Kretschmann 57ea109ec2
Release 0.2.9 2019-05-13 16:34:20 +02:00
Matthias Kretschmann 124db083e9
Merge pull request #121 from oceanprotocol/fix/duero-detection
add Duero to network detection
2019-05-13 16:32:36 +02:00
Matthias Kretschmann cbffc42bca
fix network name during network polling 2019-05-13 16:17:59 +02:00
Matthias Kretschmann f636170e3c
add duero to network detection 2019-05-13 15:58:01 +02:00
Matthias Kretschmann 70deb126b8
update changelog 2019-05-10 13:55:16 +02:00
Matthias Kretschmann 784d6a111f
Release 0.2.8 2019-05-10 13:54:44 +02:00
Matthias Kretschmann 4b806939e8
Merge pull request #120 from oceanprotocol/fix/publish
Fix publish step 2
2019-05-10 13:53:42 +02:00
Matthias Kretschmann 90c252c055
pass through all props to textarea 2019-05-10 12:30:31 +02:00
Matthias Kretschmann 005196f5e3
travis fix 2019-05-06 16:40:14 +02:00
Matthias Kretschmann 57b7547a21
update changelog 2019-05-06 16:33:16 +02:00
Matthias Kretschmann 8f347a4214
Release 0.2.7 2019-05-06 16:32:51 +02:00
Matthias Kretschmann 20299d9116
consume fix
* workaround for https://github.com/oceanprotocol/squid-js/pull/221
2019-05-06 15:26:47 +02:00
Matthias Kretschmann 539cc0f3c8
Merge pull request #117 from oceanprotocol/feature/tests
Add more tests
2019-05-06 15:04:54 +02:00
Matthias Kretschmann 9bdfca4be4
more tests 2019-05-04 04:27:27 +02:00
Matthias Kretschmann 08143be524
fix badges 2019-04-30 19:24:50 +02:00
Matthias Kretschmann 30d6679eb2
update changelog 2019-04-30 18:46:02 +02:00
Matthias Kretschmann 269acdfc8f
Release 0.2.6 2019-04-30 18:45:41 +02:00
Matthias Kretschmann 9f0c324cb2
Merge pull request #115 from oceanprotocol/feature/avatar
add blockies for account display
2019-04-30 18:45:14 +02:00
Matthias Kretschmann a8969bb70c
hotfix for search input 2019-04-30 18:36:51 +02:00
Matthias Kretschmann 1585149a00
Merge pull request #116 from oceanprotocol/feature/coverage
Setup coverage reporting
2019-04-30 15:55:54 +02:00
Matthias Kretschmann 2e7ed31e2e
add codacy badges 2019-04-30 13:37:25 +02:00
Matthias Kretschmann 5e8ed026d5
report test coverage to Codacy 2019-04-30 12:49:07 +02:00
Matthias Kretschmann da47751442
add blockies for account display 2019-04-29 21:04:33 +02:00
Matthias Kretschmann 82906093e6
Release 0.2.5 2019-04-29 18:44:12 +02:00
Matthias Kretschmann 23bebcb39a
Merge pull request #114 from oceanprotocol/fix/user-input
sanitize search input
2019-04-29 18:43:55 +02:00
Matthias Kretschmann 039c7b2fe5
sanitize search input 2019-04-29 18:26:20 +02:00
Sebastian Gerske 690dfc33df
Merge pull request #113 from oceanprotocol/update/telegram
update telegram link
2019-04-29 15:30:32 +02:00
Matthias Kretschmann 0d3afc8219
update changelog 2019-04-29 12:25:37 +02:00
Matthias Kretschmann 8f832b6322
Release 0.2.4 2019-04-29 12:25:22 +02:00
Matthias Kretschmann 4dc4befbd3
Merge pull request #112 from oceanprotocol/fix/search-title
fix search titles
2019-04-29 12:17:23 +02:00
Sebastian Gerske e6806f467d update telegram link 2019-04-29 12:14:32 +02:00
Matthias Kretschmann fe08ccc8b2
fix search titles 2019-04-29 12:02:51 +02:00
Matthias Kretschmann 4bce7b0138
Release 0.2.3 2019-04-25 12:01:14 +02:00
Matthias Kretschmann 17082c817f
hotfix for asset title user input 2019-04-25 11:58:14 +02:00
Matthias Kretschmann 8398d67b99
Merge pull request #109 from oceanprotocol/fix/datepicker
fix datepicker styles
2019-04-24 13:52:30 +02:00
Matthias Kretschmann 7e9013e7cd
lock Travis to Node.js v11 2019-04-24 13:31:17 +02:00
Matthias Kretschmann 9860272924
fix datepicker styles 2019-04-24 13:03:56 +02:00
Matthias Kretschmann 8a79db04c8
update changelog 2019-04-23 15:18:13 +02:00
Matthias Kretschmann 24ff06838c
Release 0.2.2 2019-04-23 15:17:38 +02:00
Matthias Kretschmann 3931318ac4
Merge pull request #107 from oceanprotocol/fix/lock-web3
client: lock to web3 v1.0.0-beta.37, bump packages
2019-04-23 15:16:37 +02:00
Matthias Kretschmann 11ee08fad9
bump squid-js 2019-04-23 15:08:03 +02:00
Matthias Kretschmann 8a5fc36436
more typings for window.ethereum 2019-04-23 13:13:10 +02:00
Matthias Kretschmann ffb049b1c3
fixes 2019-04-23 13:02:47 +02:00
Matthias Kretschmann fe821f9548
bump packages 2019-04-23 12:38:59 +02:00
Matthias Kretschmann d6744c9b8f
lock to web3 v1.0.0-beta.37 2019-04-23 12:16:25 +02:00
Matthias Kretschmann 2be4569299
update changelog 2019-04-16 01:22:00 +02:00
Matthias Kretschmann debe1194fa
Release 0.2.1 2019-04-16 01:21:38 +02:00
Matthias Kretschmann 4a8fde0c33
Merge pull request #105 from oceanprotocol/feature/pagination-tweaks
New pagination UI
2019-04-16 01:18:36 +02:00
Matthias Kretschmann 8668c88c32
add changelog:commit command 2019-04-16 01:02:01 +02:00
Matthias Kretschmann b62753a820
package updates 2019-04-16 00:54:37 +02:00
Matthias Kretschmann b03074ecee
fix test 2019-04-16 00:36:43 +02:00
Matthias Kretschmann 093c6c184d
update docs 2019-04-15 23:27:19 +02:00
Matthias Kretschmann e9b1f24094
mobile tweaks 2019-04-15 23:14:29 +02:00
Matthias Kretschmann dde4086827
cleanup 2019-04-15 22:46:49 +02:00
Matthias Kretschmann 78c89ec28f
add test:watch command 2019-04-15 22:35:38 +02:00
Matthias Kretschmann 1a15a30435
add pagination UI render test 2019-04-15 22:33:58 +02:00
Matthias Kretschmann 8a5d89e640
new pagination UI 2019-04-15 22:13:40 +02:00
Matthias Kretschmann ce8945a639
move config file 2019-04-15 21:09:05 +02:00
Matthias Kretschmann 0d2ba4df3a
update changelog 2019-04-15 20:20:44 +02:00
Matthias Kretschmann 94da80d67d
Release 0.2.0 2019-04-15 20:18:14 +02:00
Matthias Kretschmann 2aa46699a2
Merge pull request #101 from oceanprotocol/feature/web3-detection
Refactor web3 detection and bootstrapping process
2019-04-15 20:16:02 +02:00
Matthias Kretschmann 5f1cc2cb1d
fix rerender during consuming flow 2019-04-15 20:06:56 +02:00
Matthias Kretschmann 745969f686
add tests, use react-testing-library 2019-04-15 19:21:08 +02:00
Matthias Kretschmann 23556b1663
bring back unlock account action 2019-04-15 17:41:46 +02:00
Matthias Kretschmann 4aaa92f66a
cleanup, refactor withTracker HOC 2019-04-15 17:41:46 +02:00
Matthias Kretschmann 7203b88b5e
move requestFromFaucet function, typed response 2019-04-15 17:41:46 +02:00
Matthias Kretschmann 6ed3cb7842
web3/ocean/account timing tweaks 2019-04-15 17:41:46 +02:00
Matthias Kretschmann adab473f4e
move web3/ocean detection out of App.jsx 2019-04-15 17:41:46 +02:00
Matthias Kretschmann 3a8d6ea284
cleanup and more fine-grained bootstrap process
* new detection flow, one after the other: web3 -> network -> ocean -> accounts
* make account enabling part of bootstrap
* kick out dedicated startLogin action
* plan for modern, legacy, and non-dapp browsers
* consolidate fetchNetwork & fetchAccounts
2019-04-15 17:41:46 +02:00
Matthias Kretschmann fe695009ff
cancel AssetsUser component fetching when unmounted 2019-04-15 17:41:46 +02:00
Matthias Kretschmann ffd290ad3f
Ocean bootstrap tweaks 2019-04-15 17:41:45 +02:00
Matthias Kretschmann 823281f967
faster perceived loading 2019-04-15 17:41:45 +02:00
Matthias Kretschmann 5f2253a02f
refactor web3 & network detection 2019-04-15 17:41:45 +02:00
Matthias Kretschmann a4e882017b
update changelog 2019-04-15 17:40:51 +02:00
Matthias Kretschmann 5d6e57485c
Release 0.1.9 2019-04-15 17:39:42 +02:00
Matthias Kretschmann 8677e5b5c6
Merge pull request #104 from oceanprotocol/fix/bump-packages
bump packages
2019-04-15 17:31:30 +02:00
Matthias Kretschmann f81db65338
Merge pull request #103 from oceanprotocol/fix/typo
Fix typo
2019-04-15 16:41:18 +02:00
Javier Cortejoso feaf58ae3f
Fix typo 2019-04-15 16:35:42 +02:00
Matthias Kretschmann 000ea9d874
bump packages 2019-04-15 16:22:53 +02:00
Matthias Kretschmann 80f8002438
Merge pull request #102 from oceanprotocol/fix/server-dev
server task cleanup
2019-04-12 18:27:08 +02:00
Matthias Kretschmann e81edcd973
travis tweaks 2019-04-12 16:44:33 +02:00
Matthias Kretschmann 4796e5227b
report coverage during client test too 2019-04-12 16:40:41 +02:00
Matthias Kretschmann ce1e32bdcf
task cleanup 2019-04-12 16:26:13 +02:00
Matthias Kretschmann 6c136011d2
update changelog 2019-04-11 20:09:24 +02:00
Matthias Kretschmann 1bed531f09
Release 0.1.8 2019-04-11 20:08:29 +02:00
Matthias Kretschmann 300b343954
Merge pull request #100 from oceanprotocol/feature/faucet-response
Adapt to new faucet server response format
2019-04-11 20:06:37 +02:00
Matthias Kretschmann 4a6053ec82
output transaction hash 2019-04-11 20:01:15 +02:00
Matthias Kretschmann bdf7670b3d
add faucet version to library.json 2019-04-11 19:41:42 +02:00
Matthias Kretschmann 07a7b41258
adapt to new faucet server response format, pass through success message 2019-04-11 18:39:39 +02:00
Matthias Kretschmann f468b8aafb
Merge pull request #99 from oceanprotocol/feature/truncation
Truncation of long strings
2019-04-11 15:05:39 +02:00
Matthias Kretschmann 686ff8e8bd
more truncation with react-dotdotdot 2019-04-10 17:34:35 +02:00
Matthias Kretschmann fddb630908
improve text truncation 2019-04-10 16:17:55 +02:00
Matthias Kretschmann 25a6862b74
update changelog 2019-04-10 14:27:50 +02:00
Matthias Kretschmann 605bf4bafa
Release 0.1.7 2019-04-10 14:27:08 +02:00
Matthias Kretschmann b9402101d2
Merge pull request #98 from oceanprotocol/fix/squid-js-rollback
rollback to squid-js 0.5.2
2019-04-10 14:26:24 +02:00
Matthias Kretschmann 5157a070c1
Merge pull request #97 from oceanprotocol/feature/licenses
add more open source licenses
2019-04-10 14:18:35 +02:00
Matthias Kretschmann f8296844fe
rollback to squid-js 0.5.2 2019-04-10 14:18:18 +02:00
Matthias Kretschmann 0a61fdeee3
update main screenshot 2019-04-10 13:12:29 +02:00
Matthias Kretschmann 14b46e1425
add more open source licenses 2019-04-10 13:04:19 +02:00
Matthias Kretschmann 48331ffe1e
update changelog 2019-04-10 10:47:07 +02:00
Matthias Kretschmann fc24f3852a
Release 0.1.6 2019-04-10 10:45:20 +02:00
Matthias Kretschmann 58d601cb13
Merge pull request #94 from oceanprotocol/feature/account-updates
adapt to account & network changes
2019-04-10 10:41:16 +02:00
Matthias Kretschmann c931be5457
update readme 2019-04-09 22:39:11 +02:00
Matthias Kretschmann 067b797d4a
update changelog 2019-04-09 22:34:38 +02:00
Matthias Kretschmann 6cfd29c56e
adapt to account & network changes 2019-04-09 21:51:22 +02:00
Matthias Kretschmann fef888773e
Release 0.1.5 2019-04-09 18:34:53 +02:00
Matthias Kretschmann b1db245f7b
Merge pull request #93 from oceanprotocol/feature/packages
bump packages
2019-04-09 18:31:40 +02:00
Matthias Kretschmann 1000039bef
bump packages 2019-04-09 18:24:33 +02:00
Matthias Kretschmann 09761c13fa
Release 0.1.4 2019-04-09 17:25:30 +02:00
Matthias Kretschmann 2d6f7d08d6
Merge pull request #92 from oceanprotocol/fix/tag
fix release tag format
2019-04-09 17:24:55 +02:00
Matthias Kretschmann d17c10376e
fix release tag format 2019-04-09 16:33:27 +02:00
Matthias Kretschmann 36ba27fa6b
Release 0.1.3 2019-04-09 15:35:08 +02:00
Matthias Kretschmann a21147f3a7
Merge pull request #91 from oceanprotocol/feature/releases
New release process
2019-04-09 15:32:24 +02:00
Matthias Kretschmann 40d37bf8e5
docs updates 2019-04-09 15:26:33 +02:00
Matthias Kretschmann cc394f3ccc
generate changelog 2019-04-09 14:56:51 +02:00
Matthias Kretschmann c4d6b0f0b2
update library.json 2019-04-09 14:55:39 +02:00
Matthias Kretschmann 499e31991b
remove bumpversion, add documentation 2019-04-09 14:49:18 +02:00
Matthias Kretschmann 48c48d530b
add release-it tasks 2019-04-09 14:49:18 +02:00
Matthias Kretschmann 3d7560648c
Merge pull request #90 from oceanprotocol/feature/search-pages
Make page numbers part of URL
2019-04-09 14:48:43 +02:00
Matthias Kretschmann 33ad6aee62
Merge pull request #89 from oceanprotocol/fix-message-re-thing-decrypted
Fix: file URLs get decrypted, not files
2019-04-09 13:51:47 +02:00
Matthias Kretschmann a77f01d595
add page to url 2019-04-09 13:51:00 +02:00
Troy McConaghy 740c5a9634 Fix: file URLs get decrypted, not files 2019-04-09 13:27:01 +02:00
Matthias Kretschmann efbfd91c65
switch to respective page if query string is present 2019-04-09 13:12:58 +02:00
Javier Cortejoso 2a2955d593
Updated github token 2019-04-09 12:26:17 +02:00
Matthias Kretschmann f9717b84f2
Merge pull request #88 from oceanprotocol/fix/search
search updates for Aquarius 0.2.2
2019-04-09 12:08:54 +02:00
Javier Cortejoso 83562b6d54
Merge branch 'master' into fix/search 2019-04-09 12:06:59 +02:00
Javier Cortejoso 884f5db9a0
Merge pull request #87 from oceanprotocol/feature/deploy_on_k8s
Automatically deploy on new tags on k8s
2019-04-09 12:04:05 +02:00
Matthias Kretschmann fb64bcadbd
search updates for Aquarius 0.2.2 & pagination fixes 2019-04-09 11:59:29 +02:00
Javier Cortejoso c1f55871b1
Merge branch 'master' into feature/deploy_on_k8s 2019-04-09 11:23:52 +02:00
Javier Cortejoso a02ad0fc97
Automatically deploy on new tags on k8s 2019-04-09 11:07:45 +02:00
Matthias Kretschmann 9a590b9788
Merge pull request #81 from oceanprotocol/feature/bumpversion
Feature/bumpversion
2019-04-09 11:01:53 +02:00
Matthias Kretschmann 426545413a
Merge pull request #83 from oceanprotocol/fixes
Various fixes
2019-04-09 11:01:26 +02:00
Matthias Kretschmann 2b8bb68d39
popper placement 2019-04-09 10:49:36 +02:00
Javier Cortejoso 8e6a870cb5
Added bumpversion notes to readme 2019-04-09 10:42:00 +02:00
Matthias Kretschmann 5340df0993
mobile tweaks for search results and main menu 2019-04-08 21:06:09 +02:00
Matthias Kretschmann 4dcc6c831a
consume & faucet tweaks for Web3 cases 2019-04-08 20:21:29 +02:00
Matthias Kretschmann 6ac4440897
withTracker HOC formatting 2019-04-08 19:54:18 +02:00
Matthias Kretschmann 18267a1a18
simplify consume buttons logic 2019-04-08 19:46:53 +02:00
Javier Cortejoso ca558cb58c
Bumped version to 0.1.2 2019-04-08 17:34:12 +02:00
Javier Cortejoso e0a62b1a42
Added bumpversion 2019-04-08 17:33:38 +02:00
Matthias Kretschmann 72741f5ae6
Merge pull request #80 from oceanprotocol/feature/gh_releases
Added GH releases
2019-04-08 17:28:28 +02:00
Javier Cortejoso e929ed539b
Merge branch 'master' into feature/gh_releases 2019-04-08 16:49:22 +02:00
Javier Cortejoso ed7beb295b
Added GH templates 2019-04-08 16:44:03 +02:00
Javier Cortejoso f77f8b2bc4
Added GH releases 2019-04-08 16:41:59 +02:00
Matthias Kretschmann 7eeb4e3342
Merge pull request #79 from oceanprotocol/fix/search-pagetitle
strip HTML from meta page title
2019-04-08 16:40:41 +02:00
Matthias Kretschmann ba186b832a
strip HTML from meta page title 2019-04-08 16:23:14 +02:00
298 changed files with 32255 additions and 21171 deletions

View File

@ -1 +0,0 @@
node_modules

View File

@ -1,12 +0,0 @@
root = true
[*]
charset = utf-8
indent_size = 4
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{json,yml,yaml,md}]
indent_size = 2

View File

@ -1,28 +1,43 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
"project": [
"./tsconfig.json",
"./client/tsconfig.json",
"./server/tsconfig.json",
"./cypress/tsconfig.json"
]
},
"extends": [
"oceanprotocol",
"oceanprotocol/react",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier/react",
"prettier/standard",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint"
"prettier/@typescript-eslint",
"plugin:cypress/recommended"
],
"plugins": ["@typescript-eslint", "prettier"],
"plugins": ["@typescript-eslint", "prettier", "cypress"],
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/member-delimiter-style": [
"error",
{ "multiline": { "delimiter": "none" } }
]
],
"@typescript-eslint/no-explicit-any": "off"
},
"env": {
"es6": true,
"browser": true,
"jest": true
"node": true,
"jest": true,
"cypress/globals": true
},
"settings": {
"react": {
"version": "16.10"
}
}
}

1
.github/CODEOWNERS vendored Normal file
View File

@ -0,0 +1 @@
* @oceanprotocol/maintainers @oceanprotocol/core-dev

3
.github/CONTRIBUTING.md vendored Normal file
View File

@ -0,0 +1,3 @@
# Contributing
See the page titled "[Ways to Contribute](https://docs.oceanprotocol.com/concepts/contributing/)" in the Ocean Protocol documentation.

20
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,20 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/server"
schedule:
interval: weekly
time: '03:00'
timezone: Europe/Berlin
- package-ecosystem: npm
directory: "/client"
schedule:
interval: weekly
time: '03:00'
timezone: Europe/Berlin
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
time: '03:00'
timezone: Europe/Berlin

47
.github/issue_template.md vendored Normal file
View File

@ -0,0 +1,47 @@
# Prerequisites
Please answer the following questions for yourself before submitting an issue. **YOU MAY DELETE THE PREREQUISITES SECTION.**
- [ ] I am running the latest version
- [ ] I checked the documentation and found no answer
- [ ] I checked to make sure that this issue has not already been filed
- [ ] I'm reporting the issue to the correct repository.
## Expected Behavior
Please describe the behavior you are expecting
## Current Behavior
What is the current behavior? Please provide as many details as possible.
## Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
## Step to Reproduce the problem
Please provide detailed steps for reproducing the issue.
1.
2.
3.
### Possible Solution
Fill this section in if you know how this could or should be fixed.
## Specifications
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
* Version: x.x.x
* Python: x.x
* Solidity: x.x.x
* JavaScript: x.x.x
* Node: x.x.x
* OS: macOS/linux/win
## Failure Logs
Please include any relevant log snippets or files here.

23
.github/pull_request_template.md vendored Normal file
View File

@ -0,0 +1,23 @@
## Description
Add a description of your changes here.
## Is this PR related with an open issue?
Related to Issue #
## Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
## Checklist:
- [ ] Follows the code style of this project.
- [ ] Tests Cover Changes
- [ ] Documentation
#### Funny gif
![Put a link of a funny gif inside the parenthesis-->]()

8
.gitignore vendored
View File

@ -12,6 +12,7 @@ dist
# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
@ -20,3 +21,10 @@ dist
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# cypress
cypress/screenshots
cypress/videos
cypress/fixtures/did.txt
cypress/fixtures/did-ipfs.txt
artifacts

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
v12

View File

@ -1,3 +1,4 @@
node_modules
build
dist
coverage

View File

@ -1,5 +1,15 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
"trailingComma": "none",
"tabWidth": 4,
"endOfLine": "lf",
"overrides": [
{
"files": ["*.{json,yml,yaml,md}"],
"options": {
"tabWidth": 2
}
}
]
}

View File

@ -1,11 +0,0 @@
{
"extends": [
"stylelint-config-bigchaindb",
"stylelint-config-css-modules",
"./node_modules/prettier-stylelint/config.js"
],
"syntax": "scss",
"rules": {
"no-descending-specificity": null
}
}

View File

@ -1,12 +1,86 @@
dist: xenial
sudo: required
language: node_js
node_js: node
node_js:
- '12'
services:
- docker
addons:
# required for internal Aquarius-Brizo communication
# https://docs.travis-ci.com/user/hosts/
hosts:
- aquarius
apt:
packages:
# for Cypress
- libgconf-2-4
env:
global:
# run E2E tests against local Spree
- REACT_APP_NODE_URI="http://localhost:8545"
- REACT_APP_AQUARIUS_URI="http://aquarius:5000"
- REACT_APP_BRIZO_URI="http://localhost:8030"
- REACT_APP_SECRET_STORE_URI="http://localhost:12001"
- REACT_APP_FAUCET_URI="http://localhost:3001"
- REACT_APP_BRIZO_ADDRESS="0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0"
# IPFS client & server config
- REACT_APP_IPFS_GATEWAY_URI="https://ipfs.oceanprotocol.com"
- REACT_APP_IPFS_NODE_URI="https://ipfs.oceanprotocol.com:443"
- IPFS_GATEWAY_URI="https://ipfs.oceanprotocol.com"
# start Barge with these versions
- BRIZO_VERSION=v0.9.3
- AQUARIUS_VERSION=v1.0.7
- KEEPER_VERSION=v0.13.2
- EVENTS_HANDLER_VERSION=v0.4.5
- KEEPER_OWNER_ROLE_ADDRESS="0xe2DD09d719Da89e5a3D0F2549c7E24566e947260"
- FAUCET_TIMESPAN=0
before_install:
- npm install -g npm
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- git clone https://github.com/oceanprotocol/barge
- cd barge
- bash -x start_ocean.sh --no-commons 2>&1 > start_ocean.log &
- cd ..
script:
# - ./scripts/install.sh # runs automatically with npm ci
# executing `npm test` scripts individually here, so first one failing will exit the build
- npm run lint || travis_terminate 1
- ./scripts/keeper.sh
- ./scripts/test.sh
# Pipe the coverage data to Code Climate
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.client.json client/coverage/lcov.info
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.server.json server/coverage/lcov.info
- ./cc-test-reporter sum-coverage coverage/codeclimate.*.json -p 2
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./cc-test-reporter upload-coverage; fi
- npm run test:e2e || travis_terminate 1
- ./scripts/build.sh
notifications:
email: false
cache: npm
cache:
npm: true
directories:
# cache folder with Cypress binary
- ~/.cache
# deploy:
# - provider: script
# skip_cleanup: true
# script: bash -ex ./scripts/deploy_on_k8s.sh
# on:
# tags: true
# all_branches: true

View File

@ -1,7 +1,707 @@
History
=======
### Changelog
0.1.0 (Mar 31th, 2019)
-------------------------
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
* First version
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v2.4.1](https://github.com/oceanprotocol/commons/compare/v2.4.0...v2.4.1)
> 19 May 2020
- fix history [`#282`](https://github.com/oceanprotocol/commons/pull/282)
#### [v2.4.0](https://github.com/oceanprotocol/commons/compare/v2.3.1...v2.4.0)
> 19 May 2020
- Feature/compute [`#225`](https://github.com/oceanprotocol/commons/pull/225)
- remove stylelint & codacy [`#270`](https://github.com/oceanprotocol/commons/pull/270)
- Bump typescript from 3.8.3 to 3.9.2 in /client [`#256`](https://github.com/oceanprotocol/commons/pull/256)
- Bump @sindresorhus/slugify from 0.11.0 to 1.0.0 in /client [`#255`](https://github.com/oceanprotocol/commons/pull/255)
- Bump cypress from 4.2.0 to 4.5.0 [`#250`](https://github.com/oceanprotocol/commons/pull/250)
- Bump @types/jest from 25.1.4 to 25.2.2 in /client [`#240`](https://github.com/oceanprotocol/commons/pull/240)
- Bump @typescript-eslint/eslint-plugin from 2.24.0 to 2.33.0 [`#231`](https://github.com/oceanprotocol/commons/pull/231)
- Bump start-server-and-test from 1.10.10 to 1.11.0 [`#228`](https://github.com/oceanprotocol/commons/pull/228)
- [Security] Bump handlebars from 4.5.3 to 4.7.6 [`#227`](https://github.com/oceanprotocol/commons/pull/227)
- Bump release-it from 13.1.1 to 13.6.0 [`#226`](https://github.com/oceanprotocol/commons/pull/226)
- bump to squid-js v2.2.0 [`91821e8`](https://github.com/oceanprotocol/commons/commit/91821e88d4e4ff1bb6814338b3d9fee4746fd9a8)
- Release 2.4.0 [`c0effd4`](https://github.com/oceanprotocol/commons/commit/c0effd449f7cc01cf043ab924bb8040d0db55b9b)
- Merge pull request #281 from oceanprotocol/dependabot/npm_and_yarn/client/react-router-dom-5.2.0 [`6f05baf`](https://github.com/oceanprotocol/commons/commit/6f05baff3af9fa7490100b79b2978ed56ece02f4)
#### [v2.3.1](https://github.com/oceanprotocol/commons/compare/v2.3.0...v2.3.1)
> 20 March 2020
- package updates [`#223`](https://github.com/oceanprotocol/commons/pull/223)
- Bump acorn from 5.7.3 to 5.7.4 in /server [`#222`](https://github.com/oceanprotocol/commons/pull/222)
- Bump acorn from 5.7.3 to 5.7.4 in /client [`#221`](https://github.com/oceanprotocol/commons/pull/221)
- Bump acorn from 7.1.0 to 7.1.1 [`#220`](https://github.com/oceanprotocol/commons/pull/220)
- more package updates [`192c541`](https://github.com/oceanprotocol/commons/commit/192c54134ab7e26b85ee09ad94de01cfa8efc514)
- Release 2.3.1 [`f630771`](https://github.com/oceanprotocol/commons/commit/f63077181e8094546d68ee66dc8f6d3bd33c5df6)
- lint fixes [`b7c6543`](https://github.com/oceanprotocol/commons/commit/b7c6543fbefb6b5b701d3e879bcbd79e09255a7b)
#### [v2.3.0](https://github.com/oceanprotocol/commons/compare/v2.2.0...v2.3.0)
> 20 February 2020
- bump to squid.js v2 beta [`#218`](https://github.com/oceanprotocol/commons/pull/218)
- Release 2.3.0 [`f143a59`](https://github.com/oceanprotocol/commons/commit/f143a59b0b3f911bffdc9535ad4fe9cfd345864d)
- update ocean.assets methods [`c669089`](https://github.com/oceanprotocol/commons/commit/c669089d3b2be3d304e1ef8ed1b6827c0cb75ec8)
#### [v2.2.0](https://github.com/oceanprotocol/commons/compare/v2.1.0...v2.2.0)
> 1 February 2020
- bump to react-scripts v3.3 [`#209`](https://github.com/oceanprotocol/commons/pull/209)
- package updates [`65b72e5`](https://github.com/oceanprotocol/commons/commit/65b72e597d16f8660f74b0b3a491aba723488a56)
- fix Travis [`3e814b9`](https://github.com/oceanprotocol/commons/commit/3e814b98a7f990cfee6b910f57eb02cdd1a767f1)
- package updates [`8089a7a`](https://github.com/oceanprotocol/commons/commit/8089a7aa3e4504e1defb3a6809e4d8b4c2a823fb)
#### [v2.1.0](https://github.com/oceanprotocol/commons/compare/v2.1.0-beta.0...v2.1.0)
> 23 January 2020
- Fix search code duplication [`#216`](https://github.com/oceanprotocol/commons/pull/216)
- bump to keeper-contracts v0.13 [`#210`](https://github.com/oceanprotocol/commons/pull/210)
- more additionalInformation checks [`#213`](https://github.com/oceanprotocol/commons/pull/213)
- remove editorconfig [`#211`](https://github.com/oceanprotocol/commons/pull/211)
- bump to keeper-contracts v0.13.0 [`5ba5cd9`](https://github.com/oceanprotocol/commons/commit/5ba5cd9e20f7bc7ad7aebeb4b9c54f0aea549786)
- fix code duplication [`c5ea3b7`](https://github.com/oceanprotocol/commons/commit/c5ea3b7c8a989b7c9239cc4292de53680b36c06b)
- bump all components [`37296c5`](https://github.com/oceanprotocol/commons/commit/37296c502e24a1e0aedc021bfa666dd33dce323d)
#### [v2.1.0-beta.0](https://github.com/oceanprotocol/commons/compare/v2.0.1...v2.1.0-beta.0)
> 17 December 2019
- bump to keeper-contracts v0.13.0 [`c4219bf`](https://github.com/oceanprotocol/commons/commit/c4219bf1a839e88024c3b7a87f95833b40769d58)
- Release 2.1.0-beta.0 [`64eb7ab`](https://github.com/oceanprotocol/commons/commit/64eb7ab3f2dbd3f5b9736cab67bad4f960c914ff)
#### [v2.0.1](https://github.com/oceanprotocol/commons/compare/v2.0.0...v2.0.1)
> 7 January 2020
- more additionalInformation checks [`#213`](https://github.com/oceanprotocol/commons/pull/213)
- remove editorconfig [`#211`](https://github.com/oceanprotocol/commons/pull/211)
- remove editorconfig, define all styling in prettierrc [`f8dfaa4`](https://github.com/oceanprotocol/commons/commit/f8dfaa438c42e9d6c25ae9ac096129da95e431c3)
- Release 2.0.1 [`e9e5dd9`](https://github.com/oceanprotocol/commons/commit/e9e5dd9049bd60041d1483f102fdd6749b5a9b70)
#### [v2.0.0](https://github.com/oceanprotocol/commons/compare/v2.0.0-beta.3...v2.0.0)
> 9 December 2019
- Migrate to new v2 DDO structure [`#207`](https://github.com/oceanprotocol/commons/pull/207)
- bump dependencies [`a8c695e`](https://github.com/oceanprotocol/commons/commit/a8c695e16f07b603250aa0eae5aa64d6275072b6)
- test and package fixes [`3df046b`](https://github.com/oceanprotocol/commons/commit/3df046bbea14c0d0b4817976b8496c5af365bc0d)
- Release 2.0.0 [`70a3339`](https://github.com/oceanprotocol/commons/commit/70a3339f8b0fdbabad1475659639f145ec68ed6c)
#### [v2.0.0-beta.3](https://github.com/oceanprotocol/commons/compare/v2.0.0-beta.2...v2.0.0-beta.3)
> 22 November 2019
- bump web3 packages [`8c3262c`](https://github.com/oceanprotocol/commons/commit/8c3262c1d91727dcb514ff049d8db5f48e812fed)
- bump packages [`5800027`](https://github.com/oceanprotocol/commons/commit/5800027cbf4461cb274ce182e3350e3a1c4b708c)
- update to new DDO structure [`985803d`](https://github.com/oceanprotocol/commons/commit/985803d43e4a3d729d90196f260b128bf2e37f63)
#### [v2.0.0-beta.2](https://github.com/oceanprotocol/commons/compare/v2.0.0-beta.1...v2.0.0-beta.2)
> 15 November 2019
- bump packages [`428532e`](https://github.com/oceanprotocol/commons/commit/428532e2c624fed19bae342b40fdb0f5d9a403d3)
- Release 2.0.0-beta.2 [`9f55d0a`](https://github.com/oceanprotocol/commons/commit/9f55d0a69577ee64fe8fd6ce9889e31f90fd1562)
- bump squid-js [`b75af1b`](https://github.com/oceanprotocol/commons/commit/b75af1bae3f05006ea557c6de05dfe3ddea555eb)
#### [v2.0.0-beta.1](https://github.com/oceanprotocol/commons/compare/v2.0.0-beta.0...v2.0.0-beta.1)
> 14 November 2019
- bump web3 packages [`13a8bf8`](https://github.com/oceanprotocol/commons/commit/13a8bf86a56d3bddca44aa505a27e95507069238)
- Release 2.0.0-beta.1 [`cf9d65d`](https://github.com/oceanprotocol/commons/commit/cf9d65da3f353db60da331f8d553e3e19f849d15)
#### [v2.0.0-beta.0](https://github.com/oceanprotocol/commons/compare/v1.3.2...v2.0.0-beta.0)
> 14 November 2019
- update to new DDO structure [`e34dde1`](https://github.com/oceanprotocol/commons/commit/e34dde1a111d00943dc68d32c04b8fa230996d6d)
- Release 2.0.0-beta.0 [`0136695`](https://github.com/oceanprotocol/commons/commit/0136695051fe9f753946f1b7de4a55264e3cb174)
- contentLength as string [`3d9935b`](https://github.com/oceanprotocol/commons/commit/3d9935b46553143ed1fad6ee6e6b80c23ca6e59e)
#### [v1.3.2](https://github.com/oceanprotocol/commons/compare/v1.3.1...v1.3.2)
> 22 November 2019
- Release 1.3.2 [`b02cda0`](https://github.com/oceanprotocol/commons/commit/b02cda043c33c00174e4e4f3ec56e7d0aa5386da)
- bump to squid-js v0.8.3 [`8ca727f`](https://github.com/oceanprotocol/commons/commit/8ca727fffc2cc137b978b7d65ed586da405b015b)
#### [v1.3.1](https://github.com/oceanprotocol/commons/compare/v1.3.0...v1.3.1)
> 7 November 2019
- Bump squid [`#206`](https://github.com/oceanprotocol/commons/pull/206)
- bump squid [`ccdef81`](https://github.com/oceanprotocol/commons/commit/ccdef8143ea2f6062c4ffbe65451fdce7c5c40e3)
- downgrade @typescript-eslint packages [`afd4ec9`](https://github.com/oceanprotocol/commons/commit/afd4ec991f384596d26e63f2dcb710eda648457e)
- Release 1.3.1 [`c8a46a5`](https://github.com/oceanprotocol/commons/commit/c8a46a5316c811766907a0b5866989e750b2ff0a)
#### [v1.3.0](https://github.com/oceanprotocol/commons/compare/v1.2.2...v1.3.0)
> 1 November 2019
- bump packages [`#204`](https://github.com/oceanprotocol/commons/pull/204)
- lock to react-scripts 3.0.1 [`da9237e`](https://github.com/oceanprotocol/commons/commit/da9237ea46fd8bc5af26b168bc9a1cd1708fe122)
- web3 1.2.2 & truffle-hd-wallet updates, simplify types [`aec1f78`](https://github.com/oceanprotocol/commons/commit/aec1f782574077510fcad323e87e6c72b3cf039a)
- more test fixes [`fe4f223`](https://github.com/oceanprotocol/commons/commit/fe4f2233f09240c63351f03209d1588fcb7b0dcb)
#### [v1.2.2](https://github.com/oceanprotocol/commons/compare/v1.2.1...v1.2.2)
> 24 October 2019
- IPFS fixes [`#203`](https://github.com/oceanprotocol/commons/pull/203)
- stream files when adding [`77deaf0`](https://github.com/oceanprotocol/commons/commit/77deaf063e2ef3c6650fe7238acae3749bea2a1b)
- Release 1.2.2 [`ae34031`](https://github.com/oceanprotocol/commons/commit/ae34031e9f2cd1a6aea801d50149156baeb41609)
- lazy load IPFS component [`4319115`](https://github.com/oceanprotocol/commons/commit/4319115e0015e888587f2d6538e1301936385137)
#### [v1.2.1](https://github.com/oceanprotocol/commons/compare/v1.2.0...v1.2.1)
> 15 October 2019
- package fixes [`78d4c8b`](https://github.com/oceanprotocol/commons/commit/78d4c8b874ac1764c219a80231c6d06d02539ff7)
- hotfix for Docker build [`8aadcb9`](https://github.com/oceanprotocol/commons/commit/8aadcb9d97f3f6b4b8344718d4f5bd604de0ae39)
- Docker tweaks [`9226bf2`](https://github.com/oceanprotocol/commons/commit/9226bf2799b7c85a0c85e42c537cc53de9eabead)
#### [v1.2.0](https://github.com/oceanprotocol/commons/compare/v1.1.4...v1.2.0)
> 14 October 2019
- Add files to IPFS during publish flow [`#191`](https://github.com/oceanprotocol/commons/pull/191)
- working prototype of adding files to IPFS during publish flow [`1c59d49`](https://github.com/oceanprotocol/commons/commit/1c59d49d5dddcf28ed015ede4a132e6498e91711)
- new client package-lock [`725215b`](https://github.com/oceanprotocol/commons/commit/725215b6ee0b065855f55b7124340abf63a0b357)
- bump IPFS packages [`af8df22`](https://github.com/oceanprotocol/commons/commit/af8df224cb08e052605090f96c9a730f672a6a47)
#### [v1.1.4](https://github.com/oceanprotocol/commons/compare/v1.1.3...v1.1.4)
> 14 October 2019
- Faucet route refactor [`#202`](https://github.com/oceanprotocol/commons/pull/202)
- Put Channels behind feature switch [`#201`](https://github.com/oceanprotocol/commons/pull/201)
- put channels behind feature switch [`a7209f6`](https://github.com/oceanprotocol/commons/commit/a7209f690d925d74c57b8c61498d3cea522d8f70)
- more dynamic intro text [`e007ab2`](https://github.com/oceanprotocol/commons/commit/e007ab20901e2155bd891fd77e2d1aa98daee5f9)
- Release 1.1.4 [`10b6623`](https://github.com/oceanprotocol/commons/commit/10b662343faa4a27bc8259f1406cf622c2c8ac67)
#### [v1.1.3](https://github.com/oceanprotocol/commons/compare/v1.1.2...v1.1.3)
> 8 October 2019
- switch Barge to --no-commons flag [`#200`](https://github.com/oceanprotocol/commons/pull/200)
- added token faucet functionality [`#199`](https://github.com/oceanprotocol/commons/pull/199)
- prettier [`3235dc1`](https://github.com/oceanprotocol/commons/commit/3235dc1d5e24f314e6d9b2886d709eadc25913df)
- - increased token amount given [`aeb24aa`](https://github.com/oceanprotocol/commons/commit/aeb24aadda30934785436a0501d57e71a69f2708)
- Release 1.1.3 [`8f0988e`](https://github.com/oceanprotocol/commons/commit/8f0988e1b0978dc58a235edbd70bf742cb41e511)
#### [v1.1.2](https://github.com/oceanprotocol/commons/compare/v1.1.1...v1.1.2)
> 24 September 2019
- show web3 message on asset loading failure [`#198`](https://github.com/oceanprotocol/commons/pull/198)
- Release 1.1.2 [`29e6e8b`](https://github.com/oceanprotocol/commons/commit/29e6e8b5afdc2d085b45aa51049b9b59e501e293)
#### [v1.1.1](https://github.com/oceanprotocol/commons/compare/v1.1.0...v1.1.1)
> 13 September 2019
- fix error output on asset details loading [`#196`](https://github.com/oceanprotocol/commons/pull/196)
- fix event bubbling on wallet selector button [`#197`](https://github.com/oceanprotocol/commons/issues/197)
- asset details refactor [`821f80d`](https://github.com/oceanprotocol/commons/commit/821f80da0f6c9bda862472f2a2b094a92a73ce6e)
- Release 1.1.1 [`33b14bc`](https://github.com/oceanprotocol/commons/commit/33b14bc8e346c18e853585cd79770776d24b20ed)
- test fixes [`12f6cfc`](https://github.com/oceanprotocol/commons/commit/12f6cfcb8049fb035bcbeabe099af51329334667)
#### [v1.1.0](https://github.com/oceanprotocol/commons/compare/v1.0.2...v1.1.0)
> 11 September 2019
- bump to squid-js v0.7.2 [`#189`](https://github.com/oceanprotocol/commons/pull/189)
- get faucet network from response [`#195`](https://github.com/oceanprotocol/commons/pull/195)
- add code climate [`#194`](https://github.com/oceanprotocol/commons/pull/194)
- Disable auto-deployments for now [`#193`](https://github.com/oceanprotocol/commons/pull/193)
- code fixes [`1f7845a`](https://github.com/oceanprotocol/commons/commit/1f7845aa221b486abb0f51bdc156d2bed5c0e16a)
- Release 1.1.0 [`c4029b1`](https://github.com/oceanprotocol/commons/commit/c4029b147c2bda0a846a2365f1d96555eabb454b)
- disable auto-deployments for now [`4ae344a`](https://github.com/oceanprotocol/commons/commit/4ae344a861c76527bce8eacb55d86e83cc7c6ae9)
#### [v1.0.2](https://github.com/oceanprotocol/commons/compare/v1.0.1...v1.0.2)
> 2 September 2019
- Fix vulnerabilities [`#190`](https://github.com/oceanprotocol/commons/pull/190)
- Fix faucet on consume, publish category warning [`#185`](https://github.com/oceanprotocol/commons/pull/185)
- Consume hang fix [`#184`](https://github.com/oceanprotocol/commons/pull/184)
- Optional pricing [`#182`](https://github.com/oceanprotocol/commons/pull/182)
- package updates and test fixes [`#179`](https://github.com/oceanprotocol/commons/pull/179)
- Stop wallet event propagation [`#181`](https://github.com/oceanprotocol/commons/pull/181)
- bump packages, fresh package-lock [`e2aef49`](https://github.com/oceanprotocol/commons/commit/e2aef49256047834cee004e4c5ca2a03a6d7bf2a)
- bump packages [`b3ee23e`](https://github.com/oceanprotocol/commons/commit/b3ee23e728ab3654ad054eb166cb5e6a73ba9c4e)
- bump packages [`509a69b`](https://github.com/oceanprotocol/commons/commit/509a69b53d773a4db77e788ffc0673ed2a846633)
#### [v1.0.1](https://github.com/oceanprotocol/commons/compare/v1.0.0...v1.0.1)
> 18 July 2019
- Update About page [`#180`](https://github.com/oceanprotocol/commons/pull/180)
- update about text [`8d06a67`](https://github.com/oceanprotocol/commons/commit/8d06a67e7fe24a4e420666e78d173b40feb7818b)
- Release 1.0.1 [`3cafd60`](https://github.com/oceanprotocol/commons/commit/3cafd60b07cbe73983e898d1cd89afd1a8e7e051)
### [v1.0.0](https://github.com/oceanprotocol/commons/compare/v0.6.3...v1.0.0)
> 17 July 2019
- Wallet selection [`#176`](https://github.com/oceanprotocol/commons/pull/176)
- Updated the script to deploy on pacific-ocean [`#178`](https://github.com/oceanprotocol/commons/pull/178)
- run tests against Aquarius & Brizo pacific test instances [`#173`](https://github.com/oceanprotocol/commons/pull/173)
- Modal fixes [`#177`](https://github.com/oceanprotocol/commons/pull/177)
- remove wallet setup from Cypress [`01fb305`](https://github.com/oceanprotocol/commons/commit/01fb305612a4c85190f569870cc1ef37a2c4593d)
- allow login to wallets [`adf52ce`](https://github.com/oceanprotocol/commons/commit/adf52ceb77302d5a7ebe4e866766cc540f51a778)
- fix re-renders caused by withTracker HOC [`ca58d7d`](https://github.com/oceanprotocol/commons/commit/ca58d7d0b170913352936a47cb33661f06123abb)
#### [v0.6.3](https://github.com/oceanprotocol/commons/compare/v0.6.2...v0.6.3)
> 9 July 2019
- Release 0.6.3 [`edbc327`](https://github.com/oceanprotocol/commons/commit/edbc3276d75b5858278be050d65d5fefcf48aaae)
- server: adapt to new tsc output [`362a266`](https://github.com/oceanprotocol/commons/commit/362a26651822f450d4b9a528c7fa46d4b9bbbfba)
#### [v0.6.2](https://github.com/oceanprotocol/commons/compare/v0.6.1...v0.6.2)
> 9 July 2019
- Release 0.6.2 [`2a9d747`](https://github.com/oceanprotocol/commons/commit/2a9d7476c8a3038e2edcadc36df8861921512f2a)
- server build fix [`4ed72f3`](https://github.com/oceanprotocol/commons/commit/4ed72f382c2c0ea0ee5fedc0bdb6050555b88361)
#### [v0.6.1](https://github.com/oceanprotocol/commons/compare/v0.6.0...v0.6.1)
> 9 July 2019
- Reporting data sets [`#172`](https://github.com/oceanprotocol/commons/pull/172)
- email sending via sendgrid [`cee4997`](https://github.com/oceanprotocol/commons/commit/cee49978c495a64b20e3a5f3a3ae296dbef140dd)
- send Slack message [`fa078c6`](https://github.com/oceanprotocol/commons/commit/fa078c6c4c5677a3f7bc98751c5c726f377a1e00)
- add Modal component [`cb1e0ca`](https://github.com/oceanprotocol/commons/commit/cb1e0ca624a6a0aa72b87cf913f581efbe81d320)
#### [v0.6.0](https://github.com/oceanprotocol/commons/compare/v0.5.4...v0.6.0)
> 4 July 2019
- default all connections to Pacific [`#164`](https://github.com/oceanprotocol/commons/pull/164)
- fix version tags, fixed squid-js [`#166`](https://github.com/oceanprotocol/commons/pull/166)
- Connect to pacific [`#167`](https://github.com/oceanprotocol/commons/pull/167)
- Cypress cleanup & fixes [`#165`](https://github.com/oceanprotocol/commons/pull/165)
- End-to-end testing setup with Cypress [`#134`](https://github.com/oceanprotocol/commons/pull/134)
- fix web3 version + use truffle-hdwallet [`d364a7b`](https://github.com/oceanprotocol/commons/commit/d364a7beef5dd547b2d41f2907736481734b1c8b)
- add tests [`e5960d3`](https://github.com/oceanprotocol/commons/commit/e5960d3fd621ebe3d7af267d98cfcce1262e93fb)
- fresh package-lock [`9b9db4b`](https://github.com/oceanprotocol/commons/commit/9b9db4b655b10d2255201a2abc37b234be2e9c68)
#### [v0.5.4](https://github.com/oceanprotocol/commons/compare/v0.5.3...v0.5.4)
> 25 June 2019
- bump to squid-js v0.6.0 [`#163`](https://github.com/oceanprotocol/commons/pull/163)
- switch to axios for file url check [`#162`](https://github.com/oceanprotocol/commons/pull/162)
- switch to axios for file publish [`7043266`](https://github.com/oceanprotocol/commons/commit/70432662542a4de24133bfdd8906e569adfeb606)
- Release 0.5.4 [`9699030`](https://github.com/oceanprotocol/commons/commit/96990309e044bc2355951b9c72e0f7cefdf82feb)
- bump to squid-js v0.6.2 [`57e9cd6`](https://github.com/oceanprotocol/commons/commit/57e9cd69ffcbdb341f39349d44ea3aa785f51f65)
#### [v0.5.3](https://github.com/oceanprotocol/commons/compare/v0.5.2...v0.5.3)
> 19 June 2019
- SEO component [`#159`](https://github.com/oceanprotocol/commons/pull/159)
- Release 0.5.3 [`75a262f`](https://github.com/oceanprotocol/commons/commit/75a262f5d633bd0f053ead0b5fd44d4ad56bd029)
- add robots.txt [`3024944`](https://github.com/oceanprotocol/commons/commit/30249447ceb7ccbc2b9347d7a757a93cd690fcbd)
#### [v0.5.2](https://github.com/oceanprotocol/commons/compare/v0.5.1...v0.5.2)
> 19 June 2019
- add config values for Pacific connection [`#161`](https://github.com/oceanprotocol/commons/pull/161)
- Refactor VersionNumbers to be sourced from squid-js [`#160`](https://github.com/oceanprotocol/commons/pull/160)
- output overall status [`059ae62`](https://github.com/oceanprotocol/commons/commit/059ae62f967f40d9635cc729d31ab84fa913df8b)
- switch to using squid-js for version numbers [`c4f862b`](https://github.com/oceanprotocol/commons/commit/c4f862baa5fa835ec3ff3aafeefa60f524d011b2)
- collapse contracts by default [`838757f`](https://github.com/oceanprotocol/commons/commit/838757f5e832973f54540b0bd78fd7b6ec3fcafe)
#### [v0.5.1](https://github.com/oceanprotocol/commons/compare/v0.5.0...v0.5.1)
> 14 June 2019
- Submarine links and Pacific support [`#158`](https://github.com/oceanprotocol/commons/pull/158)
- link up transaction IDs with submarine, support pacific too [`97d6c27`](https://github.com/oceanprotocol/commons/commit/97d6c2756ed31f90f960dae21b8889d61232cd09)
- link version numbers to release pages [`6f7edfa`](https://github.com/oceanprotocol/commons/commit/6f7edfa30f3b188e87cbce3c2404db313920e305)
- Release 0.5.1 [`c063ad8`](https://github.com/oceanprotocol/commons/commit/c063ad82cb5e3a51b5083427fc50afc5b161533a)
#### [v0.5.0](https://github.com/oceanprotocol/commons/compare/v0.4.5...v0.5.0)
> 12 June 2019
- make price a string, Aquarius 0.2.7 validation updates [`#142`](https://github.com/oceanprotocol/commons/pull/142)
- simplify Ocean URIs and env variables, document .env usage [`#157`](https://github.com/oceanprotocol/commons/pull/157)
- version number fixes [`#156`](https://github.com/oceanprotocol/commons/pull/156)
- additions to Ocean versions output [`#155`](https://github.com/oceanprotocol/commons/pull/155)
- highly simplify Ocean URIs and env variables [`4b919f2`](https://github.com/oceanprotocol/commons/commit/4b919f2ee86b5e507d293fbe6684d296c2574d28)
- update tests [`264a066`](https://github.com/oceanprotocol/commons/commit/264a066874dbe55950f54754924e2a5c4d2b69ec)
- mock file fetch request [`7d727bc`](https://github.com/oceanprotocol/commons/commit/7d727bcdf95ada24304cc03a2a63c35a644d2a08)
#### [v0.4.5](https://github.com/oceanprotocol/commons/compare/v0.4.4...v0.4.5)
> 6 June 2019
- hotfix for failing server run on Docker [`#154`](https://github.com/oceanprotocol/commons/pull/154)
- Release 0.4.5 [`e499430`](https://github.com/oceanprotocol/commons/commit/e4994308ad369595d88e1d7b524d986d80c58cd7)
#### [v0.4.4](https://github.com/oceanprotocol/commons/compare/v0.4.3...v0.4.4)
> 6 June 2019
- switch to new Travis caching strategy [`#153`](https://github.com/oceanprotocol/commons/pull/153)
- fix account address display in Firefox [`#152`](https://github.com/oceanprotocol/commons/pull/152)
- Release 0.4.4 [`5f19fbe`](https://github.com/oceanprotocol/commons/commit/5f19fbe4206045a6ba086173403f1594d0806be1)
#### [v0.4.3](https://github.com/oceanprotocol/commons/compare/v0.4.2...v0.4.3)
> 3 June 2019
- output event messages during publishing flow [`#151`](https://github.com/oceanprotocol/commons/pull/151)
- squid-js v0.5.14 [`b27c458`](https://github.com/oceanprotocol/commons/commit/b27c458fb20af086063556831f8bc695c5f1c89b)
- Release 0.4.3 [`303a7bf`](https://github.com/oceanprotocol/commons/commit/303a7bf12ca26a716de38ad9a14ef274c60b661b)
- update tests [`56604b9`](https://github.com/oceanprotocol/commons/commit/56604b972c6dc99953e31cc4a4e24cd7c0e0a34e)
#### [v0.4.2](https://github.com/oceanprotocol/commons/compare/v0.4.1...v0.4.2)
> 31 May 2019
- test fixes [`#150`](https://github.com/oceanprotocol/commons/pull/150)
- Reuse agreements on consume flow [`#148`](https://github.com/oceanprotocol/commons/pull/148)
- show faucet version number, small refactor [`#147`](https://github.com/oceanprotocol/commons/pull/147)
- change brizo fallback address [`#146`](https://github.com/oceanprotocol/commons/pull/146)
- prevent test runner conflicts, kick out jasmine, lock TypeScript [`9888d78`](https://github.com/oceanprotocol/commons/commit/9888d78f99cebc84e8f10aa0402c2ef0bd15df49)
- formatting and test tweaks [`1e6b334`](https://github.com/oceanprotocol/commons/commit/1e6b334cdca79e93a585d8c23f6551142d7bf1c0)
- prevent text runner conflicts, kick out jasmine, TypeScript update [`4fd623f`](https://github.com/oceanprotocol/commons/commit/4fd623f28e3d1b1d3799ce59c6563cfee81646d2)
#### [v0.4.1](https://github.com/oceanprotocol/commons/compare/v0.4.0...v0.4.1)
> 28 May 2019
- output version numbers, simplify release tasks, make automatic changelog work [`#145`](https://github.com/oceanprotocol/commons/pull/145)
- version numbers as component, fetch Brizo & Aquarius [`043d942`](https://github.com/oceanprotocol/commons/commit/043d9429ac76fe4af8099f46d73986e0e488a055)
- simplify release tasks, automatic changelog [`41d6726`](https://github.com/oceanprotocol/commons/commit/41d6726beda89a50a3d2c1232451226cabf174e3)
- package-locks [`c742426`](https://github.com/oceanprotocol/commons/commit/c742426b1a00a1f5776458dda133742256f4bdd9)
#### [v0.4.0](https://github.com/oceanprotocol/commons/compare/v0.3.2...v0.4.0)
> 28 May 2019
- AI For Good: channels, new front-page & categories list [`#125`](https://github.com/oceanprotocol/commons/pull/125)
- rebase fix [`90b163b`](https://github.com/oceanprotocol/commons/commit/90b163b2aa1703fd4e450e4e83076ed4522b0aad)
- category search, make multiple layouts on one page possible [`1b1ac5c`](https://github.com/oceanprotocol/commons/commit/1b1ac5c9ef75e3a67d949a07e8177245e7912fe7)
- channel teaser component, use on channels page [`1b7d343`](https://github.com/oceanprotocol/commons/commit/1b7d34398490a14a0fd62db7b28e54dab14acc30)
#### [v0.3.2](https://github.com/oceanprotocol/commons/compare/v0.3.1...v0.3.2)
> 27 May 2019
- Add range error handling [`#144`](https://github.com/oceanprotocol/commons/pull/144)
- update changelog [`7669545`](https://github.com/oceanprotocol/commons/commit/7669545d1391b764fd42419c41162182b93d9118)
- Release 0.3.2 [`63b87cf`](https://github.com/oceanprotocol/commons/commit/63b87cfb82b410886baefe8a20da0b7f1d3ac34e)
- add range error handling [`2687c78`](https://github.com/oceanprotocol/commons/commit/2687c7847425c549927993ee396d8e12072ad9da)
#### [v0.3.1](https://github.com/oceanprotocol/commons/compare/v0.3.0...v0.3.1)
> 27 May 2019
- remove AI For Good as category [`#143`](https://github.com/oceanprotocol/commons/pull/143)
- update changelog [`88872cc`](https://github.com/oceanprotocol/commons/commit/88872cc020f0c10efcd282169c491b5e05cef916)
- Release 0.3.1 [`54f3f17`](https://github.com/oceanprotocol/commons/commit/54f3f170c3fa2be750963afa19103d1c2e202586)
#### [v0.3.0](https://github.com/oceanprotocol/commons/compare/v0.2.14...v0.3.0)
> 21 May 2019
- Consume feedback mesages [`#110`](https://github.com/oceanprotocol/commons/pull/110)
- fresh package-lock [`743fe53`](https://github.com/oceanprotocol/commons/commit/743fe533dc848dd1f120e6086e3ef311a23395a0)
- message tweaks [`0e12204`](https://github.com/oceanprotocol/commons/commit/0e12204a5a0b72b070f5b7a8cc9d14c351cff3c2)
- message output refactor, testing [`879f511`](https://github.com/oceanprotocol/commons/commit/879f51170ea0dfdf97d72a3594ac73b920d52162)
#### [v0.2.14](https://github.com/oceanprotocol/commons/compare/v0.2.13...v0.2.14)
> 20 May 2019
- AI Commons link [`#137`](https://github.com/oceanprotocol/commons/pull/137)
- add AI Commons logo [`081772c`](https://github.com/oceanprotocol/commons/commit/081772ce3764b95d67cf685c5d71c335c7f68d47)
- clarify changelog updating [`bf3378b`](https://github.com/oceanprotocol/commons/commit/bf3378bc489b197cc2fc0d4f955e376b39dee1ca)
- update changelog [`7e2d7ac`](https://github.com/oceanprotocol/commons/commit/7e2d7ac6ad06c7acd26851d95ba3ab673f7a45b9)
#### [v0.2.13](https://github.com/oceanprotocol/commons/compare/v0.2.12...v0.2.13)
> 20 May 2019
- Output total assets [`#128`](https://github.com/oceanprotocol/commons/pull/128)
- Updated Telegram link [`#138`](https://github.com/oceanprotocol/commons/pull/138)
- output total assets in the marketplace, use new Market Provider for it [`2244082`](https://github.com/oceanprotocol/commons/commit/22440827cafb8ccc4621e49df12b96b1192dd5f0)
- styling, AI Commons link [`e6fc7a9`](https://github.com/oceanprotocol/commons/commit/e6fc7a9085805a18a1779de4b9628dcc96403f4f)
- update changelog [`7df6958`](https://github.com/oceanprotocol/commons/commit/7df695812325f6470cabd036f744cf2e5281ae6f)
#### [v0.2.12](https://github.com/oceanprotocol/commons/compare/v0.2.11...v0.2.12)
> 17 May 2019
- Fix versions vwv.y.z [`#135`](https://github.com/oceanprotocol/commons/pull/135)
- consistent AI For Good category naming [`#136`](https://github.com/oceanprotocol/commons/pull/136)
- update changelog [`a831848`](https://github.com/oceanprotocol/commons/commit/a83184851ca1293a684463b32bd2dbc0c59d5583)
- Release 0.2.12 [`8c4fefc`](https://github.com/oceanprotocol/commons/commit/8c4fefcee1e4c7c9e02eeb97fe90911e2bc54ef6)
#### [v0.2.11](https://github.com/oceanprotocol/commons/compare/v0.2.10...v0.2.11)
> 16 May 2019
- url encode & decode search term [`#130`](https://github.com/oceanprotocol/commons/pull/130)
- fix react-ga initialization [`#129`](https://github.com/oceanprotocol/commons/pull/129)
- update changelog [`d49cace`](https://github.com/oceanprotocol/commons/commit/d49cace56a0aa551e26ad4eac2ecd196dcc499af)
- Release 0.2.11 [`e8b150a`](https://github.com/oceanprotocol/commons/commit/e8b150a8cb5d5fc3bae8c4684cfa73494752fb6d)
#### [v0.2.10](https://github.com/oceanprotocol/commons/compare/v0.2.9...v0.2.10)
> 15 May 2019
- AI for Good category [`#126`](https://github.com/oceanprotocol/commons/pull/126)
- Network detection tweaks [`#122`](https://github.com/oceanprotocol/commons/pull/122)
- bump squid-js [`97b20b4`](https://github.com/oceanprotocol/commons/commit/97b20b4e9b09f3ade7d55636fb6ef169bacf4222)
- isCorrectNetwork -&gt; isOceanNetwork [`807723b`](https://github.com/oceanprotocol/commons/commit/807723be350a60da97f25c53eed102bafcbf1c3c)
- less verbose error logging [`f49fa14`](https://github.com/oceanprotocol/commons/commit/f49fa14b2aa7d35a91f8003ddd297b4f2df8ca78)
#### [v0.2.9](https://github.com/oceanprotocol/commons/compare/v0.2.8...v0.2.9)
> 13 May 2019
- add Duero to network detection [`#121`](https://github.com/oceanprotocol/commons/pull/121)
- add duero to network detection [`f636170`](https://github.com/oceanprotocol/commons/commit/f636170e3cfede29ae53576ad2f56c75b3d47655)
- update changelog [`70deb12`](https://github.com/oceanprotocol/commons/commit/70deb126b8f7d2867d6c04c179ea18d9f24d17d6)
- Release 0.2.9 [`57ea109`](https://github.com/oceanprotocol/commons/commit/57ea109ec29f2e2653f2121933ea4487adeb109b)
#### [v0.2.8](https://github.com/oceanprotocol/commons/compare/v0.2.7...v0.2.8)
> 10 May 2019
- Fix publish step 2 [`#120`](https://github.com/oceanprotocol/commons/pull/120)
- update changelog [`57b7547`](https://github.com/oceanprotocol/commons/commit/57b7547a21c233da92a959b426d4e6def90f3806)
- pass through all props to textarea [`90c252c`](https://github.com/oceanprotocol/commons/commit/90c252c055c4b162afa13e6bc9493de226dd8610)
- Release 0.2.8 [`784d6a1`](https://github.com/oceanprotocol/commons/commit/784d6a111fc449a7a2dcace4c06c493f927d5b44)
#### [v0.2.7](https://github.com/oceanprotocol/commons/compare/v0.2.6...v0.2.7)
> 6 May 2019
- Add more tests [`#117`](https://github.com/oceanprotocol/commons/pull/117)
- more tests [`9bdfca4`](https://github.com/oceanprotocol/commons/commit/9bdfca4be4bc4568035f5335ea997413c699d22a)
- update changelog [`30d6679`](https://github.com/oceanprotocol/commons/commit/30d6679eb2ae1cb40f8deb053b49d5a6fb71f089)
- consume fix [`20299d9`](https://github.com/oceanprotocol/commons/commit/20299d91164b3dc7b4b1c7183bf34d8ca42ea201)
#### [v0.2.6](https://github.com/oceanprotocol/commons/compare/v0.2.5...v0.2.6)
> 30 April 2019
- add blockies for account display [`#115`](https://github.com/oceanprotocol/commons/pull/115)
- Setup coverage reporting [`#116`](https://github.com/oceanprotocol/commons/pull/116)
- report test coverage to Codacy [`5e8ed02`](https://github.com/oceanprotocol/commons/commit/5e8ed026d556e98471fb9e0fbb5b680955e0dc8a)
- hotfix for search input [`a8969bb`](https://github.com/oceanprotocol/commons/commit/a8969bb70c0f206ea38c969d3b22706d8a9af29d)
- Release 0.2.6 [`269acdf`](https://github.com/oceanprotocol/commons/commit/269acdfc8fc106090232b0fa9716d04c7e195062)
#### [v0.2.5](https://github.com/oceanprotocol/commons/compare/v0.2.4...v0.2.5)
> 29 April 2019
- sanitize search input [`#114`](https://github.com/oceanprotocol/commons/pull/114)
- update telegram link [`#113`](https://github.com/oceanprotocol/commons/pull/113)
- update changelog [`0d3afc8`](https://github.com/oceanprotocol/commons/commit/0d3afc821900fada63013fc8aec434a634c67199)
- Release 0.2.5 [`8290609`](https://github.com/oceanprotocol/commons/commit/82906093e60f4b52302b6f08f19787f65b24fafd)
#### [v0.2.4](https://github.com/oceanprotocol/commons/compare/v0.2.3...v0.2.4)
> 29 April 2019
- fix search titles [`#112`](https://github.com/oceanprotocol/commons/pull/112)
- Release 0.2.4 [`8f832b6`](https://github.com/oceanprotocol/commons/commit/8f832b63220a46a8de0061ffc2498186e2099315)
#### [v0.2.3](https://github.com/oceanprotocol/commons/compare/v0.2.2...v0.2.3)
> 25 April 2019
- fix datepicker styles [`#109`](https://github.com/oceanprotocol/commons/pull/109)
- update changelog [`8a79db0`](https://github.com/oceanprotocol/commons/commit/8a79db04c8792e48224e225b70232441d9653283)
- hotfix for asset title user input [`17082c8`](https://github.com/oceanprotocol/commons/commit/17082c817f11f5124eb5865371dd07e6806a77da)
- lock Travis to Node.js v11 [`7e9013e`](https://github.com/oceanprotocol/commons/commit/7e9013e7cd37d060ce897dd84a55e471372ed843)
#### [v0.2.2](https://github.com/oceanprotocol/commons/compare/v0.2.1...v0.2.2)
> 23 April 2019
- client: lock to web3 v1.0.0-beta.37, bump packages [`#107`](https://github.com/oceanprotocol/commons/pull/107)
- bump packages [`fe821f9`](https://github.com/oceanprotocol/commons/commit/fe821f95481b4af7a7cb72e15e36e3c39b3aac4e)
- lock to web3 v1.0.0-beta.37 [`d6744c9`](https://github.com/oceanprotocol/commons/commit/d6744c9b8f374b24000a37d91787efe3210031c6)
- bump squid-js [`11ee08f`](https://github.com/oceanprotocol/commons/commit/11ee08fad9821efcd0dca290a921e392808e4962)
#### [v0.2.1](https://github.com/oceanprotocol/commons/compare/v0.2.0...v0.2.1)
> 15 April 2019
- New pagination UI [`#105`](https://github.com/oceanprotocol/commons/pull/105)
- package updates [`b62753a`](https://github.com/oceanprotocol/commons/commit/b62753a8203d24702951af2c588b5e73ba542bfe)
- new pagination UI [`8a5d89e`](https://github.com/oceanprotocol/commons/commit/8a5d89e6400ee9601c6861583708037d9be9edf3)
- fix test [`b03074e`](https://github.com/oceanprotocol/commons/commit/b03074ecee40c7decfe02e258fe2595ae6e5755d)
#### [v0.2.0](https://github.com/oceanprotocol/commons/compare/v0.1.9...v0.2.0)
> 15 April 2019
- Refactor web3 detection and bootstrapping process [`#101`](https://github.com/oceanprotocol/commons/pull/101)
- move web3/ocean detection out of App.jsx [`adab473`](https://github.com/oceanprotocol/commons/commit/adab473f4ede5280f477fb36a9fee430374ff265)
- add tests, use react-testing-library [`745969f`](https://github.com/oceanprotocol/commons/commit/745969f6867a82a8259bf9cf81bdc0ebeff17c87)
- cleanup and more fine-grained bootstrap process [`3a8d6ea`](https://github.com/oceanprotocol/commons/commit/3a8d6ea284dca4321c8a8684bb5fe45e1414e9f5)
#### [v0.1.9](https://github.com/oceanprotocol/commons/compare/v0.1.8...v0.1.9)
> 15 April 2019
- bump packages [`#104`](https://github.com/oceanprotocol/commons/pull/104)
- Fix typo [`#103`](https://github.com/oceanprotocol/commons/pull/103)
- server task cleanup [`#102`](https://github.com/oceanprotocol/commons/pull/102)
- task cleanup [`ce1e32b`](https://github.com/oceanprotocol/commons/commit/ce1e32bdcfecc5b07732017d1f7352c8b0d96712)
- update changelog [`6c13601`](https://github.com/oceanprotocol/commons/commit/6c136011d2c53c478b1825a80ff57d9b6bfe2ad5)
- travis tweaks [`e81edcd`](https://github.com/oceanprotocol/commons/commit/e81edcd973dfc36439fa28890d547fcac69c8150)
#### [v0.1.8](https://github.com/oceanprotocol/commons/compare/v0.1.7...v0.1.8)
> 11 April 2019
- Adapt to new faucet server response format [`#100`](https://github.com/oceanprotocol/commons/pull/100)
- Truncation of long strings [`#99`](https://github.com/oceanprotocol/commons/pull/99)
- more truncation with react-dotdotdot [`686ff8e`](https://github.com/oceanprotocol/commons/commit/686ff8e8bd2ef1472fa944317fe48515821f2aff)
- output transaction hash [`4a6053e`](https://github.com/oceanprotocol/commons/commit/4a6053ec825f1839ea12db2502166872ad82e553)
- improve text truncation [`fddb630`](https://github.com/oceanprotocol/commons/commit/fddb6309081187dcbda7b9da7a74df2f3d822b1e)
#### [v0.1.7](https://github.com/oceanprotocol/commons/compare/v0.1.6...v0.1.7)
> 10 April 2019
- rollback to squid-js 0.5.2 [`#98`](https://github.com/oceanprotocol/commons/pull/98)
- add more open source licenses [`#97`](https://github.com/oceanprotocol/commons/pull/97)
- update changelog [`48331ff`](https://github.com/oceanprotocol/commons/commit/48331ffe1e3ceded4def24a5ad86dca88d7ef8d8)
- Release 0.1.7 [`605bf4b`](https://github.com/oceanprotocol/commons/commit/605bf4bafab775fb63246b1bafbe3a81170a10d1)
- update main screenshot [`0a61fde`](https://github.com/oceanprotocol/commons/commit/0a61fdeee39e39e11ec4898beace77928883eab5)
#### [v0.1.6](https://github.com/oceanprotocol/commons/compare/v0.1.5...v0.1.6)
> 10 April 2019
- adapt to account & network changes [`#94`](https://github.com/oceanprotocol/commons/pull/94)
- update changelog [`067b797`](https://github.com/oceanprotocol/commons/commit/067b797d4a89202d562281380a178b1df2f1d5a1)
- update readme [`c931be5`](https://github.com/oceanprotocol/commons/commit/c931be5457c3b65f4f213df608e2c6b75be9e5fe)
- Release 0.1.6 [`fc24f38`](https://github.com/oceanprotocol/commons/commit/fc24f3852a39f09d1fc6eb15bfbf5a64a7f59e15)
#### [v0.1.5](https://github.com/oceanprotocol/commons/compare/v0.1.4...v0.1.5)
> 9 April 2019
- bump packages [`#93`](https://github.com/oceanprotocol/commons/pull/93)
- Release 0.1.5 [`fef8887`](https://github.com/oceanprotocol/commons/commit/fef888773ee89860a68f7e5410184440cb7a1426)
#### [v0.1.4](https://github.com/oceanprotocol/commons/compare/0.1.3...v0.1.4)
> 9 April 2019
- fix release tag format [`#92`](https://github.com/oceanprotocol/commons/pull/92)
- Release 0.1.4 [`09761c1`](https://github.com/oceanprotocol/commons/commit/09761c13fae3ccf3169589ca8448aa99ac78d5ca)
#### [0.1.3](https://github.com/oceanprotocol/commons/compare/v0.1.2...0.1.3)
> 9 April 2019
- New release process [`#91`](https://github.com/oceanprotocol/commons/pull/91)
- Make page numbers part of URL [`#90`](https://github.com/oceanprotocol/commons/pull/90)
- Fix: file URLs get decrypted, not files [`#89`](https://github.com/oceanprotocol/commons/pull/89)
- add release-it tasks [`48c48d5`](https://github.com/oceanprotocol/commons/commit/48c48d530b95ea7aa4998ae2391c1619654c99e1)
- generate changelog [`cc394f3`](https://github.com/oceanprotocol/commons/commit/cc394f3ccca7a47c2531764b1758aaaed4469705)
- remove bumpversion, add documentation [`499e319`](https://github.com/oceanprotocol/commons/commit/499e31991bbd58fe291dd1c401af0c9a8c29a7d3)
#### [v0.1.2](https://github.com/oceanprotocol/commons/compare/v0.1.1...v0.1.2)
> 9 April 2019
- search updates for Aquarius 0.2.2 [`#88`](https://github.com/oceanprotocol/commons/pull/88)
- Automatically deploy on new tags on k8s [`#87`](https://github.com/oceanprotocol/commons/pull/87)
- Feature/bumpversion [`#81`](https://github.com/oceanprotocol/commons/pull/81)
- Various fixes [`#83`](https://github.com/oceanprotocol/commons/pull/83)
- Added GH releases [`#80`](https://github.com/oceanprotocol/commons/pull/80)
- consume & faucet tweaks for Web3 cases [`4dcc6c8`](https://github.com/oceanprotocol/commons/commit/4dcc6c831a015a1cf758218e9109f38b4f310d94)
- mobile tweaks for search results and main menu [`5340df0`](https://github.com/oceanprotocol/commons/commit/5340df0993eef5a35526d306f96bd020c0e64422)
- Added GH templates [`ed7beb2`](https://github.com/oceanprotocol/commons/commit/ed7beb295bebf6ebceabd656b0fe21abc57fcca3)
#### [v0.1.1](https://github.com/oceanprotocol/commons/compare/v0.1.0...v0.1.1)
> 8 April 2019
- strip HTML from meta page title [`#79`](https://github.com/oceanprotocol/commons/pull/79)
#### v0.1.0
> 8 April 2019
- render asset description with markdown [`#76`](https://github.com/oceanprotocol/commons/pull/76)
- Change sample data set/search to one w/ results [`#77`](https://github.com/oceanprotocol/commons/pull/77)
- analytics [`#74`](https://github.com/oceanprotocol/commons/pull/74)
- add initial about copy [`#73`](https://github.com/oceanprotocol/commons/pull/73)
- Make search more useful [`#50`](https://github.com/oceanprotocol/commons/pull/50)
- web2 and web3 [`#72`](https://github.com/oceanprotocol/commons/pull/72)
- Account popover tweaks [`#69`](https://github.com/oceanprotocol/commons/pull/69)
- fix dateCreated [`#70`](https://github.com/oceanprotocol/commons/pull/70)
- category fixes [`#67`](https://github.com/oceanprotocol/commons/pull/67)
- Change "i.e." to "e.g." in placeholders [`#66`](https://github.com/oceanprotocol/commons/pull/66)
- Feature/docker [`#62`](https://github.com/oceanprotocol/commons/pull/62)
- Style tweaks [`#59`](https://github.com/oceanprotocol/commons/pull/59)
- docker-compose + dockerfiles [`#61`](https://github.com/oceanprotocol/commons/pull/61)
- add basic SEO [`#60`](https://github.com/oceanprotocol/commons/pull/60)
- change brizo address [`#55`](https://github.com/oceanprotocol/commons/pull/55)
- rename to commons [`#51`](https://github.com/oceanprotocol/commons/pull/51)
- add remote config for Nile [`#48`](https://github.com/oceanprotocol/commons/pull/48)
- pass through faucet server response, error feedback [`#49`](https://github.com/oceanprotocol/commons/pull/49)
- Add date picker, ask for dateCreated [`#44`](https://github.com/oceanprotocol/commons/pull/44)
- More assets styling [`#36`](https://github.com/oceanprotocol/commons/pull/36)
- update file metadata structure [`#41`](https://github.com/oceanprotocol/commons/pull/41)
- bump packages [`#45`](https://github.com/oceanprotocol/commons/pull/45)
- switch to @oceanprotocol/typographies package [`#42`](https://github.com/oceanprotocol/commons/pull/42)
- dev instructions [`#39`](https://github.com/oceanprotocol/commons/pull/39)
- consume flow [`#32`](https://github.com/oceanprotocol/commons/pull/32)
- fix publishing nested categories in array [`#37`](https://github.com/oceanprotocol/commons/pull/37)
- More simple dev setup for client/server split [`#35`](https://github.com/oceanprotocol/commons/pull/35)
- Fix/frontend fixes [`#34`](https://github.com/oceanprotocol/commons/pull/34)
- add changelog [`#33`](https://github.com/oceanprotocol/commons/pull/33)
- Front-page tweaks & user asset list [`#19`](https://github.com/oceanprotocol/commons/pull/19)
- add invoice view [`#29`](https://github.com/oceanprotocol/commons/pull/29)
- root app-&gt;/client, microservice in /server [`#28`](https://github.com/oceanprotocol/commons/pull/28)
- Account & Faucet UI [`#25`](https://github.com/oceanprotocol/commons/pull/25)
- New publish flow [`#23`](https://github.com/oceanprotocol/commons/pull/23)
- package updates [`#27`](https://github.com/oceanprotocol/commons/pull/27)
- faucet request function [`#24`](https://github.com/oceanprotocol/commons/pull/24)
- search fix [`#21`](https://github.com/oceanprotocol/commons/pull/21)
- metadata fixes [`#17`](https://github.com/oceanprotocol/commons/pull/17)
- Asset styling [`#18`](https://github.com/oceanprotocol/commons/pull/18)
- Adding multiple files UI [`#16`](https://github.com/oceanprotocol/commons/pull/16)
- Feature/states flows [`#15`](https://github.com/oceanprotocol/commons/pull/15)
- Web3 messages [`#14`](https://github.com/oceanprotocol/commons/pull/14)
- fix form input props flow [`#13`](https://github.com/oceanprotocol/commons/pull/13)
- Base Layout [`#12`](https://github.com/oceanprotocol/commons/pull/12)
- Feature/leaner bootstrap [`#11`](https://github.com/oceanprotocol/commons/pull/11)
- Form components [`#7`](https://github.com/oceanprotocol/commons/pull/7)
- Switch to ESLint [`#10`](https://github.com/oceanprotocol/commons/pull/10)
- Feature/forms [`#9`](https://github.com/oceanprotocol/commons/pull/9)
- add travis, run tests on it [`#8`](https://github.com/oceanprotocol/commons/pull/8)
- add buttons and spinner [`#6`](https://github.com/oceanprotocol/commons/pull/6)
- global styling setup [`#5`](https://github.com/oceanprotocol/commons/pull/5)
- Prettier, stylelint, tslint, editorconfig, sitting in a tree [`#4`](https://github.com/oceanprotocol/commons/pull/4)
- initial import, react, routes, user context [`#3`](https://github.com/oceanprotocol/commons/pull/3)
- kick out prototyping stuff [`#58`](https://github.com/oceanprotocol/commons/issues/58)
- one dev interface for client & server [`7e42991`](https://github.com/oceanprotocol/commons/commit/7e42991706f139a34e425dd7c20b28b4f55d77aa)
- npm install [`07f6d22`](https://github.com/oceanprotocol/commons/commit/07f6d22a36f0f253f9a6619912489679f62218da)
- start command [`c49fc85`](https://github.com/oceanprotocol/commons/commit/c49fc85017b0560cf96c7ed8e7d6e2c2ace1bff9)

218
README.md
View File

@ -1,38 +1,54 @@
**This repo is obsolete as of Ocean V3 (Oct 2020). Superseded by [oceanprotocol/market](https://github.com/oceanprotocol/market).**
----
[![banner](https://raw.githubusercontent.com/oceanprotocol/art/master/github/repo-banner%402x.png)](https://oceanprotocol.com)
<h1 align="center">Commons</h1>
> Marketplace front-end and backend server to explore, download, and publish open data sets.
> 🏄‍♀️ Marketplace front-end and backend server to explore, download, and publish open data sets.
> https://commons.oceanprotocol.com
[![Build Status](https://travis-ci.com/oceanprotocol/commons.svg?token=3psqw6c8KMDqfdGQ2x6d&branch=master)](https://travis-ci.com/oceanprotocol/commons)
[![Build Status](https://travis-ci.com/oceanprotocol/commons.svg?branch=master)](https://travis-ci.com/oceanprotocol/commons)
[![Maintainability](https://api.codeclimate.com/v1/badges/ed6e8212a8d294b6aa88/maintainability)](https://codeclimate.com/github/oceanprotocol/commons/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/ed6e8212a8d294b6aa88/test_coverage)](https://codeclimate.com/github/oceanprotocol/commons/test_coverage)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-7b1173.svg?style=flat-square)](https://github.com/prettier/prettier)
[![js oceanprotocol](https://img.shields.io/badge/js-oceanprotocol-7b1173.svg)](https://github.com/oceanprotocol/eslint-config-oceanprotocol)
[![css bigchaindb](https://img.shields.io/badge/css-bigchaindb-39BA91.svg)](https://github.com/bigchaindb/stylelint-config-bigchaindb)
<img alt="screen shot 2019-02-08 at 16 53 57" src="https://user-images.githubusercontent.com/90316/52489283-27080e80-2bc2-11e9-8ec0-508c21eb86f7.png">
<img width="1218" alt="Commons UI" src="https://user-images.githubusercontent.com/90316/55874266-296ef080-5b92-11e9-8ac6-2423cb2a80fb.png">
---
### 🦑🦑🦑 This marketplace is deployed under https://commons.oceanprotocol.com and can be used there. Feel free to [report any issues](https://github.com/oceanprotocol/commons/issues) you encounter. 🦑🦑🦑
<h3 align="center">🦑🦑🦑<br />This marketplace is deployed under <a href="https://commons.oceanprotocol.com">commons.oceanprotocol.com</a> and can be used there. Feel free to <a href="https://github.com/oceanprotocol/commons/issues">report any issues</a> you encounter.<br />🦑🦑🦑</h3>
---
If you're a developer and want to contribute to, or want to utilize this marketplace's code in your projects, then keep on reading.
---
- [🏄 Get Started](#-get-started)
- [🏖 Remote Ocean: Pacific](#-remote-ocean-pacific)
- [🐳 Use with Barge](#-use-with-barge)
- [🛳 Production](#-production)
- [⛵️ Environment Variables](#-environment-variables)
- [Client](#client)
- [Server](#server)
- [Feature Switches](#feature-switches)
- [More Settings](#more-settings)
- [👩‍🔬 Testing](#-testing)
- [Unit Tests](#unit-tests)
- [End-to-End Integration Tests](#end-to-end-integration-tests)
- [✨ Code Style](#-code-style)
- [🛳 Production](#-production)
- [⬆️ Releases](#-releases)
- [📜 Changelog](#-changelog)
- [🎁 Contributing](#-contributing)
- [🏛 License](#-license)
## 🏄 Get Started
This repo contains a client and a server, both written in TypeScript:
- **client**: React app setup with [squid-js](https://github.com/oceanprotocol/squid-js), bootstrapped with [Create React App](https://github.com/facebook/create-react-app)
- **server**: Node.js app, utilizing [Express](https://expressjs.com). The server provides various microservices, like remote file checking.
## 🏄 Get Started
- **server**: Node.js app, utilizing [Express](https://expressjs.com). The server provides various microservices, like remote file checking. The endpoints are documented in [server Readme](server/).
To spin up both, the client and the server in a watch mode for local development, execute:
@ -43,20 +59,158 @@ npm start
Open [http://localhost:3000](http://localhost:3000) to view the client in the browser. The page will reload if you make edits to files in either `./client` or `./server`.
To make use of all the functionality, you need to connect to the Ocean network. By default, the client will connect to [Ocean's Nile test network](https://docs.oceanprotocol.com/concepts/testnets/#the-nile-testnet) remotely.
### 🏖 Remote Ocean: Pacific
To make use of all the functionality, you need to connect to an Ocean network.
By default, the client will connect to Ocean components running within [Ocean's Pacific network](https://docs.oceanprotocol.com/concepts/pacific-network/) remotely.
By default, the client uses a burner wallet connected to the correct network automatically. If you choose to use MetaMask, you need to connect to the Pacific network. To do this:
1. select Custom RPC in the network dropdown in MetaMask
2. under New Network, enter `https://pacific.oceanprotocol.com` as the custom RPC URL
3. Hit _Save_, and youre now connected to Pacific
### 🐳 Use with Barge
If you prefer to connect to locally running components instead of remote connections to Ocean's Nile network, you can spin up [`barge`](https://github.com/oceanprotocol/barge) and use a local network:
If you prefer to connect to locally running components instead of remote connections to Ocean's Nile network, you can spin up [`barge`](https://github.com/oceanprotocol/barge) and use a local Spree network:
```bash
git clone git@github.com:oceanprotocol/barge.git
cd barge
./start_ocean.sh --latest --no-pleuston --local-spree-node
# startup with local Spree node
./start_ocean.sh --no-commons
```
Modify `./client/src/config/config.ts` to use those local connections.
Then set [environment variables](#-environment-variables) to use those local connections.
Finally, you need to copy the generated contract artifacts out of the Docker container. To do this, execute this script in another terminal:
```bash
./scripts/keeper.sh
```
The script will wait for all contracts to be generated in the `keeper-contracts` Docker container, then will copy the artifacts in place.
If you are on macOS, you need to additionally tweak your `/etc/hosts` file so Brizo can connect to Aquarius. This is only required on macOS and is a [known limitation of Docker for Mac](https://docs.docker.com/docker-for-mac/networking/#known-limitations-use-cases-and-workarounds):
```bash
sudo vi /etc/hosts
# add this line, and save
127.0.0.1 aquarius
```
Then use this host for the local Aquarius url in the client config:
```bash
REACT_APP_AQUARIUS_URI="http://aquarius:5000"
```
### ⛵️ Environment Variables
#### Client
The `./client/src/config.ts` file is setup to prioritize environment variables for setting each Ocean component endpoint.
By setting environment variables, you can easily switch between Ocean networks the commons client connects to, without directly modifying `./client/src/config.ts`. This is helpful e.g. for local development so you don't accidentially commit changes to the config file.
For local development, you can use a `.env.local` file. There's an example file with the most common network configurations preconfigured:
```bash
cp client/.env.local.example client/.env.local
# uncomment the config you need
vi client/.env.local
```
#### Server
The server uses its own environment variables too:
```bash
cp server/.env.example server/.env
# edit variables
vi server/.env
```
#### Feature Switches
Beside configuring the network endpopints, the client allows to activate some features with environment variables in `client/.env.local`:
| Env Variable | Feature Description |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `REACT_APP_SHOW_CHANNELS` | Show the channels feature which shows assets based on a certain tag in a prominent view. This is deeactivated by default and only activated in live Commons deployments. |
| `REACT_APP_SHOW_REQUEST_TOKENS_BUTTON` | Shows a second button on the `/faucet` route to request Ocean Tokens in addition to Ether. Will only work in Ocean testnets. |
| `REACT_APP_ALLOW_PRICING` | Activate pricing feature. Will show a price input during publish flow, and output prices for each data asset. |
#### More Settings
| Env Variable | Example | Feature Description |
| --------------------------------------------------------------------- | -------------------------------------- | ------------------------------------------------- |
| client: `REACT_APP_IPFS_GATEWAY_URI`<br /> server: `IPFS_GATEWAY_URI` | `"https://ipfs.oceanprotocol.com"` | The IPFS gateway URI. |
| `REACT_APP_IPFS_NODE_URI` | `"https://ipfs.oceanprotocol.com:443"` | The IPFS node URI used to add files to IPFS. |
| `REACT_APP_REPORT_EMAIL` | `"jelly@mcjellyfish.com"` | The email used for the _report an asset_ feature. |
## 👩‍🔬 Testing
Test suite is setup with [Jest](https://jestjs.io) and [react-testing-library](https://github.com/kentcdodds/react-testing-library) for unit testing, and [Cypress](https://www.cypress.io) for integration testing.
To run all linting, unit and integration tests in one go, run:
```bash
npm test
```
The endpoints the integration tests run against are defined by your [Environment Variables](#-Environment-Variables), and Cypress-specific variables in `cypress.json`.
### Unit Tests
For local development, you can start the test runners for client & server in a watch mode.
```bash
npm run test:watch
```
This will work for daily development but it misses the full interactivity of the test runner. If you need that, you will need to run them in individual terminal sessions:
```bash
cd client/
npm run test:watch
cd server/
npm run test:watch
```
### End-to-End Integration Tests
To run all integration tests in headless mode, run:
```bash
npm run test:e2e
```
This will automatically spin up all required resources to run the integrations tests, and then run them.
You can also use the UI of Cypress to run and inspect the integration tests locally:
```bash
npm run cypress:open
```
## ✨ Code Style
For linting and auto-formatting you can use from the root of the project:
```bash
# auto format all ts & css with eslint
npm run lint
# auto format all ts & css with prettier, taking all configs into account
npm run format
```
## 🛳 Production
@ -68,25 +222,33 @@ npm run build
Builds the client for production to the `./client/build` folder, and the server into the `./server/dist` folder.
## 👩‍🔬 Testing
## ⬆️ Releases
```bash
npm test
```
From a clean `master` branch you can run any release task doing the following:
Launches the test runner in the interactive watch mode.
- bumps the project version in `package.json`, `client/package.json`, `server/package.json`
- auto-generates and updates the CHANGELOG.md file from commit messages
- creates a Git tag
- commits and pushes everything
- creates a GitHub release with commit messages as description
## ✨ Code Style
You can execute the script using {major|minor|patch} as first argument to bump the version accordingly:
For linting and auto-formatting you can use from the root of the project:
- To bump a patch version: `npm run release`
- To bump a minor version: `npm run release minor`
- To bump a major version: `npm run release major`
```bash
# auto format all ts & css with eslint & stylelint
npm run lint
By creating the Git tag with these tasks, Travis will trigger a new Kubernetes live deployment automatically, after a successful tag build.
# auto format all ts & css with prettier, taking all configs into account
npm run format
```
For the GitHub releases steps a GitHub personal access token, exported as `GITHUB_TOKEN` is required. [Setup](https://github.com/release-it/release-it#github-releases)
## 📜 Changelog
See the [CHANGELOG.md](./CHANGELOG.md) file. This file is auto-generated during the above mentioned release process.
## 🎁 Contributing
See the page titled "[Ways to Contribute](https://docs.oceanprotocol.com/concepts/contributing/)" in the Ocean Protocol documentation.
## 🏛 License

View File

@ -1 +1,6 @@
node_modules
.env.local
.env
build
coverage
__mocks__

63
client/.env.local.example Normal file
View File

@ -0,0 +1,63 @@
#
# When none of the following variables are set,
# Commons will default connecting to Pacific
#
#
# Connect to Pacific
#
REACT_APP_NODE_URI="https://pacific.oceanprotocol.com"
REACT_APP_SECRET_STORE_URI="https://secret-store.oceanprotocol.com"
REACT_APP_FAUCET_URI="https://faucet.oceanprotocol.com"
# Pacific Test instances
REACT_APP_AQUARIUS_URI="https://aquarius.test.oceanprotocol.com"
REACT_APP_BRIZO_URI="https://brizo.test.oceanprotocol.com"
REACT_APP_BRIZO_ADDRESS="0x0474ed05ba757dde575dfaaaa267d9e7f3643abc"
# Pacific Commons instances
# REACT_APP_AQUARIUS_URI="https://aquarius.commons.oceanprotocol.com"
# REACT_APP_BRIZO_URI="https://brizo.commons.oceanprotocol.com"
# REACT_APP_BRIZO_ADDRESS="0x008c25ed3594e094db4592f4115d5fa74c4f41ea"
#
# Connect to Nile
#
# REACT_APP_NODE_URI="https://nile.dev-ocean.com"
# REACT_APP_SECRET_STORE_URI="https://secret-store.nile.dev-ocean.com"
# REACT_APP_FAUCET_URI="https://faucet.nile.dev-ocean.com"
# REACT_APP_BRIZO_ADDRESS="0x4aaab179035dc57b35e2ce066919048686f82972"
# Nile Test instances
# REACT_APP_AQUARIUS_URI="https://aquarius.nile.dev-ocean.com"
# REACT_APP_BRIZO_URI="https://brizo.nile.dev-ocean.com"
# Nile Commons instances
# REACT_APP_AQUARIUS_URI="https://aquarius.marketplace.dev-ocean.com"
# REACT_APP_BRIZO_URI="https://brizo.marketplace.dev-ocean.com"
#
# Connect to Duero
#
# REACT_APP_NODE_URI="https://duero.dev-ocean.com"
# REACT_APP_AQUARIUS_URI="https://aquarius.duero.dev-ocean.com"
# REACT_APP_BRIZO_URI="https://brizo.duero.dev-ocean.com"
# REACT_APP_SECRET_STORE_URI="https://secret-store.duero.dev-ocean.com"
# REACT_APP_FAUCET_URI="https://faucet.duero.dev-ocean.com"
# REACT_APP_BRIZO_ADDRESS="0x9d4ed58293f71122ad6a733c1603927a150735d0"
#
# Connect to Spree (local with Barge)
#
# REACT_APP_NODE_URI="http://localhost:8545"
# REACT_APP_AQUARIUS_URI="http://aquarius:5000"
# REACT_APP_BRIZO_URI="http://localhost:8030"
# REACT_APP_SECRET_STORE_URI="http://localhost:12001"
# REACT_APP_FAUCET_URI="http://localhost:3001"
# REACT_APP_BRIZO_ADDRESS="0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0"
#
# APP CONFIG
#
REACT_APP_REPORT_EMAIL="test@example.com"
# REACT_APP_SHOW_CHANNELS=true
# REACT_APP_ALLOW_PRICING=true
# REACT_APP_SHOW_REQUEST_TOKENS_BUTTON=true
REACT_APP_IPFS_GATEWAY_URI="https://ipfs.oceanprotocol.com"
REACT_APP_IPFS_NODE_URI="https://ipfs.oceanprotocol.com:443"

View File

@ -1,20 +1,23 @@
FROM node:11-alpine
LABEL maintainer="Ocean Protocol <devops@oceanprotocol.com>"
RUN apk add --no-cache --update\
bash\
g++\
gcc\
git\
gettext\
make\
python
RUN apk add --no-cache --update \
bash \
g++ \
gcc \
git \
gettext \
make \
python \
&& rm -rf /var/cache/apk/*
COPY package*.json /app/frontend/
WORKDIR /app/frontend
RUN npm install -g npm serve \
&& npm install \
&& npm cache clean --force
COPY . /app/frontend
WORKDIR /app/frontend
RUN npm install -g npm serve
RUN npm install
RUN npm run build
# Default ENV values

26782
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,53 +1,72 @@
{
"name": "commons-client",
"description": "Ocean Protocol marketplace frontend to explore, download, and publish open data sets.",
"version": "0.1.0",
"version": "2.4.1",
"license": "Apache-2.0",
"scripts": {
"start": "react-scripts start",
"build": "react-scripts --max_old_space_size=4096 build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"build": "CI=false react-scripts --max_old_space_size=4096 build",
"test": "react-scripts test --coverage --watchAll=false --silent",
"test:watch": "react-scripts test --coverage",
"eject": "react-scripts eject",
"analyze": "source-map-explorer 'build/static/js/*.js'"
},
"dependencies": {
"@oceanprotocol/art": "^2.2.0",
"@oceanprotocol/squid": "^0.5.2",
"@oceanprotocol/squid": "^2.2.0",
"@oceanprotocol/typographies": "^0.1.0",
"@sindresorhus/slugify": "^1.0.0",
"@truffle/hdwallet-provider": "^1.0.35",
"axios": "^0.19.2",
"bip39": "^3.0.2",
"classnames": "^2.2.6",
"filesize": "^4.1.2",
"history": "^4.9.0",
"is-url": "^1.2.4",
"moment": "^2.24.0",
"query-string": "^6.4.2",
"react": "^16.8.6",
"react-datepicker": "^2.3.0",
"react-dom": "^16.8.6",
"react-ga": "^2.5.7",
"react-helmet": "^5.2.0",
"react-markdown": "^4.0.6",
"react-moment": "^0.8.4",
"react-popper": "^1.3.3",
"react-router-dom": "^5.0.0",
"react-transition-group": "^2.9.0",
"slugify": "^1.3.4",
"web3": "^1.0.0-beta.52"
"ethereum-blockies": "github:MyEtherWallet/blockies",
"filesize": "^6.1.0",
"history": "^4.10.1",
"ipfs-http-client": "44.2.0",
"is-url-superb": "^4.0.0",
"moment": "^2.26.0",
"node-sass": "^4.14.1",
"query-string": "^6.13.1",
"react": "^16.13.1",
"react-collapsed": "^3.0.0",
"react-datepicker": "^3.0.0",
"react-dom": "^16.13.1",
"react-dotdotdot": "^1.3.1",
"react-dropzone": "^11.0.1",
"react-ga": "^3.0.0",
"react-helmet": "^6.0.0",
"react-markdown": "^4.3.1",
"react-modal": "^3.11.2",
"react-moment": "^0.9.7",
"react-paginate": "^6.3.2",
"react-popper": "^1.3.7",
"react-router-dom": "^5.2.0",
"react-transition-group": "^4.4.1",
"shortid": "^2.2.15",
"web3": "^1.2.8"
},
"devDependencies": {
"@types/classnames": "^2.2.7",
"@types/filesize": "^4.1.0",
"@react-mock/state": "^0.1.8",
"@sheerun/mutationobserver-shim": "^0.3.3",
"@testing-library/jest-dom": "^5.9.0",
"@testing-library/react": "^10.2.1",
"@types/classnames": "^2.2.10",
"@types/is-url": "^1.2.28",
"@types/jest": "^24.0.11",
"@types/query-string": "^6.3.0",
"@types/react": "^16.8.13",
"@types/react-datepicker": "^2.2.1",
"@types/react-dom": "^16.8.3",
"@types/react-helmet": "^5.0.8",
"@types/react-router-dom": "^4.3.1",
"@types/react-transition-group": "^2.8.0",
"@types/web3": "^1.0.18",
"node-sass": "^4.11.0",
"react-scripts": "^2.1.8",
"typescript": "^3.4.2"
"@types/jest": "^26.0.0",
"@types/react": "^16.9.35",
"@types/react-datepicker": "^2.11.0",
"@types/react-dom": "^16.9.8",
"@types/react-helmet": "^6.0.0",
"@types/react-modal": "^3.10.5",
"@types/react-paginate": "^6.2.1",
"@types/react-router-dom": "^5.1.5",
"@types/react-transition-group": "^4.4.0",
"@types/shortid": "^0.0.29",
"jest-mock-axios": "^4.2.0",
"react-scripts": "^3.4.1",
"source-map-explorer": "^2.4.2",
"typescript": "^3.9.3"
},
"repository": {
"type": "git",
@ -58,5 +77,12 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!src/serviceWorker.ts",
"!src/**/*.d.ts"
]
}
}

View File

@ -12,39 +12,6 @@
<title>Commons</title>
<meta
content="A marketplace to find and publish open data sets in the Ocean Network."
name="description"
/>
<meta
content="https://commons.oceanprotocol.com/share.png"
name="image"
/>
<link href="https://commons.oceanprotocol.com" rel="canonical" />
<meta content="https://commons.oceanprotocol.com" property="og:url" />
<meta content="Commons" property="og:title" />
<meta
content="A marketplace to find and publish open data sets in the Ocean Network."
property="og:description"
/>
<meta
content="https://commons.oceanprotocol.com/share.png"
property="og:image"
/>
<meta content="summary_large_image" name="twitter:card" />
<meta content="@oceanprotocol" name="twitter:creator" />
<meta content="Commons" name="twitter:title" />
<meta
content="A marketplace to find and publish open data sets in the Ocean Network."
name="twitter:description"
/>
<meta
content="https://commons.oceanprotocol.com/share.png"
name="twitter:image"
/>
<style>
.loader {
display: block;

View File

@ -21,5 +21,5 @@
"start_url": ".",
"display": "standalone",
"theme_color": "#141414",
"background_color": "#141414"
"background_color": "#ffffff"
}

2
client/public/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /search

9
client/src/@types/global.d.ts vendored Normal file
View File

@ -0,0 +1,9 @@
import Web3 from 'web3'
import { Eth } from 'web3/eth'
declare global {
interface Window {
web3: Web3
ethereum: Eth
}
}

10
client/src/@types/node_modules.d.ts vendored Normal file
View File

@ -0,0 +1,10 @@
/// <reference types="node" />
declare module 'ethereum-blockies' {
export function toDataUrl(address: string): string
}
declare module 'ipfs'
declare module 'ipfs-http-client'
declare module 'react-collapsed'
declare module 'filesize'

View File

@ -1,9 +1,29 @@
import React from 'react'
import ReactDOM from 'react-dom'
import { render } from '@testing-library/react'
import App from './App'
import { User } from './context'
import { userMock, userMockConnected } from './__mocks__/user-mock'
it('renders without crashing', () => {
const div = document.createElement('div')
ReactDOM.render(<App />, div)
ReactDOM.unmountComponentAtNode(div)
describe('App', () => {
it('should be able to run tests', () => {
expect(1 + 2).toEqual(3)
})
it('renders without crashing', () => {
const { container } = render(
<User.Provider value={userMockConnected}>
<App />
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
})
it('renders loading state', () => {
const { container } = render(
<User.Provider value={{ ...userMock, isLoading: true }}>
<App />
</User.Provider>
)
expect(container.querySelector('.spinner')).toBeInTheDocument()
})
})

View File

@ -1,213 +1,37 @@
import React, { Component } from 'react'
import Web3 from 'web3'
import { BrowserRouter as Router } from 'react-router-dom'
import { Logger } from '@oceanprotocol/squid'
import Header from './components/organisms/Header'
import Footer from './components/organisms/Footer'
import Spinner from './components/atoms/Spinner'
import { User } from './context/User'
import { provideOcean } from './ocean'
import { User } from './context'
import Routes from './Routes'
import './styles/global.scss'
import styles from './App.module.scss'
import {
nodeHost,
nodePort,
nodeScheme,
faucetHost,
faucetPort,
faucetScheme
} from './config/config'
declare global {
interface Window {
web3: Web3
ethereum: any
}
}
interface AppState {
isLogged: boolean
isLoading: boolean
isWeb3: boolean
isNile: boolean
account: string
balance: {
eth: number
ocn: number
}
network: string
web3: Web3
ocean: any
startLogin: () => void
message: string
}
class App extends Component<{}, AppState> {
public startLogin = (event?: any) => {
if (event) {
event.preventDefault()
}
this.startLoginProcess()
}
private requestFromFaucet = async () => {
if (this.state.account !== '') {
try {
const response = await fetch(
`${faucetScheme}://${faucetHost}:${faucetPort}/faucet`,
{
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
address: this.state.account,
agent: 'commons'
})
}
)
return response.json()
} catch (error) {
Logger.log('requestFromFaucet', error)
}
} else {
// no account found
}
}
public state = {
isLogged: false,
isLoading: true,
isWeb3: false,
isNile: false,
balance: {
eth: 0,
ocn: 0
},
network: '',
web3: new Web3(
new Web3.providers.HttpProvider(
`${nodeScheme}://${nodeHost}:${nodePort}`
)
),
account: '',
ocean: {} as any,
startLogin: this.startLogin,
requestFromFaucet: this.requestFromFaucet,
message: 'Connecting to Ocean...'
}
public async componentDidMount() {
this.bootstrap()
}
private startLoginProcess = async () => {
try {
if (this.state.isWeb3 && window.ethereum) {
await window.ethereum.enable()
const accounts = await this.state.ocean.accounts.list()
if (accounts.length > 0) {
const balance = await accounts[0].getBalance()
this.setState({
isLogged: true,
balance,
account: accounts[0].getId()
})
} else {
// not unlocked
}
} else {
// no metamask/mist, show installation guide!
}
} catch (e) {
Logger.log('error logging', e)
// error in logging process
// show error
// rerun bootstrap process?
}
}
private bootstrap = async () => {
try {
if (window.web3) {
const web3 = new Web3(window.web3.currentProvider)
const { ocean } = await provideOcean(web3)
const accounts = await ocean.accounts.list()
const network = await ocean.keeper.getNetworkName()
const isNile = network === 'Nile'
if (accounts.length > 0) {
const balance = await accounts[0].getBalance()
this.setState({
isWeb3: true,
isLogged: true,
isNile,
ocean,
web3,
balance,
network,
account: accounts[0].getId(),
isLoading: false
})
} else {
this.setState({
isWeb3: true,
isNile,
ocean,
web3,
network,
isLoading: false
})
}
} else {
const { ocean } = await provideOcean(this.state.web3)
const network = await ocean.keeper.getNetworkName()
const isNile = network === 'Nile'
this.setState({
isNile,
ocean,
network,
isLoading: false
})
}
} catch (e) {
// error in bootstrap process
// show error connecting to ocean
Logger.log('web3 error', e)
this.setState({
isLoading: false
})
}
}
export default class App extends Component {
public render() {
return (
<div className={styles.app}>
<User.Provider value={this.state}>
<Router>
<>
<Header />
<Router>
<>
<Header />
<main className={styles.main}>
{this.state.isLoading ? (
<div className={styles.loader}>
<Spinner message={this.state.message} />
</div>
) : (
<Routes />
)}
</main>
<main className={styles.main}>
{this.context.isLoading ? (
<div className={styles.loader}>
<Spinner message={this.context.message} />
</div>
) : (
<Routes />
)}
</main>
<Footer />
</>
</Router>
</User.Provider>
<Footer />
</>
</Router>
</div>
)
}
}
export default App
App.contextType = User

View File

@ -0,0 +1,19 @@
import React from 'react'
import { BrowserRouter as Router } from 'react-router-dom'
import { render } from '@testing-library/react'
import Routes from './Routes'
import { User } from './context'
import { userMockConnected } from './__mocks__/user-mock'
describe('Routes', () => {
it('renders without crashing', () => {
const { container } = render(
<User.Provider value={userMockConnected}>
<Router>
<Routes />
</Router>
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
})
})

View File

@ -1,28 +1,37 @@
import React from 'react'
import { Route, Switch } from 'react-router-dom'
import withTracker from './withTracker'
import { showChannels } from './config'
import About from './routes/About'
import Details from './routes/Details/'
import Home from './routes/Home'
import NotFound from './routes/NotFound'
import Publish from './routes/Publish/'
import Search from './routes/Search'
import Faucet from './routes/Faucet'
import History from './routes/History'
import Channels from './routes/Channels'
import Styleguide from './routes/Styleguide'
import Asset from './components/templates/Asset'
import Channel from './components/templates/Channel'
const Routes = () => (
<Switch>
<Route exact component={withTracker(Home)} path="/" />
<Route component={withTracker(Styleguide)} path="/styleguide" />
<Route component={withTracker(About)} path="/about" />
<Route component={withTracker(Publish)} path="/publish" />
<Route component={withTracker(Search)} path="/search" />
<Route component={withTracker(Details)} path="/asset/:did" />
<Route component={withTracker(Faucet)} path="/faucet" />
<Route component={withTracker(History)} path="/history" />
<Route component={withTracker(NotFound)} />
<Route component={Home} exact path="/" />
<Route component={Styleguide} path="/styleguide" />
<Route component={About} path="/about" />
<Route component={Publish} path="/publish" />
<Route component={Search} path="/search" />
<Route component={Asset} path="/asset/:did" />
<Route component={Faucet} path="/faucet" />
<Route component={History} path="/history" />
{showChannels && (
<>
<Route component={Channels} exact path="/channels" />
<Route component={Channel} path="/channels/:channel" />
</>
)}
<Route component={NotFound} />
</Switch>
)

View File

@ -0,0 +1,2 @@
import mockAxios from 'jest-mock-axios'
export default mockAxios

View File

@ -0,0 +1,10 @@
import { DDO } from '@oceanprotocol/squid'
const ddoMock = ({
id: 'xxx',
findServiceByType: () => {
return { index: 'xxx' }
}
} as any) as DDO
export default ddoMock

View File

@ -0,0 +1,8 @@
const marketMock = {
totalAssets: 1000,
categories: ['category'],
network: 'Pacific',
networkMatch: true
}
export { marketMock }

View File

@ -0,0 +1,76 @@
const oceanMock = {
ocean: {
accounts: {
list: () => ['xxx', 'xxx']
},
aquarius: {
queryMetadata: () => {
return {
results: [],
totalResults: 1,
totalPages: 1
}
}
},
assets: {
query: () => {
return {
results: [],
page: 1,
/* eslint-disable @typescript-eslint/camelcase */
total_pages: 1611,
total_results: 1611
/* eslint-enable @typescript-eslint/camelcase */
}
},
resolve: jest.fn(),
order: () => {
return {
next: jest.fn()
}
},
consume: jest.fn()
},
keeper: {
conditions: {
accessSecretStoreCondition: {
getGrantedDidByConsumer: () => {
return {
find: jest.fn()
}
}
}
}
},
versions: {
get: jest.fn(() =>
Promise.resolve({
squid: {
name: 'Squid-js',
status: 'Working'
},
aquarius: {
name: 'Aquarius',
status: 'Working'
},
brizo: {
name: 'Brizo',
network: 'Nile',
status: 'Working',
contracts: {
hello: 'hello',
hello2: 'hello2'
}
},
status: {
ok: true,
network: true,
contracts: true
}
})
)
}
}
}
export default oceanMock

View File

@ -0,0 +1,35 @@
import oceanMock from './ocean-mock'
const userMock = {
isLogged: false,
isLoading: false,
isBurner: false,
isWeb3Capable: false,
account: '',
web3: {},
...oceanMock,
balance: { eth: 0, ocn: 0 },
network: '',
requestFromFaucet: jest.fn(),
loginMetamask: jest.fn(),
loginBurnerWallet: jest.fn(),
message: ''
}
const userMockConnected = {
isLogged: true,
isLoading: false,
isBurner: false,
isWeb3Capable: true,
account: '0xxxxxx',
web3: {},
...oceanMock,
balance: { eth: 0, ocn: 0 },
network: '',
requestFromFaucet: jest.fn(),
loginMetamask: jest.fn(),
loginBurnerWallet: jest.fn(),
message: ''
}
export { userMock, userMockConnected }

View File

@ -0,0 +1,89 @@
@import '../../styles/variables';
.account {
display: flex;
flex-wrap: wrap;
align-items: center;
text-align: left;
> div:first-of-type {
flex: 0 0 80%;
}
}
.accountId {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-family: $font-family-monospace;
font-size: $font-size-small;
font-weight: 700;
}
.unlock {
font-size: $font-size-small !important;
margin-left: $spacer / 2;
}
.accountType {
width: 100%;
margin-left: calc(1.5rem + #{$spacer / 3});
font-size: $font-size-small;
font-weight: $font-weight-bold;
color: $brand-grey-light;
}
.toggle {
background: none;
font-family: inherit;
font-size: inherit;
font-weight: inherit;
color: inherit;
border: none;
padding: 0;
cursor: pointer;
svg {
display: inline-block;
fill: currentColor;
margin-right: $spacer / 8;
transition: 0.2s ease-out;
}
}
.open {
transform: rotate(90deg);
}
.seedphrase {
margin-top: $spacer / 2;
margin-left: calc(1.5rem + #{$spacer / 4});
margin-right: calc(1.5rem + #{$spacer / 4});
code {
display: block;
text-align: center;
padding: $spacer / 2 $spacer;
border-radius: $border-radius;
background: $body-background;
border: 1px solid $brand-grey-lighter;
margin-bottom: $spacer / 4;
word-break: normal;
}
}
.seedphraseHelp {
color: $brand-grey-light;
font-size: $font-size-small;
margin: 0;
}
.blockies {
width: 1.5rem;
height: 1.5rem;
border-radius: 50%;
display: inline-block;
margin-right: $spacer / 3;
margin-left: 0;
border: 1px solid $brand-grey-lighter;
}

View File

@ -0,0 +1,61 @@
import React from 'react'
import { render, fireEvent } from '@testing-library/react'
import { toDataUrl } from 'ethereum-blockies'
import Account from './Account'
import { User } from '../../context'
import { userMockConnected } from '../../__mocks__/user-mock'
describe('Account', () => {
it('renders without crashing', () => {
const { container } = render(
<User.Provider
value={{ ...userMockConnected, account: '0xxxxxxxxxxxxxxx' }}
>
<Account />
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
})
it('outputs empty state without account', () => {
const { container, getByText } = render(
<User.Provider value={{ ...userMockConnected, account: '' }}>
<Account />
</User.Provider>
)
expect(container.firstChild).toHaveTextContent('No account selected')
fireEvent.click(getByText('Unlock Account'))
})
it('outputs blockie img', () => {
const account = '0xxxxxxxxxxxxxxx'
const blockies = toDataUrl(account)
const { container } = render(
<User.Provider value={{ ...userMockConnected, account }}>
<Account />
</User.Provider>
)
expect(container.querySelector('.blockies')).toBeInTheDocument()
expect(container.querySelector('.blockies')).toHaveAttribute(
'src',
blockies
)
})
it('Account info can be toggled', () => {
const { container, getByText } = render(
<User.Provider
value={{
...userMockConnected,
isBurner: true,
account: '0xxxxxxxxxxxxxxx'
}}
>
<Account />
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
fireEvent.click(getByText('Burner Wallet'))
})
})

View File

@ -0,0 +1,90 @@
import React, { PureComponent, MouseEvent } from 'react'
import Dotdotdot from 'react-dotdotdot'
import { toDataUrl } from 'ethereum-blockies'
import styles from './Account.module.scss'
import WalletSelector from '../organisms/WalletSelector'
import content from '../../data/web3message.json'
import { ReactComponent as Caret } from '../../img/caret.svg'
import { User } from '../../context'
import Button from './Button'
export default class Account extends PureComponent<
{},
{ isAccountInfoOpen: boolean }
> {
public static contextType = User
public state = {
isAccountInfoOpen: false
}
private toggleAccountInfo(event: MouseEvent) {
event.preventDefault()
this.setState({ isAccountInfoOpen: !this.state.isAccountInfoOpen })
}
public render() {
const { account, isBurner, loginMetamask, isWeb3Capable } = this.context
const { isAccountInfoOpen } = this.state
const seedphrase = localStorage.getItem('seedphrase') as string
const blockies = account && toDataUrl(account)
return (
<div className={styles.account}>
{account ? (
<>
<img
className={styles.blockies}
src={blockies}
alt="Blockies"
/>
<Dotdotdot className={styles.accountId} clamp={2}>
{account}
</Dotdotdot>
</>
) : (
<>
<span className={styles.blockies} />
<em className={styles.noAccount}>
No account selected
</em>
<Button
link
className={styles.unlock}
onClick={() => loginMetamask()}
>
Unlock Account
</Button>
</>
)}
<div className={styles.accountType}>
{isBurner ? (
<button
className={styles.toggle}
onClick={(event) => this.toggleAccountInfo(event)}
title="Show More Account Info"
>
<Caret
className={isAccountInfoOpen ? styles.open : ''}
/>{' '}
Burner Wallet
</button>
) : (
'MetaMask'
)}
{isWeb3Capable && <WalletSelector />}
</div>
{isBurner && isAccountInfoOpen && (
<div className={styles.seedphrase}>
<code>{seedphrase}</code>
<p className={styles.seedphraseHelp}>
{content.seedphrase}
</p>
</div>
)}
</div>
)
}
}

View File

@ -13,10 +13,10 @@
font-weight: $font-weight-bold;
text-transform: uppercase;
border-radius: 2px;
transition: .2s ease-out;
transition: 0.2s ease-out;
color: $brand-white;
background: $brand-grey-light;
box-shadow: 0 9px 18px 0 rgba(0, 0, 0, .1);
box-shadow: 0 9px 18px 0 rgba(0, 0, 0, 0.1);
min-height: 45px;
user-select: none;
@ -25,21 +25,21 @@
color: $brand-white;
background: $brand-grey-light;
text-decoration: none;
transform: translate3d(0, -.05rem, 0);
box-shadow: 0 12px 30px 0 rgba(0, 0, 0, .1);
transform: translate3d(0, -0.05rem, 0);
box-shadow: 0 12px 30px 0 rgba(0, 0, 0, 0.1);
}
&:active {
background: $brand-grey-light;
transition: none;
transform: none;
box-shadow: 0 5px 18px 0 rgba(0, 0, 0, .1);
box-shadow: 0 5px 18px 0 rgba(0, 0, 0, 0.1);
}
&:disabled {
cursor: not-allowed;
pointer-events: none;
opacity: .5;
opacity: 0.5;
}
}

View File

@ -1,16 +1,54 @@
import React from 'react'
import ReactDOM from 'react-dom'
import { render } from '@testing-library/react'
import { BrowserRouter as Router } from 'react-router-dom'
import Button from './Button'
it('Button renders without crashing', () => {
const div = document.createElement('div')
ReactDOM.render(
<>
<Button>I am a button</Button>
<Button primary>I am a primary button</Button>
<Button href="https://hello.com">I am a button</Button>
</>,
div
)
ReactDOM.unmountComponentAtNode(div)
describe('Button', () => {
it('default renders correctly without crashing', () => {
const { getByTestId } = render(
<Button data-testid="button-default">I am a default button</Button>
)
expect(getByTestId('button-default')).toHaveTextContent('default')
})
it('primary renders correctly without crashing', () => {
const { getByTestId } = render(
<Button data-testid="button-primary" primary>
I am a primary button
</Button>
)
expect(getByTestId('button-primary')).toHaveTextContent('primary')
expect(getByTestId('button-primary').className).toMatch(/buttonPrimary/)
})
it('Link renders correctly without crashing', () => {
const { getByTestId } = render(
<Router>
<Button data-testid="button-to" to="https://hello.com">
I am a Link button
</Button>
</Router>
)
expect(getByTestId('button-to')).toHaveTextContent('Link')
})
it('href renders correctly without crashing', () => {
const { getByTestId } = render(
<Button data-testid="button-href" href="https://hello.com">
I am a href button
</Button>
)
expect(getByTestId('button-href')).toHaveTextContent('href')
expect(getByTestId('button-href').nodeName).toBe('A')
})
it('link renders correctly without crashing', () => {
const { getByTestId } = render(
<Button data-testid="button-link" link>
I am a link button
</Button>
)
expect(getByTestId('button-link')).toHaveTextContent('link')
expect(getByTestId('button-link').className).toMatch(/link/)
})
})

View File

@ -1,4 +1,4 @@
import React, { PureComponent } from 'react'
import React from 'react'
import { Link } from 'react-router-dom'
import cx from 'classnames'
import styles from './Button.module.scss'
@ -12,49 +12,37 @@ interface ButtonProps {
onClick?: any
disabled?: boolean
to?: string
name?: string
}
export default class Button extends PureComponent<ButtonProps, any> {
public render() {
let classes
const {
primary,
link,
href,
children,
className,
to,
...props
} = this.props
if (primary) {
classes = styles.buttonPrimary
} else if (link) {
classes = styles.link
} else {
classes = styles.button
}
if (to) {
return (
<Link to={to} className={cx(classes, className)} {...props}>
{children}
</Link>
)
}
if (href) {
return (
<a href={href} className={cx(classes, className)} {...props}>
{children}
</a>
)
}
return (
<button className={cx(classes, className)} {...props}>
{children}
</button>
)
}
function getClasses(primary: boolean | undefined, link: boolean | undefined) {
return primary ? styles.buttonPrimary : link ? styles.link : styles.button
}
const Button = ({
primary,
link,
href,
children,
className,
to,
...props
}: ButtonProps) => {
const classes = getClasses(primary, link)
return to ? (
<Link to={to} className={cx(classes, className)} {...props}>
{children}
</Link>
) : href ? (
<a href={href} className={cx(classes, className)} {...props}>
{children}
</a>
) : (
<button className={cx(classes, className)} {...props}>
{children}
</button>
)
}
export default Button

View File

@ -2,8 +2,24 @@
.categoryImage {
height: 4rem;
background-size: cover;
background-size: 100%;
background-position: center;
margin-bottom: $spacer / $line-height;
background-color: $body-background;
border-radius: $border-radius;
overflow: hidden;
opacity: 0.85;
transition: 0.2s ease-out;
border: 1px solid $brand-grey-lighter;
}
.header {
composes: categoryImage;
height: 8rem;
margin-top: $spacer / $line-height;
}
.dimmed {
composes: categoryImage;
opacity: 0.6;
}

View File

@ -0,0 +1,25 @@
import React from 'react'
import { render } from '@testing-library/react'
import CategoryImage from './CategoryImage'
import formPublish from '../../data/form-publish.json'
describe('CategoryImage', () => {
it('renders fallback image', () => {
const { container } = render(<CategoryImage category="" />)
expect(container.firstChild).toBeInTheDocument()
expect(container.firstChild.style.backgroundImage).toMatch(
/jellyfish-back/
)
})
it('renders all the category images', () => {
const { options } = formPublish.steps[1].fields
? formPublish.steps[1].fields.categories
: []
options.map((category: string) => {
const { container } = render(<CategoryImage category={category} />)
expect(container.firstChild).toBeInTheDocument()
})
})
})

View File

@ -1,4 +1,5 @@
import React, { PureComponent } from 'react'
import cx from 'classnames'
import styles from './CategoryImage.module.scss'
import agriculture from '../../img/categories/agriculture.jpg'
@ -33,6 +34,7 @@ import theology from '../../img/categories/theology.jpg'
import transport from '../../img/categories/transport.jpg'
import urbanplanning from '../../img/categories/urbanplanning.jpg'
import visualart from '../../img/categories/visualart.jpg'
import aiforgood from '../../img/aiforgood.jpg'
import fallback from '@oceanprotocol/art/jellyfish/jellyfish-back.svg'
const categoryImageFile = (category: string) => {
@ -95,6 +97,8 @@ const categoryImageFile = (category: string) => {
case 'mathematics':
return mathematics
case 'Medicine':
case 'Health & Medicine':
case 'Health':
case 'medicine':
return medicine
case 'Other':
@ -127,27 +131,37 @@ const categoryImageFile = (category: string) => {
case 'Transportation':
case 'transport':
return transport
case 'Urban Plannin':
case 'Urban Planning':
case 'urbanplanning':
return urbanplanning
case 'Visual Arts & Design':
case 'visualart':
return visualart
// technically no category
// but corresponding to title of a channel
case 'AI For Good':
return aiforgood
default:
return fallback
}
}
export default class CategoryImage extends PureComponent<{ category: string }> {
export default class CategoryImage extends PureComponent<{
category: string
header?: boolean
dimmed?: boolean
}> {
public render() {
const image = categoryImageFile(this.props.category)
const classNames = cx(styles.categoryImage, {
[styles.header]: this.props.header,
[styles.dimmed]: this.props.dimmed
})
return (
<div
className={styles.categoryImage}
style={{
backgroundImage: `url(${image})`
}}
className={classNames}
style={{ backgroundImage: `url(${image})` }}
/>
)
}

View File

@ -0,0 +1,23 @@
import React from 'react'
import { Link } from 'react-router-dom'
const CategoryLink = ({
category,
children,
className,
...props
}: {
category: string
children?: any
className?: string
}) => (
<Link
to={`/search?categories=${encodeURIComponent(category)}`}
className={className}
{...props}
>
{children || category}
</Link>
)
export default CategoryLink

View File

@ -0,0 +1,29 @@
import React from 'react'
import { render } from '@testing-library/react'
import Form from './Form'
describe('Form', () => {
it('renders without crashing', () => {
const { container } = render(<Form>Hello</Form>)
expect(container.firstChild).toBeInTheDocument()
})
it('renders title & description when set', () => {
const { container } = render(
<Form title="Hello Title" description="Hello Description">
Hello
</Form>
)
expect(container.querySelector('.formTitle')).toHaveTextContent(
'Hello Title'
)
expect(container.querySelector('.formDescription')).toHaveTextContent(
'Hello Description'
)
})
it('can switch to minimal', () => {
const { container } = render(<Form minimal>Hello</Form>)
expect(container.firstChild).toHaveClass('formMinimal')
})
})

View File

@ -31,8 +31,8 @@
width: 1.25rem;
height: 1.25rem;
top: 50%;
margin-top: -.6rem;
fill: rgba($brand-grey-light, .7);
margin-top: -0.6rem;
fill: rgba($brand-grey-light, 0.7);
}
}
@ -48,7 +48,7 @@
padding: $spacer / 3;
margin: 0;
border-radius: $border-radius;
transition: .2s ease-out;
transition: 0.2s ease-out;
min-height: 43px;
appearance: none;
@ -63,8 +63,8 @@
font-size: $font-size-base;
color: $brand-grey-light;
font-weight: $font-weight-base;
transition: .2s ease-out;
opacity: .7;
transition: 0.2s ease-out;
opacity: 0.7;
}
&[readonly],
@ -95,7 +95,6 @@
border: 0;
// custom arrow
// stylelint-disable
background-image: linear-gradient(45deg, transparent 50%, $brand-purple 50%),
linear-gradient(135deg, $brand-purple 50%, transparent 50%),
linear-gradient(
@ -107,7 +106,6 @@
background-position: calc(100% - 18px) calc(1rem + 5px),
calc(100% - 13px) calc(1rem + 5px), 100% 0;
background-size: 5px 5px, 5px 5px, 2.5rem 3rem;
// stylelint-enable
background-repeat: no-repeat;
&:focus {
@ -153,7 +151,7 @@
font-size: $font-size-small;
line-height: 1.2;
border: 2px solid $brand-grey-lighter;
border-radius: .2rem;
border-radius: 0.2rem;
position: absolute;
left: 0;
right: 0;

View File

@ -0,0 +1,90 @@
import React from 'react'
import { render, fireEvent } from '@testing-library/react'
import Input from './Input'
describe('Input', () => {
it('renders default without crashing', () => {
const { container } = render(<Input name="my-input" label="My Input" />)
expect(container.firstChild).toBeInTheDocument()
expect(container.querySelector('.label')).toHaveTextContent('My Input')
const input = container.querySelector('.input')
expect(input).toHaveAttribute('id', 'my-input')
input && fireEvent.focus(input)
})
it('renders as text input by default', () => {
const { container } = render(<Input name="my-input" label="My Input" />)
expect(container.querySelector('.input')).toHaveAttribute(
'type',
'text'
)
})
it('renders search', () => {
const { container } = render(
<Input name="my-input" label="My Input" type="search" />
)
const input = container.querySelector('.input')
expect(input).toHaveAttribute('type', 'search')
expect(container.querySelector('label + div')).toHaveClass(
'inputWrapSearch'
)
input && fireEvent.focus(input)
})
it('renders select', () => {
const { container } = render(
<Input
name="my-input"
label="My Input"
type="select"
options={['hello', 'hello2']}
/>
)
expect(container.querySelector('select')).toBeInTheDocument()
})
it('renders textarea', () => {
const { container } = render(
<Input name="my-input" label="My Input" type="textarea" rows={40} />
)
expect(container.querySelector('textarea')).toBeInTheDocument()
})
it('renders radios', () => {
const { container } = render(
<Input
name="my-input"
label="My Input"
type="radio"
options={['hello', 'hello2']}
/>
)
expect(container.querySelector('input[type=radio]')).toBeInTheDocument()
})
it('renders checkboxes', () => {
const { container } = render(
<Input
name="my-input"
label="My Input"
type="checkbox"
options={['hello', 'hello2']}
/>
)
expect(
container.querySelector('input[type=checkbox]')
).toBeInTheDocument()
})
it('renders date picker', () => {
const { container } = render(
<Input name="my-input" label="My Input" type="date" />
)
expect(
container.querySelector('.react-datepicker-wrapper')
).toBeInTheDocument()
})
})

View File

@ -1,13 +1,12 @@
import cx from 'classnames'
import React, { PureComponent, FormEvent, ChangeEvent } from 'react'
import slugify from 'slugify'
import slugify from '@sindresorhus/slugify'
import DatePicker from 'react-datepicker'
import { ReactComponent as SearchIcon } from '../../../img/search.svg'
import Help from './Help'
import Label from './Label'
import Row from './Row'
import InputGroup from './InputGroup'
import 'react-datepicker/dist/react-datepicker-cssmodules.css'
import styles from './Input.module.scss'
interface InputProps {
@ -31,6 +30,7 @@ interface InputProps {
rows?: number
group?: any
multiple?: boolean
pattern?: string
}
interface InputState {
@ -56,21 +56,20 @@ export default class Input extends PureComponent<InputProps, InputState> {
}
}
public toggleFocus = () => {
public handleFocus = () => {
this.setState({ isFocused: !this.state.isFocused })
}
private handleDateChange = (date: Date) => {
this.setState({
dateCreated: date
})
this.setState({ dateCreated: date })
const event = {
currentTarget: {
name: 'dateCreated',
value: date
}
}
this.props.onChange!(event as any)
this.props.onChange!(event as any) // eslint-disable-line @typescript-eslint/no-non-null-assertion
}
public InputComponent = () => {
@ -95,8 +94,8 @@ export default class Input extends PureComponent<InputProps, InputState> {
className={styles.select}
name={name}
required={required}
onFocus={this.toggleFocus}
onBlur={this.toggleFocus}
onFocus={this.handleFocus}
onBlur={this.handleFocus}
onChange={onChange}
value={value}
>
@ -118,8 +117,8 @@ export default class Input extends PureComponent<InputProps, InputState> {
<textarea
id={name}
className={styles.input}
onFocus={this.toggleFocus}
onBlur={this.toggleFocus}
onFocus={this.handleFocus}
onBlur={this.handleFocus}
{...this.props}
/>
</div>
@ -133,20 +132,14 @@ export default class Input extends PureComponent<InputProps, InputState> {
<div className={styles.radioWrap} key={index}>
<input
className={styles.radio}
id={slugify(option, {
lower: true
})}
id={slugify(option)}
type={type}
name={name}
value={slugify(option, {
lower: true
})}
value={slugify(option)}
/>
<label
className={styles.radioLabel}
htmlFor={slugify(option, {
lower: true
})}
htmlFor={slugify(option)}
>
{option}
</label>
@ -161,41 +154,43 @@ export default class Input extends PureComponent<InputProps, InputState> {
selected={this.state.dateCreated}
onChange={this.handleDateChange}
className={styles.input}
onFocus={this.toggleFocus}
onBlur={this.toggleFocus}
onFocus={this.handleFocus}
onBlur={this.handleFocus}
id={name}
name={name}
/>
</div>
)
default:
return (
<div className={wrapClass}>
{group ? (
<InputGroup>
<input
id={name}
type={type || 'text'}
className={styles.input}
onFocus={this.handleFocus}
onBlur={this.handleFocus}
{...this.props}
/>
{group}
</InputGroup>
) : (
<input
id={name}
type={type || 'text'}
className={styles.input}
onFocus={this.handleFocus}
onBlur={this.handleFocus}
{...this.props}
/>
)}
{type === 'search' && <SearchIcon />}
</div>
)
}
return (
<div className={wrapClass}>
{group ? (
<InputGroup>
<input
id={name}
className={styles.input}
onFocus={this.toggleFocus}
onBlur={this.toggleFocus}
{...this.props}
/>
{group}
</InputGroup>
) : (
<input
id={name}
className={styles.input}
onFocus={this.toggleFocus}
onBlur={this.toggleFocus}
{...this.props}
/>
)}
{type === 'search' && <SearchIcon />}
</div>
)
}
public render() {

View File

@ -1,4 +1,5 @@
@import '../../../styles/variables';
@import '../../../../node_modules/react-datepicker/dist/react-datepicker-cssmodules.css';
//
// Date picker
@ -38,7 +39,9 @@
max-width: 16rem;
}
:global .react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle:before,
:global
.react-datepicker-popper[data-placement^='top']
.react-datepicker__triangle:before,
:global .react-datepicker__year-read-view--down-arrow:before,
:global .react-datepicker__month-read-view--down-arrow:before,
:global .react-datepicker__month-year-read-view--down-arrow:before {

View File

@ -0,0 +1,10 @@
import React from 'react'
import { render } from '@testing-library/react'
import InputGroup from './InputGroup'
describe('InputGroup', () => {
it('renders without crashing', () => {
const { container } = render(<InputGroup>Hello</InputGroup>)
expect(container.firstChild).toBeInTheDocument()
})
})

View File

@ -17,6 +17,6 @@
font-size: $font-size-base;
color: $brand-grey-light;
display: inline-block;
margin-left: .1rem;
margin-left: 0.1rem;
}
}

View File

@ -0,0 +1,20 @@
import React from 'react'
import { render } from '@testing-library/react'
import Label from './Label'
describe('Label', () => {
it('renders without crashing', () => {
const { container } = render(<Label htmlFor="hello">Hello</Label>)
expect(container.firstChild).toBeInTheDocument()
})
it('renders required state', () => {
const { container } = render(
<Label required htmlFor="hello">
Hello
</Label>
)
expect(container.firstChild).toHaveAttribute('title', 'Required')
expect(container.firstChild).toHaveClass('required')
})
})

View File

@ -0,0 +1,10 @@
import React from 'react'
import { render } from '@testing-library/react'
import Row from './Row'
describe('Row', () => {
it('renders without crashing', () => {
const { container } = render(<Row>Hello</Row>)
expect(container.firstChild).toBeInTheDocument()
})
})

View File

@ -0,0 +1,10 @@
import React from 'react'
import { render } from '@testing-library/react'
import Markdown from './Markdown'
describe('Markdown', () => {
it('renders without crashing', () => {
const { container } = render(<Markdown text="#hello" />)
expect(container.firstChild).toBeInTheDocument()
})
})

View File

@ -1,7 +1,7 @@
import React from 'react'
import ReactMarkdown from 'react-markdown'
const Description = ({
const Markdown = ({
text,
className
}: {
@ -15,4 +15,4 @@ const Description = ({
return <ReactMarkdown source={textCleaned} className={className} />
}
export default Description
export default Markdown

View File

@ -0,0 +1,93 @@
@import '../../styles/variables';
// prevent background scrolling
:global(.ReactModal__Body--open) {
overflow: hidden;
}
.modalOverlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba($brand-black, 0.7);
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
animation: fadeIn 0.2s ease-out backwards;
}
.modal {
padding: $spacer;
border-radius: $border-radius;
background: $body-background;
margin: $spacer auto;
max-width: $break-point--small;
position: relative;
animation: moveUp 0.2s ease-out backwards;
@media (min-width: $break-point--small) {
padding: $spacer * 2 $spacer * 1.5;
}
&:focus {
outline: 0;
}
}
.header {
margin-bottom: $spacer;
}
.title {
font-size: $font-size-h3;
margin: 0;
@media (min-width: $break-point--small) {
font-size: $font-size-h2;
}
}
.description {
margin: 0;
margin-top: $spacer / 2;
}
.close {
position: absolute;
cursor: pointer;
background: none;
border: 0;
box-shadow: none;
outline: 0;
top: $spacer / 4;
right: $spacer / 2;
font-size: $font-size-h2;
color: $brand-grey;
&:hover,
&:focus {
opacity: 0.7;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes moveUp {
from {
transform: translate3d(0, 1rem, 0);
}
to {
transform: translate3d(0, 0, 0);
}
}

View File

@ -0,0 +1,17 @@
import React from 'react'
import { render } from '@testing-library/react'
import Modal from './Modal'
import ReactModal from 'react-modal'
describe('Modal', () => {
it('renders without crashing', () => {
ReactModal.setAppElement(document.createElement('div'))
render(
<Modal title="Hello" isOpen toggleModal={() => null}>
Hello
</Modal>
)
expect(document.querySelector('.ReactModalPortal')).toBeInTheDocument()
})
})

View File

@ -0,0 +1,55 @@
import React from 'react'
import ReactModal from 'react-modal'
import styles from './Modal.module.scss'
if (process.env.NODE_ENV !== 'test') ReactModal.setAppElement('#root')
const Modal = ({
title,
description,
isOpen,
onToggleModal,
children,
onAfterOpen,
onRequestClose,
...props
}: {
title: string
description?: string
isOpen: boolean
onToggleModal: () => void
children: any
onAfterOpen?: () => void
onRequestClose?: () => void
}) => {
return (
<ReactModal
isOpen={isOpen}
onAfterOpen={onAfterOpen}
onRequestClose={onRequestClose}
contentLabel={title}
className={styles.modal}
overlayClassName={styles.modalOverlay}
{...props}
>
<button
className={styles.close}
onClick={onToggleModal}
data-testid="closeModal"
>
&times;
</button>
<header className={styles.header}>
<h2 className={styles.title}>{title}</h2>
{description && (
<p className={styles.description}>{description}</p>
)}
</header>
{children}
</ReactModal>
)
}
export default Modal

View File

@ -0,0 +1,71 @@
import React from 'react'
import { Helmet } from 'react-helmet'
import { withRouter, RouteComponentProps } from 'react-router-dom'
import meta from '../../data/meta.json'
import imageDefault from '../../img/share.png'
const MetaTags = ({
title,
description,
url,
image
}: {
title: string
description: string
url: string
image: string
}) => (
<Helmet defaultTitle={meta.title} titleTemplate={`%s - ${meta.title}`}>
<html lang="en" />
{title && <title>{title}</title>}
{/* General tags */}
<meta name="description" content={description} />
<meta name="image" content={image} />
<link rel="canonical" href={url} />
{/* OpenGraph tags */}
<meta property="og:url" content={url} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={image} />
{/* Twitter Card tags */}
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@oceanprotocol" />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:image" content={image} />
{/* Prevent search engine indexing except for live */}
{window.location.hostname !== 'commons.oceanprotocol.com' && (
<meta name="robots" content="noindex,nofollow" />
)}
</Helmet>
)
interface SeoProps extends RouteComponentProps {
title?: string
description?: string
shareImage?: string
}
const Seo = ({ title, description, shareImage, location }: SeoProps) => {
title = title || meta.title
description = description || meta.description
shareImage = shareImage || meta.url + imageDefault
const url = meta.url + location.pathname + location.search
return (
<MetaTags
title={title}
description={description}
url={url}
image={shareImage}
/>
)
}
export default withRouter(Seo)

View File

@ -5,6 +5,7 @@
text-align: center;
margin-top: $spacer * $line-height;
margin-bottom: $spacer / 2;
line-height: 1.3;
&:before {
content: '';
@ -19,12 +20,27 @@
border-radius: 50%;
border: 2px solid $brand-purple;
border-top-color: $brand-violet;
animation: spinner .6s linear infinite;
animation: spinner 0.6s linear infinite;
}
}
.spinnerMessage {
color: $brand-grey-light;
padding-top: $spacer / 4;
}
.small {
composes: spinner;
margin: 0;
display: inline-block;
&:before {
width: $font-size-small;
height: $font-size-small;
margin-top: -($font-size-small);
margin-left: -($font-size-small / 2);
border-width: 0.1rem;
}
}
@keyframes spinner {

View File

@ -0,0 +1,15 @@
import React from 'react'
import { render } from '@testing-library/react'
import Spinner from './Spinner'
describe('Spinner', () => {
it('renders without crashing', () => {
const { container } = render(<Spinner />)
expect(container.firstChild).toBeInTheDocument()
})
it('renders small variant', () => {
const { container } = render(<Spinner small />)
expect(container.firstChild).toBeInTheDocument()
})
})

View File

@ -1,10 +1,27 @@
import React from 'react'
import styles from './Spinner.module.scss'
const Spinner = ({ message }: { message?: string }) => (
<div className={styles.spinner}>
{message && <div className={styles.spinnerMessage}>{message}</div>}
</div>
)
const Spinner = ({
message,
small,
className
}: {
message?: string
small?: boolean
className?: string
}) => {
const classes = className || (small ? styles.small : styles.spinner)
return (
<div className={classes}>
{message && (
<div
className={styles.spinnerMessage}
dangerouslySetInnerHTML={{ __html: message }}
/>
)}
</div>
)
}
export default Spinner

View File

@ -4,10 +4,10 @@
display: inline-block;
position: relative;
cursor: help;
padding: .5rem;
padding: 0.5rem;
}
// default: red square
/* default: red square */
.statusIndicator {
width: $font-size-small;
height: $font-size-small;
@ -15,7 +15,7 @@
background: $red;
}
// yellow triangle
/* yellow triangle */
.statusIndicatorCloseEnough {
composes: statusIndicator;
background: none;
@ -26,7 +26,7 @@
border-bottom: $font-size-small solid $yellow;
}
// green circle
/* green circle */
.statusIndicatorActive {
composes: statusIndicator;
border-radius: 50%;

View File

@ -1,6 +1,6 @@
import React from 'react'
import cx from 'classnames'
import { User } from '../../../context/User'
import { User, Market } from '../../../context'
import styles from './Indicator.module.scss'
const Indicator = ({
@ -19,15 +19,19 @@ const Indicator = ({
ref={forwardedRef}
>
<User.Consumer>
{states =>
!states.isWeb3 ? (
<span className={styles.statusIndicator} />
) : !states.isLogged || !states.isNile ? (
<span className={styles.statusIndicatorCloseEnough} />
) : states.isLogged ? (
<span className={styles.statusIndicatorActive} />
) : null
}
{(user) => (
<Market.Consumer>
{(market) =>
!user.isLogged || !market.networkMatch ? (
<span
className={styles.statusIndicatorCloseEnough}
/>
) : user.isLogged ? (
<span className={styles.statusIndicatorActive} />
) : null
}
</Market.Consumer>
)}
</User.Consumer>
</div>
)

View File

@ -7,12 +7,14 @@ $popoverWidth: 18rem;
width: $popoverWidth;
padding: $spacer / 2;
background: $brand-black;
border-radius: .1rem;
border: .1rem solid $brand-grey-light;
box-shadow: 0 6px 16px 0 rgba($brand-black, .3);
border-radius: 0.1rem;
border: 0.1rem solid $brand-grey-light;
box-shadow: 0 6px 16px 0 rgba($brand-black, 0.3);
color: $brand-grey-light;
font-size: $font-size-small;
animation: showPopup .2s ease-in forwards;
animation: showPopup 0.2s ease-in forwards;
white-space: initial;
text-align: left;
}
@keyframes showPopup {
@ -26,7 +28,7 @@ $popoverWidth: 18rem;
}
.popoverInfoline {
border-bottom: .05rem solid $brand-grey;
border-bottom: 0.05rem solid $brand-grey;
padding: $spacer / 3 0;
&:first-child {
@ -39,24 +41,22 @@ $popoverWidth: 18rem;
}
button {
font-size: $font-size-small;
svg,
&[data-action] {
display: none;
}
}
}
.address {
width: 15rem;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-family: $font-family-monospace;
}
.balance {
font-size: $font-size-small;
margin-left: $spacer / 2;
white-space: nowrap;
strong {
color: $brand-grey-lighter;
}
&:first-child {
margin-left: 0;
}

View File

@ -0,0 +1,55 @@
import React from 'react'
import { render } from '@testing-library/react'
import Popover from './Popover'
import { userMock, userMockConnected } from '../../../__mocks__/user-mock'
import { marketMock } from '../../../__mocks__/market-mock'
import { User, Market } from '../../../context'
describe('Popover', () => {
it('renders without crashing', () => {
const { container } = render(
<User.Provider value={userMock}>
<Popover forwardedRef={() => null} style={{}} />
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
})
it('renders connected without crashing', () => {
const { container } = render(
<User.Provider value={userMockConnected}>
<Popover forwardedRef={() => null} style={{}} />
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
})
it('renders correct network', () => {
const { container } = render(
<User.Provider value={{ ...userMockConnected, network: 'Pacific' }}>
<Market.Provider value={{ ...marketMock }}>
<Popover forwardedRef={() => null} style={{}} />
</Market.Provider>
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
expect(container.firstChild).toHaveTextContent('Connected to Pacific')
})
it('renders with wrong network', () => {
const { container } = render(
<User.Provider
value={{
...userMockConnected,
network: '1'
}}
>
<Popover forwardedRef={() => null} style={{}} />
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
expect(container.firstChild).toHaveTextContent(
'Please connect to Custom RPC'
)
})
})

View File

@ -1,19 +1,27 @@
import React, { PureComponent } from 'react'
import { User } from '../../../context/User'
import Account from '../../atoms/Account'
import { User, Market } from '../../../context'
import styles from './Popover.module.scss'
export default class Popover extends PureComponent<{
forwardedRef: (ref: HTMLElement | null) => void
style: React.CSSProperties
forwardedRef?: (ref: HTMLElement | null) => void
style?: React.CSSProperties
}> {
public static contextType = User
public render() {
const { account, balance, network, isWeb3, isNile } = this.context
const { account, balance, network } = this.context
return (
<div
className={styles.popover}
ref={this.props.forwardedRef}
style={this.props.style}
>
<div className={styles.popoverInfoline}>
<Account />
</div>
{account && balance && (
<div className={styles.popoverInfoline}>
<span
@ -31,35 +39,25 @@ export default class Popover extends PureComponent<{
</div>
)}
{!isWeb3 ? (
<div className={styles.popoverInfoline}>
No Web3 detected. Use a browser with MetaMask installed
to publish assets.
</div>
) : (
<>
<Market.Consumer>
{(market) => (
<div className={styles.popoverInfoline}>
{account ? (
<span
className={styles.address}
title={account}
>
{account}
</span>
) : (
<em>No account selected</em>
)}
</div>
<div className={styles.popoverInfoline}>
{network && !isNile
? 'Please connect to Custom RPC\n https://nile.dev-ocean.com'
{network && !market.networkMatch
? `Please connect to Custom RPC
${
market.network === 'Pacific'
? 'https://pacific.oceanprotocol.com'
: market.network === 'Nile'
? 'https://nile.dev-ocean.com'
: market.network === 'Duero'
? 'https://duero.dev-ocean.com'
: 'http://localhost:8545'
}`
: network && `Connected to ${network} network`}
</div>
</>
)}
)}
</Market.Consumer>
</div>
)
}
}
Popover.contextType = User

View File

@ -0,0 +1,18 @@
import React from 'react'
import { render, fireEvent } from '@testing-library/react'
import AccountStatus from '.'
describe('AccountStatus', () => {
it('renders without crashing', () => {
const { container } = render(<AccountStatus />)
expect(container.firstChild).toBeInTheDocument()
})
it('togglePopover fires', () => {
const { container } = render(<AccountStatus />)
const indicator = container.querySelector('.status')
indicator && fireEvent.mouseOver(indicator)
expect(container.querySelector('.popover')).toBeInTheDocument()
indicator && fireEvent.mouseOut(indicator)
})
})

View File

@ -19,8 +19,8 @@ export default class AccountStatus extends PureComponent<
isPopoverOpen: false
}
public togglePopover() {
this.setState(prevState => ({
private togglePopover() {
this.setState((prevState) => ({
isPopoverOpen: !prevState.isPopoverOpen
}))
}
@ -29,7 +29,7 @@ export default class AccountStatus extends PureComponent<
return (
<Manager>
<Reference>
{({ ref }) => (
{({ ref }: { ref: any }) => (
<AccountIndicator
togglePopover={() => this.togglePopover()}
className={this.props.className}
@ -39,7 +39,15 @@ export default class AccountStatus extends PureComponent<
</Reference>
{this.state.isPopoverOpen && (
<Popper placement="auto">
{({ ref, style, placement }) => (
{({
ref,
style,
placement
}: {
ref: any
style: any
placement: any
}) => (
<AccountPopover
forwardedRef={ref}
style={style}

View File

@ -1,41 +0,0 @@
import React from 'react'
import { Link } from 'react-router-dom'
import moment from 'moment'
import Markdown from '../../components/atoms/Markdown'
import styles from './Asset.module.scss'
import CategoryImage from '../atoms/CategoryImage'
const AssetLink = ({ asset, list }: { asset: any; list?: boolean }) => {
const { metadata } = asset.findServiceByType('Metadata')
const { base } = metadata
return list ? (
<article className={styles.assetList}>
<Link to={`/asset/${asset.id}`}>
<h1>{base.name}</h1>
<div
className={styles.date}
title={`Published on ${base.datePublished}`}
>
{moment(base.datePublished, 'YYYYMMDD').fromNow()}
</div>
</Link>
</article>
) : (
<article className={styles.asset}>
<Link to={`/asset/${asset.id}`}>
{base.categories && (
<CategoryImage category={base.categories[0]} />
)}
<h1>{base.name}</h1>
<Markdown text={`${base.description.substring(0, 90)}...`} />
<footer className={styles.assetFooter}>
{base.categories && <div>{base.categories[0]}</div>}
</footer>
</Link>
</article>
)
}
export default AssetLink

View File

@ -1,6 +1,10 @@
@import '../../styles/variables';
.asset {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-all;
> a {
display: block;
height: 100%;
@ -16,17 +20,25 @@
color: inherit;
border-color: $brand-pink;
transform: none;
// category image
> div:first-child {
opacity: 1;
background-size: 105%;
}
}
}
h1 {
font-size: $font-size-large;
margin-top: 0;
margin-bottom: $spacer / 4;
}
}
p {
.minimal {
h1 {
margin-bottom: 0;
font-size: $font-size-small;
}
}
@ -54,13 +66,42 @@
}
}
.description {
&,
p,
strong,
a,
h1,
h2,
h3,
h4,
h5 {
font-weight: $font-weight-base;
font-family: $font-family-base;
margin-bottom: 0;
font-size: $font-size-small;
color: $brand-grey;
}
}
.date {
font-size: $font-size-small;
color: $brand-grey-light;
}
.assetFooter {
margin-top: $spacer / 2;
margin-top: $spacer;
font-size: $font-size-small;
color: $brand-grey-light;
display: flex;
justify-content: space-between;
}
.price {
font-size: $font-size-mini;
span {
color: $brand-grey;
font-size: $font-size-small;
}
}

View File

@ -0,0 +1,78 @@
import React from 'react'
import { Link } from 'react-router-dom'
import moment from 'moment'
import Dotdotdot from 'react-dotdotdot'
import cx from 'classnames'
import styles from './AssetTeaser.module.scss'
import CategoryImage from '../atoms/CategoryImage'
import { allowPricing } from '../../config'
import Web3 from 'web3'
const AssetTeaser = ({
asset,
list,
minimal
}: {
asset: any
list?: boolean
minimal?: boolean
}) => {
const { attributes } = asset.findServiceByType('metadata')
const { main, additionalInformation } = attributes
return list ? (
<article className={styles.assetList}>
<Link to={`/asset/${asset.id}`}>
<h1>{main.name}</h1>
<div
className={styles.date}
title={`Published on ${main.datePublished}`}
>
{moment(main.datePublished, 'YYYYMMDD').fromNow()}
</div>
</Link>
</article>
) : (
<article
className={
minimal ? cx(styles.asset, styles.minimal) : styles.asset
}
>
<Link to={`/asset/${asset.id}`}>
{additionalInformation &&
additionalInformation.categories &&
!minimal && (
<CategoryImage
dimmed
category={additionalInformation.categories[0]}
/>
)}
<h1>{main.name}</h1>
{additionalInformation && !minimal && (
<div className={styles.description}>
<Dotdotdot clamp={3}>
{additionalInformation.description}
</Dotdotdot>
</div>
)}
<footer className={styles.assetFooter}>
{additionalInformation &&
additionalInformation.categories && (
<div>{additionalInformation.categories[0]}</div>
)}
{allowPricing && (
<div className={styles.price}>
<span>
{Web3.utils.fromWei(main.price.toString())}
</span>{' '}
OCEAN
</div>
)}
</footer>
</Link>
</article>
)
}
export default AssetTeaser

View File

@ -0,0 +1,45 @@
@import '../../styles/variables';
.dropzone {
margin-top: $spacer;
margin-bottom: $spacer;
border: 0.2rem dashed $brand-grey-lighter;
border-radius: $border-radius * 2;
padding: $spacer;
background: $brand-white;
transition: 0.2s ease-out;
cursor: pointer;
p {
text-align: center;
margin-bottom: 0;
font-size: $font-size-small;
color: $brand-grey-light;
}
&:hover,
&:focus,
&:active {
border-color: $brand-grey-light;
outline: 0;
}
}
.dragover {
composes: dropzone;
border-color: $brand-pink;
}
.disabled {
composes: dropzone;
opacity: 0.5;
pointer-events: none;
}
.dropzoneFiles {
padding: $spacer 0;
ul {
margin: 0;
}
}

View File

@ -0,0 +1,54 @@
import React from 'react'
import { fireEvent, render, act } from '@testing-library/react'
import Dropzone from './Dropzone'
function mockData(files: any) {
return {
dataTransfer: {
files,
items: files.map((file: any) => ({
kind: 'file',
type: file.type,
getAsFile: () => file
})),
types: ['Files']
}
}
}
function flushPromises(ui: any, container: any) {
return new Promise((resolve) =>
setImmediate(() => {
render(ui, { container })
resolve(container)
})
)
}
function dispatchEvt(node: any, type: string, data: any) {
const event = new Event(type, { bubbles: true })
Object.assign(event, data)
fireEvent(node, event)
}
test('invoke onDragEnter when dragenter event occurs', async () => {
const file = new File([JSON.stringify({ ping: true })], 'ping.json', {
type: 'application/json'
})
const data = mockData([file])
const handleOnDrop = jest.fn()
await act(async () => {
const ui = <Dropzone handleOnDrop={handleOnDrop} />
const { container } = render(ui)
// drop a file
const dropzone = container.querySelector('div')
dispatchEvt(dropzone, 'dragenter', data)
dispatchEvt(dropzone, 'dragover', data)
dispatchEvt(dropzone, 'drop', data)
await flushPromises(ui, container)
})
expect(handleOnDrop).toHaveBeenCalled()
})

View File

@ -0,0 +1,62 @@
import React, { useCallback } from 'react'
import { useDropzone } from 'react-dropzone'
import styles from './Dropzone.module.scss'
import { formatBytes } from '../../utils/utils'
export default function Dropzone({
handleOnDrop,
disabled,
multiple
}: {
handleOnDrop(files: File[]): void
disabled?: boolean
multiple?: boolean
}) {
const onDrop = useCallback((acceptedFiles) => handleOnDrop(acceptedFiles), [
handleOnDrop
])
const {
acceptedFiles,
getRootProps,
getInputProps,
isDragActive,
isDragReject
} = useDropzone({ onDrop })
const files = acceptedFiles.map((file: any) => (
<li key={file.path}>
{file.path} - {formatBytes(file.size, 0)}
</li>
))
return (
<>
{acceptedFiles.length > 0 ? (
<aside className={styles.dropzoneFiles}>
<ul>{files}</ul>
</aside>
) : (
<div
{...getRootProps({
className: isDragActive
? styles.dragover
: disabled
? styles.disabled
: styles.dropzone
})}
>
<input {...getInputProps({ multiple })} />
<p>
{isDragActive && !isDragReject
? `Drop it like it's hot!`
: multiple
? `Drag 'n' drop some files here, or click to select files`
: `Drag 'n' drop a file here, or click to select a file`}
{}
</p>
</div>
)}
</>
)
}

View File

@ -0,0 +1,25 @@
@import '../../styles/variables';
.assetList {
color: $brand-grey-dark;
border-bottom: 1px solid $brand-grey-lighter;
padding-top: $spacer / 2;
padding-bottom: $spacer / 2;
h1 {
font-size: $font-size-base;
color: inherit;
margin: 0;
}
}
.listRow {
display: flex;
justify-content: space-between;
align-items: center;
}
.date {
font-size: $font-size-small;
color: $brand-grey-light;
}

View File

@ -0,0 +1,75 @@
import React, { useEffect, useState, useContext } from 'react'
import { User } from '../../context'
import moment from 'moment'
import shortid from 'shortid'
import styles from './JobTeaser.module.scss'
import Dotdotdot from 'react-dotdotdot'
export default function JobTeaser({ job }: { job: any }) {
const { ocean } = useContext(User)
const [assetName, setAssetName] = useState()
const [assetUrl, setAssetUrl] = useState()
useEffect(() => {
async function getAsset() {
try {
const {
did
} = await (ocean as any).keeper.agreementStoreManager.getAgreement(
job.agreementId
)
const asset = await (ocean as any).assets.resolve(did)
const { attributes } = asset.findServiceByType('metadata')
const { main } = attributes
const link = '/asset/did:op:' + did
setAssetName(main.name)
setAssetUrl(link as any)
} catch (error) {
console.log(error)
}
}
getAsset()
}, [ocean, job.agreementId])
return (
<article className={styles.assetList}>
<div className={styles.listRow}>
<h1>
<a href={assetUrl}>{assetName}</a>
</h1>
<div
className={styles.date}
title={`Created on ${job.dateCreated}`}
>
{moment.unix(job.dateCreated).fromNow()}
</div>
</div>
<div className={styles.listRow}>
<div>Job status</div>
<div>{job.statusText}</div>
</div>
<div>
{job.algorithmLogUrl ? (
<a href={job.algorithmLogUrl}> Algorithm log</a>
) : (
''
)}
</div>
<div>
{job.resultsUrl ? (
<>
<div>Output URL</div>
{job.resultsUrl.map((result: string) => (
<a href={result} key={shortid.generate()}>
{' '}
{result.substring(0, 52)}...
</a>
))}
</>
) : (
''
)}
</div>
</article>
)
}

View File

@ -2,18 +2,17 @@
.pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: $spacer * 2;
margin-bottom: $spacer;
justify-content: center;
padding-left: 0;
> div {
&:first-child {
padding: $spacer / 4;
}
li {
margin: 0;
&:last-child {
padding: $spacer / 4;
text-align: right;
&:before {
display: none;
}
}
}
@ -21,15 +20,53 @@
.number {
text-align: center;
font-weight: $font-weight-bold;
padding: $spacer / 4;
margin-left: $spacer / 4;
margin-right: $spacer / 4;
padding: $spacer / 4 $spacer / 2;
margin-left: -1px;
margin-top: -1px;
display: inline-block;
cursor: pointer;
border: 1px solid $brand-grey-lighter;
min-width: 3.5rem;
&,
&:hover,
&:focus,
&:active {
transform: none;
outline: 0;
}
&:hover,
&:focus,
&:active {
background: lighten($brand-grey-lighter, 7%);
}
}
.current,
.prev,
.next,
.break {
composes: number;
}
.current {
composes: number;
cursor: default;
pointer-events: none;
color: $brand-grey-light;
&,
&:hover,
&:focus,
&:active {
color: $brand-grey-light;
background: lighten($brand-grey-lighter, 7%);
}
}
.next {
text-align: right;
}
.prevNextDisabled {
opacity: 0;
}

View File

@ -0,0 +1,17 @@
import React from 'react'
import { render } from '@testing-library/react'
import Pagination from './Pagination'
describe('Pagination', () => {
it('renders without crashing', () => {
const { container } = render(
<Pagination
totalPages={20}
currentPage={1}
handlePageClick={() => Promise.resolve()}
/>
)
expect(container.firstChild).toBeInTheDocument()
container.firstChild && expect(container.firstChild.nodeName).toBe('UL')
})
})

View File

@ -1,82 +1,73 @@
import React, { PureComponent } from 'react'
import Button from '../atoms/Button'
import ReactPaginate from 'react-paginate'
import styles from './Pagination.module.scss'
const PageNumber = ({
i,
current,
setPage
}: {
i: number
current: boolean
setPage(page: number): void
}) => (
<Button
link
className={current ? styles.current : styles.number}
onClick={() => setPage(i + 1)}
>
{`${i + 1}`}
</Button>
)
const PrevNext = ({
currentPage,
prevPage,
setPage
}: {
currentPage: number
prevPage?: number
setPage(page: number): void
}) => (
<Button
link
onClick={
prevPage ? () => setPage(prevPage) : () => setPage(currentPage + 1)
}
>
{prevPage ? '←' : '→'}
</Button>
)
export default class Pagination extends PureComponent<{
currentPage: number
interface PaginationProps {
totalPages: number
prevPage?: number
setPage(page: number): void
}> {
public render() {
const { currentPage, totalPages, prevPage, setPage } = this.props
const isFirst = currentPage === 0
const isLast = currentPage === totalPages
currentPage: number
handlePageClick(data: { selected: number }): Promise<any>
}
return totalPages > 1 ? (
<div className={styles.pagination}>
<div>
{!isFirst && (
<PrevNext
prevPage={prevPage}
currentPage={currentPage}
setPage={setPage}
/>
)}
</div>
<div>
{Array.from({ length: totalPages }, (_, i) => (
<PageNumber
key={`pagination-number${i + 1}`}
i={i}
current={currentPage === i + 1}
setPage={setPage}
/>
))}
</div>
<div>
{!isLast && (
<PrevNext currentPage={currentPage} setPage={setPage} />
)}
</div>
</div>
) : null
interface PaginationState {
smallViewport: boolean
}
export default class Pagination extends PureComponent<
PaginationProps,
PaginationState
> {
public state = { smallViewport: true }
private mq = window.matchMedia && window.matchMedia('(min-width: 600px)')
public componentDidMount() {
if (window && window.matchMedia) {
this.mq.addListener(this.viewportChange)
this.viewportChange(this.mq)
}
}
public componentWillUnmount() {
if (window && window.matchMedia) {
this.mq.removeListener(this.viewportChange)
}
}
private viewportChange = (mq: { matches: boolean }) => {
if (mq.matches) {
this.setState({ smallViewport: false })
} else {
this.setState({ smallViewport: true })
}
}
public render() {
const { totalPages, currentPage, handlePageClick } = this.props
const { smallViewport } = this.state
return (
totalPages > 1 && (
<ReactPaginate
pageCount={totalPages}
// react-pagination starts counting at 0, we start at 1
initialPage={currentPage - 1}
// adapt based on media query match
marginPagesDisplayed={smallViewport ? 0 : 1}
pageRangeDisplayed={smallViewport ? 3 : 6}
onPageChange={(data) => handlePageClick(data)}
disableInitialCallback
previousLabel="←"
nextLabel="→"
breakLabel="..."
containerClassName={styles.pagination}
pageLinkClassName={styles.number}
activeLinkClassName={styles.current}
previousLinkClassName={styles.prev}
nextLinkClassName={styles.next}
disabledClassName={styles.prevNextDisabled}
breakLinkClassName={styles.break}
/>
)
)
}
}

View File

@ -0,0 +1,36 @@
@import '../../styles/variables';
.results {
display: grid;
grid-template-columns: 1fr;
grid-gap: $spacer;
max-width: calc(18rem + #{$spacer * 2});
margin: auto;
margin-top: $spacer * 2;
@media (min-width: $break-point--small) {
margin-left: 0;
margin-right: 0;
max-width: none;
grid-template-columns: repeat(2, 1fr);
}
@media (min-width: $break-point--medium) {
grid-template-columns: repeat(3, 1fr);
}
}
.simple {
composes: results;
margin-top: 0;
@media (min-width: $break-point--medium) {
grid-template-columns: repeat(2, 1fr);
}
}
.empty {
text-align: center;
margin-top: $spacer * 4;
color: $brand-grey-light;
}

View File

@ -0,0 +1,40 @@
import React from 'react'
import { Link } from 'react-router-dom'
import { DDO } from '@oceanprotocol/squid'
import Spinner from '../atoms/Spinner'
import AssetTeaser from './AssetTeaser'
import styles from './SearchResults.module.scss'
export interface SearchResultsState {
results: DDO[]
totalResults: number
offset: number
totalPages: number
currentPage: number
isLoading: boolean
}
export default function SearchResults({
isLoading,
results,
simpleGrid
}: {
isLoading: boolean
results: DDO[]
simpleGrid?: boolean
}) {
return isLoading ? (
<Spinner message="Searching..." />
) : results && results.length ? (
<div className={simpleGrid ? styles.simple : styles.results}>
{results.map((asset: any) => (
<AssetTeaser key={asset.id} asset={asset} />
))}
</div>
) : (
<div className={styles.empty}>
<p>No Data Sets Found.</p>
<Link to="/publish">+ Publish A Data Set</Link>
</div>
)
}

View File

@ -0,0 +1,22 @@
@import '../../../styles/variables';
.spinner {
composes: spinner, small from '../../atoms/Spinner.module.scss';
margin-right: $spacer;
}
.commit {
margin-left: $spacer / 8;
code {
color: $brand-grey-light;
font-size: $font-size-mini;
}
}
.network {
color: $brand-grey-light;
text-transform: capitalize;
margin-left: $spacer / 8;
font-size: $font-size-mini;
}

View File

@ -0,0 +1,23 @@
import React from 'react'
import { render } from '@testing-library/react'
import VersionNumber from './VersionNumber'
describe('VersionNumber', () => {
it('renders without crashing', () => {
const { container } = render(<VersionNumber name="Commons" />)
expect(container.firstChild).toBeInTheDocument()
})
it('renders with all props set', () => {
const { container } = render(
<VersionNumber
name="Commons"
version="6.6.6"
network="Nile"
commit="xxxxxxxxxxx"
/>
)
expect(container.firstChild).toBeInTheDocument()
expect(container.firstChild).toHaveTextContent('6.6.6')
})
})

View File

@ -0,0 +1,53 @@
import React from 'react'
import { OceanPlatformTechStatus } from '@oceanprotocol/squid'
import slugify from '@sindresorhus/slugify'
import Spinner from '../../atoms/Spinner'
import styles from './VersionNumber.module.scss'
const VersionNumber = ({
name,
version,
network,
status,
commit
}: {
name: string
version?: string
network?: string
status?: OceanPlatformTechStatus
commit?: string
}) =>
version ? (
<>
<a
href={`https://github.com/oceanprotocol/${slugify(
name
)}/releases/tag/v${version}`}
title="Go to release on GitHub"
>
<code>v{version}</code>
</a>
{commit && (
<a
href={`https://github.com/oceanprotocol/${slugify(
name
)}/commit/${commit}`}
className={styles.commit}
title={`Go to commit ${commit} on GitHub`}
>
<code>{commit.substring(0, 7)}</code>
</a>
)}
{network && <span className={styles.network}>{` ${network}`}</span>}
</>
) : (
<span>
{status === OceanPlatformTechStatus.Loading ? (
<Spinner className={styles.spinner} small />
) : (
status || 'Could not get version'
)}
</span>
)
export default VersionNumber

View File

@ -0,0 +1,37 @@
@import '../../../styles/variables';
.status {
text-align: center;
padding-top: $spacer / 2;
padding-bottom: $spacer;
display: flex;
justify-content: space-between;
}
.element {
display: inline-block;
margin-left: $spacer / 1.5;
margin-right: $spacer / 1.5;
text-align: center;
}
.indicator,
.indicatorActive {
display: inline-block;
margin-right: $spacer / 4;
margin-bottom: -0.1rem;
}
.indicator {
composes: statusindicator from '../AccountStatus/Indicator.module.scss';
}
.indicatorActive {
composes: statusindicatoractive from '../AccountStatus/Indicator.module.scss';
}
.indicatorLabel {
font-family: $font-family-title;
color: $brand-grey;
text-transform: capitalize;
}

View File

@ -0,0 +1,23 @@
import React from 'react'
import { render } from '@testing-library/react'
import VersionStatus from './VersionStatus'
describe('VersionStatus', () => {
it('renders without crashing', () => {
const { container } = render(
<VersionStatus
status={{ ok: false, contracts: false, network: false }}
/>
)
expect(container.firstChild).toBeInTheDocument()
})
it('renders true states', () => {
const { container } = render(
<VersionStatus
status={{ ok: true, contracts: false, network: false }}
/>
)
expect(container.firstChild).toBeInTheDocument()
})
})

View File

@ -0,0 +1,41 @@
import React from 'react'
import styles from './VersionStatus.module.scss'
const statusInfo: { [key: string]: string } = {
ok: 'Shows if connection to all component endpoints can be established.',
network: 'Shows if all components are on the same network.',
contracts: 'Shows if contracts loaded by components are the same version.'
}
const VersionStatus = ({
status
}: {
status: { ok: boolean; network: boolean; contracts: boolean }
}) => {
return (
<div className={styles.status}>
{Object.entries(status).map(([key, value]) => (
<div
className={styles.element}
key={key}
title={statusInfo[key]}
>
<span
className={
value === true
? styles.indicatorActive
: styles.indicator
}
>
{value}
</span>
<span className={styles.indicatorLabel}>
{key === 'ok' ? 'components' : key}
</span>
</div>
))}
</div>
)
}
export default VersionStatus

View File

@ -0,0 +1,58 @@
@import '../../../styles/variables';
.tableWrap {
// make 'em scrollable
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.table {
border-top: 1px solid $brand-grey-lighter;
table {
margin-left: $spacer;
width: calc(100% - #{$spacer});
margin-bottom: -1px;
td {
padding: $spacer / 6 $spacer / 2;
&,
code {
font-size: $font-size-mini;
}
}
}
td {
padding: $spacer / 4 $spacer / 2 $spacer / 4 $spacer * 1.3;
vertical-align: top;
&:last-child {
text-align: right;
}
&[colspan] {
padding: 0;
}
}
a {
&,
code {
color: $brand-grey;
}
&:hover,
&:focus {
&,
code {
color: $brand-pink;
}
}
}
}
.label {
min-width: 15rem;
}

View File

@ -0,0 +1,51 @@
import React from 'react'
import { render } from '@testing-library/react'
import { VersionTableContracts } from './VersionTable'
describe('VersionTableContracts', () => {
it('renders without crashing', () => {
const { container } = render(
<VersionTableContracts
contracts={{ hello: 'hello', hello2: 'hello2' }}
network="nile"
keeperVersion="6.6.6"
/>
)
expect(container.firstChild).toBeInTheDocument()
})
it('renders correct Submarine links', () => {
const { container, rerender } = render(
<VersionTableContracts
contracts={{ hello: 'hello', hello2: 'hello2' }}
network="duero"
keeperVersion="6.6.6"
/>
)
expect(container.querySelector('tr:last-child a').href).toMatch(
/submarine.duero.dev-ocean/
)
rerender(
<VersionTableContracts
contracts={{ hello: 'hello', hello2: 'hello2' }}
network="nile"
keeperVersion="6.6.6"
/>
)
expect(container.querySelector('tr:last-child a').href).toMatch(
/submarine.nile.dev-ocean/
)
rerender(
<VersionTableContracts
contracts={{ hello: 'hello', hello2: 'hello2' }}
network="pacific"
keeperVersion="6.6.6"
/>
)
expect(container.querySelector('tr:last-child a').href).toMatch(
/submarine.oceanprotocol/
)
})
})

View File

@ -0,0 +1,112 @@
import React from 'react'
import { VersionNumbersState } from '.'
import VersionTableRow from './VersionTableRow'
import styles from './VersionTable.module.scss'
import VersionNumber from './VersionNumber'
import {
serviceUri,
nodeUri,
aquariusUri,
brizoUri,
brizoAddress,
secretStoreUri,
faucetUri
} from '../../../config'
const commonsConfig = {
serviceUri,
nodeUri,
aquariusUri,
brizoUri,
brizoAddress,
secretStoreUri,
faucetUri
}
export const VersionTableContracts = ({
contracts,
network,
keeperVersion
}: {
contracts: {
[contractName: string]: string
}
network: string
keeperVersion?: string
}) => (
<table>
<tbody>
<tr>
<td>
<strong>Keeper Contracts</strong>
</td>
<td>
<VersionNumber
name="Keeper Contracts"
version={keeperVersion}
/>
</td>
</tr>
{contracts &&
Object.keys(contracts)
// sort alphabetically
.sort((a, b) => a.localeCompare(b))
.map((key) => {
const submarineLink = `https://submarine.${
network === 'pacific'
? 'oceanprotocol'
: `${network}.dev-ocean`
}.com/address/${contracts[key]}`
return (
<tr key={key}>
<td>
<code className={styles.label}>{key}</code>
</td>
<td>
<a href={submarineLink}>
<code>{contracts[key]}</code>
</a>
</td>
</tr>
)
})}
</tbody>
</table>
)
export const VersionTableCommons = () => (
<table>
<tbody>
{Object.entries(commonsConfig).map(([key, value]) => (
<tr key={key}>
<td>
<code className={styles.label}>{key}</code>
</td>
<td>
<code>{value}</code>
</td>
</tr>
))}
</tbody>
</table>
)
const VersionTable = ({ data }: { data: VersionNumbersState }) => {
return (
<div className={styles.tableWrap}>
<table className={styles.table}>
<tbody>
{Object.entries(data)
.filter(([key]) => key !== 'status')
.map(([key, value]) => (
<VersionTableRow key={key} value={value} />
))}
</tbody>
</table>
</div>
)
}
export default VersionTable

View File

@ -0,0 +1,23 @@
@import '../../../styles/variables';
.handle {
display: inline-block;
border: 0;
background: none;
box-shadow: none;
padding: 0;
margin: 0;
margin-left: -1rem;
margin-top: -0.1rem;
padding-right: 0.5rem;
cursor: pointer;
svg {
fill: $brand-grey-light;
transition: 0.2s ease-out;
}
}
.open {
transform: rotate(90deg);
}

View File

@ -0,0 +1,73 @@
import React from 'react'
import useCollapse from 'react-collapsed'
import slugify from '@sindresorhus/slugify'
import styles from './VersionTableRow.module.scss'
import { VersionTableContracts, VersionTableCommons } from './VersionTable'
import VersionNumber from './VersionNumber'
import { ReactComponent as Caret } from '../../../img/caret.svg'
const VersionTableRow = ({ value }: { value: any }) => {
const collapseStyles = {
transitionDuration: '0.01s'
}
const expandStyles = {
transitionDuration: '0.01s',
transitionTimingFunction: 'ease-out'
}
const { getCollapseProps, getToggleProps, isOpen } = useCollapse({
collapseStyles,
expandStyles
})
return (
<>
<tr>
<td>
{(value.name === 'Commons' || value.contracts) && (
<button className={styles.handle} {...getToggleProps()}>
<Caret className={isOpen ? styles.open : ''} />
</button>
)}
<a
href={`https://github.com/oceanprotocol/${slugify(
value.name || value.software
)}`}
>
<strong>{value.name || value.software}</strong>
</a>
</td>
<td>
<VersionNumber
name={value.name || value.software}
version={value.version}
status={value.status}
network={value.network}
commit={value.commit}
/>
</td>
</tr>
{value.name === 'Commons' && (
<tr {...getCollapseProps()}>
<td colSpan={2}>
<VersionTableCommons />
</td>
</tr>
)}
{value.contracts && (
<tr {...getCollapseProps()}>
<td colSpan={2}>
<VersionTableContracts
contracts={value.contracts}
network={value.network || ''}
keeperVersion={value.keeperVersion}
/>
</td>
</tr>
)}
</>
)
}
export default VersionTableRow

View File

@ -0,0 +1,13 @@
@import '../../../styles/variables';
.versionsTitle {
font-size: $font-size-large;
margin-bottom: $spacer / 2;
margin-top: $spacer * 2;
}
.versionsMinimal {
font-family: $font-family-monospace;
font-size: $font-size-mini;
margin-top: $spacer;
}

View File

@ -0,0 +1,95 @@
import React from 'react'
import { render } from '@testing-library/react'
import mockAxios from 'jest-mock-axios'
import { StateMock } from '@react-mock/state'
import VersionNumbers from '.'
import { User } from '../../../context'
import { userMockConnected } from '../../../__mocks__/user-mock'
afterEach(() => {
mockAxios.reset()
})
const stateMockIncomplete = {
commons: {
name: 'Commons',
version: undefined
},
squid: {
name: 'Squid-js',
version: undefined
},
aquarius: {
name: 'Aquarius',
version: undefined
},
brizo: {
name: 'Brizo',
version: undefined,
contracts: undefined,
network: undefined,
keeperVersion: undefined,
keeperUrl: undefined
},
faucet: {
name: 'Faucet',
version: undefined,
network: undefined
},
status: {
ok: false,
network: false,
contracts: false
}
}
const mockResponse = {
data: {
software: 'Faucet',
version: '6.6.6',
network: 'Pacific'
}
}
const mockResponseFaulty = {
status: 404,
statusText: 'Not Found',
data: {}
}
describe('VersionNumbers', () => {
it('renders without crashing', () => {
const { container, rerender } = render(
<User.Provider value={userMockConnected}>
<VersionNumbers account="0x00000" />
</User.Provider>
)
mockAxios.mockResponse(mockResponse)
expect(mockAxios.get).toHaveBeenCalled()
expect(container.firstChild).toBeInTheDocument()
rerender(
<User.Provider value={userMockConnected}>
<VersionNumbers account="0x99999" />
</User.Provider>
)
mockAxios.mockResponse(mockResponse)
expect(mockAxios.get).toHaveBeenCalled()
})
it('renders without proper component response', () => {
const { container } = render(
<User.Provider value={userMockConnected}>
<StateMock state={stateMockIncomplete}>
<VersionNumbers account="0x00000" />
</StateMock>
</User.Provider>
)
mockAxios.mockResponse(mockResponseFaulty)
expect(mockAxios.get).toHaveBeenCalled()
expect(container.querySelector('table')).toHaveTextContent(
'Could not get version'
)
})
})

View File

@ -0,0 +1,181 @@
import React, { PureComponent } from 'react'
import {
OceanPlatformVersions,
OceanPlatformTechStatus,
Logger
} from '@oceanprotocol/squid'
import axios from 'axios'
import { version } from '../../../../package.json'
import styles from './index.module.scss'
import { nodeUri, faucetUri } from '../../../config'
import { User, Market } from '../../../context'
import VersionTable from './VersionTable'
import VersionStatus from './VersionStatus'
interface VersionNumbersProps {
minimal?: boolean
account: string
}
export interface VersionNumbersState extends OceanPlatformVersions {
commons: {
name: string
version: string
network: string
}
faucet: {
name: string
version: string
network: string
status: OceanPlatformTechStatus
}
}
export default class VersionNumbers extends PureComponent<
VersionNumbersProps,
VersionNumbersState
> {
public static contextType = User
// construct values which are not part of any response
public commonsVersion =
process.env.NODE_ENV === 'production' ? version : `${version}-dev`
public commonsNetwork = faucetUri.includes('localhost')
? 'Spree'
: new URL(nodeUri).hostname.split('.')[0]
// define a minimal default state to fill UI
public state: VersionNumbersState = {
commons: {
name: 'Commons',
network: this.commonsNetwork,
version: this.commonsVersion
},
squid: {
name: 'Squid-js',
status: OceanPlatformTechStatus.Loading
},
aquarius: {
name: 'Aquarius',
status: OceanPlatformTechStatus.Loading
},
brizo: {
name: 'Brizo',
status: OceanPlatformTechStatus.Loading
},
faucet: {
name: 'Faucet',
version: '',
network: '',
status: OceanPlatformTechStatus.Loading
},
status: {
ok: false,
network: false,
contracts: false
}
}
// for canceling axios requests
public signal = axios.CancelToken.source()
public componentDidMount() {
this.getOceanVersions()
this.getFaucetVersion()
}
public async componentDidUpdate(prevProps: any) {
// Workaround: Using account prop instead of getting it from
// context to be able to compare. Cause there is no `prevContext`.
if (prevProps.account !== this.props.account) {
this.getOceanVersions()
this.getFaucetVersion()
}
}
public componentWillUnmount() {
this.signal.cancel()
}
private async getOceanVersions() {
const { ocean } = this.context
// wait until ocean object is properly populated
if (ocean.versions === undefined) return
const response = await ocean.versions.get()
const { squid, brizo, aquarius, status } = response
this.setState({
...this.state,
squid,
brizo,
aquarius,
status
})
}
private async getFaucetVersion() {
try {
const response = await axios.get(faucetUri, {
headers: { Accept: 'application/json' },
cancelToken: this.signal.token
})
// fail silently
if (response.status !== 200) return
const { version, network } = response.data
this.setState({
...this.state,
faucet: {
...this.state.faucet,
version,
network,
status: OceanPlatformTechStatus.Working
}
})
} catch (error) {
!axios.isCancel(error) && Logger.error(error.message)
}
}
private MinimalOutput = () => {
const { commons, squid, brizo, aquarius } = this.state
return (
<Market.Consumer>
{(market) => (
<p className={styles.versionsMinimal}>
<a
title={`${squid.name} v${squid.version}\n${brizo.name} v${brizo.version}\n${aquarius.name} v${aquarius.version}`}
href="/about"
>
v{commons.version}{' '}
{market.network && `(${market.network})`}
</a>
</p>
)}
</Market.Consumer>
)
}
public render() {
const { minimal } = this.props
return minimal ? (
<this.MinimalOutput />
) : (
<>
<h2 className={styles.versionsTitle} id="#oceanversions">
Ocean Components Status
</h2>
<VersionStatus status={this.state.status} />
<VersionTable data={this.state} />
</>
)
}
}

View File

@ -0,0 +1,42 @@
@import '../../styles/variables';
.latestAssetsWrap {
// full width break out of container
// margin-right: calc(-50vw + 50%);
}
.latestAssets {
width: 100%;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
display: grid;
grid-gap: $spacer;
grid-auto-flow: column;
padding: $spacer / 2 $spacer;
border-left: 1px solid $brand-grey-lighter;
&::-webkit-scrollbar,
&::-moz-scrollbar {
display: none;
}
> article {
min-width: calc(18rem + #{$spacer});
}
}
.title {
font-size: $font-size-h4;
text-align: center;
color: $brand-grey-light;
border-bottom: 1px solid $brand-grey-lighter;
padding-bottom: $spacer / 3;
margin-top: $spacer * 3;
margin-bottom: $spacer / 2;
@media (min-width: $break-point--small) {
text-align: left;
}
}

View File

@ -0,0 +1,19 @@
import React from 'react'
import { BrowserRouter } from 'react-router-dom'
import { render } from '@testing-library/react'
import AssetsLatest from './AssetsLatest'
import { User } from '../../context'
import { userMockConnected } from '../../__mocks__/user-mock'
describe('AssetsLatest', () => {
it('renders without crashing', () => {
const { container } = render(
<User.Provider value={userMockConnected}>
<BrowserRouter>
<AssetsLatest />
</BrowserRouter>
</User.Provider>
)
expect(container.firstChild).toBeInTheDocument()
})
})

View File

@ -0,0 +1,79 @@
import React, { PureComponent } from 'react'
import { Logger } from '@oceanprotocol/squid'
import { User } from '../../context'
import Spinner from '../atoms/Spinner'
import AssetTeaser from '../molecules/AssetTeaser'
import styles from './AssetsLatest.module.scss'
interface AssetsLatestState {
latestAssets?: any[]
isLoadingLatest?: boolean
}
export default class AssetsLatest extends PureComponent<{}, AssetsLatestState> {
public state = { latestAssets: [], isLoadingLatest: true }
public _isMounted = false
public componentDidMount() {
this._isMounted = true
this._isMounted && this.getLatestAssets()
}
public componentWillUnmount() {
this._isMounted = false
}
private getLatestAssets = async () => {
const { ocean } = this.context
const searchQuery = {
offset: 15,
page: 1,
query: {},
sort: {
created: -1
}
}
try {
const search = await ocean.assets.query(searchQuery)
this.setState({
latestAssets: search.results,
isLoadingLatest: false
})
} catch (error) {
Logger.error(error.message)
this.setState({ isLoadingLatest: false })
}
}
public render() {
const { latestAssets, isLoadingLatest } = this.state
return (
<>
<h2 className={styles.title}>Latest published assets</h2>
<div className={styles.latestAssetsWrap}>
{isLoadingLatest ? (
<Spinner message="Loading..." />
) : latestAssets && latestAssets.length ? (
<div className={styles.latestAssets}>
{latestAssets.map((asset: any) => (
<AssetTeaser
key={asset.id}
asset={asset}
minimal
/>
))}
</div>
) : (
<div>No data sets found.</div>
)}
</div>
</>
)
}
}
AssetsLatest.contextType = User

Some files were not shown because too many files have changed in this diff Show More