[repo] Merge: main into feature/domi-ui (CPAL-1.0); @domi/ui v1.0.3 vendored (CPAL-1.0) with <DomiCredit /> and the README line
This commit is contained in:
+17
-7
@@ -12,7 +12,7 @@ Legend: [S] sourced · [J] judgment · [M] decided by Mark.
|
||||
6. Routes live in a git repo (private: ianitor-routes), one TOML file per host, schema-validated. Every change is a commit, applied live without nixos-rebuild. Rebuild only for service-level changes (ports, version). The engine is switched at runtime by control (§3, §4); decided 2026-11-07, replacing "engine" in the rebuild list. [M]
|
||||
7. Two processes: ianitor-edge (data plane) and ianitor-control (API + UI). Traffic keeps flowing if control crashes. [M]
|
||||
8. Own small CA in crates/core using rcgen. No internal ACME server in v1. [M]
|
||||
9. One public MPL-2.0 monorepo on Gitea; read-only GitHub mirror for discovery. Mark's server deployment stays in his NixOS flake. [M]
|
||||
9. One public monorepo on Gitea, CPAL-1.0 (Mark, 2026-11-23; MPL-2.0 up to 0.2.0); read-only GitHub mirror for discovery. Mark's server deployment stays in his NixOS flake. [M]
|
||||
10. Branding: "Ianitor Domi", with "Built, tested and signed by Fabrica Domi" on the repo and release page. [M]
|
||||
11. Support: free source; "Adopt a red panda" — 80% developer, 20% Red Panda Network, remitted yearly with a published receipt. [M]
|
||||
12. Cut-over: only after all five test layers are green and two weeks beside Caddy on low-risk hosts. [M]
|
||||
@@ -170,19 +170,29 @@ Identity gate, tunnel, Domi templates, ACME server, HTTP/3, migrating public sit
|
||||
## 10. Handover
|
||||
(Rewritten at the end of every session: what changed, what was not verified, which build is deployed, the next step.)
|
||||
|
||||
**2026-11-22: the web UI on @domi/ui, the shared Domi design system (docs/domi-ui.md). Open as a PR, not merged.**
|
||||
- **Changed:** `@domi/ui` v1.0.2 vendored in packages/domi-ui (domi-design tools/vendor.mjs; MPL-2.0) and used as `workspace:*`; its fonts, roles (`data-domi-room="ianitor"`,
|
||||
**2026-11-23: Ianitor is CPAL-1.0 (Mark's decision for every public Domi repo; F:\Akce\domi-licence).**
|
||||
- **Changed:** LICENSE is the kit's template with only `{ORIGINAL_CODE}` = Ianitor. Every header (166 files) is an
|
||||
`SPDX-License-Identifier: CPAL-1.0` notice; Cargo.toml, the fuzz crate, the three package.json, the Nix package
|
||||
meta (`lib.licenses.cpal10`), the OpenAPI document, README, CLAUDE.md, decision 9 and the docs say CPAL-1.0.
|
||||
0.2.0 and earlier stay MPL-2.0. The web UI shows the Exhibit B credit (Built on Domi · Copyright (c) 2026 Marek
|
||||
Novák · https://aula.marek-novak.cz) on every screen and in Settings, About (`apps/web/src/lib/credit.ts`); the
|
||||
e2e real-data check leaves out exactly that credit.
|
||||
- **Tests:** vitest 22; svelte-check clean; Playwright web 6/6, aula 5/5; `cargo check -p ianitor-control --tests`
|
||||
and control's API tests 5/5 in WSL. The rest of the Rust suites were not rerun (headers only).
|
||||
- **Deployed:** nothing. **Not verified:** the phone layout of the credit by eye; the Nix build (`cpal10`).
|
||||
|
||||
**2026-11-23: the web UI on @domi/ui, the shared Domi design system (docs/domi-ui.md); PR 14, squash-merged.**
|
||||
- **Changed:** `@domi/ui` v1.0.3 vendored in packages/domi-ui (domi-design tools/vendor.mjs; CPAL-1.0, unedited) and used as `workspace:*`; `<DomiCredit />` is the credit on every screen; its fonts, roles (`data-domi-room="ianitor"`,
|
||||
the same hex) and controls replace Ianitor's copies. Buttons are its Button through Ianitor's adapter (desktop sizes
|
||||
kept); every text field is its TextField with a seal; checkboxes, the secret picker and segmented controls are its
|
||||
components. Ianitor's 22 role names are renamed to `--domi-*`; its own tokens and components stay in packages/ui.
|
||||
Disabled buttons are natively disabled now (their reasons are visible text). apps/web's tsconfig sets `allowJs`
|
||||
for @domi/ui's script-less Strike.svelte.
|
||||
- **Tests:** vitest 21; svelte-check clean; Playwright web 6/6 (the Apply lookup is exact now), aula 5/5; 13 screens
|
||||
- **Tests:** vitest 23; svelte-check clean; Playwright web 6/6 (the Apply lookup is exact now), aula 5/5; 13 screens
|
||||
compared before and after (in the PR). No Rust change.
|
||||
- **Deployed:** nothing.
|
||||
- **Before merging:** `fetchPnpmDeps`'s hash in deploy/nixos/web.nix is `lib.fakeHash` (no Nix here; the vendored
|
||||
package means the Nix build needs no Gitea login). Paste the hash `nix build .#ianitor-web` reports, then merge.
|
||||
- **Not verified:** the Nix build; Fabrica's runners installing @domi/ui; a phone (the 48 px touch sizes).
|
||||
- **Nix:** `fetchPnpmDeps`'s hash is the one the NixOS runner reported (no Gitea login needed any more).
|
||||
- **Not verified:** the full Nix build of .#ianitor; a phone (the 48 px touch sizes).
|
||||
|
||||
|
||||
**2026-11-22: Phase 4, hardening and release.**
|
||||
|
||||
Reference in New Issue
Block a user