Commit Graph
54 Commits
Author SHA1 Message Date
Zakk 308cfd62cf feat(rules): add a MAC address condition
mac(...) becomes a shared routing condition kind, offered next to the source IP in the standard rule editor. Lite drops its private mac entry and uses the shared path.
2026-11-08 19:08:33 +11:00
Zakk 52bb1a6d0c feat(regions): match every country's flag
Every country in the flag list is now a region, not only the 40 with text aliases. A region with no alias is matched by its flag alone, since codes such as AS, AM or PM would match ordinary words in a node name. The group dialog lists only the regions that have nodes and the ones already selected, and the lite pickers use the same list.

Fourteen more regions (Kazakhstan, Austria, Belgium, Luxembourg, Czechia, Romania, Iceland, Chile, Colombia, Saudi Arabia, Pakistan, Nigeria, Egypt, Cambodia) also match by name, and their bare code matches only in capitals. Earlier filter lines stay recognised and are not rewritten.
2026-11-07 23:55:38 +11:00
Zakk a81fa10103 feat(regions): match nodes named by flag emoji
A region's flag is now one more alias of that region, so a node named only by its flag, such as 🇭🇰-家宽-倍率, is detected and matched by the region filters in the standard app, lite and the templates. Earlier filter lines stay recognised as the same region and are not rewritten.
2026-11-07 23:55:38 +11:00
Zakk 5b1c7d7e30 fix(nodes): say how a subscription download failed 2026-11-04 22:01:53 +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 bf85c6b4df feat(nodes): offer XHTTP and the advanced fields in the manual node form 2026-11-01 05:41:34 +00:00
Zakk 2dbf946702 feat(nodes): add a node from manual fields
The add node dialog gets a Manual tab beside the pasted link. It offers the protocols of lite's node form (AnyTLS and Juicity included) and builds the link with the shared emptyNode and nodeLink; manualFields in src/dae/nodeForm.ts lists the fields that apply to the chosen protocol, security and transport. The generated link is shown as code and goes through the same addNode and group join path as a pasted one. The link tab states the name a pasted link will get as the field's description.
2026-11-01 04:56:14 +00:00
Zakk d59c0021e5 fix(nodes): build VMess links honk can read
honk accepts the encoded VMess authority only as uuid@host:port or auto:uuid@host:port, so a link with another cipher (aes-128-gcm) was refused as an invalid configuration. The cipher now travels only in scy, security says only tls, and the link table test pins the exact output of every protocol.
2026-11-01 04:56:14 +00:00
Zakk 0d6f9eb2c7 refactor(nodes): share lite's node link form
The protocol list, emptyNode, parseNodeLink and nodeLink move from apps/lite to src/dae/nodeForm.ts so the standard add dialog can build links with the same code. Lite imports them from there; behaviour is unchanged.
2026-11-01 04:56:14 +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 1eddb54657 feat(lite): move about into settings
About is now the last section of the Settings dialog, after Language,
and no longer opens from the backend status menu. The nav label drops
the product name, which the panel itself shows.
2026-10-30 18:35:42 +00:00
Zakk a57171e200 fix(lite): restore the yellow beak and feet in the logo
The tone-down of lite's surfaces also turned the duck grey. Only the logo goes back to the standard yellow; the rest of the calmer theme stays.
2026-10-30 12:20:54 +00:00
Zakk fe2de37f09 fix(lite): keep keyboard focus on skip links and closed dialogs
Keep skip anchors on the active route and let Astryx restore dialog focus.
2026-10-30 08:41:54 +00:00
Zakk ba690323a1 feat(lite): guide the node form, settings and empty group states 2026-10-30 08:41:54 +00:00
Zakk feee8df94e feat(shell): add a bug-report button that opens the issue tracker
Show a bug icon first among the standard top-bar actions and in lite's sidebar footer. It opens the doona issue list in a new tab; the issue chooser routes backend problems to honk or dae.
2026-10-30 08:29:00 +00:00
Zakk 4f3b9fdd5a fix(lite): say what an unavailable page needs 2026-10-30 08:16:25 +00:00
Zakk 183c425268 fix(lite): link the docs from refusals and failures
Read-only notes, pages the backend does not offer, refused or rejected
changes, failed latency and route tests, failed subscription updates and a
disconnected, degraded or failed backend now link the docs section that
explains them, through the standard edition's anchor map.

