Commit Graph
111 Commits
Author SHA1 Message Date
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 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 5364ef44fb chore(size): set fixed size limits with headroom
Each limit is a round ceiling about 5% above the CI measurement after the two size commits before it, so a page change no longer needs a budget commit. Passing a limit still fails the check.

The mock limit rises from 38000: the demo's activation compiles group filters synchronously, so the filter compiler and the regex converter that left the startup bundle now count towards the mock chunk instead (41797 bytes gzip).
2026-11-04 23:15:27 +00:00
Zakk 568f266cb7 chore(size): budget the subscription failure details
The failure texts and their mapping add 44 and 331 bytes gzip to the login and Activity startup chunks in CI (216051 and 330556 bytes).
2026-11-04 22:01:53 +00:00
Zakk 8d47847b97 chore(size): budget the remembered available-only switch
Its storage key adds 15 and 13 bytes gzip to the login and Activity startup chunks in CI (216007 and 330225 bytes).
2026-11-03 16:56:12 +11:00
Zakk 6102778700 chore(size): budget the rc.5 version strings
The new version strings in the login and Activity startup chunks gzip 12 and 1 bytes larger in CI (215992 and 330212 bytes).
2026-11-02 15:44:49 +00: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 152481800d feat(docs): link the manual on daeuniverse.org
The manual moved to daeuniverse/repo-for-linux and is served at
daeuniverse.org/doona, with a locale prefix for zh-CN and zh-TW and none
for English. Both editions build help links through one manualHref, so the
page, the anchor and the locale mapping cannot drift apart. Unit, e2e and
lite browser checks assert the new addresses.
2026-11-02 12:56:13 +00:00
Zakk 08b2a3e145 feat(settings): let the status card hide the off-feature count
Settings, Appearance gets a switch that hides the count of off features on the Activity status card, which then shows View details.
Budgets raised by the measured growth under Node 22: startupActivity +96 gzip bytes, zh-TW locale +80.
2026-11-01 10:45:21 +00:00
Zakk e6a3467728 chore(size): budget the landing helper
The shared landing and its mark add 764 bytes gzip to the Activity startup and
32 bytes to its CSS, measured under Node 22.
2026-11-01 10:35:36 +00:00
Zakk f092c92e2b fix(activity): draw the default layout's cards from startup
The startup Skeleton drew one wide bar per dashboard section and the saved
layout's own cards replaced it, so the page changed shape twice. It now draws
the default layout's cards in the dashboard's section grids, which load with
the shell, so startup, data and content share one shape for that layout.

A card's height is no longer a pair of numbers for a wide screen and a phone,
which fitted 1280px only: the loaded cards change height with their cell's
width (a value tile stacks its sparkline under 208px, the traffic pair is
shorter once its cells are wide enough) and with the columns a section has.
The startup table and DashboardSkeleton now name each card by its module, and
dashboard.css gives the module its height at those widths, keyed on the same
tile container and breakpoints. The quick row is taller in English from
1280px, where its labels no longer fit beside their controls.

The page-skeleton spec compares the cards one by one at 1280, 390, 768, 1024
and 1440px. The startup CSS grows by about 0.4 kB gzip and startupLogin by 27
bytes; both budgets are raised to the measured size.

The startup Skeleton is now as tall as the page, so a reader can scroll it before the frame replaces it. WebKit drops the offset to the top when a new tree replaces the old one, so the offset is read as the startup frame goes and put back by the tree that takes its place.

The offset a reader scrolled the startup Skeleton to is kept with its route and put back only on that page; any other page, and the sign-in page, opens at the top. A saved layout's short or tall chart card draws the chart at the same multiple of its standard height as the loaded card. The settings cards that list what the backend offers are marked typical one by one, the overview's datapath card likewise, and the page-skeleton spec holds typical blocks to their place and width, reads grids card by card and runs in WebKit. Under Node 22 the login startup path grows by 462 bytes gzip, the Activity path by 446 and startup CSS by 46 over the previous state of this branch; the budgets are set to the measurements.
2026-11-01 10:18:38 +00:00
Zakk 1a516a0333 fix(ui): draw tab skeletons as the real tab row
Tab rows draw their own labels in the segmented control, and framed tables, fact strips, caption lines, right-aligned toolbars and phone heights follow the loaded page. The skeleton also draws the status summary row, a page's own grid class and the dashboard's saved cards, a fact strip's loading status no longer counts as a tile, and a data-sized skeleton says so with data-typical.

