更新日志
当前版本 v1.1.0
Changelog
2026-11-30 (v1.1.0)
- 附件 id 错位修复:老库
sablog_attachments 是缺了 45 行的重排快照,导致正文 [attach=N] 指向错误文件。按老站缓存页证据重建真实映射(legacy_attachmentid 重挂),全站 3166 篇 0 个未解析令牌、0 个缺失文件。
- 文末补出未引用附件:老 sablog 的「附件列表」行为补齐,293 篇纯相册贴文章恢复显示(672 张图)。
- 分类按内容校正:9→DataBase、11→Baby、15→Scala & Ruby、13→Linux、17→苹果相关、10→运维;补建 lua/python 分类,孤儿文章归位;关键词高置信度错类修正 148 篇。
- 封面自动化:发布/保存时无封面自动生成;封面转换图缺失时回退原图(不再破图、不再出现「重复标题」)。
- Markdown 正文:首行缩进两字符、段间距放宽、标记为 html 但实为 markdown 的正文自动按 markdown 渲染。
- 目录吸附 + 版心放宽:文章目录滚动时吸附顶部;正文栏宽度提升到 1160px。
- 发文热力图:首页顶部 GitHub 贡献图风格,覆盖最近 365 天。
- 列表与检索:文章列表显示浏览数;侧边栏当前分类/标签高亮;搜索结果关键词高亮并按相关度(标题 > 关键词 > 摘要 > 正文)排序。
- 版本号与更新日志:页脚显示版本号并提供
/changelog.shtml 更新日志页。
2026-09-21
- Logged-in admin/editor see a header 管理 link that opens
/admin in a new tab.
- Schema snapshot:
docs/database/mysql-schema-20260921-233554.sql.
2026-09-18
- Pager chip is now
6 / 316 in the old SaBlog bar style, not a loose “第 x / y 页” label.
- Theme inject stacks cover list/content/footer; stylevars and leftover HTML ads render. Saving inject flushes page cache.
sablog:import copies stylevars.
- Schema snapshot:
docs/database/mysql-schema-20260918-214145.sql.
- Homepage / lists have SaBlog-style 标准 | 列表 browse modes (
home_view_mode, ?view=, cookie).
- Pagination is compact (
第 x / y 页 + fewer page chips) and the content column uses CSS grid so it no longer sits under the sidebar.
- Imported SaBlog HTML no longer shows literal
; highlighter / stacked docker <div> blocks become wrapped <pre><code>.
php artisan sablog:fix-content --all can persist that cleanup. Code no longer stretches the page.
- Schema snapshot:
docs/database/mysql-schema-20260918-211824.sql.
- Frontend RSS / Sitemap / llms.txt links now open in a new tab.
/llms.txt is a core live route (plus /posts/{slug}.md) so agents can crawl new public posts without a static file.
- Fixed edit-post crash: comments relation manager now uses Filament v5
Filament\Actions\Action.
- Posts now have sticky levels 0–3 (none / light / strong / headline). Headline always stays at the top of public lists.
- Edit and list screens have a 预览 button; admin/editor can open unpublished posts on the public site.
- Admin top bar 网站 opens the frontend in a new tab. Sidebar 管理 now has 页面缓存 and 语言.
- Schema snapshot:
docs/database/mysql-schema-20260918-205818.sql.
- Post create/edit form is now left content 2 : right tools 1, locked for PC at every breakpoint (not only
lg).
- Slug is full width; category, format, and status share one row as single-choice buttons; cover sits above the taller body editor.
- Right column: publish settings, then access settings (password + membership price fields).
- Cover / media picker preview is a small thumbnail (max 220×124), not full column width.
- Schema snapshot:
docs/database/mysql-schema-20260918-203827.sql.
2026-09-17
- Admin top-right now shows the current environment (
local / prod) and a 写文章 shortcut to create a post.
- Tightened Filament sidebar vertical spacing (correct
fi-sidebar-item-btn selectors + smaller group gaps).
- Hello World plugin: enable runs plugin migrations; missing
hello_world_logs no longer 500s the demo page; plugin boot/hooks are isolated.
2026-09-16
- Switched new attachments/covers to
xpier/filament-media-library.
- Markdown body now inserts
 (files: [name](media:ID)); URLs are resolved at render time. Legacy sablog attach tokens are unchanged.
- Schema snapshot:
docs/database/mysql-schema-20260916-131822.sql.
2026-09-07
- Synced this repository from Gitea to local Herd for development (
http://laralog.test).
- Local schema snapshot:
docs/database/schema-20260907-223917.sql.