Toasts and banners keep the validator's words and a failed operation's
backend reason; a rejected change that needs a missing local file links the
offline dependency section. A failed subscription update shows its last
error, and the backend menu shows why the backend is disconnected, degraded
or failed.
2026-10-30 08:16:25 +00:00
Zakk f3169ce060 chore(demo): give the standard and lite switches the same size
The standard switch used 12px text and 21px segments while the lite one used 13px text beside a 32px close button. Both now use 13px text, 32px segments and a 32px close button, 144 by 36 px in all.
2026-10-29 03:30:38 +00:00
Zakk 6a8f2e9d5a fix(lite): stop the page content flashing after load
Readiness restarted the entrance of already-visible content, while the loading header and scrollbar changed its geometry. Start the entrance once on mount and reserve the loaded header height and scrollbar space.
2026-10-29 02:09:45 +00:00
Zakk 769314aeb6 fix(lite): use the default Astryx segmented control
The custom track border and selected-item outline drew a box inside a box. Remove both component overrides and keep the default selection treatment.
2026-10-29 02:09:45 +00:00
Zakk 750ac7daa7 fix(lite): use the default Astryx focus colour
The yellow focus token overrode the neutral accent. Remove it so keyboard rings use the Astryx default.
2026-10-29 02:09:45 +00:00
Zakk 78a3b895e8 fix(lite): keep the row focus ring whole and keyboard-only 2026-10-29 02:09:45 +00:00
Zakk fc5c996281 chore(demo): replace the demo badge with a standard and lite switch 2026-10-29 00:49:58 +00:00
Zakk 85f10757ea test(lite): cover official settings tab navigation 2026-10-28 13:29:28 +00:00
Zakk 23d1bfbfff refactor(lite): use official tabs for narrow settings navigation 2026-10-28 13:29:28 +00:00
Zakk 6f9a45d9cc docs(lite): describe official styling and loading contracts 2026-10-28 13:29:28 +00:00
Zakk 56a3eea1a8 refactor(lite): render loading silhouettes with Astryx Skeleton 2026-10-28 13:29:28 +00:00
Zakk 855752ee91 refactor(lite): move component styles into official theme slots 2026-10-28 13:29:28 +00:00
Zakk ab96ab2de0 refactor(lite): draw focus rings with public theme tokens 2026-10-28 13:29:28 +00:00
Zakk be01b2f9c2 refactor(lite): disable sticky shadows through the table plugin 2026-10-28 13:29:28 +00:00
Zakk 839e090780 test(lite): copy from dialogs through the clipboard fallback
Check that the lite share and restart dialogs put the text on the clipboard when the Clipboard API is refused or absent, and report a failed copy.
2026-10-28 06:58:10 +00:00
Zakk fcf3f9c337 chore: remove unused code, messages and export surfaces
Remove the remaining dead lite helper and icon, 26 unused keys from each lite catalogue, and verified unconsumed exports. Keep live implementations and skip findings already addressed by round one.
2026-10-28 06:58:10 +00:00
Zakk 58fc87cacb refactor: share region matching and compose existing helpers
Keep app-specific region caches while sharing pure matching and exact-case aliases. Reuse the HTTP-compatible clipboard helper in lite and preserve existing toolbar and divider presentation.
2026-10-28 06:58:10 +00:00
Zakk fead8d29f7 fix(lite): disable stale page actions before paint 2026-10-28 06:58:10 +00:00
Zakk caf7418b1c fix(lite): preserve draft configuration semantics
Keep all-node membership intact when only changing a group's policy. Separate appended declarations and rules in inline blocks, preserving line endings, and bind subscribed nodes to their source even when provider metadata is unavailable.

