Skip to content

Release 2.1.0: FsusUI 2.0.0 GA, unified identity model, authoring & media polish, default icon pack, and permanent trash deletion - #107

Merged
Ozwasyd merged 30 commits into
mainfrom
dev/2.1.0
Nov 30, 2026
Merged

Ozwasyd merged 30 commits into
mainfrom
dev/2.1.0

Conversation

@Ozwasyd

@Ozwasyd Ozwasyd commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Integrates the dev/2.1.0 milestone branch (30 commits, cleanly ahead of main) for the FsusBlog v2.1.0 release:

1. FsusUI 2.0.0 GA Migration & Native Parser Sync

  • Migrates @ozwasyd/fsusui to stable 2.0.0 (v2.0.0, commit 5629dc6d074759085d5ec657c6ba156e88575465) with pure-ESM native Fsus* components, canonical --fsus-* tokens (zero --el-* leftovers), and bundled Wasm assets.
  • Syncs vendored C++23 src/Server/Authoring/FsusMarkdown/src/markdown_mermaid.cpp and updates UPSTREAM.json SHA-256 receipts (packageIntegrity, source files, and Wasm runtimeAssets).
  • Adapts admin/authoring views, inbox, taxonomy, tags, timelines, danger buttons, and E2E locators to FsusUI 2.0.

2. Unified Account / Passkey / Session Architecture & Single-Origin Gate

  • Unifies blog_user.role, passkey_credential, and user_session under canonical single-origin enforcement (FSUSBLOG_PUBLIC_ORIGIN, fail-closed FSUSBLOG_ADMIN_ENABLED=false), offline CLI role grant/revoke (admin-identity bootstrap|promote|demote), and direct admin comment exemption with frozen official badges.
  • Fixes tests/Integration/Migration/physical-standby.sh to seed passkey_subject before passkey_credential under the unified Passkey schema, and updates public-article-media-flow.mjs for 401 refresh status on anonymous reads.

3. Authoring, Workspace, Private Media & Public UX Polish

  • Restores /admin & /user workspace header proportions, mobile navigation harmony, and animated public header menus/search disclosures.
  • Integrates /admin/assets into admin navigation & editor entry points and redesigns PrivateMedia.vue (dropzone/staged preview, grid/list modes, filename filtering, bounded-concurrency lazy thumbnails, native <dialog> preview with keyboard stepping, and delete confirmation).
  • Adds one-click save-and-publish, moves draft recovery into FsusDialog, integrates Markdown import (with IME & frontmatter fixes) into the editor meta bar, keeps Inspector summary editable on dirty drafts with explicit lock-state hints, preserves ArticleMedia's FsusSelect mount across same-article revision reloads, animates studio side panels and inline property forms, migrates ArticleLibrary status filter to FsusSelect, and adds a restrained #app:empty pre-mount boot loader.
  • Stabilizes workspace-recovery-flow.mjs renderer termination via browser-side chrome://kill (with Page.crash fallback) on Linux full-headless Chromium 147.

