Commit Graph

  • 3df6633428 chore(deps): update Cargo.lock after removing http-body-util xfy 2026-06-17 13:08:54 +08:00
  • 48888a9886 feat(migrations): add cleanup migration for duplicate indexes xfy 2026-06-17 12:00:39 +08:00
  • 08895f504e refactor(migrations): remove duplicate idx_tags_name and idx_post_tags_tag_id xfy 2026-06-17 11:58:20 +08:00
  • 73aa680202 refactor(migrations): remove redundant idx_posts_slug index xfy 2026-06-17 11:56:39 +08:00
  • 36055f99fa chore(deps): remove unused http-body-util and tower-http dependencies xfy 2026-06-17 11:53:54 +08:00
  • 260b26c693 deps: add tower-http for compression, timeout, trace middleware xfy 2026-06-17 13:03:49 +08:00
  • d1c9cea683 refactor(cache): remove unused per-post comment count cache xfy 2026-06-17 11:49:10 +08:00
  • 07cb0a5b0d refactor(comments): stop invalidating removed comment count cache in updates xfy 2026-06-17 11:45:49 +08:00
  • a7fb8405c3 refactor(comments): stop invalidating removed comment count cache xfy 2026-06-17 11:43:16 +08:00
  • a4954a6c1b refactor(comments): remove unused CommentCountResponse and PendingCommentsResponse xfy 2026-06-17 11:39:12 +08:00
  • fc9fce1f4d refactor(comments): remove dead re-exports from comments module xfy 2026-06-17 11:29:14 +08:00
  • 472d8e91fa refactor(comments): remove unused get_comment_count server function xfy 2026-06-17 11:26:50 +08:00
  • 0545412cf3 refactor(comments): remove unused get_pending_comments server function xfy 2026-06-17 11:23:00 +08:00
  • d826afbe15 fix(db): 为 deadpool-postgres 连接池指定 Tokio1 runtime xfy 2026-06-17 11:07:23 +08:00
  • b045a1b978 fix build errors xfy 2026-06-17 10:52:01 +08:00
  • 2c1190d8fb 移除 SSR HTML minify 中间件及相关工具 xfy 2026-06-17 10:39:26 +08:00
  • 476fad27e5 fix(minify): preserve Dioxus hydration markers and remove unsafe per-URL cache xfy 2026-06-17 10:31:25 +08:00
  • 449a545886 security: fix critical issues from repository review xfy 2026-06-17 10:34:14 +08:00
  • bd659c5b4f perf: add HTML/CSS minification for SSR responses and highlight CSS xfy 2026-06-17 09:40:19 +08:00
  • ae84c37f21 build: add Dockerfile and .dockerignore for static musl image xfy 2026-06-17 09:48:12 +08:00
  • 56adbcf227 build: strip symbols from release binaries xfy 2026-06-16 17:26:13 +08:00
  • 0159b2321a fix(build): make build-linux produce a statically linked musl binary xfy 2026-06-16 17:18:33 +08:00
  • 2caca3a48d fix(dead_code): 清理假阳性与真死代码 xfy 2026-06-16 17:48:47 +08:00
  • 7d713cabc2 docs: document server-only optional dependencies in AGENTS.md xfy 2026-06-16 17:32:04 +08:00
  • 1a56c0cd3f test: gate AppError helper tests behind server feature xfy 2026-06-16 17:28:43 +08:00
  • a06e4a5b9d build: remove uuid js feature and commit Cargo.lock updates xfy 2026-06-16 17:21:22 +08:00
  • 2dcd300930 build: allow dead_code on CommentCountResponse for WASM builds xfy 2026-06-16 17:12:35 +08:00
  • 1444ccef86 build: make sha2 and hex optional and gated by server feature xfy 2026-06-16 17:11:15 +08:00
  • fa5216c6c5 build: make http optional and gated by server feature xfy 2026-06-16 17:10:52 +08:00
  • d246adbb32 build: make rand optional and remove explicit getrandom dependency xfy 2026-06-16 17:10:27 +08:00
  • 726c6ec4e5 build: make pulldown-cmark optional and gated by server feature xfy 2026-06-16 17:09:39 +08:00
  • 6489ac604e build: make regex optional and gated by server feature xfy 2026-06-16 17:09:16 +08:00
  • 837f120621 build: make uuid optional and gated by server feature xfy 2026-06-16 17:08:48 +08:00
  • 6a98e8767d build: make argon2 optional and gated by server feature xfy 2026-06-16 17:08:19 +08:00
  • cafbddb861 refactor: replace server-only dead_code allows with cfg(feature = "server") xfy 2026-06-16 16:45:08 +08:00
  • b7afd12538 fix(highlight): 大小写不敏感的语法名称匹配,修复 haskell 等高亮失效 xfy 2026-06-16 16:20:21 +08:00
  • 6ce8915e6c fix(editor): 修复 focus() 把源码视图滚动到底部 xfy 2026-06-16 16:13:46 +08:00
  • ae6d80c9cc fix(editor): 修复滚动比例同步失效导致切换到底部 xfy 2026-06-16 15:58:50 +08:00
  • 914f168551 fix(editor): 切换视图时按滚动比例同步位置 xfy 2026-06-16 15:53:28 +08:00
  • 480aa92bb4 feat(editor): 新增 Markdown 源码视图切换 xfy 2026-06-16 15:50:09 +08:00
  • c6d27f0ae0 feat(highlight): 新增 JSX 与 TSX 语法高亮 xfy 2026-06-16 15:45:38 +08:00
  • d549f4a476 feat(highlight): 新增 TypeScript 语法高亮 xfy 2026-06-16 15:35:44 +08:00
  • 61a001c03b feat(highlight): 新增 Zig 语法高亮 xfy 2026-06-16 15:25:11 +08:00
  • a9f0e8d16b docs(development): 补充代码高亮开发文档 xfy 2026-06-16 15:19:45 +08:00
  • e8be1967db fix(highlight): 语法加载改用编译期绝对路径并增加诊断日志 xfy 2026-06-16 14:49:44 +08:00
  • 603a7f68cb refactor(ui): 提取共享 UI 组件,消除跨页面重复 xfy 2026-06-16 14:20:05 +08:00
  • 188e607ec2 fix(highlight): 补全 Swift 语法高亮 xfy 2026-06-16 14:17:17 +08:00
  • 6986a62bb5 style(ui): 重新设计回收站自动清理设置界面 xfy 2026-06-16 13:38:57 +08:00
  • 63e352d471 feat: 文章回收站与自动清理 xfy 2026-06-16 12:42:11 +08:00
  • 55bef35d1f refactor: 清理 clippy 提示(unwrap_or 与宏 deprecated 放行) xfy 2026-06-16 12:40:43 +08:00
  • 4ba4fedb23 feat(ui): 新增 /admin/trash 回收站管理页面与导航 xfy 2026-06-16 12:38:41 +08:00
  • 0ba8f9f835 feat(tasks): 新增回收站自动清理后台任务 xfy 2026-06-16 12:34:28 +08:00
  • f5e19def1a feat(api): 新增回收站配置读写接口 xfy 2026-06-16 12:34:28 +08:00
  • b6de75ee97 feat(api): 新增 list_deleted_posts 回收站列表接口 xfy 2026-06-16 12:34:28 +08:00
  • c4c27a34c5 feat(model): 新增 TrashSettings 配置模型与 clamp 测试 xfy 2026-06-16 12:32:37 +08:00
  • 65e090da27 feat(api): 新增回收站恢复/彻底删除/批量/清空接口 xfy 2026-06-16 12:31:55 +08:00
  • 054d7450f7 feat(model): Post 新增 deleted_at 字段并用 try_get 兼容现有查询 xfy 2026-06-16 12:29:37 +08:00
  • 959cc1fb0e feat(db): 新增 settings 键值表与回收站默认配置 xfy 2026-06-16 12:28:29 +08:00
  • 863ec5ea52 fix(posts): get_post_by_slug 的 SELECT 补上 toc_html 列 xfy 2026-06-16 11:34:12 +08:00
  • c60e4e08d7 fix(build): 用 cfg gate 消除 WASM 构建的 27 个假阳性 warning xfy 2026-06-16 11:29:18 +08:00
  • b37e33dbf4 fix(build): 修复 Tailwind v4 与 Tiptap 编辑器构建 xfy 2026-06-16 10:53:37 +08:00
  • 1cc4bc5aeb style(list): 简化多行表达式为单行 xfy 2026-06-15 14:15:11 +08:00
  • 94319d3411 ci: 回退 composite action,仅保留 Tailwind CLI 包名修复 xfy 2026-06-15 13:22:29 +08:00
  • 76ad4ec8fb ci: 修正 Tailwind CLI 包名并收敛重复的环境准备步骤 xfy 2026-06-15 11:47:54 +08:00
  • a2ccc3da1a Merge branch 'fix-dos-and-toc-xss' xfy 2026-06-15 11:40:01 +08:00
  • a3d6c2f19e refactor(markdown): 复用既有 escape_html,删除重复的转义实现 xfy 2026-06-15 11:38:24 +08:00
  • eaa7118e09 fix(posts): 钳制 page 上限,防止无界 OFFSET 与缓存键扇出 xfy 2026-06-15 11:38:24 +08:00
  • 928fc1a0de Merge branch 'improve-tests-and-comments' xfy 2026-06-15 11:27:33 +08:00
  • 6d32664020 fix(markdown): 转义 TOC 标题文本,防止属性上下文注入 xfy 2026-06-15 11:27:32 +08:00
  • cfa4975813 fix(posts): 钳制分页参数 per_page 上限,消除公开接口 DoS xfy 2026-06-15 11:27:25 +08:00
  • 19ffcada4a test: 移除脆弱断言与凑数测试(review 修正) xfy 2026-06-15 11:26:24 +08:00
  • 263208b930 style: 修正新测试的格式以符合 rustfmt 宽度限制 xfy 2026-06-15 11:22:35 +08:00
  • 9fc626232c test(error): 补全 AppError 各变体的消息转换测试 xfy 2026-06-15 11:20:33 +08:00
  • 28f0117f06 test(sanitizer): 补充 is_safe_url 分支测试 xfy 2026-06-15 11:19:46 +08:00
  • a9cde41de8 test(webp): 扩充 WebP 编解码测试覆盖 xfy 2026-06-15 11:18:55 +08:00
  • e9aac7d6b4 fix(highlight): 修复大写语言标识无法走别名映射的问题 xfy 2026-06-15 11:17:53 +08:00
  • 4e89412cde test(theme): 扩充主题模块测试覆盖 xfy 2026-06-15 10:57:51 +08:00
  • 81ee60a77d chore: ignore .worktrees directory xfy 2026-06-15 10:50:48 +08:00
  • e12e59461b docs: 整理表格格式并添加 CI 链接 xfy 2026-06-15 10:41:03 +08:00
  • f7288cc390 style: 格式化测试代码以符合 clippy 宽度限制 xfy 2026-06-15 10:40:00 +08:00
  • 0242534274 style(tags): 修复文档注释列表缩进以消除 clippy 警告 xfy 2026-06-12 19:48:10 +08:00
  • 194611bb7e docs(bin): 补充中文注释 xfy 2026-06-12 19:45:59 +08:00
  • c43da3676f docs(components): 补充中文注释 xfy 2026-06-12 19:38:51 +08:00
  • c5d1eb117c docs(auth-pages, router, main): 补充中文注释 xfy 2026-06-12 19:28:08 +08:00
  • 18500c9496 docs(pages-admin): 补充中文注释 xfy 2026-06-12 19:21:46 +08:00
  • abfab19839 docs(pages-frontend): 补充中文注释 xfy 2026-06-12 19:14:49 +08:00
  • 1904907add docs(hooks, theme): 补充中文注释 xfy 2026-06-12 19:07:43 +08:00
  • 671a9fea7a docs(infra): 补充中文注释 xfy 2026-06-12 19:01:00 +08:00
  • 2db652137d docs(models, db, cache): 补充中文注释 xfy 2026-06-12 18:54:21 +08:00
  • a785683fc6 docs(posts): 补充中文注释 xfy 2026-06-12 18:48:17 +08:00
  • 9921f8eebf docs(comments): 补充中文注释 xfy 2026-06-12 18:39:56 +08:00
  • 26b012c40c docs(api, auth): 补充中文注释 xfy 2026-06-12 18:27:24 +08:00
  • 4fe26f7eb3 test: improve unit test coverage and assertions xfy 2026-06-12 18:13:51 +08:00
  • 6fe7dc3ff5 build: use npx tailwindcss instead of global binary xfy 2026-06-12 18:09:20 +08:00
  • 220a1f91b0 ci: retry rustup install on network failure xfy 2026-06-12 17:44:19 +08:00
  • 041cdf4102 test(cache): mark cache tests serial to fix parallel flakiness xfy 2026-06-12 17:40:15 +08:00
  • fa6fa9a77c docs: document COOKIE_SECURE and TRUSTED_PROXY_COUNT xfy 2026-06-12 17:31:20 +08:00
  • 997f9b4617 ci: switch to rsproxy cargo mirror xfy 2026-06-12 17:29:37 +08:00
  • 942ac853fe refactor: tighten module-level allow attributes xfy 2026-06-12 17:17:26 +08:00
  • 294d60afab style: format rust code xfy 2026-06-12 17:14:31 +08:00