From 9d8fa1aa98e36d69c5973f79253660433d3ea0bb Mon Sep 17 00:00:00 2001 From: Alex <80858832+Humanoidear@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:24:58 +0200 Subject: [PATCH 1/2] Fix: Add auth token to github for correct generation. --- .env.example | 3 ++- src/components/Hero.astro | 6 +++++- src/components/Socials.astro | 10 +++++++--- src/components/build.astro | 6 +++++- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index 9648f225..b7019ff1 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,5 @@ CONTENTFUL_SPACE_ID=YOUR_SPACE_ID CONTENTFUL_DELIVERY_TOKEN=YOUR_DELIVERY_TOKEN CONTENTFUL_PREVIEW_TOKEN=YOUR_PREVIEW_TOKEN -SITE_URL=https://wiilink.ca \ No newline at end of file +SITE_URL=https://wiilink.ca +GITHUB_TOKEN=YOUR_GITHUB_TOKEN \ No newline at end of file diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 417a5fd1..b27d548c 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -6,7 +6,11 @@ import { Icon } from "astro-icon/components"; async function fetchGitHub() { try { - const response = await fetch('https://api.github.com/repos/WiiLink24/WiiLink-Patcher-GUI/releases/latest'); + const response = await fetch('https://api.github.com/repos/WiiLink24/WiiLink-Patcher-GUI/releases/latest', { + headers: { + 'Authorization': `Bearer ${import.meta.env.GITHUB_TOKEN}` + } + }); const data = await response.json(); return data || 0; } catch (error) { diff --git a/src/components/Socials.astro b/src/components/Socials.astro index 111b4a75..6900ed2a 100644 --- a/src/components/Socials.astro +++ b/src/components/Socials.astro @@ -6,11 +6,11 @@ import { Icon } from "astro-icon/components"; async function fetchCounts() { const results = {}; - async function fetchWithTimeout(url, timeout = 5000) { + async function fetchWithTimeout(url, options = {}, timeout = 5000) { const controller = new AbortController(); const timeoutId = setTimeout(() => controller.abort(), timeout); try { - const response = await fetch(url, { signal: controller.signal }); + const response = await fetch(url, { ...options, signal: controller.signal }); clearTimeout(timeoutId); if (!response.ok) throw new Error(`HTTP ${response.status}`); return await response.json(); @@ -22,7 +22,11 @@ async function fetchCounts() { async function fetchGitHub() { try { - const data = await fetchWithTimeout("https://api.github.com/users/wiilink24"); + const data = await fetchWithTimeout("https://api.github.com/users/wiilink24", { + headers: { + 'Authorization': `Bearer ${import.meta.env.GITHUB_TOKEN}` + } + }); return data.followers || 0; } catch (error) { console.error("GitHub Error:", error); diff --git a/src/components/build.astro b/src/components/build.astro index d4440480..224e5d04 100644 --- a/src/components/build.astro +++ b/src/components/build.astro @@ -4,7 +4,11 @@ import { Trans } from "astro-i18next/components"; async function fetchGitHub() { try { - const response = await fetch('https://api.github.com/repos/WiiLink24/WiiLink-Patcher-GUI/releases/latest'); + const response = await fetch('https://api.github.com/repos/WiiLink24/WiiLink-Patcher-GUI/releases/latest', { + headers: { + 'Authorization': `Bearer ${import.meta.env.GITHUB_TOKEN}` + } + }); const data = await response.json(); return data || {}; } catch (error) { From 200a593ed5ea63c4a37e504c89872d4c71e3d646 Mon Sep 17 00:00:00 2001 From: Alex <80858832+Humanoidear@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:27:55 +0200 Subject: [PATCH 2/2] Chore: Regen i18. --- src/pages/ca/je/privacy-policy.astro | 285 +------------ src/pages/ca/je/tos.astro | 382 +----------------- .../ca/privacy-policy/accounts/index.astro | 9 +- src/pages/ca/privacy-policy/index.astro | 35 +- .../ca/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/ca/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/de/je/privacy-policy.astro | 285 +------------ src/pages/de/je/tos.astro | 382 +----------------- .../de/privacy-policy/accounts/index.astro | 9 +- src/pages/de/privacy-policy/index.astro | 35 +- .../de/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/de/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/en-GB/je/privacy-policy.astro | 285 +------------ src/pages/en-GB/je/tos.astro | 382 +----------------- .../en-GB/privacy-policy/accounts/index.astro | 9 +- src/pages/en-GB/privacy-policy/index.astro | 35 +- .../en-GB/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/en-GB/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/es-LAT/je/privacy-policy.astro | 285 +------------ src/pages/es-LAT/je/tos.astro | 382 +----------------- .../privacy-policy/accounts/index.astro | 9 +- src/pages/es-LAT/privacy-policy/index.astro | 35 +- .../privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/es-LAT/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/es/je/privacy-policy.astro | 285 +------------ src/pages/es/je/tos.astro | 382 +----------------- .../es/privacy-policy/accounts/index.astro | 9 +- src/pages/es/privacy-policy/index.astro | 35 +- .../es/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/es/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/fi/je/privacy-policy.astro | 285 +------------ src/pages/fi/je/tos.astro | 382 +----------------- .../fi/privacy-policy/accounts/index.astro | 9 +- src/pages/fi/privacy-policy/index.astro | 35 +- .../fi/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/fi/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/fr/je/privacy-policy.astro | 285 +------------ src/pages/fr/je/tos.astro | 382 +----------------- .../fr/privacy-policy/accounts/index.astro | 9 +- src/pages/fr/privacy-policy/index.astro | 35 +- .../fr/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/fr/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/frp/je/privacy-policy.astro | 285 +------------ src/pages/frp/je/tos.astro | 382 +----------------- .../frp/privacy-policy/accounts/index.astro | 9 +- src/pages/frp/privacy-policy/index.astro | 35 +- .../frp/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/frp/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/hu/je/privacy-policy.astro | 285 +------------ src/pages/hu/je/tos.astro | 382 +----------------- .../hu/privacy-policy/accounts/index.astro | 9 +- src/pages/hu/privacy-policy/index.astro | 35 +- .../hu/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/hu/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/it/je/privacy-policy.astro | 285 +------------ src/pages/it/je/tos.astro | 382 +----------------- .../it/privacy-policy/accounts/index.astro | 9 +- src/pages/it/privacy-policy/index.astro | 35 +- .../it/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/it/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/ja/je/privacy-policy.astro | 285 +------------ src/pages/ja/je/tos.astro | 382 +----------------- .../ja/privacy-policy/accounts/index.astro | 9 +- src/pages/ja/privacy-policy/index.astro | 35 +- .../ja/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/ja/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/ko-KR/je/privacy-policy.astro | 285 +------------ src/pages/ko-KR/je/tos.astro | 382 +----------------- .../ko-KR/privacy-policy/accounts/index.astro | 9 +- src/pages/ko-KR/privacy-policy/index.astro | 35 +- .../ko-KR/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/ko-KR/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/pt-BR/je/privacy-policy.astro | 285 +------------ src/pages/pt-BR/je/tos.astro | 382 +----------------- .../pt-BR/privacy-policy/accounts/index.astro | 9 +- src/pages/pt-BR/privacy-policy/index.astro | 35 +- .../pt-BR/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/pt-BR/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/pt-PT/je/privacy-policy.astro | 285 +------------ src/pages/pt-PT/je/tos.astro | 382 +----------------- .../pt-PT/privacy-policy/accounts/index.astro | 9 +- src/pages/pt-PT/privacy-policy/index.astro | 35 +- .../pt-PT/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/pt-PT/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/ru/je/privacy-policy.astro | 285 +------------ src/pages/ru/je/tos.astro | 382 +----------------- .../ru/privacy-policy/accounts/index.astro | 9 +- src/pages/ru/privacy-policy/index.astro | 35 +- .../ru/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/ru/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/tr/je/privacy-policy.astro | 285 +------------ src/pages/tr/je/tos.astro | 382 +----------------- .../tr/privacy-policy/accounts/index.astro | 9 +- src/pages/tr/privacy-policy/index.astro | 35 +- .../tr/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/tr/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/va/je/privacy-policy.astro | 285 +------------ src/pages/va/je/tos.astro | 382 +----------------- .../va/privacy-policy/accounts/index.astro | 9 +- src/pages/va/privacy-policy/index.astro | 35 +- .../va/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/va/tos/just-eat/index.astro | 380 +++++++++++++++++ src/pages/vi/je/privacy-policy.astro | 285 +------------ src/pages/vi/je/tos.astro | 382 +----------------- .../vi/privacy-policy/accounts/index.astro | 9 +- src/pages/vi/privacy-policy/index.astro | 35 +- .../vi/privacy-policy/just-eat/index.astro | 283 +++++++++++++ src/pages/vi/tos/just-eat/index.astro | 380 +++++++++++++++++ 108 files changed, 12564 insertions(+), 12168 deletions(-) create mode 100644 src/pages/ca/privacy-policy/just-eat/index.astro create mode 100644 src/pages/ca/tos/just-eat/index.astro create mode 100644 src/pages/de/privacy-policy/just-eat/index.astro create mode 100644 src/pages/de/tos/just-eat/index.astro create mode 100644 src/pages/en-GB/privacy-policy/just-eat/index.astro create mode 100644 src/pages/en-GB/tos/just-eat/index.astro create mode 100644 src/pages/es-LAT/privacy-policy/just-eat/index.astro create mode 100644 src/pages/es-LAT/tos/just-eat/index.astro create mode 100644 src/pages/es/privacy-policy/just-eat/index.astro create mode 100644 src/pages/es/tos/just-eat/index.astro create mode 100644 src/pages/fi/privacy-policy/just-eat/index.astro create mode 100644 src/pages/fi/tos/just-eat/index.astro create mode 100644 src/pages/fr/privacy-policy/just-eat/index.astro create mode 100644 src/pages/fr/tos/just-eat/index.astro create mode 100644 src/pages/frp/privacy-policy/just-eat/index.astro create mode 100644 src/pages/frp/tos/just-eat/index.astro create mode 100644 src/pages/hu/privacy-policy/just-eat/index.astro create mode 100644 src/pages/hu/tos/just-eat/index.astro create mode 100644 src/pages/it/privacy-policy/just-eat/index.astro create mode 100644 src/pages/it/tos/just-eat/index.astro create mode 100644 src/pages/ja/privacy-policy/just-eat/index.astro create mode 100644 src/pages/ja/tos/just-eat/index.astro create mode 100644 src/pages/ko-KR/privacy-policy/just-eat/index.astro create mode 100644 src/pages/ko-KR/tos/just-eat/index.astro create mode 100644 src/pages/pt-BR/privacy-policy/just-eat/index.astro create mode 100644 src/pages/pt-BR/tos/just-eat/index.astro create mode 100644 src/pages/pt-PT/privacy-policy/just-eat/index.astro create mode 100644 src/pages/pt-PT/tos/just-eat/index.astro create mode 100644 src/pages/ru/privacy-policy/just-eat/index.astro create mode 100644 src/pages/ru/tos/just-eat/index.astro create mode 100644 src/pages/tr/privacy-policy/just-eat/index.astro create mode 100644 src/pages/tr/tos/just-eat/index.astro create mode 100644 src/pages/va/privacy-policy/just-eat/index.astro create mode 100644 src/pages/va/tos/just-eat/index.astro create mode 100644 src/pages/vi/privacy-policy/just-eat/index.astro create mode 100644 src/pages/vi/tos/just-eat/index.astro diff --git a/src/pages/ca/je/privacy-policy.astro b/src/pages/ca/je/privacy-policy.astro index 6131b476..334124ad 100644 --- a/src/pages/ca/je/privacy-policy.astro +++ b/src/pages/ca/je/privacy-policy.astro @@ -1,290 +1,7 @@ --- import { changeLanguage } from "i18next"; -import Header from "../../../components/Header.astro"; -import Footer from "../../../components/Footer.astro"; -import Layout from "../../../layouts/Layout.astro"; changeLanguage("ca"); --- - -
- -
-
- - JustEat Banner -