4. Built-in Default Favicon & PWA Icon Pack

  • Ships src/Web/public/favicon.ico and src/Web/public/assets/favicon/* (light/dark adaptive favicon.svg, multi-size light/dark PNG/ICO, 180×180 Apple Touch Icon, Safari monochrome mask-icon, browserconfig.xml, and 4 default PWA/maskable icons).
  • Emits default icon links across public, auth, reader, and admin page shells and /manifest.webmanifest with clean per-group override semantics when custom icons are configured, plus GET/HEAD /favicon.ico inside the security header pipeline.

5. Permanent Trash Deletion (Dual-Track Hard Delete & Ledger-Safe Sealing)

  • Adds article.purged_at, extends admin_article_trash_step_up (action IN (10, 15)), adds FK-free idempotency/audit table admin_article_trash_purge, and enforces invariants in CurrentSchema and FsusBlog.V2.Cli verify.
  • Adds AEDS v2 frames 33082–33084 (AdminArticleTrashPurgePreview / Intent / Receipt), ArticleTrashPurgeDisposition, Passkey Step-Up (PurgeArticleTrash = 15), and fail-closed Canvas reference blocking (409 Conflict when canvas_node or canvas_link_plan references the article).
  • Physically deletes never-published drafts (preserving private_media assets) and permanently seals ever-published articles out of all active/trash/restore/editor/search surfaces while keeping article_publication_canonical and transparency ledgers 100% intact and verifiable.

6. v2.1.0 Release Metadata, Changelog & Documentation Closeout

  • Aligns assembly & web version metadata to 2.1.0 (Directory.Build.props, internal project references in packages.lock.json, and src/Web/package.json) so /admin/site runtime diagnostics report 2.1.0+<sha>.
  • Cuts ## [2.1.0] - 2026-11-30 in CHANGELOG.md and aligns README.md, docs/releases/readiness.md, docs/index.md, docs/product/site-sessions.md, docs/product/comments.md, and docs/product/signed-appearance.md with the unified account/single-origin architecture and @ozwasyd/fsusui@2.0.0.

Local Verification

  • dotnet restore FsusBlog.V2.slnx --configfile NuGet.Config --locked-mode -p:NuGetAudit=false
  • dotnet build FsusBlog.V2.slnx -c Release --no-restore -warnaserror (0 warnings, 0 errors; InformationalVersion = 2.1.0+<sha>)
  • dotnet test tests/Core/FsusBlog.V2.Core.Tests.csproj -c Release --no-build (131/131)
  • dotnet test tests/Platform/FsusBlog.V2.Platform.Tests.csproj -c Release --no-build (23/23)
  • node tools/protocol-generate.mjs --check & ./tools/protocol-test.sh (C#, C++, Wasm, TS, Python)
  • node --test tests/Admin/*.test.ts tests/Authoring/*.test.ts tests/Protocol/*.test.ts tests/Protocol/*.test.mjs (246/246)
  • tests/Protocol/*.test.py (28/28) & go test -race tests/Performance/load.go tests/Performance/cold.go tests/Performance/load_test.go
  • cd src/Web && pnpm run typecheck && pnpm run build (zero pnpm-lock.yaml diff)
  • python3 tools/check-docs.py (59/59 active docs verified)
  • Isolated PG 18 CLI suites: verify.sh, admin-identity.sh, backup-candidate.sh, publication-canonical.sh, extensions.sh
  • Release bundle + physical standby drill: tools/build-release.sh + python3 -B tools/verify-release.py + tests/Integration/Migration/physical-standby.sh --rejoin
  • Isolated real Chrome E2E: private-media (standard + resumable), public-article-media, article-media, workspace-recovery, canvas-keyboard

…, and direct admin comments

- Merge admin_principal/admin_passkey_credential/admin_session into unified blog_user (role = 'user'|'admin'), passkey_credential, and user_session with single session cookie (__Host-FsusSession on HTTPS, fsus-v2-session on loopback HTTP) and offline-only CLI role transitions (bootstrap|promote|demote|rotate-passkey|revoke-all|disable)
- Remove dual-origin admin splitting (FSUSBLOG_ADMIN_ORIGIN, FSUSBLOG_ADMIN_RP_ID, Caddyfile.admin, fsus-public-origin meta) in favor of single canonical origin plus explicit FSUSBLOG_ADMIN_ENABLED fail-closed toggle (404 when false)
- Allow administrators to use multi-device Passkeys, TOTP MFA, Recovery Key, persistent refresh sessions, and /user/identity/mfa while preserving 45s Passkey Step-Up and excluding/rejecting admin accounts in online reader governance
- Enable PoW-exempt direct public comments and replies for administrators with frozen official author/admin badges, immediate reply inbox notifications, and direct-published self-edits (with audit)
- Unify frontend session store (remove authorSession.ts), update dev.sh, deploy templates, E2E/integration suites, and active documentation
- Replace the inline unstyled draft-recovery block in Write.vue with a mandatory-decision FsusDialog modal featuring structured hierarchy, animated details/summary diff comparison panes, and responsive two-column / stacked layout.
- Preserve focus restoration to #article-body when reopenRecent fails with 404 while FsusDialog / FsusDropdown leave transitions are still active.
- Add smooth inline-size + opacity slide transitions (with reduced-motion/disabled-motion support and leave pointer-events guards) to desktop docked Article Inspector, Article Library, and Article Outline rails.
- Fix internal Inspector disclosure animations in ArticleMedia (grid-template-rows reveal) and DocumentExportTasks (remove premature v-if unmount inside details).
- Define .inspector-section-title, eliminate double borders between FsusSettingsSection and details disclosures, normalize compact sm controls, structured attachment cards, revision history rows, and framed forms across all Inspector sections.
- Unify Article Library filter controls (styled native Status select matching FsusSelect), single-row segmented mode switcher, and consistent list rows across All articles, Recent opens, Pinned views, Outline, and Quick Switcher.
- Set teleported: false on writeCloseDialog FsusDialog (container is already appended to document.body) to prevent orphaned leaving overlays during rapid re-open, and await hidden state in blog-flow closeInspector.
@Ozwasyd Ozwasyd changed the title Release 2.1.0: FsusUI 2.0.0 GA, unified identity model, authoring UX polish, and built-in default icon pack Release 2.1.0: FsusUI 2.0.0 GA, unified identity model, authoring polish, default icon pack, and permanent trash deletion Nov 30, 2026
@Ozwasyd Ozwasyd changed the title Release 2.1.0: FsusUI 2.0.0 GA, unified identity model, authoring polish, default icon pack, and permanent trash deletion Release 2.1.0: FsusUI 2.0.0 GA, unified identity model, authoring & media polish, default icon pack, and permanent trash deletion Nov 30, 2026
@Ozwasyd
Ozwasyd merged commit e6ab1e2 into main Nov 30, 2026
6 checks passed
@Ozwasyd
Ozwasyd deleted the dev/2.1.0 branch November 30, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant