23 Commits
Author SHA1 Message Date
Precious Okwu 52c785ca90 CI & updates: bump patch version for -rc test builds (#1261)
Non-tag CI/test builds previously stamped <released>-dev.<run> (for example 0.3.0-dev.<run>), reusing the already-shipped version in WiX MSI ProductVersion and macOS Info.plist and sorting below the release in Debian/RPM packaging.

Update scripts/ci/test-version.sh to bump the patch component of the published release from latest.json by 1 and append -rc.<run> (for example 0.3.0 -> 0.3.1-rc.<run>, falling back to 0.0.1-rc.<run> when unreachable). Extract shared version parsing, comparison, and test-build classification into crates/kiri/src/version.rs so the macOS/Linux window (crates/kiri/src/ui/mod.rs, crates/kiri/src/ui/linux.rs) and Windows app (crates/kiri-win/src/update.rs) recognise both -rc and -dev test builds cleanly, while sorting X.Y.Z-rc.N after X.Y.(Z-1) and before X.Y.Z (preserving legacy -dev sorting).
2026-12-06 10:27:23 +01:00
Precious Okwu 1cd1b9f789 Window: one account icon in the title bar, sign in with GitHub (#1258)
Every install gets one quiet account icon, the last item in the title bar. Signed out, its menu offers Continue with GitHub (the same Kiri Share sign-in as before) and SSO (Okta, Microsoft Entra, Google, Amazon), which looks up the company from a work email and says plainly when it isn't available yet. Signed in, it shows the account, its Kiri Share links and Sign out. Each Kiri flavour keeps its own sign-in file, and tests never touch a real one.
2026-12-06 05:34:06 +01:00
Precious Okwu 89b1564e15 Window: ask for a GitHub star once, star in the app, with confetti (#1257)
Kiri asks for a GitHub star once, after real use, as a small card at the bottom right. Star on GitHub stars in place through the GitHub CLI when it is signed in (opening GitHub otherwise), then thanks the person with a short confetti burst. It never shows over another card, never asks again after an answer, and `kiri star-prompt off|on` turns it off on every system.
2026-12-06 05:30:47 +01:00
Precious Okwu 3db7378e5b CI & release: enforce executable regression checks, PR gates, Windows unit tests, and Mac release gate (#1128)
* CI & release: enforce executable regression checks, PR gates, Windows unit tests, and Mac release gate

* Compose: keep empty environment variables distinct instead of gluing onto preceding entry
2026-12-02 02:41:04 +01:00
Precious Okwu 5c29328c44 macOS & guest: repair and resize VM ext4 disk offline before mount and serialise data.img lock (#1127)
Fixes #1118
2026-12-02 02:12:56 +01:00
Precious Okwu dbaa28c4ed Linux packages bundle the pinned kiri-forge; Kiri Forge 0.1.1; 0.3.0 notes (#1048)
The Linux package build now fetches the pinned kiri-forge for each architecture, checks it against the SHA-256 in cli_pins.rs and bundles it, as the Mac and Windows builds do; before, /usr/bin/kiri-forge in the packages was a link to kiri. A release build stops if the binary is missing.

The bundled Kiri Forge is 0.1.1. docs/releases/0.3.0.md holds the notes for 0.3.0 and docs/releases/0.3.0.announce.json its announcement.
2026-11-30 00:55:37 +01:00
Precious Okwu 3267a71f38 UI: What's new — release announcements from the update feed (#1047)
The update feed may carry an announcement for a big release: a style (narrow or wide) and a short list of parts (image, title, text, figures, command, list, note, button) that the window draws itself. No page is loaded. A picture is fetched by the app from Kiri's download address only, without following redirects, checked against its SHA-256 and its kind, and shown as a data: picture.

A wide announcement opens once when a release is offered, and the announcement for the running version shows once after updating. Read more and button links open only runkiri.com pages, Kiri's releases on GitHub and Kiri Forge's repository.

Also: a Featured section and section icons in the notes list, Read more on GitHub, What's new on the Kiri Forge update card opening the Forge release on GitHub when its feed has no notes, and KIRI_RELEASE_ANNOUNCE in the release tool.
2026-11-30 00:52:48 +01:00
Precious Okwu b66d3e3ad9 Kiri Forge: Kiri's own build engine, on by default (#1039) 2026-11-29 20:51:21 +01:00
Precious Okwu 67808ef8b0 Harden image diff_ids, mounts/volumes, caller/WSL gates, networking/DNS, AppArmor, Kubernetes, UI, and updaters (#1013)
* security: harden mount/volume confinement, WSL roots, caller gates, labels & domain routing

* net: isolate --internal bridges/DNS, support gateway_mode_ipv4 & host_binding_ipv4

- GHSA-gp5c-4g58-vr24 & #1010: enforce nftables isolation for --internal
  bridges across prerouting (early accept before HOST_ADDR/WSL_HOST_ADDR/
  EGRESS_ROUTES redirects), forward (iifname/oifname cross-bridge drops in
  both ip and ip6 tables even when non-internal subnets are empty), input
  (allow only bridge gw4 or NDP+gw6 on plain internal bridges; drop all
  on gateway_mode_ipv4=isolated / inhibit_ipv4=true), and postrouting
  (never masquerade internal subnets; disable IPv6 on IPv4-only internal
  bridges).
- GHSA-7x2g-c7pw-mpc6: refuse external UDP and TCP DNS forwarding on
  internal-only containers before custom --dns and AAAA handling, track
  all container bridges including kiri0 across spawn/NetAttach/NetDetach
  with vacuous internal_only when disconnected from all networks, and
  bind per-bridge UDP and TCP gateway DNS listeners with SO_BINDTODEVICE
  when bridge != kiri0.
- GHSA-vmx6-3c4p-cjr2 (#985): honor com.docker.network.bridge.host_binding_ipv4
  for TCP and UDP published ports with empty HostIp while keeping empty
  value as unset, validating Ipv4Addr at network create and use, and
  preserving #1011 names_sync lock ordering around container start gate.
- #1000: honor com.docker.network.bridge.enable_icc=false via IFLA_BRPORT_ISOLATED.
- #1008: support KIRI_HOST_LOOPBACK=off to block host loopback via host.docker.internal.
- #992: refuse 'default' network name and network/broadcast IPAM gateway or
  auxiliary addresses for prefix < 31 without /31 or /32 shift overflow.

* Verify image rootfs.diff_ids, pin managed BuildKit, and bound rmtree FDs

* security: fix AppArmor profile, WebView URL/CSP/i18n, k3s kubeconfig/pinning, elevation TOCTOU & MSI verification, and diag redaction

- GHSA-xx5v-42pc-2x72: enforce Linux AppArmor kiri-default profile with
  PROC_SUPER_MAGIC verification on /proc/thread-self/attr/apparmor/{exec,current}
  and Host::Absent no-op on SELinux/VM/WSL2 hosts.
- GHSA-hmxq-c9pq-2fm2: add strict weburl allowlist (preserving all 13 exact
  URLs and non-empty docs.docker.com/go/ subpath check), localUrl plainHost
  validation (preserving rports running/serving guard), strict WebView CSP and
  navigation blocking on macOS/Linux/Windows, typed numeric coercions in
  hubrows/sharing, and strict i18n tag+attribute parity enforcement.
- GHSA-9mjv-25f8-p9p9: replace raw k3s kubeconfig line pass-through with a
  strict line-by-line allowlist parser rejecting exec/auth-provider/file-path
  credentials and YAML anchors/flow collections, and pin default
  rancher/k3s:v1.37.1-k3s1 multi-arch index and per-arch config digests.
- GHSA-vc32-9whf-m39j / GHSA-wjfx-gjxf-6h52 / GHSA-hx2c-xfr4-jqm2: fix
  AppleScript backslash-before-quote escaping in setup::as_admin, eliminate
  all TMPDIR staging before root elevation in setup.rs and usb/helper.rs
  (verifying SHA-256 on {bin}.new as root before codesign and atomic mv), and
  enforce private staging + SHA-256 + WinVerifyTrust Authenticode / optional
  Ed25519 signature verification in kiri-win/update.rs and kiri.ps1.
- #994: redact truncated secret JSON string values at end-of-input in
  kiri diag.

* Keep rmtree deep-readonly test setup at O(1) open FDs and parse URL host in domain-label test
2026-11-28 14:12:38 +01:00
Precious Okwu fef1e67db3 Release 0.2.3 polish: VM disk reclaim overhead, uniform Pod logs, Mac menu & Linux speed (#776)
Fixes macOS VM disk reclaim accounting for ext4 static metadata overhead, shares the numbered log console component with Kubernetes Pod logs, strips native AppKit WKWebView menus on macOS, optimizes Linux container creation/startup hot paths, and adds the head-to-head Kiri vs Docker Linux benchmark workflow (Closes #776).
2026-11-26 01:40:04 +01:00
Precious Okwu 9144e3b94b WSL: bundle zoneinfo and self-repair empty /etc/localtime directories (#938) (#942) 2026-11-25 11:13:49 +01:00
Precious OkwuandHamza 477b495c30 Translations: note short words that may be cut off in scripts/i18n-check.py (#591) (#905)
Co-authored-by: Hamza <gorcevichamza76@gmail.com>
2026-11-24 19:17:21 +01:00
Precious OkwuandAndrea Basile 22a21cf663 CLI: bundle Docker Compose 5.8.0 (#575) (#881)
Co-authored-by: Andrea Basile <7715018+andreabasile@users.noreply.github.com>
2026-11-24 13:31:13 +01:00
Precious Okwu 1e0c3be612 CI: test each pull request only where its change can break something (#667) 2026-11-21 12:43:41 +01:00
Precious Okwu 297346c316 Build: dev builds take seconds — an incremental profile on every core for app-dev, linux-dev and windows-dev (#536) 2026-11-19 05:03:33 +01:00
Precious Okwu ace80dcc0c Compose gets its own section (#501) 2026-11-18 17:54:17 +01:00
Precious Okwu 98790f7ae3 UI: First start and Settings — a searchable language list (#236) 2026-11-14 22:22:18 +01:00
Precious Okwu dfe3ffa5f5 CI: speed check on every pull request (#155) 2026-11-10 20:46:30 +01:00
Precious Okwu 0b518b898c UI: Language in 15 languages, chosen on first start (#95) 2026-11-10 01:00:16 +01:00
Precious Okwu f28d227d70 USB passthrough (beta): USB devices in containers on macOS, Windows and Linux (#96) 2026-11-09 17:43:41 +01:00
Candido Sales Gomes b6b3044437 Images: Confluent and Temporal images show their logos (#84)
confluentinc/cp-kafka, cp-zookeeper and the other Confluent Platform images
now show Confluent's mark, and temporalio/auto-setup, server, admin-tools,
ui and temporal show Temporal's. Before, all fell back to the stack icon:
the catalog matched only a repository named "kafka", and had no Temporal
entry.

Simple Icons has Temporal but not Confluent, so ui-icons.py gains LOCAL,
for logos it lacks: Confluent's mark from confluent.io's header logo,
scaled to the 24-unit box. ZooKeeper has no single-colour mark, so
cp-zookeeper shows Confluent's, as its publisher. Temporal's images match by
full path, since "server" and "ui" alone name nothing.
2026-11-09 14:05:52 +01:00
Precious Okwu 07e78baad3 UI: window — built-in terminal panel (#31) 2026-11-05 23:17:23 +01:00
Precious Okwu 15c6bd7a48 Kiri 0.1.14 2026-11-02 18:32:31 +01:00