Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cfd6b8c5f4 | |||
| 0ea3482e9a | |||
| 0e05ce0b89 | |||
| 166328df89 | |||
| 87b0ebfa27 | |||
| c32972ea6d | |||
| 76456fb530 | |||
| 1241540bbe |
@@ -205,7 +205,7 @@ services:
|
||||
#============== MIH-AI Ollama ====================================================================
|
||||
mih-ai:
|
||||
container_name: mih-ai
|
||||
image: ollama/ollama:latest
|
||||
image: ollama/ollama:0.30.6
|
||||
ports:
|
||||
- "127.0.0.1:11434:11434"
|
||||
volumes:
|
||||
@@ -231,6 +231,17 @@ services:
|
||||
- driver: nvidia
|
||||
count: all # or specify a number of GPUs
|
||||
capabilities: [gpu]
|
||||
#============== MIH-Legal ====================================================================
|
||||
mih-legal:
|
||||
image: nginx:alpine
|
||||
container_name: mih-legal
|
||||
restart: always
|
||||
volumes:
|
||||
- ./mih_legal:/usr/share/nginx/html:ro
|
||||
ports:
|
||||
- "127.0.0.1:8085:80"
|
||||
networks:
|
||||
- mih-network
|
||||
#============== Firebaase ====================================================================
|
||||
# firebase:
|
||||
# container_name: MIH-firebase-emulator
|
||||
|
||||
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,161 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Privacy Policy - Mzansi Innovation Hub</title>
|
||||
<link rel="icon" type="image/png" href="favicon.png">
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #3A4454;
|
||||
color: #bedcfe;
|
||||
text-align: center;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #bedcfe;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
padding-top: 0;
|
||||
margin-top: 0;
|
||||
font-size: 44px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: #bedcfe;
|
||||
text-align: left;
|
||||
font-size: 17px;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #bedcfe;
|
||||
text-align: left;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
ul {
|
||||
color: #bedcfe;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.simplified-chinese-btn {
|
||||
background-color: #bedcfe;
|
||||
color: #3A4454;
|
||||
border: none;
|
||||
padding: 10px 24px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
|
||||
.back-to-mih-btn {
|
||||
background-color: #bedcfe;
|
||||
color: #3A4454;
|
||||
border: none;
|
||||
padding: 10px 24px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
.privacy-btn:hover {
|
||||
background-color: #a3c8e9;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img src="wallpaper.png" />
|
||||
<h1>Privacy Policy</h1>
|
||||
|
||||
<button class="Simplified-chinese-btn" onclick="window.location.href='privacy-simplified-chinese.html'">Simplified
|
||||
Chinese</button>
|
||||
<button class="back-to-mih-btn" onclick="window.location.href='https://app.mzansi-innovation-hub.co.za/'">Visit
|
||||
MIH</button>
|
||||
<p><b>Effective Date:</b> 6 December 2024<br><br>
|
||||
Mzansi Innovation Hub - MIH ("we," "our," "us") values your privacy and is committed to protecting your personal
|
||||
data. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use
|
||||
our app, Mzansi Innovation Hub - MIH, available globally.
|
||||
</p>
|
||||
<h4>1. Information We Collect</h4>
|
||||
<p>
|
||||
We collect the following personal information to provide and improve our services:
|
||||
<ul>
|
||||
<li>Personal Details: Name, ID, address, phone number etc.</li>
|
||||
<li>Medical Information: Medical aid details (if applicable).</li>
|
||||
<li>Loyalty Card Information: Loyalty card numbers for the Mzansi Wallet feature.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>2. How We Use Your Information</h4>
|
||||
<p>
|
||||
Your personal information is used for the following purposes:
|
||||
<ul>
|
||||
<li>To create and manage your account.</li>
|
||||
<li>To facilitate interactions between clients and businesses.</li>
|
||||
<li>To enable the storage of loyalty card information within the Mzansi Wallet.</li>
|
||||
<li>To provide technical support and improve our app's functionality.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>3. Data Sharing</h4>
|
||||
<p>
|
||||
We only share your data under the following conditions:
|
||||
<ul>
|
||||
<li>With Your Consent: Businesses can access your information only with your explicit permission.</li>
|
||||
<li>Legal Obligations: We may disclose information to comply with applicable laws or regulations.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>4. Data Security</h4>
|
||||
<p>We implement advanced security measures to protect your personal data:
|
||||
<ul>
|
||||
<li>Data encryption during transmission.</li>
|
||||
<li>Secure authentication protocols to prevent unauthorized access.</li>
|
||||
<li>Regular audits to identify and address vulnerabilities.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>5. Your Rights</h4>
|
||||
<p>You have the following rights regarding your personal data:
|
||||
<ul>
|
||||
<li>Access and Correction: View and update your information via your account settings.</li>
|
||||
<li>Data Deletion: Request the deletion of your account and associated data.</li>
|
||||
<li>Withdrawal of Consent: Revoke permissions for businesses to access your data is restricted once granted.
|
||||
</li>
|
||||
<li>To exercise these rights, contact us at mzansi.innovation.hub@gmail.com.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>6. Data Retention</h4>
|
||||
<p>We retain your personal data for as long as necessary to provide our services. Upon account deletion, your data
|
||||
will be permanently removed unless required by law to retain certain records.</p>
|
||||
<h4>7. Changes to This Privacy Policy</h4>
|
||||
<p>We may update this Privacy Policy to reflect changes in our practices or legal requirements. We will notify you
|
||||
of significant updates via in app notifications and/ or email.</p>
|
||||
<h4>8. Contact Us</h4>
|
||||
<p>
|
||||
If you have questions or concerns about this Privacy Policy, please contact us:
|
||||
<ul>
|
||||
<li>Email: mzansi.innovation.hub@gmail.com.</li>
|
||||
<li>Phone: +27 655 530 195</li>
|
||||
</ul>
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,157 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>隐私政策 - Mzansi Innovation Hub</title>
|
||||
<link rel="icon" type="image/png" href="favicon.png">
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #3A4454;
|
||||
color: #bedcfe;
|
||||
text-align: center;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #bedcfe;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
padding-top: 0;
|
||||
margin-top: 0;
|
||||
font-size: 44px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: #bedcfe;
|
||||
text-align: left;
|
||||
font-size: 17px;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #bedcfe;
|
||||
text-align: left;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
ul {
|
||||
color: #bedcfe;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.simplified-chinese-btn {
|
||||
background-color: #bedcfe;
|
||||
color: #3A4454;
|
||||
border: none;
|
||||
padding: 10px 24px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
|
||||
.back-to-mih-btn {
|
||||
background-color: #bedcfe;
|
||||
color: #3A4454;
|
||||
border: none;
|
||||
padding: 10px 24px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
.privacy-btn:hover {
|
||||
background-color: #a3c8e9;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img src="wallpaper.png" />
|
||||
<h1>隐私政策</h1>
|
||||
|
||||
<button class="Simplified-chinese-btn" onclick="window.location.href='index.html'">English</button>
|
||||
<button class="back-to-mih-btn" onclick="window.location.href='https://app.mzansi-innovation-hub.co.za/'">Visit
|
||||
MIH</button>
|
||||
<p><b>生效日期:</b> 2024年12月6日<br><br>
|
||||
Mzansi Innovation Hub - MIH(“我们”)重视您的隐私,并致力于保护您的个人数据。本隐私政策解释了当您使用我们面向全球推出的应用程序 Mzansi Innovation Hub - MIH
|
||||
时,我们如何收集、使用、披露和保护您的信息。
|
||||
</p>
|
||||
<h4>1. 我们收集的信息</h4>
|
||||
<p>
|
||||
我们收集以下个人信息以提供和改进我们的服务:
|
||||
<ul>
|
||||
<li>个人信息:姓名、身份证号、地址、电话号码等。</li>
|
||||
<li>医疗信息:医疗援助信息(如适用)。</li>
|
||||
<li>会员卡信息:用于 Mzansi Wallet 功能的会员卡号。</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>2. 我们如何使用您的信息</h4>
|
||||
<p>
|
||||
您的个人信息将用于以下目的:
|
||||
<ul>
|
||||
<li>创建和管理您的帐户。</li>
|
||||
<li>促进客户与企业之间的互动。</li>
|
||||
<li>在 Mzansi Wallet 中存储会员卡信息。</li>
|
||||
<li>提供技术支持并改进我们应用程序的功能。</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>3. 数据共享</h4>
|
||||
<p>
|
||||
我们仅在以下情况下共享您的数据:
|
||||
<ul>
|
||||
<li>征得您的同意:企业只有在您明确许可的情况下才能访问您的信息。</li>
|
||||
<li>法律义务:我们可能会根据适用法律法规披露信息。</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>4. 数据安全</h4>
|
||||
<p>我们实施先进的安全措施来保护您的个人数据:
|
||||
<ul>
|
||||
<li>传输过程中的数据加密。</li>
|
||||
<li>安全的身份验证协议,以防止未经授权的访问。</li>
|
||||
<li>定期审核以识别和解决漏洞。</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>5. 您的权利</h4>
|
||||
<p>您对您的个人数据拥有以下权利:
|
||||
<ul>
|
||||
<li>访问和更正:通过您的帐户设置查看和更新您的信息。</li>
|
||||
<li>数据删除:请求删除您的帐户和相关数据。</li>
|
||||
<li>撤回同意:一旦获得授权,企业访问您数据的权限将被限制撤销。
|
||||
</li>
|
||||
<li>要行使这些权利,请通过 mzansi.innovation.hub@gmail.com 与我们联系。</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4>6. 数据保留</h4>
|
||||
<p>我们会在提供服务所需的时间内保留您的个人数据。帐户删除后,您的数据将被永久删除,除非法律要求保留某些记录。</p>
|
||||
<h4>7. 本隐私政策的变更</h4>
|
||||
<p>我们可能会更新本隐私政策,以反映我们实践或法律要求的变化。我们将通过应用内通知和/或电子邮件通知您重大更新。</p>
|
||||
<h4>8. 联系我们</h4>
|
||||
<p>
|
||||
如果您对本隐私政策有任何疑问或疑虑,请联系我们:
|
||||
<ul>
|
||||
<li>邮箱: mzansi.innovation.hub@gmail.com.</li>
|
||||
<li>电话: +27 655 530 195</li>
|
||||
</ul>
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 107 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 47 KiB |
@@ -0,0 +1,4 @@
|
||||
.dart_tool/
|
||||
.build/
|
||||
build/
|
||||
.pub-cache/
|
||||
@@ -48,3 +48,8 @@ app.*.map.json
|
||||
|
||||
# Flutter config file
|
||||
/config/
|
||||
|
||||
#Flatpak build files
|
||||
flatpak/build-dir/
|
||||
flatpak/.flatpak-builder/
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ WORKDIR /app
|
||||
COPY pubspec.yaml pubspec.lock ./
|
||||
RUN flutter pub get
|
||||
COPY . .
|
||||
RUN flutter build web --release -t ./lib/main_prod.dart
|
||||
RUN flutter build web --release -t ./lib/main_prod.dart -v
|
||||
|
||||
# --- STAGE 2: The Final Production Image ---
|
||||
FROM nginx:alpine
|
||||
|
||||
|
Before Width: | Height: | Size: 169 KiB After Width: | Height: | Size: 169 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
@@ -0,0 +1,43 @@
|
||||
id: za.co.mzansiinnovationhub.mih
|
||||
runtime: org.gnome.Platform
|
||||
runtime-version: "49"
|
||||
sdk: org.gnome.Sdk
|
||||
command: mzansi_innovation_hub
|
||||
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --share=network
|
||||
- --socket=fallback-x11
|
||||
- --socket=wayland
|
||||
- --device=dri
|
||||
- --env=__EGL_VENDOR_LIBRARY_FILENAMES=/usr/lib/x86_64-linux-gnu/GL/glvnd/egl_vendor.d/50_mesa.json
|
||||
|
||||
modules:
|
||||
- name: mzansi-innovation-hub
|
||||
buildsystem: simple
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih-project/releases/download/v.1.3.0/mzansi_innovation_hub.tar.gz
|
||||
archive-type: tar-gzip
|
||||
strip-components: 0
|
||||
sha256: 8efff8baf8d9be44b70f3af500d985e80f2eb5a25cc421ce5c4f88b83f44ebe0
|
||||
- type: file
|
||||
path: za.co.mzansiinnovationhub.mih.desktop
|
||||
- type: file
|
||||
path: za.co.mzansiinnovationhub.mih.metainfo.xml
|
||||
- type: file
|
||||
path: za.co.mzansiinnovationhub.mih.png
|
||||
|
||||
build-commands:
|
||||
- mkdir -p /app/bin
|
||||
- mkdir -p /app/share/applications
|
||||
- mkdir -p /app/share/metainfo
|
||||
- mkdir -p /app/share/icons/hicolor/256x256/apps
|
||||
|
||||
- cp mzansi_innovation_hub /app/bin/
|
||||
- cp -r lib/ /app/bin/
|
||||
- cp -r data/ /app/bin/
|
||||
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.desktop /app/share/applications/za.co.mzansiinnovationhub.mih.desktop
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.png /app/share/icons/hicolor/256x256/apps/za.co.mzansiinnovationhub.mih.png
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.metainfo.xml /app/share/metainfo/za.co.mzansiinnovationhub.mih.metainfo.xml
|
||||
@@ -1,55 +0,0 @@
|
||||
id: za.co.mzansiinnovationhub.mih
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '24.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
command: mzansi_innovation_hub
|
||||
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --share=network # Added for Internet access
|
||||
- --socket=fallback-x11
|
||||
- --socket=wayland
|
||||
- --device=dri
|
||||
# Removed --filesystem=home for better security; add back only if strictly needed.
|
||||
|
||||
modules:
|
||||
- name: mzansi-innovation-hub
|
||||
buildsystem: simple
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih-project/releases/download/linux/mzansi_innovation_hub.tar.gz
|
||||
sha256: b8c383f4d43e2de36b4e6520c9745e3f8e8618bdb9ef6024ad0bf260061137a9
|
||||
# If the tarball contains a top-level folder (like 'bundle'),
|
||||
# flatpak-builder enters it automatically.
|
||||
# If it doesn't, we use the commands below to find them.
|
||||
|
||||
- type: file
|
||||
path: za.co.mzansiinnovationhub.mih.desktop
|
||||
- type: file
|
||||
path: za.co.mzansiinnovationhub.mih.metainfo.xml
|
||||
- type: file
|
||||
path: za.co.mzansiinnovationhub.mih.png
|
||||
|
||||
build-commands:
|
||||
# 1. Create the necessary directories
|
||||
- mkdir -p /app/bin /app/share/applications /app/share/icons/hicolor/256x256/apps /app/share/metainfo
|
||||
|
||||
# 2. Move EVERYTHING from your archive into /app/bin/
|
||||
# We use 'find' to move only the app-related files and avoid the metadata files
|
||||
- |
|
||||
find . -mindepth 1 -maxdepth 2 \
|
||||
! -name "*.desktop" \
|
||||
! -name "*.xml" \
|
||||
! -name "*.png" \
|
||||
! -name "*.yml" \
|
||||
-exec cp -R -t /app/bin/ {} +
|
||||
|
||||
# 3. Ensure the binary is in the right place and executable
|
||||
# If the binary ended up in a subfolder, this moves it to the top of /app/bin
|
||||
- find /app/bin -name "mzansi_innovation_hub" -type f -exec mv {} /app/bin/ \;
|
||||
- chmod +x /app/bin/mzansi_innovation_hub
|
||||
|
||||
# 4. Install Metadata (using the exact local files)
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.desktop /app/share/applications/za.co.mzansiinnovationhub.mih.desktop
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.png /app/share/icons/hicolor/256x256/apps/za.co.mzansiinnovationhub.mih.png
|
||||
- install -Dm644 za.co.mzansiinnovationhub.mih.metainfo.xml /app/share/metainfo/za.co.mzansiinnovationhub.mih.metainfo.xml
|
||||
@@ -1212,10 +1212,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: meta
|
||||
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
|
||||
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.17.0"
|
||||
version: "1.18.0"
|
||||
mih_package_toolkit:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -1977,10 +1977,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: test_api
|
||||
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
|
||||
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.7.10"
|
||||
version: "0.7.11"
|
||||
timing:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -2294,5 +2294,5 @@ packages:
|
||||
source: hosted
|
||||
version: "3.1.1"
|
||||
sdks:
|
||||
dart: ">=3.9.0 <3.13.0-z"
|
||||
dart: ">=3.10.0-0 <3.13.0-z"
|
||||
flutter: ">=3.29.0"
|
||||
|
||||