Under Node 22 against main, the login startup path grows by about 1.4 kB gzip, the Activity path by about 1.4 kB and startup CSS by about 0.2 kB, and the configuration route's budget by 4 bytes (the Skeleton's phone heights); the budgets are set to the Node 22 measurements. The startup screen of a tab that may still have to sign in draws the target page's heading, hub links and skeleton shape from the entry chunk, so a direct load keeps the content where the page puts it; the heading, PageLinks, the summary drawing and the route shapes are that cost. Loading them with the shell would move the heading and skeleton after the first paint, which is the jump this change removes. The dashboard's saved-card skeleton stays in the Activity chunk, and the startup draws its default layout.

The tab rows come from each page's own tab descriptors, kept in small tabs modules where the page's nav.ts would pull search targets into the entry chunk.
2026-11-01 10:18:38 +00:00
Zakk a60c2f7841 chore(size): budget the edit diagnostics 2026-11-01 08:04:50 +00:00
Zakk 4569bd91e4 chore(size): budget the manual advanced fields
Under Node 22 against main, the advanced section's two strings add 18 gzip bytes to the zh-TW catalogue.
2026-11-01 05:41:34 +00:00
Zakk 31e431e7fb chore(size): budget the form row field rule
Under Node 22 against main, the fixed-width marker on the kit fields and the dialog row rule add 18 gzip bytes to the Activity startup path.
2026-11-01 05:20:24 +00:00
Zakk 1ce7d19bc0 chore(size): budget the manual node fields
Under Node 22 against main, the manual tab's strings add 273 gzip bytes to the zh-TW catalogue, and the Activity startup path grows by 22 for the shared node form data and the XHTTP options preload; the manual fields themselves load lazily.
2026-11-01 04:56:14 +00:00
Zakk 20aea58675 chore(size): budget the add-node group picker
The add dialog's group picker and derived-name line add 203 gzip bytes to the Activity startup path and 82 to the zh-TW catalogue, measured under Node 22 against a75c977.
2026-11-01 03:18:18 +00:00
Zakk dc77e15b7b chore(size): budget the undraggable button links
Raises startupActivity from 326519 to 326563 and routeConfig from
196080 to 196091 (Node 22 gzip): Link now sets draggable on links in
button dress, which React Aria does not pass through.
2026-10-31 13:33:45 +00:00
Zakk f2151b5079 chore(size): budget the policy fold and S2 tag size
Raises startupActivity from 326483 to 326519 and startupCss from
30896 to 30962 (Node 22 gzip) for folding manual groups, the split
TCP/UDP summary and tags at S2's M size.
2026-10-31 12:55:07 +00:00
Zakk 56c92d43d2 chore(size): budget the page links drawn as S2 Tabs
Raises startupCss from 30750 to 30896, routeConfig from 196062 to
196080 and startupActivity from 326482 to 326483 (Node 22 gzip): the
page links now draw their own indicator, focus ring, touch target and
forced-colors styles instead of reusing the button styles.
2026-10-31 12:37:20 +00:00
Zakk 7c7e09fadd refactor(engines): reach engine facts through the adapter
The configuration export, import and revision routes, the export file
name, the store state, the restart command and the restart-only global
settings now come from src/api/engines instead of honk literals in the
app and in Lite.

- configOf(version) in engines/config.ts returns an engine's
  configuration extension, or null for an engine without one; every
  caller and the client methods take it, so an unknown engine offers
  no configuration history and reports none of it off. The module does
  not load the adapters, so the shell can use it at startup.
- Engine gains restartCommand and restartOnly. The restart notice and
  Lite show the command only when the engine names one.
- Lite reads the version when Settings opens and takes the global
  settings from engineOf; an engine doona does not know gets no forms.
- The suggested backend port is the native API's default, and the
  retired API names that block sign-in are kept in one list.

