34 Commits
Author SHA1 Message Date
Zakk db2abf1542 fix(nodes): accept quoted subscription names
The add and rename dialogs accepted only bare names, so a Chinese
subscription name could not be added although the engine reads quoted
tags. Accept any name the configuration can quote, without control
characters and up to 64 characters, and show the reason on the name
field. The vendored contract drops the ProviderCreate.name pattern.
2026-11-17 23:27:28 +11:00
Zakk dcfa505700 feat(settings): schedule geodata updates at a daily hour
honk reports the geodata update schedule as a cron expression and defaults to daily at 03:00. The settings page only knew the interval in hours, so it showed a nominal 24 hours, and picking an interval silently replaced the cron schedule.

A schedule of the form '0 H * * *' shows as an hour select. Any other expression shows read-only with a button that switches to daily. An interval schedule keeps its select and can switch to daily and back. An engine without the cron field gets the page it had.
2026-11-12 01:51:42 +11:00
Zakk 171baa1f7a docs(contract): describe fetch_failed details on a provider error 2026-11-04 22:01:53 +00:00
Zakk c04ae7fc59 fix(contract): type masked check_url reads
honk masks listener secrets in a group's check_url as the literal
<redacted>, which SafeHttpUrl's format: uri rejects. GroupConfig.check_url
now reads as MaskedHttpUrl, and the check_url patch value says that a
test with the masked value fails with 409 and a write stores it as sent.
2026-10-24 18:18:49 +11:00
Zakk 0252b60f61 feat(nodes): show the configured stream transport
Display transport information reported by the backend while preserving protocol filters and compatibility with older responses. Keep XHTTP share links intact through node creation and editing.
2026-10-08 01:47:22 +11:00
Zakk 8f3e1faee2 chore(contract): repin the fixture after honk's rebase
honk's feat/native-api was rebased onto daeuniverse/honk main, so df4801cc8 is no longer on the branch. The fixture is byte-identical at 3ae980fed.
2026-10-04 21:36:16 +11:00
Zakk a5ae0689b0 fix(api): align honk v2.2 behavior and demo contracts
Report source read-only reasons and remove the obsolete destination policy error. Keep port zero invalid and describe independent recorder demand and grace.

Align demo recording, group identity, URL display and error precedence with honk df4801cc8. Vendor its native API fixture and regenerate types; retain the release binary pin because contract checks do not use it.
2026-10-02 00:07:03 +10:00
Zakk cf5a033a0c chore(api): pin api-standardize 1fb08ad 2026-09-30 00:42:43 +10:00
Zakk 35e746b7fd test(api): check the mock and the contract pin in pnpm check
src/api/mock/contract.test.ts calls the demo backend in its full, base,
M1 and faults profiles and validates every success body, and every
error's status and body, against the operation in the bundled OpenAPI,
with the schema resolver and Ajv that tools/conformance.mjs already
uses. A read the profile turns off must be refused. A few cases the
schema cannot see are checked by hand: public discovery, the default
page size, summary fields and a DNS log page cut short.