Privacy Policy for Food Channel JustEat

-

- Last updated: July 29, 2025 -

-
- -
-
-

Information We Collect

-

When you use Food Channel, we collect the following personal data via your WiiLink account and our payment interface:

-
    -
  • Delivery Location: Your full address or location where you want food delivered.
  • -
  • Order Data: Details of what you ordered (items, quantity, restaurant, etc.).
  • -
  • Payment Token: A reference (token) from PayPal confirming your payment. We do not collect or store your PayPal login or full credit card details.
  • -
  • Personal Identity: Your full name, email address, and any other information you entered into your WiiLink account profile.
  • -
  • Support Data: Any messages or chat transcripts you send in our Discord support channels, if you use them.
  • -
-

All of this data is used solely to process and fulfill your order. The precise location data is needed to find nearby restaurants. Your payment token is required to verify the PayPal payment for that order. We keep this data only as long as necessary to complete the order, minus support messages which are stored indefinitely.

-
- -
-

Data Retention and Deletion

-

We immediately delete all temporary order information (location, order details, PayPal token) once the payment is successfully completed and the restaurant has accepted the order. This means that after each transaction, only your registered name and email remain in our system to maintain your account. As an example of best practice, other services state they "will only keep a payment token to process your payment"; we similarly delete all such transactional tokens promptly. In short: we do not retain your location, order or payment details longer than needed. You may delete your account at any time (via the WiiLink interface or by contacting us) which removes all your stored data.