Raises the startupActivity budget from 326250 to 326482 and routeConfig
from 196050 to 196062, with the owner's approval: the shell now asks
the engine whether it manages configuration, which adds 232 B to the
Activity start and 12 B to the config route (Node 22 gzip).
2026-10-31 11:14:05 +00:00
Zakk 831ddb2ae0 fix(rules): show where service rules go and what already covers them
The dialog said new rules go after the existing ones, which was wrong,
and showed a service that already has a rule as checked and disabled,
so it read as selected next to unchecked services.

The help now says rules go above regional rules and All games. A
service with a rule, listed or held, is unchecked and disabled and
names that rule's outbound. A game is disabled as covered while an
all-games rule sends traffic to the outbound chosen in the dialog.

Raises the zh-TW rest catalogue budget from 25050 to 25090, with the
owner's approval: the two state labels and the longer help add 44 B
(main 25040, this change 25084 with Node 22 gzip).
2026-10-31 06:48:30 +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 4c3abc3866 feat(palettes): add a Halloween palette and logo
Add a Halloween palette under Other: pumpkin orange on warm parchment by
day and on a deep purple night after dark, with candle yellow and a
sickly green among the chart colours. Like Qiangguo it rewords running,
unavailable, degraded, light and dark, and draws faint card art: a
jack-o'-lantern, bats, a black cat and a spider web, hand-drawn SVGs at
a tenth of their opacity so corner text keeps 4.5:1. While it is on, the
duck in the top bar, startup frame, sign-in page and About wears a
witch's hat, swapped in by the palette stylesheet with CSS content.

The stylesheet, its inline art and the logo load only when the palette
is chosen, on the path Glass already used: paletteSheet.ts now links a
family's own stylesheet for both, the first-paint script links a stored
one, and useAppearance retries a failed load.

Raise startupActivity from 326050 to 326250 bytes gzip. The palette
entry, its five core catalogue keys and the shared on-demand loader put
startup at 326220 on the current main; the palette CSS stays out of
startupCss.
2026-10-30 13:13:47 +00:00
Zakk 5eba88eabc feat(shortcuts): list select all for tables
Ctrl or Cmd+A selects every listed row. The help dialog now names it; Shift with an arrow key still extends a selection but stays unlisted so the dialog fits a 1280x720 window. A node-table test drives both and clears them with Escape.
2026-10-30 13:01:01 +00:00
Zakk 04f6aa6a64 feat(nodes): select nodes to test or remove them together
Every node can be selected; a selection turns Test all into Test selected and offers Remove selected for the removable nodes in it. The header select-all box drops the form control height so it sits on the header line.

Raises three size budgets, with the owner's approval, by what this needs: startupCss 30700 to 30750 (+9 B for the header box rule), the zh-TW rest catalogue 25028 to 25050 (+12 B for the selection labels) and routeConfig 196000 to 196050 (+12 B for selection in the shared table).
2026-10-30 13:01:01 +00:00
Zakk 60d7d267ab feat(rules): insert per-service routing rules
The Routing page gains "Add common services": pick services such as Steam, GitHub or Telegram and where they go, then hold or apply them with the same actions as quick rules. Each service becomes one held rule before the routing fallback; Telegram also gets a DNS request rule. Services that already have a rule, or whose category the known geodata lacks, show as disabled choices.

The service list lives in src/dae/templates.ts next to the services template, which now reads its categories from it with unchanged output.

The 16 new strings take the zh-TW locale to 25,008 bytes gzip, so sizeBudget.locale rises from 24,800 to 25,028.
2026-10-29 04:40:02 +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 c877c33b7b feat(ui): explain unavailable features in place with the same text 2026-10-27 22:04:24 +00:00
Zakk 0389484a37 fix(ui): keep popovers above the phone navigation bar 2026-10-27 21:43:54 +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 0add7a08be refactor(ui): drop the Feedback forwarder, touch.css chunk and the table-cards state copy
Import the split feedback files directly and move each test beside its file. Fold the touch hit areas into the coarse-pointer block of foundations.css (+89 B gzip on startupCss, budget 30520 to 30620). Widen the CardView state selectors to table cards instead of repeating them. Feedback.tsx keeps two re-exports until Dialog.tsx and NodeGrid.tsx stop importing it.
2026-10-27 01:41:42 +00:00
Zakk 8a31bc10ca fix(shell): navigate urgently on submit and keep hidden pages idle
A route replacement during a form submit no longer starts a transition,
which threw "Failed to construct 'FormData'". Hidden rule and trace tabs
stop polling, verdicts of sources in use are never evicted, and tests
assert that retained hidden pages make no requests.

