25 Commits

Author SHA1 Message Date
yaso_meth a34b903bc9 Merge pull request 'lock mih-ai to ollama 0.30.6' (#52) from v.1.3.0 into main
Reviewed-on: #52
2026-06-08 06:31:27 +00:00
yaso_meth 13b5e45ad7 Merge pull request 'add screenshots for app stores' (#51) from v.1.3.0 into main
Reviewed-on: #51
2026-06-05 08:50:43 +00:00
yaso_meth e247854708 Merge pull request 'include network to mih-legal' (#50) from v.1.3.0 into main
Reviewed-on: #50
2026-06-05 08:05:24 +00:00
yaso_meth 2c2d81d2c9 Merge pull request 'create seperate privacy policy server' (#49) from v.1.3.0 into main
Reviewed-on: #49
2026-06-05 07:57:05 +00:00
yaso_meth eec601b276 Merge pull request 'V.1.3.0' (#48) from v.1.3.0 into main
Reviewed-on: #48
2026-06-04 08:58:39 +00:00
yaso_meth 96d68cca57 Merge pull request 'update mzansi ai to qwen3.5:9b' (#45) from v.1.2.7 into main
Reviewed-on: #45
2026-06-03 12:27:21 +00:00
yaso_meth e155d3cd13 Merge pull request 'enable gpu for mzansi ai' (#43) from v.1.2.7 into main
Reviewed-on: #43
2026-06-02 10:36:00 +00:00
yaso_meth e59ebafb30 Merge pull request 'fix deep link for unsigned in user' (#42) from v.1.2.7 into main
Reviewed-on: #42
2026-06-02 08:48:29 +00:00
yaso_meth 02f0cd6d05 Merge pull request 'service worker v4' (#41) from v.1.2.7 into main
Reviewed-on: #41
2026-06-02 08:37:27 +00:00
yaso_meth f05a148536 Merge pull request 'service worker stuff' (#40) from v.1.2.7 into main
Reviewed-on: #40
2026-06-02 08:06:53 +00:00
yaso_meth 0bc1a3b1da Merge pull request 'fix service worker logic for new mih updates' (#39) from v.1.2.7 into main
Reviewed-on: #39
2026-06-02 07:51:45 +00:00
yaso_meth c7e24ba382 Merge pull request 'fix docker file flutter' (#38) from v.1.2.7 into main
Reviewed-on: #38
2026-06-01 13:45:35 +00:00
yaso_meth 1f69a3c6e2 Merge pull request 'v.1.2.7' (#37) from v.1.2.7 into main
Reviewed-on: #37
2026-06-01 13:38:04 +00:00
yaso_meth faff26316b Merge pull request 'v.1.2.7' (#36) from v.1.2.7 into main
Reviewed-on: #36
2026-06-01 12:23:48 +00:00
yaso_meth 971623af77 Merge pull request 'Linux Flatpak config set up' (#26) from V.1.2.6 into main
Reviewed-on: #26
2026-02-26 13:21:15 +00:00
yaso_meth fd4c34c59d Merge pull request 'linux flatpak config pt5' (#25) from V.1.2.6 into main
Reviewed-on: #25
2026-02-25 13:50:19 +00:00
yaso_meth dca595bf60 Merge pull request 'linux flatpak config pt4' (#24) from V.1.2.6 into main
Reviewed-on: #24
2026-02-25 13:44:37 +00:00
yaso_meth 8a0c0d7dba Merge pull request 'linux flatpak config pt3' (#23) from V.1.2.6 into main
Reviewed-on: #23
2026-02-25 13:36:22 +00:00
yaso_meth a54f1c61ae Merge pull request 'linux flatpak config pt2' (#22) from V.1.2.6 into main
Reviewed-on: #22
2026-02-25 13:10:05 +00:00
yaso_meth cbe70e2e44 Merge pull request 'linux flatpak config' (#21) from V.1.2.6 into main
Reviewed-on: #21
2026-02-25 12:52:15 +00:00
yaso_meth c911e88453 Merge pull request 'linux name change' (#20) from V.1.2.6 into main
Reviewed-on: #20
2026-02-25 11:59:39 +00:00
yaso_meth 518dd1300e Merge pull request 'fix platform specific code not working on web pt2' (#19) from V.1.2.6 into main
Reviewed-on: #19
2026-02-25 10:19:05 +00:00
yaso_meth 707b49c088 Merge pull request 'fix platform specific code not working on web' (#18) from V.1.2.6 into main
Reviewed-on: #18
2026-02-25 10:05:42 +00:00
yaso_meth bb64be077f Merge pull request 'api cros fix' (#17) from V.1.2.6 into main
Reviewed-on: #17
2026-02-25 09:55:54 +00:00
yaso_meth 64af64f28b Merge pull request 'V.1.2.6' (#16) from V.1.2.6 into main
Reviewed-on: #16
2026-02-25 09:30:49 +00:00
10 changed files with 62 additions and 59 deletions
-4
View File
@@ -1,4 +0,0 @@
.dart_tool/
.build/
build/
.pub-cache/
-5
View File
@@ -48,8 +48,3 @@ app.*.map.json
# Flutter config file
/config/
#Flatpak build files
flatpak/build-dir/
flatpak/.flatpak-builder/
+1 -1
View File
@@ -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 -v
RUN flutter build web --release -t ./lib/main_prod.dart
# --- STAGE 2: The Final Production Image ---
FROM nginx:alpine
@@ -1,43 +0,0 @@
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

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,55 @@
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
+5 -5
View File
@@ -1212,10 +1212,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
url: "https://pub.dev"
source: hosted
version: "1.18.0"
version: "1.17.0"
mih_package_toolkit:
dependency: "direct main"
description:
@@ -1977,10 +1977,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
url: "https://pub.dev"
source: hosted
version: "0.7.11"
version: "0.7.10"
timing:
dependency: transitive
description:
@@ -2294,5 +2294,5 @@ packages:
source: hosted
version: "3.1.1"
sdks:
dart: ">=3.10.0-0 <3.13.0-z"
dart: ">=3.9.0 <3.13.0-z"
flutter: ">=3.29.0"