-
- -
-

Use of Your Data

-

We use your information only to:

-
    -
  • Place and track your order through JustEat.
  • -
  • Process your payment via PayPal.
  • -
  • Provide support (e.g., answering your queries on Discord).
  • -
-

We do not use your data for marketing, nor do we share or sell it to advertisers or other third parties. Except for PayPal and delivery services, no external party receives your personal details from us. We operate our own servers ("no third-party servers") and keep your data in-house for maximum privacy.

-
- -
-

Security

-

We implement reasonable security measures to protect your data. However, no system is perfectly secure, so you acknowledge the inherent risks of Internet and homebrew usage. Use strong, unique passwords for your WiiLink account and your PayPal account. We follow WiiLink's approach of commitment to privacy: "We are committed to protecting the privacy and security of your personal information". Data is transmitted over secure channels when possible.

-
- -
-

Cookies and Tracking

-

Our web UI uses minimal cookies for session management only. We do not engage in behavioral tracking or profiling. We rely on PayPal's own secure flow for payment authentication.

-
- -
-

Third-Party Services

-

We integrate with PayPal for payments, JustEat for restaurant ordering, and Discord for support. These services have their own privacy policies. For example, PayPal handles your credit card or PayPal account data directly. We only see a token confirming payment, which we delete. We have no control over these third-party data practices, but we do not share your data with any other third parties.

