65 Commits
Author SHA1 Message Date
Zakk c79d64023f build(packaging): pin rc.8 source archive hashes (#709)
## Problem / 问题

The rc.8 prepare commit left the Alpine, Gentoo, Nix and OpenWrt recipes
on rc.7 checksums until the archives were published, so none of them can
fetch the v0.1.0-rc.8 release as committed.

## How I fixed it / 解决方法

From the published program, fonts and precompressed archives: SHA-512 in
the APKBUILD, size, BLAKE2B and SHA-512 DIST lines in the Gentoo
Manifest (its EBUILD line already matches the 1580-byte rc.8 ebuild),
SRI SHA-256 for both Nix fetches, and SHA-256 for the three OpenWrt
downloads, as in #698.

## Verified / 验证

The three archives downloaded from v0.1.0-rc.8 pass `sha256sum
--ignore-missing -c SHA256SUMS`; every value was computed from those
bytes, and the three OpenWrt values match `SHA256SUMS`. `pnpm check` is
not needed: no source, test or catalogue file changed. Not run: `abuild
checksum`, `ebuild manifest`, `nix-prefetch-url` and an OpenWrt build.

---

- [x] I understand this change and answer for every line
- [x] This branch is based on the current main
- [x] I ran the repository's gates and recorded the results in Verified
- [x] Each commit is one coherent change
- [ ] If behaviour changed, I updated the documentation
- [ ] If interface text changed, I updated `en.json` and every complete
language's catalogue
- [ ] If interface appearance changed, I attached light and dark
screenshots
- [ ] If the API contract changed, I ran `pnpm gen:api` and `pnpm
check:gen`
- [ ] I checked the boxes above without reading them
- [ ] I am an AI agent, and this content was submitted without human
review
2026-11-27 23:37:14 +11:00
Zakk 4e6027dac4 chore(release): prepare 0.1.0-rc.8 (#708)
## Problem

main carries four merged changelog fragments and still declares
0.1.0-rc.7 in the manifest, the READMEs, the install recipes and the
packaging scripts, so the next tag would build and document the previous
version. The Alpine, Gentoo, Nix and OpenWrt recipes also treat the
pinned archive as GPL-3.0-only, which holds only for rc.7; the rc.8
archive is AGPL-3.0-only.

## How I fixed it

Ran `pnpm changelog:release 0.1.0-rc.8 2026-11-27`, which wrote the
dated section with PR numbers and removed the consumed fragments. Bumped
the declared version everywhere it is spelled: package.json, the three
READMEs, CONTRIBUTING, the three install guides, install/README, the
Alpine, Gentoo, Nix and OpenWrt recipes (including the ebuild filename
and its Manifest line) and the two packaging scripts. Updated the README
release summary to this version's 12 entries. The recipes now declare
AGPL-3.0-only unconditionally, so the rc.7 version guards and the
install/README paragraph about them are removed, and the ebuild's
Manifest entry carries its new size and digests. Published archive
checksums stay as they are until the release builds exist.

## Verified

`pnpm check` passes. Net lines: src +0/-0, unit 0, e2e 0, css 0. Not
verified: package builds on Alpine, Gentoo, OpenWrt and Nix.

---

- [x] I understand this change and answer for every line
- [x] This branch is based on the current main
- [x] I ran the repository's gates and recorded the results in Verified
- [x] Each commit is one coherent change
- [x] If behaviour changed, I updated the documentation
- [ ] If interface text changed, I updated `en.json` and every complete
language's catalogue
- [ ] If interface appearance changed, I attached light and dark
screenshots
- [ ] If the API contract changed, I ran `pnpm gen:api` and `pnpm
check:gen`
- [ ] I checked the boxes above without reading them
- [ ] I am an AI agent, and this content was submitted without human
review
2026-11-27 22:59:46 +11:00
Zakk edbcf9c2e6 chore(license): relicense doona under AGPL-3.0-only (#699)
## Problem / 问题

Under GPL-3.0, a service that runs a modified doona panel for its
customers does not have to publish its changes, because it never
distributes the program.

在 GPL-3.0 下,把修改过的 doona 面板架成服务给客户用,因为没有散布程序,不必公开修改。

## How I fixed it / 解决方法

doona is licensed AGPL-3.0-only. LICENSE, LICENSES/, REUSE.toml,
package.json, the READMEs, NOTICE and the Alpine, Gentoo, nfpm, Nix and
OpenWrt metadata say so; the About box reads the licence from
package.json and already links the source repository. Lines still
contributed by eries (14 files) and qiuzi (4 files) stay GPL-3.0-only,
combined under GPL-3.0 section 13, and REUSE.toml records them. The
pinned rc.7 archive keeps its original licence in the packaging.

doona 改用 AGPL-3.0-only。eries 与 qiuzi 留下的代码仍按 GPL-3.0-only,依 GPL-3.0 第 13
条合并;已发布的 rc.7 源码包保持原授权。

## Verified / 验证

- `pnpm check`, coverage (4,336 tests), build, size, and Chromium/WebKit
E2E (2,356 passed, 35 skipped, in the Playwright container).
- LICENSE matches the gnu.org AGPL-3.0 text; LICENSES/AGPL-3.0-only.txt
matches SPDX license-list-data v3.28.0 byte for byte.
- Notice staging and the Alpine, Gentoo and OpenWrt metadata checks.
- `reuse lint` reports only the existing lite gaps (230 licence, 218
copyright entries), unchanged by this branch.
- Not verified: package builds on Alpine, Gentoo, OpenWrt and Nix.

---

- [x] I understand this change and answer for every line
- [x] This branch is based on the current main
- [x] I ran the repository's gates and recorded the results in Verified
- [x] Each commit is one coherent change
- [x] If behaviour changed, I updated the documentation
- [ ] If interface text changed, I updated `en.json` and every complete
language's catalogue
- [ ] If interface appearance changed, I attached light and dark
screenshots
- [ ] If the API contract changed, I ran `pnpm gen:api` and `pnpm
check:gen`
- [ ] I checked the boxes above without reading them
- [ ] I am an AI agent, and this content was submitted without human
review
2026-11-25 12:04:39 +11:00
Zakk 659f01f8e6 build(packaging): pin rc.7 source archive hashes (#698)
## Problem / 问题

The rc.7 prepare commit left the Alpine, Gentoo, Nix and OpenWrt recipes
on rc.6 checksums until the archives were published, so none of them can
fetch the v0.1.0-rc.7 release as committed.

## How I fixed it / 解决方法

From the published program, fonts and precompressed archives: SHA-512 in
the APKBUILD, size, BLAKE2B and SHA-512 DIST lines in the Gentoo
Manifest (plus the EBUILD line, since the rc.7 ebuild is 1573 bytes, not
the 1431 recorded), SRI SHA-256 for both Nix fetches, and SHA-256 for
the three OpenWrt downloads, as in #667.

## Verified / 验证

All 27 release files downloaded from v0.1.0-rc.7 pass `sha256sum -c
SHA256SUMS`; every value was computed from those bytes, and the three
OpenWrt values match `SHA256SUMS`. Not run: `abuild checksum`, `ebuild
manifest`, `nix-prefetch-url` and an OpenWrt build.

---

- [x] I understand this change and answer for every line
- [x] This branch is based on the current main
- [x] I ran the repository's gates and recorded the results in Verified
- [x] Each commit is one coherent change
- [ ] If behaviour changed, I updated the documentation
- [ ] If interface text changed, I updated `en.json` and every complete
language's catalogue
- [ ] If interface appearance changed, I attached light and dark
screenshots
- [ ] If the API contract changed, I ran `pnpm gen:api` and `pnpm
check:gen`
- [ ] I checked the boxes above without reading them
- [ ] I am an AI agent, and this content was submitted without human
review

Check only true claims. An applicable unchecked box or a false claim
closes the pull request.

只勾选属实的选项。适用的选项没有勾选,或勾选的内容不属实,PR 会被关闭。
2026-11-24 22:49:39 +11:00
Zakk 4e8d504072 chore(release): prepare 0.1.0-rc.7 (#697)
## Problem

main carries seven merged changelog fragments and still declares
0.1.0-rc.6 in the manifest, the READMEs, the install recipes and the
packaging scripts, so the next tag would build and document the previous
version.

## How I fixed it

Ran `pnpm changelog:release 0.1.0-rc.7 2026-11-24`, which wrote the
dated section with PR numbers and removed the consumed fragments. Bumped
the declared version everywhere it is spelled: package.json, the three
READMEs, CONTRIBUTING, the three install guides, install/README, the
Alpine, Gentoo, Nix and OpenWrt recipes (including the ebuild filename
and its Manifest line) and the two packaging scripts. Updated the README
release summary to this version's 21 entries. Published archive
checksums stay as they are until the release builds exist.

## Verified

`pnpm check` passes. Net lines: src +0/-0, unit 0, e2e 0, css 0.
2026-11-24 22:07:10 +11:00
Zakk 4c1f6f3fc1 chore(release): prepare 0.1.0-rc.6
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-11-09 03:44:15 +11:00
Zakk 0421c5d815 build(packaging): pin rc.5 source archive hashes 2026-11-03 03:50:24 +11:00
Zakk ee125fa29f chore(release): prepare 0.1.0-rc.5
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-11-02 15:44:49 +00:00
Zakk c38cbecdae build(packaging): pin rc.4 source archive hashes 2026-10-30 15:48:00 +00:00
Zakk d9d4200a87 chore(release): prepare 0.1.0-rc.4
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-30 13:42:21 +00:00
Zakk 00aeb4be5f chore(release): prepare 0.1.0-rc.3
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-28 08:17:41 +00:00
Zakk c91bf35df4 docs(readme): default to Traditional Chinese
README.md is now the Traditional Chinese text and the English text moves to README.en.md. The archives, Makefile install, rpm list and Gentoo ebuild ship both files.
2026-10-27 08:36:24 +00:00
Zakk eece7dd319 build(packaging): pin rc.2 source archive hashes 2026-10-27 04:37:41 +00:00
Zakk 426597a5c9 chore(release): prepare 0.1.0-rc.2
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-27 03:39:54 +00:00
Zakk 4354c99bdc build(packaging): pin rc.1 source archive hashes
Replace stale hashes and placeholders with the published rc.1 archive values, and record the Gentoo distfiles.
2026-10-24 18:50:36 +11:00
Zakk e8464c7dc6 chore(release): prepare 0.1.0-rc.1
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-24 17:49:57 +11:00
Zakk 25fc26a7a1 build(packaging): pin beta.20 source archive hashes
Replace stale hashes and placeholders with the published beta.20 archive values, and record the Gentoo distfiles.
2026-10-12 06:00:57 +11:00
Zakk 6acdabdc7c chore(release): prepare 0.1.0-beta.20
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-12 05:02:21 +11:00
Zakk 8f502afec2 build(packaging): pin beta.19 source archive hashes
Replace stale hashes and placeholders with the published beta.19 archive values, and record the Gentoo distfiles.
2026-10-09 07:41:39 +11:00
Zakk 2391fb7b62 chore(release): prepare 0.1.0-beta.19
Update release versions and fold the merged changelog fragments. Leave published archive checksums for the post-release update.
2026-10-09 07:06:31 +11:00
Zakk 75247f057e build(packaging): pin beta.18 source archive hashes 2026-10-08 17:17:23 +11:00
Zakk bf8b40d8b9 chore(release): prepare 0.1.0-beta.18
Collect XHTTP transport display and matching embedded UI release changes. Update package versions and installation guidance while leaving archive hashes for the verified publication follow-up.
2026-10-08 03:44:22 +11:00
Zakk ba4b41a7b7 chore(packaging): record beta.17 source checksums 2026-10-07 21:34:23 +11:00
Zakk f9b687f291 chore(release): prepare v0.1.0-beta.17
Collect the merged policy and Glass fixes, advance package recipes and installation examples, and update release summaries.
2026-10-07 20:59:53 +11:00
Zakk f2371e7381 chore(packaging): record beta.16 archive checksums
Use the published archives to refresh Alpine, OpenWrt, Gentoo and Nix verification data. Correct the documented asset count to match the 36 release files.
2026-10-07 06:29:31 +11:00
Zakk f520adc2a9 chore(release): prepare 0.1.0-beta.16
Collect the scrolling, widget editor and Liquid Glass fixes, update the release version and document the current package names. Archive checksums are populated from the release build.
2026-10-07 05:47:57 +11:00
Zakk a838589032 chore(release): fill 0.1.0-beta.15 checksums 2026-10-06 08:26:48 +11:00
Zakk 6e45f3ee64 chore(release): prepare 0.1.0-beta.15 2026-10-06 05:20:49 +11:00
Zakk d29068b93c chore(packaging): slim the licence files in the program archive
NOTICE links the CC BY 3.0, CC BY 4.0 and CC BY-SA 4.0 licences by URI,
which the licences allow, so the archive drops their texts and the CC0
one; the repository keeps them for REUSE. THIRD-PARTY-NOTICES.txt groups
packages whose licence texts match apart from copyright lines, wrapping
and indentation, and prints each text once under every package and
copyright line it covers. CHANGELOG.md leaves the archive; the nfpm
packages copy it from the checkout, and the ebuild stops installing it.
The archive shrinks from 3.47 MB to 3.21 MB unpacked.
2026-10-04 22:20:58 +11:00
Zakk bb00b9bee4 chore(release): fill 0.1.0-beta.14 checksums
APKBUILD and the OpenWrt Makefile come from the release run's recipe artifacts; the Nix hashes and the Gentoo Manifest are computed from the published archives, which match SHA256SUMS.
2026-10-04 21:36:16 +11:00
Zakk 9368bc203b chore(release): prepare 0.1.0-beta.14 2026-10-04 21:02:10 +11:00
Zakk b66f1ecb7a build(package): follow aports and openwrt/packages conventions
The OpenWrt Makefile pins doona-precompressed to the same doona with
EXTRA_DEPENDS, as utils/vim does for vim-runtime, derives PKG_VERSION
from PKG_REAL_VERSION and downloads every archive unconditionally, as
net/v2raya does. The APKBUILD derives the tag from pkgver, names its
split functions with a leading underscore and moves the fonts with
amove, per the aports coding style.

Neither repository has a placeholder hash, so the packaging scripts
fill the hashes with `make package/doona/check FIXUP=1` and `abuild
checksum`, and the release run keeps the filled recipes as artifacts
under the default retention.
2026-10-04 20:01:04 +11:00
Zakk e2710db3b5 ci(release): build Alpine and OpenWrt apk packages
nfpm's apk output is rejected by apk-tools, so Alpine and OpenWrt 25.12
users had no package. Two new jobs build them from the existing recipes
against the archives of the same run: tools/package-alpine.sh runs abuild
in a pinned Alpine 3.24 container and tools/package-openwrt.sh runs the
pinned OpenWrt 25.12 SDK. Each run generates its own signing key and the
release attaches the public half; OpenWrt signs only its index, which is
attached as doona-openwrt.adb.

The nfpm packaging moves out of the build job and runs next to the two
apk jobs; it also builds doona-precompressed. A sums job collects every
package and writes SHA256SUMS, so the release job still only uploads.

workflow_dispatch packages package.json's version from a branch and keeps
the files as run artifacts, skipping the Check wait and the release.
2026-10-04 20:01:04 +11:00
Zakk 73008bbe8a build(package): ship precompressed assets as an optional package
A server hosting doona's directory, including honk's UI hosting, can only
send compressed responses when the text assets carry .br and .gz siblings.
Shipping them inside the program archive would grow every install,
including routers, so tools/package.sh now writes them to a separate
reproducible archive, doona-precompressed-<version>.tar.gz, and leaves
the program archive byte-identical to before.

Each sibling is brotli -q 11 or gzip -9 -n of a text asset of at least
1 KiB, kept only when smaller. The new nfpm config, the APKBUILD
subpackage and the OpenWrt package install the siblings into doona's
directory and depend on doona; nfpm pins the same doona version per
format.
2026-10-04 20:01:04 +11:00
Zakk c2e209e0f9 chore(release): fill 0.1.0-beta.13 checksums 2026-10-03 22:25:09 +10:00
Zakk 1a99aeb23a chore(release): prepare 0.1.0-beta.13 2026-10-03 21:14:26 +10:00
Zakk 36b5687c59 fix(packaging): rename the deb to doona-web
Debian and Ubuntu ship an unrelated doona 1.0, a network fuzzer that
owns /usr/share/doona and /usr/share/doc/doona. Its version sorts above
our 0.1.0~beta.N, so apt upgrade replaced our deb with it and deleted
the web files.

The deb is now doona-web with doona-web-fonts, installed under
/usr/share/doona-web and /usr/share/doc/doona-web, so it can sit beside
the fuzzer. Both replace, break and conflict with doona and doona-fonts
below 1.0, which clears the old 0.1 packages and never matches the
fuzzer. One nfpm config per package still builds every format: the
release workflow sets PACKAGE_SUFFIX=-web for the deb, and the deb's
contents come from a packager override. rpm, ipk, Arch and the release
archives keep the name doona and their paths.
2026-10-03 18:44:00 +10:00
Zakk aafdd56d8e docs: sync repository text with the code
Bring the READMEs, CONTRIBUTING, PR templates, install notes and recipe usage text, flag notes and page metadata in line with the current code: CI lanes, repository layout with mock/ at the root, engine selection, the native API ui setting, the removed Backend actions card and the per-row DNS actions. Fix make install-fonts, which looked for the licence file in public/fonts instead of dist/fonts.
2026-10-03 06:53:04 +10:00
Zakk e53c0b5982 fix(release): correct licence and notice coverage 2026-10-03 03:59:55 +10:00
Zakk c0494b7170 chore(fonts): take the noto fonts from fontsource instead of committing them
public/fonts held 208 woff2 slices (8.8 MB). The Noto Sans TC and SC slices now come from @fontsource-variable 5.3.0 and Vite still self-hosts them with unicode-range slicing; built font bytes, families, weights and rendering are unchanged (zero pixel difference on six zh pages). Licence and notice records point at the packages.
2026-10-03 02:21:43 +10:00
Zakk 37fb8e64ee chore(release): prepare 0.1.0-beta.12
Document the changes since beta.11 and move the version in package.json, the package recipes and the install examples to 0.1.0-beta.12.
2026-09-30 14:29:13 +10:00
Zakk d3aad96ed9 chore(release): prepare 0.1.0-beta.11
Document the changes since beta.10 and move the version in package.json, the package recipes and the install examples to 0.1.0-beta.11.
2026-09-30 13:04:27 +10:00
Zakk 3f5d67ab57 fix(release): declare the image licences in package metadata
The program ships Spectrum icons, CC BY 3.0, CC BY-SA 4.0 and CC0 palette
images and the GitHub mark, but the packages declared only GPL-3.0-only and
the npm licences. nfpm, Alpine and OpenWrt now carry the full SPDX list
including LicenseRef-GitHub-Logos; Gentoo and nix name the CC licences and
note that they have no entry for the GitHub logo terms. The fonts packages
keep OFL-1.1 on their own.
2026-09-30 12:14:28 +10:00
Zakk 45649cfb62 fix(release): install every licence file in the packages
The deb, rpm, ipk and Arch packages and the Alpine recipe took only
LICENSES/Apache-2.0.txt. They now take the whole LICENSES directory and
THIRD-PARTY-NOTICES.txt, and the release job fails if the documentation
directory holds a file the rpm list in install/nfpm/doona.yaml leaves out.
2026-09-30 12:14:28 +10:00
Zakk b1ac2f3b72 fix(release): ship cited licences and third-party notices
The program archive carried only LICENSE, NOTICE and LICENSES/Apache-2.0.txt,
although NOTICE points at the CC BY 3.0 and CC BY-SA 4.0 texts and the build
bundles npm packages whose licences ask for their notices.

tools/notices.mjs now stages the licence texts that apply to files in dist/
and fails when NOTICE cites a LICENSES path, of any extension or depth, that
is not a file in the staged LICENSES directory. It writes
THIRD-PARTY-NOTICES.txt from the production dependency closure, sorted by
name and version, plus the licence sections of Vite and Rollup that cover the
helper code they write into the build (module preload polyfill, preload
helper, CommonJS interop helper, namespace objects). A unit test runs the
NOTICE check in pnpm check as well.
2026-09-30 12:14:28 +10:00
Zakk 86882b3fc3 chore(release): prepare 0.1.0-beta.10
Document the changes since beta.9, rename the China palette modes in the
READMEs and the screenshot tool to Day shift and Night shift, name the
bundled honk commit in the READMEs and move the version in package.json,
the package recipes and the install examples to 0.1.0-beta.10.
2026-09-30 01:04:51 +10:00
Zakk 7d86dc5ea4 chore(release): prepare 0.1.0-beta.9
Document the changes since beta.8, count the China palette in the
READMEs and move the version in package.json, the package recipes and
the install examples to 0.1.0-beta.9.
2026-09-28 22:37:45 +10:00
Zakk ad89d2ed53 chore(release): prepare 0.1.0-beta.8
Document the changes since beta.7 and move the version in package.json,
the package recipes and the install examples to 0.1.0-beta.8.
2026-09-28 09:21:22 +10:00
Zakk 7128e952fe chore(release): prepare 0.1.0-beta.7
Refresh the three README tours for the current interface and document the changes since beta.6. Keep package recipes and download examples aligned with the release asset versions.
2026-09-27 04:27:46 +10:00
Zakk ad130fbd88 chore(release): 0.1.0-beta.6 2026-09-26 21:46:06 +10:00