The startup budgets follow the size CI measures for this tree plus 0.3%:
login 213,700 and Activity 326,000 bytes gzip. CI builds about 0.7 KB and
1 KB larger than a local build.
2026-10-26 17:40:07 +00:00
Zakk 66bcd4c8a4 fix(shell): lead a first run with a connect card and keep the panel collapsed
A first run without a backend starts with a connect card. The floating
panel starts collapsed; it overlays Activity and Overview, whose layout
stays as it is, and reserves a column on other pages. Hub pages are set
apart from page tabs and touch targets are larger.

The startup budgets follow the size CI measures for this tree plus 0.3%:
login 213,600 and Activity 325,300 bytes gzip. CI builds about 0.7 KB and
1 KB larger than a local build.
2026-10-26 16:49:12 +00:00
Zakk 2684c61488 perf(i18n): load each catalogue in stages with the code that shows it
The login page loads only the messages it shows; each later stage loads
with its code. Key families built at runtime are mapped to their stage
explicitly, and a test fails when a template key has no stage.

The startup budgets follow the size CI measures for this tree plus 0.3%:
login 213,600 and Activity 325,000 bytes gzip. CI builds about 0.7 KB and
1 KB larger than a local build.
2026-10-26 16:38:44 +00:00
Zakk c50fcac366 feat(nodes): paste several node links at once and test every listed node
The link field comes first, the batch list stays readable on a phone,
and one action tests every node in the list.

The startup budgets follow the size CI measures for this tree plus 0.3%:
login 240,300 and Activity 344,800 bytes gzip. CI builds about 0.7 KB and
1 KB larger than a local build.
2026-10-26 14:35:11 +00:00
Zakk fb540aed89 fix(ui): confirm destructive actions and show form errors at their fields
Suspend, clear and switching to direct or global mode now ask first,
like reload does. Form errors show under the field they belong to, and
a disabled submit says why.

The startup budgets follow the size CI measures for this tree plus 0.3%:
login 239,900 and Activity 344,300 bytes gzip. CI builds about 0.7 KB and
1 KB larger than a local build.
2026-10-26 14:24:13 +00: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 9bbe0cffcc chore(size): raise the login startup budget for the backend suggestion
main measured 238694 of 238700 bytes in CI; the suggested backend URL
and the unsaved first-run note add 63 bytes to the login startup.
2026-10-20 04:53:35 +11:00
Zakk 34657ab5b6 chore(size): raise the Activity startup budget for the trace process help
The process field's help string adds a few bytes to the startup catalogue in
every locale; CI measured 342,471 bytes against the 342,450 limit.
2026-10-17 22:38:39 +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
eries 7bddbd4bf1 chore(size): raise the startup budgets for the XHTTP node strings
The startup paths carry the largest language catalogue, and the XHTTP
option labels and help add to all three. CI measured 238517 and 342247
bytes against the previous 238300 and 341850 limits.
2026-10-12 04:46:12 +11:00
Zakk 849b5a2f3d chore(size): raise the Activity startup budget for the lens pause setting
The setting adds 151 bytes gzip to the Activity startup path (the preference, its effect and two catalogue strings); CI measured 341883 against the 341850 limit.
2026-10-12 00:56:19 +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 3b10d8e1d1 fix(events): hold the anchor only while the page scrolls
A sideways swipe on the table, or a wheel or swipe taken by a box that
scrolls on its own, left the page still but suspended prepend
compensation, so new rows pushed the row being read down. Start the
hold only for a vertical wheel the page receives, or a mainly vertical
touch movement that did not start in such a box.

Raise the route budget by 100 bytes for the shared table chunk.
2026-10-09 04:18:43 +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 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 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