-
- -
-

Children's Privacy

-

Users under 16 should only use this service with parental guidance. We do not knowingly collect personal data from children under 13. If we learn that we have inadvertently collected data from a child under 13, we will delete it immediately.

-
- -
-

Your Rights

-

Depending on your jurisdiction, you may have rights to access, correct, or delete your personal data. We honor such requests to the extent required by law. To request deletion of your data or for any privacy inquiries, please contact us via our support channels. Specifically, as stated in our support terms, you can join the WiiLink Discord and ask for data deletion or help. You may also email support. We will respond to legitimate requests within a reasonable timeframe, though we note that support is provided on a case-by-case basis.

-
- -
-

Retention of Account Data

-

Even after you stop ordering, your WiiLink account (name and email) is retained until you delete it. This allows you to log in later to place new orders without re-entering information. If you wish, you can delete your account by contacting us on Discord or via email, and we will remove your profile and personal data (email and name) from our system.

-
- -
-

International Use

-

The service is available globally. We store and process your data on our servers in Canada. By using the service, you consent to transferring data to Canada and processing it under Canadian privacy laws.

-
- -
-

Policy Updates

-

We may update this Privacy Policy over time (for example, to comply with new laws). The latest version is always available in the Food Channel and on our website. Changes become effective immediately upon posting. By continuing to use the service, you agree to the updated policy.

-
- -
-

Contact

-

For any questions or requests about privacy, data access or deletion, please join our official Discord server and post in the "support" channel, or send an email to our support team. Our support staff will assist you. Please do not share sensitive data in Discord chat; use private messages or email if needed.

-
-
- -
-

Summary of Privacy Points

-
    -
  • We collect location, order details, payment token, name, and email to fulfill orders.
  • -
  • All temporary data (location, order, payment token) is deleted once an order is paid.
  • -
  • We retain only your name and email (to identify your account) until you delete your account.
  • -
  • We do not share your personal data with advertisers or unrelated third parties.
  • -
  • You can request data deletion or help via our Discord support (as outlined in the WiiLink guidelines).
  • -
  • The service is governed by Canadian law, and we comply with its privacy requirements.
  • -
- -
-
-
- -