Commit Graph
13 Commits
Author SHA1 Message Date
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 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 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 6486acb5b8 feat(ui): render country flags with a self-hosted font
Put a flags-only colour font first in the shared text and monospace stacks so Windows displays the same artwork as other platforms. Preserve existing emoji text, retain the asset licences, and let Vite and the service worker handle local URLs and offline caching.
2026-10-01 21:48:41 +10:00
Zakk 98d2a6b638 chore(palettes): keep the China palette images in their own folder
Palette assets now live in palettes/<family>/ next to the family's stylesheet, so a family with images no longer scatters prefixed files across the palettes folder.
2026-09-30 22:21:53 +10:00
Zakk 63f33dac8e feat(palettes): vary the qiangguo card landmarks
Cards now take turns with the Great Wall, Mount Tai's South Gate of
Heaven, Kuimen in the Three Gorges and Sun Moon Lake, so neighbours
differ. The new pieces are cut from Wikimedia Commons photographs into
the same faint strokes as the wall; sources are credited in NOTICE and
REUSE.toml, and CC BY 3.0 joins LICENSES.
2026-09-28 19:52:39 +10:00
Zakk efcb34da19 feat(palettes): give the qiangguo palette the poster hero
A red sky runs across the top of the page with the five stars at the start and
Tiananmen Square at the end, faint diagonal folds across it, fading into paper
under the title. The square is cut from Wikimedia Commons photographs; sources
and licences are in NOTICE and REUSE.toml.
2026-09-28 19:11:05 +10:00
Zakk 7f26c5ae6c feat(palettes): add the China parody palette
Clock-in (light) is pale rice paper with white cards, a faint Great Wall
in a corner and a flag-red banner across the top. All-nighter (dark) is
a red and gold poster with sun rays behind the page. The palette has no
upstream, so the official-values rule does not apply to it.

The wall is cropped and tinted from j4p4n's public domain Openclipart
drawing; NOTICE and REUSE.toml record it under CC0-1.0. The palette
stylesheet test now counts only stylesheets, since the images sit
beside them.
2026-09-28 15:31:33 +10:00
Zakk 79e9b6cce2 docs: credit Adobe as the copyright holder of the Noto fonts
Noto Sans TC and SC are Adobe's (their name tables read "(c) 2014-2021
Adobe, with Reserved Font Name 'Source'"), but the bundled OFL.txt had
no copyright line and REUSE.toml said NOASSERTION. OFL 1.1 asks for the
copyright notice to travel with the fonts, so OFL.txt now opens with
it, as the Google Fonts copy does. NOTICE gains a font section in the
shape of the icon one, and the READMEs name Adobe in their credits.
2026-09-28 05:13:08 +10:00
Zakk d53deeef2e feat(settings): manage sources, logs and backend actions
Add subscription and node management, live logs, backend actions and wider search. Guard unsaved setup work and correct API stream and page-limit behavior.
2026-09-18 00:09:45 +10:00
Zakk 14a3a268ac feat(policies): improve groups and their routing context
Put group status and configuration in readable cards and join routing and flow records on the rules page. Add pinning for automatic groups, then remove the unfinished group icon feature.
2026-09-17 13:44:03 +10:00
Zakk cc24a3de6c feat(ui): add DNS logs, exports and node marks
Add a DNS resolution log and export for visible events and DNS data. Introduce resizable columns, backend options and marks for nodes, outbounds and policies.
2026-09-17 11:56:48 +10:00
Zakk 121458510c refactor(api): unify the product tree and resource invalidation
Consolidate the product tree, share in-flight reads and define one invalidation table. Add a live API conformance tool, repository guidance and browser checks.
2026-09-16 06:51:07 +10:00