Cover parser round trips, source-scoped bindings and the policy editor's membership state without changing the chosen interface.
2026-10-28 06:58:10 +00:00
Zakk 5b4d9aadd8 refactor(lite): reuse the locale name registry
Build language choices from the existing localeNames registry instead of duplicating the same native names in every catalog. Preserve the menu's labels and ordering.
2026-10-28 06:58:10 +00:00
Zakk 536f50738a chore(lite): remove obsolete UI and helper code
Delete unused components, icons, styles, theme helpers and motion markers after checking their consumers. Remove stale helper references and dead description exports, and have description tests import the existing helper owner directly.

Drop unused command fields and simplify the syntax scan script's identical branches without changing the rendered interface.
2026-10-28 06:58:10 +00:00
Zakk d8b6ba1816 fix(lite): offer the demo only on the demo site 2026-10-28 01:11:36 +00:00
Zakk 14dca36aef test(lite): wait for subscription nodes before refresh snapshots 2026-10-28 01:11:36 +00:00
Zakk d88ee821d9 test(lite): ignore the same-origin probe 404 in console checks 2026-10-28 01:11:36 +00:00
Zakk f6f7395242 feat(lite): connect to the honk that serves it without asking for an address
When lite is opened from honk with no saved connection, it probes the
same origin the way the standard app does. Anonymous access connects
straight away; a 401 or 403 shows only the matching sign-in step with
the address hidden. Static hosts keep the address form, whose help now
says it wants the honk native API root.
2026-10-28 01:11:36 +00:00
Zakk a7bd92bc82 fix(lite): tone down selection, primary button, headings and surfaces 2026-10-28 00:25:03 +00:00
Zakk 3024bc9b04 fix(lite): use the md segmented control in page headers
The lg override dropped the frame padding so the selected segment
filled the frame edge to edge; in dark the 1.7:1 step between the
selected and unselected fill was too weak to read. Size md already
gives the 36 px frame with an inset segment, the same as the
in-panel control.
2026-10-28 00:25:03 +00:00
Zakk 2e90a8e28f feat(lite): clearer hierarchy, paired CJK fonts, surface depth and one control shape
Page and section titles get a clear type scale, Chinese text uses system CJK fonts at matching weights, dark surfaces step in lightness with one accent from the duck's yellow for selection, the primary button and focus, and every control but the primary button shares one radius and border; same-row controls share a height.
2026-10-28 00:25:03 +00:00
Zakk 058b571472 fix(lite): drop the edge shadow beside pinned table columns 2026-10-27 23:23:03 +00:00
Zakk 7f8c1bb8aa fix(lite): align the subscriptions toolbar and check the palette's last row 2026-10-27 23:23:03 +00:00
Zakk d680674dea fix(lite): show the paste error once and let dialog bodies scroll at short heights 2026-10-27 23:23:03 +00:00
Zakk 73d9cf746b fix(lite): fit the nodes table at mid widths and keep its menus off the pager 2026-10-27 23:23:03 +00:00
Zakk 89e4b3bbc1 fix(lite): keep group names and the sidebar inset at mid widths
The group inspector kept its 640 px width (480 px minimum) at every
width, so between the phone breakpoint and about 1280 px the group list
shrank until the label column, which is the only part of a row that
yields, reached zero: names vanished and the latency overflowed the
row. Below about 1000 px the panel also covered the list.

The panel now leaves 22rem to the list and never takes less than 45% of
the row, so names keep room and ellipsize, and the latency stays whole.
From 1280 px the chosen width is unchanged.

The layout-rhythm check covers 1180 and 1470 px in en and zh-TW: every
group name keeps at least 64 px inside its row, the latency is not cut,
and the sidebar items have equal start and end insets.
2026-10-27 22:26:12 +00:00
Zakk f13e5cdf65 docs: link the documentation at doona.daeuniverse.org 2026-10-27 06:08:09 +00:00