Repository navigation
Merged
Conversation
Migrate FsusBlog to FsusUI 2.0 preview.3
…nd edit-page support
…x, tags, and danger buttons
…, 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
…/fsusui to 2.0.0-preview.5
…ctor on new drafts
- 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.
…red markdown_mermaid.cpp
…safe sealing and Canvas reference blocking
…s and accept 401 refresh status
…flow on Linux Chromium 147
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Integrates the
dev/2.1.0milestone branch (30 commits, cleanly ahead ofmain) for the FsusBlog v2.1.0 release:1. FsusUI 2.0.0 GA Migration & Native Parser Sync
@ozwasyd/fsusuito stable2.0.0(v2.0.0, commit5629dc6d074759085d5ec657c6ba156e88575465) with pure-ESM nativeFsus*components, canonical--fsus-*tokens (zero--el-*leftovers), and bundled Wasm assets.src/Server/Authoring/FsusMarkdown/src/markdown_mermaid.cppand updatesUPSTREAM.jsonSHA-256 receipts (packageIntegrity, source files, and WasmruntimeAssets).2. Unified Account / Passkey / Session Architecture & Single-Origin Gate
blog_user.role,passkey_credential, anduser_sessionunder canonical single-origin enforcement (FSUSBLOG_PUBLIC_ORIGIN, fail-closedFSUSBLOG_ADMIN_ENABLED=false), offline CLI role grant/revoke (admin-identity bootstrap|promote|demote), and direct admin comment exemption with frozen official badges.tests/Integration/Migration/physical-standby.shto seedpasskey_subjectbeforepasskey_credentialunder the unified Passkey schema, and updatespublic-article-media-flow.mjsfor401refresh status on anonymous reads.3. Authoring, Workspace, Private Media & Public UX Polish
/admin&/userworkspace header proportions, mobile navigation harmony, and animated public header menus/search disclosures./admin/assetsinto admin navigation & editor entry points and redesignsPrivateMedia.vue(dropzone/staged preview, grid/list modes, filename filtering, bounded-concurrency lazy thumbnails, native<dialog>preview with keyboard stepping, and delete confirmation).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, preservesArticleMedia'sFsusSelectmount across same-article revision reloads, animates studio side panels and inline property forms, migratesArticleLibrarystatus filter toFsusSelect, and adds a restrained#app:emptypre-mount boot loader.workspace-recovery-flow.mjsrenderer termination via browser-sidechrome://kill(withPage.crashfallback) on Linux full-headless Chromium 147.4. Built-in Default Favicon & PWA Icon Pack
src/Web/public/favicon.icoandsrc/Web/public/assets/favicon/*(light/dark adaptivefavicon.svg, multi-size light/dark PNG/ICO, 180×180 Apple Touch Icon, Safari monochromemask-icon,browserconfig.xml, and 4 default PWA/maskable icons)./manifest.webmanifestwith clean per-group override semantics when custom icons are configured, plusGET/HEAD /favicon.icoinside the security header pipeline.5. Permanent Trash Deletion (Dual-Track Hard Delete & Ledger-Safe Sealing)
article.purged_at, extendsadmin_article_trash_step_up(action IN (10, 15)), adds FK-free idempotency/audit tableadmin_article_trash_purge, and enforces invariants inCurrentSchemaandFsusBlog.V2.Cli verify.33082–33084(AdminArticleTrashPurgePreview/Intent/Receipt),ArticleTrashPurgeDisposition, Passkey Step-Up (PurgeArticleTrash = 15), and fail-closed Canvas reference blocking (409 Conflictwhencanvas_nodeorcanvas_link_planreferences the article).private_mediaassets) and permanently seals ever-published articles out of all active/trash/restore/editor/search surfaces while keepingarticle_publication_canonicaland transparency ledgers 100% intact and verifiable.6. v2.1.0 Release Metadata, Changelog & Documentation Closeout
2.1.0(Directory.Build.props, internal project references inpackages.lock.json, andsrc/Web/package.json) so/admin/siteruntime diagnostics report2.1.0+<sha>.## [2.1.0] - 2026-11-30inCHANGELOG.mdand alignsREADME.md,docs/releases/readiness.md,docs/index.md,docs/product/site-sessions.md,docs/product/comments.md, anddocs/product/signed-appearance.mdwith 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=falsedotnet 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.gocd src/Web && pnpm run typecheck && pnpm run build(zeropnpm-lock.yamldiff)python3 tools/check-docs.py(59/59 active docs verified)verify.sh,admin-identity.sh,backup-candidate.sh,publication-canonical.sh,extensions.shtools/build-release.sh+python3 -B tools/verify-release.py+tests/Integration/Migration/physical-standby.sh --rejoinprivate-media(standard + resumable),public-article-media,article-media,workspace-recovery,canvas-keyboard