Skip to content

Commit c3ec002

Browse files
authored
Merge pull request #322 from OceanProtocolEnterprise/feat/stage
Feat/stage
2 parents 2131b24 + 875827d commit c3ec002

134 files changed

Lines changed: 12413 additions & 6901 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app.config.cjs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ module.exports = {
2424
process.env.NEXT_PUBLIC_NODE_URI ||
2525
'https://eth-sepolia-testnet.api.pocket.network',
2626

27-
// List of chainIds which metadata cache queries will return by default.
28-
// This preselects the Chains user preferences.
29-
chainIds: [1, 10, 11155111, 11155420],
30-
31-
// List of all supported chainIds. Used to populate the Chains user preferences list.
32-
chainIdsSupported: [1, 10, 11155111, 11155420],
33-
3427
customProviderUrl:
3528
getEnv('NEXT_PUBLIC_PROVIDER_URL') || process.env.NEXT_PUBLIC_PROVIDER_URL,
3629

content/pages/cookie-settings.md

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,52 @@
11
---
22
title: Cookie Policy
3-
description: This cookie policy explains how Ocean Protocol Enterprise uses cookies and similar technologies on our website.
3+
description: This cookie policy explains how the Ocean Enterprise Demonstration Market uses cookies and similar technologies.
4+
showLastUpdated: true
45
---
56

6-
A cookie is a small file that stores Internet settings. Almost every website uses cookie technology. It is downloaded by your web browser on the first visit to a website. The next time this website is opened with the same user device, the cookie and the information stored in it is either sent back to the website that created it (first-party cookie) or sent to another website it belongs to (third-party cookie). This enables the website to detect that you have opened it previously with this browser and in some cases to vary the displayed content.
7+
This Cookie Policy explains how the Ocean Enterprise Demonstration Market uses cookies and similar technologies. This policy should be read alongside our Privacy Policy.
78

8-
When you first arrive on our site, a cookie banner will be shown. By accepting the cookies, you help us to provide better content in the future. The only downside for rejecting cookies on your side is that you will not be able to see some content loaded from external sources, which at the moment is only Twitter content.
9+
## 1. What are cookies?
910

10-
The collected IP addresses are truncated before being sent to Google, making them anonymized. Google Analytics also sets cookies.
11+
A cookie is a small file that stores information on your device. Your web browser downloads it on your first visit to a website. When you return using the same device, the cookie is either sent back to the site that created it (first-party) or to another website it belongs to (third-party).
1112

12-
On our site, only Google Analytics and Twitter set cookies. We have to set a cookie of our own though, for remembering your acceptance or rejection of our cookie banner. This cookie will stay in your browser for 13 months, unless you delete it manually. This is so we can detect your acceptance or rejection on your next visit, and adapt the site accordingly.
13+
In this policy, the term "cookies" refers to standard browser cookies, as well as web storage (`localStorage` and `sessionStorage`) and `IndexedDB`, which serve similar functions.
1314

14-
If you have Do Not Track activated in your browser, or if you rejected our cookie banner, we won’t let Google set any cookies in your browser.
15+
### Cookie Categories
1516

16-
## Contact & Data Controller
17+
- Essential cookies: Strictly necessary for you to browse the website and use features like wallet connections.
18+
- Preference cookies: Used to remember your settings (e.g., currency or selected chains) to improve user-friendliness.
19+
- Statistics cookies: Collect information about how you use the website to improve functions.
20+
- Marketing cookies: Track activity to deliver relevant content or advertising.
1721

18-
You also have the option of disabling cookies in your browser setting, and deleting cookies from your computer’s hard disk at any time.
22+
## 2. How do we use cookies?
1923

20-
If you want to change your cookie consent, click the **Cookie Settings** link at the bottom of the page.
24+
We use essential and preference-based first-party storage to ensure the portal functions correctly. Currently, optional cookie categories (statistics/marketing) are not active in the user interface.
2125

22-
In general, you can block cookies by using your browser’s settings, or by installing a browser add-on such as:
26+
| Name / Key | Service | Purpose | Type and Duration |
27+
| --------------------------- | ---------------- | ------------------------------------------------------------------- | ------------------------------------ |
28+
| `wagmi.store` | wagmi/connectkit | Stores wallet connection state (chain, connector, account mapping). | Cookie; session-based. |
29+
| `ocean-user-preferences-v4` | Ocean App | Stores currency, selected chains, bookmarks, and onboarding flags. | `localStorage`; persistent. |
30+
| `sessionToken` | SSI Auth | Stores SSI session token (session ID, bearer token, expiration). | `localStorage`; persistent. |
31+
| `cachedCredentials` | SSI Flow | Caches verifiable credentials per DID to speed up access. | `localStorage`; persistent. |
32+
| `credential_<assetId>` | Access Control | Stores timestamp of successful credential checks. | `localStorage`; persistent. |
33+
| `compute-rerun:<jobId>` | Compute | Stores rerun payloads for compute history. | `localStorage`; persistent. |
34+
| `ssiWalletApiOverride` | SSI Auth | Stores user-entered SSI API base URL overrides. | `sessionStorage`; ends with session. |
35+
| `wc@2:*` | WalletConnect | Persistence for WalletConnect client sessions. | `localStorage` and `IndexedDB`. |
2336

24-
- [Privacy Badger](https://privacybadger.org/)
25-
- [uBlock Origin](https://ublockorigin.com/)
37+
## 3. External Data Transfers
2638

27-
## Google Analytics
39+
While not all are "cookies," the following services receive data during your use of the market:
2840

29-
The site uses Google Analytics, which provides us with anonymized information about our users (such as anonymized IP address, browser version, and so on) and how they use the site. We use this information to make the site better.
41+
- SSI Wallet API: Processes wallet addresses and credential IDs during verification.
42+
- Ocean Node: Receives DIDs and consumer addresses for asset downloads or compute jobs, processes search and filter queries.
43+
- IPFS (Pinata/Gateways): Used for pinning and retrieving decentralized content.
3044

31-
If you hit **Reject** on the cookie banner, all previously set Google cookies will be deleted, and the rejection is stored in a cookie named `CookieConsent` with a value of `false`.
45+
## 4. How to block or delete cookies
3246

33-
## Marketing Activities
47+
- Removing cookies: You can delete all cookies or site-specific cookies via your browser settings at any time.
48+
- Blocking cookies: Most browsers allow you to prevent cookies from being placed. Please note that blocking essential cookies will prevent wallet connections and asset access from functioning.
3449

35-
We may transfer your personal data to our business partners:
50+
## 5. Changes to this cookie policy
3651

37-
**BigchainDB GmbH**
38-
Bernauer Str. 49
39-
10435 Berlin
40-
Germany
41-
42-
For any requests, you can contact us as follows:
43-
44-
**Email:** [info@oceanenterprise.io](mailto:info@oceanenterprise.io)
52+
This policy may be amended from time to time. The "Last updated" date at the top indicates the most recent changes. Material changes will be notified via a prominent notice on the demonstration market.

content/pages/editMetadata.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,23 @@
1818
"rows": 10,
1919
"required": true
2020
},
21+
{
22+
"name": "descriptionLanguage",
23+
"label": "Description language",
24+
"type": "select",
25+
"selectStyle": "serviceLanguage",
26+
"help": "Please select the description language",
27+
"options": [],
28+
"required": false
29+
},
30+
{
31+
"name": "descriptionDirection",
32+
"label": "Description direction",
33+
"type": "text",
34+
"help": "Description text direction (ltr/rtl)",
35+
"readOnly": true,
36+
"required": false
37+
},
2138
{
2239
"name": "type",
2340
"label": "Asset Type",

content/pages/privacy/en.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ For any questions or concerns regarding these Terms, please contact us at **info
4646

4747
## Privacy Policy
4848

49-
_Last updated on June 5, 2025._
50-
5149
This privacy policy informs you about how **Ocean Enterprise Collective e.V. (in the following OEC, we, us, our)** processes your personal data. Moreover, this privacy policy informs you about your rights.
5250

5351
### 1. Contact details of the controller

content/publish/form.json

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@
3030
"type": "textarea",
3131
"required": true
3232
},
33+
{
34+
"name": "descriptionDirection",
35+
"label": "Description language direction",
36+
"type": "serviceDirection",
37+
"help": "Please enter the description language direction",
38+
"placeholder": "e.g. ltr",
39+
"required": false
40+
},
41+
{
42+
"name": "descriptionLanguage",
43+
"label": "Description language",
44+
"type": "serviceLanguage",
45+
"help": "Please enter the description language",
46+
"placeholder": "e.g. en",
47+
"required": false
48+
},
3349
{
3450
"name": "tags",
3551
"label": "Tags",
@@ -222,6 +238,80 @@
222238
}
223239
]
224240
},
241+
{
242+
"value": "s3",
243+
"title": "S3",
244+
"computeHelp": "For a compute dataset, your file should match the file type required by the algorithm, and should not exceed 1 GB in file size.",
245+
"prominentHelp": true,
246+
"type": "files",
247+
"methods": false,
248+
"innerFields": [
249+
{
250+
"value": "endpoint",
251+
"title": "Endpoint",
252+
"label": "Endpoint URL",
253+
"placeholder": "e.g. https://s3.amazonaws.com or https://nyc3.digitaloceanspaces.com",
254+
"help": "S3 endpoint URL (e.g., https://s3.amazonaws.com for AWS S3, or your custom S3-compatible endpoint)",
255+
"type": "text",
256+
"required": true
257+
},
258+
{
259+
"value": "region",
260+
"title": "Region",
261+
"label": "Region",
262+
"placeholder": "e.g. us-east-1 (optional)",
263+
"help": "Region (e.g., us-east-1). Optional; defaults to us-east-1 if omitted. Ensure the input value contains no spaces, as some S3 providers cannot process them.",
264+
"type": "text",
265+
"required": false
266+
},
267+
{
268+
"value": "bucket",
269+
"title": "Bucket",
270+
"label": "Bucket Name",
271+
"placeholder": "e.g. my-bucket",
272+
"help": "S3 bucket name where the file is stored. Ensure the input value contains no spaces, as some S3 providers cannot process them",
273+
"type": "text",
274+
"required": true
275+
},
276+
{
277+
"value": "objectKey",
278+
"title": "Object Key",
279+
"label": "Object Key/Path",
280+
"placeholder": "e.g. path/to/file.zip",
281+
"help": "Object key (path within the bucket). Ensure the input value contains no spaces, as some S3 providers cannot process them",
282+
"type": "text",
283+
"required": true
284+
},
285+
{
286+
"value": "accessKeyId",
287+
"title": "Access Key ID",
288+
"label": "Access Key ID",
289+
"placeholder": "e.g. AKIAIOSFODNN7EXAMPLE",
290+
"help": "Access key for the S3-compatible API",
291+
"type": "text",
292+
"required": true
293+
},
294+
{
295+
"value": "secretAccessKey",
296+
"title": "Secret Access Key",
297+
"label": "Secret Access Key",
298+
"placeholder": "e.g. wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
299+
"help": "Secret key for the S3-compatible API",
300+
"type": "password",
301+
"required": true
302+
},
303+
{
304+
"value": "forcePathStyle",
305+
"title": "Force Path Style",
306+
"label": "Force Path Style",
307+
"placeholder": "",
308+
"help": "If true, use path-style addressing (e.g., endpoint/bucket/key). Required for some S3-compatible services (e.g., MinIO). Default false (virtual-host style, standard for AWS S3).",
309+
"type": "checkbox",
310+
"required": false,
311+
"options": ["Use path-style addressing"]
312+
}
313+
]
314+
},
225315
{
226316
"value": "ipfs",
227317
"title": "IPFS",
@@ -274,6 +364,18 @@
274364
"required": true
275365
}
276366
]
367+
},
368+
{
369+
"value": "ftp",
370+
"title": "FTP/FTPS",
371+
"label": "FTP/FTPS URL",
372+
"placeholder": "e.g. ftp://user:password@ftp.example.com:21/path/to/file.zip or ftps://user:password@secure.example.com:990/pub/data.csv",
373+
"help": "This FTP/FTPS URL will be stored encrypted after publishing. Supports ftp:// and ftps:// protocols. May include credentials in the URL.",
374+
"computeHelp": "For a compute dataset, your file should match the file type required by the algorithm, and should not exceed 1 GB in file size.",
375+
"prominentHelp": true,
376+
"type": "files",
377+
"required": true,
378+
"methods": false
277379
}
278380
],
279381
"sortOptions": false,

content/site.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"link": "/privacy/en#6-cookies-and-web-storage"
8181
},
8282
{
83-
"name": "Cookie Settings",
83+
"name": "Cookie Policy",
8484
"link": "/cookie-settings"
8585
},
8686
{

0 commit comments

Comments
 (0)