SOURCE.md now pins the bundle's SHA-256, and check-gen.sh fails when the
vendored YAML no longer matches it, so the pin describes the file.
2026-09-28 21:03:45 +10:00
Zakk 4dfacb1c73 chore(contract): pin api-standardize aa7103a 2026-09-28 18:28:43 +10:00
Zakk d91931fc7b chore(contract): pin api-standardize 71b0868 2026-09-28 16:18:10 +10:00
Zakk a8686ace97 chore(contract): pin api-standardize 3640713
The POST /config/sources 422 schema was bundled as a component named "schema". Upstream now names it ConfigDiagnosticsErrorResponse and the PUT /config/sources/{source_id} 422 shares it. Regenerated src/api/types.ts; no doona code used the old name.
2026-09-28 03:59:52 +10:00
Zakk 3007596896 chore(contract): pin the config source create draft
Pin api-standardize feat/config-source-create 21d3de7 (draft PR #30, not yet merged). It adds POST /config/sources and the required resources.config.create flag; the mock fixtures advertise create: false until the mock implements it. types.ts is regenerated with pnpm gen:api.
2026-09-27 02:11:31 +10:00
Zakk f8980d6539 build(api): pin the upstream contract
Pin merged honk API eba8a24. ProviderCreate gains optional update_interval, user_agent and cache, and resources.providers.create_options lists the ones a backend accepts with their defaults. types.ts is regenerated with pnpm gen:api.
2026-09-25 23:09:34 +10:00
Zakk ab2148314d build(api): pin the upstream contract
Pin merged honk API c5e2152. It adds the route geodata downloads take
(GeoDataSettings.download and GeoAsset.download_route), with routing as the
default, and turns automatic updates on by default. types.ts is regenerated
with pnpm gen:api. The mock stores the route, checks the group, reports the
route each asset came through, and starts with automatic updates on and the
routing route.
2026-09-25 21:53:20 +10:00
Zakk c9b04de0cb build(api): pin the upstream contract
Pin merged honk API 606a6b7. Discovery is now a union of the admitted and the public view; types.ts is regenerated with pnpm gen:api.
2026-09-25 20:10:25 +10:00
Zakk c537a3a2d2 build(api): pin the upstream contract
Pin merged honk API 76f0efa, which adds configurable geodata sources, automatic updates and update status. geodata is a runtime settings field but not a numeric one, so the numeric field list leaves it out.
2026-09-25 06:52:31 +10:00
Zakk 4630504c58 build(api): pin the upstream contract
Pin merged honk API 9d88cab and resolve rule sources by ID. The mock reports UTF-8 byte columns; source navigation stays line-based because routes carry only a line.
2026-09-24 16:08:36 +10:00
Zakk 0918f6512d fix(dns): report cache usage from entry counts
Pause hidden cache work, show log errors in place and report cache usage by entries. Restrict offline caching to the active language and keep the tab’s backend session pinned.
2026-09-23 22:17:52 +10:00
Zakk 2169d65464 fix(rules): validate edits before changing source text
Keep group and rule edits anchored to their source lines and reject invalid typed values. Stabilize session handling and table layout while adding DNS cache capacity.
2026-09-23 20:24:18 +10:00
Zakk 8f7fddea6e feat(auth): present sign-in and setup in a dialog
Accept administrator passwords from eight characters and put sign-in and setup in a dialog. Reduce unnecessary polling and improve field errors, labels and compact layouts.
2026-09-23 19:04:29 +10:00
Zakk d12779a0da feat(auth): add password setup and sign-in
Add password setup, sign-in and sign-out. Place field errors near their controls and correct page loading and links around the new flow.
2026-09-23 08:23:36 +10:00
Zakk cc6bfe99f7 fix(ui): stabilize loading states, edits and responsive pages
Hold card and table geometry while data or fonts load. Keep configuration edits inside their source lines and address regressions across the feature pages.
2026-09-23 04:03:45 +10:00
Zakk 6333b757d6 feat(settings): expose recorder modes and source details
Add recorder settings and an unmasked configuration surface, and link module cards to source sections. Update the guide, control motion and list rendering thresholds.
2026-09-23 01:22:42 +10:00
Zakk 47a48a1a89 feat(config): edit modules one section at a time
Add a modules tab for focused source edits. Tighten capability and session handling, align tests and move store and dae code into their top-level modules.
2026-09-22 10:49:44 +10:00
Zakk 723722e84f feat(rules): connect configuration pages and enrich traces
Add resolution details, connection filters and linked nodes, policies and rules. Show trace nodes and connectivity, with a DNS lookup fallback when the backend cannot resolve.
2026-09-21 02:41:59 +10:00
Zakk 2d6c2f3c3d feat(activity): retain chart history and apply outbound mode
Keep fixed chart windows and live samples while aligning available native resources. Move outbound mode into a staged configuration edit and stabilize page controls.
2026-09-19 16:33:57 +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 1a5b5800e0 feat(config): build the editor, diagnostics and quick setup
Add a CodeMirror editor with dae syntax, validation and diagnostic styling. Provide quick setup from a subscription URL and templates while preserving the engine’s diagnostic text.
2026-09-17 18:27:17 +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 150b1da7c0 feat(overview): expand profiles, activity and runtime details
Add backend profiles, connection views, charts and shortcuts. Restore the activity home, add memory history and closeable connections, and align the surrounding UI.
2026-09-16 23:59:57 +10:00
Zakk 39a6399379 ci(tooling): establish routing, quality gates and contract checks
Add a hash router, lint and format checks and a selectable build directory. Update the vendored contract and remove machine-local package configuration.
2026-09-16 04:32:18 +10:00
Zakk e881f3b973 feat(api): connect the pages to the native API contract
Vendor the native API contract and add the typed client, resource hooks and mock. Wire connections, flows, policies, overview, DNS, events and routing trace to contract operations.
2026-09-15 21:31:24 +10:00