Commit Graph

  • 6ed12ff1cb refactor: fix skeleton atoms - remove unused components, use &str, migrate all skeletons xfy 2026-06-04 15:43:40 +08:00
  • ebf0f84733 refactor: extract skeleton atoms (SkeletonLine, SkeletonBox, SkeletonCard) and refactor skeleton components xfy 2026-06-04 15:35:36 +08:00
  • d3be04bcec refactor: extract session parsing to auth/session.rs and db error helpers to api/utils.rs xfy 2026-06-04 15:16:40 +08:00
  • 9da060ac32 refactor: extract sleep_ms to utils/time.rs, deduplicate in hooks and skeletons xfy 2026-06-04 15:11:08 +08:00
  • ce14c476b5 refactor: replace string-based navigation with typed Route and Link components xfy 2026-06-04 14:55:18 +08:00
  • aebdcd6d99 fix(build): fix WASM 404 in production by creating symlinks in wasm/ directory xfy 2026-06-04 11:34:13 +08:00
  • 88cd23f74f fix: show route-specific skeleton screens in SuspenseBoundary fallback xfy 2026-06-04 11:06:42 +08:00
  • c2f68b9c2d fix: wrap Outlet in SuspenseBoundary to prevent full-page flash on route change xfy 2026-06-04 11:03:56 +08:00
  • 593666135c feat: add DB connection retry logic with get_conn() helper xfy 2026-06-04 10:03:56 +08:00
  • e09a0f4616 chore: remove unused PageLayout component xfy 2026-06-03 18:38:57 +08:00
  • 5d018864c2 refactor: remove PageLayout from all frontend pages, delegate to FrontendLayout xfy 2026-06-03 18:38:11 +08:00
  • 8845577958 feat: wrap frontend routes in FrontendLayout via router #[layout] attribute xfy 2026-06-03 18:35:36 +08:00
  • e861b8a5be feat: add FrontendLayout component with Header, Footer and Outlet xfy 2026-06-03 18:32:43 +08:00
  • 778726251a fix: remove SuspenseBoundary, render skeleton screens directly in loading branch xfy 2026-06-03 17:59:38 +08:00
  • 326108ab68 fix: delay skeleton pulse animation instead of hiding skeleton, prevent blank flash xfy 2026-06-03 17:47:51 +08:00
  • 754c1f5b86 feat: wrap all skeleton screens with DelayedSkeleton to prevent flicker xfy 2026-06-03 17:43:34 +08:00
  • 73e30d6f89 feat: add DelayedSkeleton wrapper to prevent skeleton flicker on fast loads xfy 2026-06-03 17:41:49 +08:00
  • 45b784d6b4 chore: add superpowers to gitignore xfy 2026-06-03 17:35:25 +08:00
  • 068d13c69f refactor: remove obsolete SuspenseWrapper, all pages now use dedicated skeleton screens xfy 2026-06-03 17:33:44 +08:00
  • 62519d620d feat: add SearchSkeleton component and replace inline skeleton on search page xfy 2026-06-03 17:30:47 +08:00
  • c2e1fbe3ac feat: add TagsSkeleton/TagDetailSkeleton and replace generic fallback on tags pages xfy 2026-06-03 17:25:47 +08:00
  • 5becd73ebc feat: add ArchiveSkeleton and replace generic fallback on archives page xfy 2026-06-03 17:19:29 +08:00
  • 372c701b07 feat: add PostDetailSkeleton and replace generic fallback on post detail page xfy 2026-06-03 17:13:39 +08:00
  • 076448d6ed feat: add HomeSkeleton and replace generic fallback on home page xfy 2026-06-03 17:09:20 +08:00
  • db8e88e1fe feat: add skeleton screens module and PostCardSkeleton component xfy 2026-06-03 17:01:39 +08:00
  • 1a78896bc4 fix(theme): replace @theme dark with .dark selector for correct light/dark variable switching xfy 2026-06-03 16:52:20 +08:00
  • 8f2f00244c fix: add WASM loading script to SSR HTML template for client hydration xfy 2026-06-03 16:30:03 +08:00
  • 3d19f62fb4 fix: prevent syntax-highlighted spans from being displayed as block due to Tailwind .block class conflict xfy 2026-06-03 16:18:24 +08:00
  • b173a5c509 refactor: merge cover_image migration into 002_posts xfy 2026-06-03 15:41:22 +08:00
  • e48ea4f97f fix: add CSS stylesheets via document API for SSR xfy 2026-06-03 15:37:17 +08:00
  • a886574696 chore: ignore static/ SSR cache dir xfy 2026-06-03 14:56:43 +08:00
  • ccffab851a fix: admin pages use client-only fetching; fix theme cookie parsing; restore custom skeletons xfy 2026-06-03 14:55:50 +08:00
  • 6cfe664085 feat: SSR for home and tags pages xfy 2026-06-03 14:40:15 +08:00
  • 6b3e086628 feat: read theme from cookie during SSR xfy 2026-06-03 14:38:00 +08:00
  • 269095cc65 feat: configure incremental SSR caching xfy 2026-06-03 14:36:22 +08:00
  • 34e70f6c57 feat: SSR for admin pages xfy 2026-06-03 14:33:49 +08:00
  • 1afb477829 feat: SSR for archives page xfy 2026-06-03 14:23:44 +08:00
  • fe30d0495f feat: SSR for post detail page xfy 2026-06-03 14:17:52 +08:00
  • 60a2cd49ab feat: add SuspenseWrapper component for SSR xfy 2026-06-03 14:14:45 +08:00
  • 5e449013d6 refactor(highlight): output CSS to public/, add syntax aliases and case-insensitive lookup, fix code block CSS xfy 2026-06-03 14:08:16 +08:00
  • 34e3bcdf95 fix: address code review feedback xfy 2026-06-03 13:13:29 +08:00
  • 2e1d05cb03 refactor: clean up highlight module, remove unused theme getters and imports xfy 2026-06-03 11:54:26 +08:00
  • 11261836c7 feat: add syntect code highlighting with catppuccin themes xfy 2026-06-03 11:52:58 +08:00
  • 37d95e6a33 feat: add catppuccin Latte & Mocha tmTheme files for syntax highlighting xfy 2026-06-03 11:43:31 +08:00
  • c6ced73bac fix(admin): resolve compilation errors in posts and write pages xfy 2026-06-03 10:57:22 +08:00
  • 6c039e16e8 refactor(api): remove unused word_count/reading_time from RenderedContent xfy 2026-06-03 10:54:02 +08:00
  • 09060e12c0 fix(admin): cap tiptap editor ready-polling at 100 attempts xfy 2026-06-03 10:34:06 +08:00
  • 61ae3abbc2 fix(api): generate ASCII-only slugs with timestamp fallback xfy 2026-06-03 10:33:11 +08:00
  • f5413e00cc fix(auth): prevent password_hash from reaching the frontend xfy 2026-06-03 10:32:15 +08:00
  • 8146a8a779 perf(api): split row_to_post into list and full variants xfy 2026-06-03 10:29:46 +08:00
  • 19e5a0be41 fix(api): correct count_words for CJK characters xfy 2026-06-03 10:25:38 +08:00
  • e6c3cacf12 chore: format with cargo fix xfy 2026-06-03 10:12:04 +08:00
  • 0290f4d2e7 fix(api): remove debug logging that caused UTF-8 boundary panic; configure ammonia to preserve anchor attributes xfy 2026-06-03 10:09:14 +08:00
  • 0c34df4ba7 fix(api): configure ammonia to preserve class and aria-hidden attributes for anchor links xfy 2026-06-03 09:54:16 +08:00
  • fb4f5790fc fix(api): remove hidden attr from anchor links, use CSS display instead xfy 2026-06-03 09:48:12 +08:00
  • 5ff58fec59 fix(api): fix markdown rendering to properly handle code blocks and other elements xfy 2026-06-02 18:30:26 +08:00
  • 14e4a26dc0 fix(api): use rendered HTML with anchors in row_to_post xfy 2026-06-02 18:28:24 +08:00
  • 5544ea0c18 feat(admin): add cover_image input field in write form xfy 2026-06-02 18:22:22 +08:00
  • 6b1f2e27c9 feat(components): add post page components (header, toc, content, footer, nav) xfy 2026-06-02 18:21:25 +08:00
  • a07f6ca51b feat(style): add PaperMod theme variables and component styles xfy 2026-06-02 18:18:40 +08:00
  • 1088691dca feat(api): enhance markdown rendering with TOC, anchors, word count; add cover_image support; prev/next post navigation xfy 2026-06-02 18:17:21 +08:00
  • 203591ff65 feat(model): extend Post with cover_image, reading_time, word_count, toc_html, prev/next nav xfy 2026-06-02 18:13:04 +08:00
  • cf783d8f6e feat(migration): add cover_image column to posts table xfy 2026-06-02 18:12:45 +08:00
  • f3c1718cd0 feat: add use_delayed_loading hook to prevent skeleton flash xfy 2026-06-02 17:53:04 +08:00
  • 9c5b09a278 chore: code cleanup - formatting, EOF newlines, model helper, and UI tweaks xfy 2026-06-02 17:25:58 +08:00
  • 1950646bef feat: add shared components, new pages, and pagination xfy 2026-06-02 17:25:49 +08:00
  • 36231a8ec2 feat: add XSS sanitization with ammonia for markdown rendering xfy 2026-06-02 17:24:50 +08:00
  • 327738c2e0 refactor: replace post_status ENUM with TEXT + CHECK constraint xfy 2026-06-01 18:29:46 +08:00
  • 42ed54a752 feat: add database migration helper script xfy 2026-06-01 18:20:13 +08:00
  • 32e8407ed7 fix: use Debug format {:?} for database errors xfy 2026-06-01 17:59:12 +08:00
  • 5695b1c62b feat: add explicit error logging and startup validation xfy 2026-06-01 17:57:26 +08:00
  • b6cabe489f feat: migrate frontend to database-driven posts xfy 2026-06-01 17:35:27 +08:00
  • df339cb084 feat: add post creation form to write.rs xfy 2026-06-01 17:18:10 +08:00
  • 973d6f3d57 feat: add posts, tags database schema and API xfy 2026-06-01 17:14:44 +08:00
  • e48253c6f7 添加 AGENTS.md 项目开发指南文档 xfy 2026-06-01 16:55:19 +08:00
  • a58e0f4e3b 修复 Footer 组件滚动监听器未正确清理的问题 xfy 2026-06-01 16:48:43 +08:00
  • 6ddc02a815 将 rust-analyzer 配置从 JSON 迁移为 TOML 格式 xfy 2026-05-29 09:42:50 +08:00
  • b0bb94d184 添加 rust-analyzer 配置,排除无关目录以优化启动速度 xfy 2026-05-28 16:25:54 +08:00
  • 2b90fd05d6 将 session 清理错误日志改为 Debug 格式并忽略 tiptap 资源目录 xfy 2026-05-27 13:53:17 +08:00
  • c924b1e643 修复编译器警告并改进代码质量 xfy 2026-05-27 13:29:21 +08:00
  • 24b04ee638 修复请求日志不输出的问题 xfy 2026-05-27 13:19:52 +08:00
  • 4093178fc3 添加tracing日志并重构服务器启动逻辑 李林军 2026-05-27 11:39:09 +08:00
  • 9c834ba1df 添加骨架屏组件,优化 admin 路由切换和编辑器初始化体验 xfy 2026-05-27 09:25:26 +08:00
  • 61376f6ba9 修复 admin 路由切换闪烁,全局替换原生导航为客户端路由 xfy 2026-05-27 00:18:15 +08:00
  • 5d523fbfc7 添加 dev 监听 0.0.0.0 xfy 2026-05-26 23:59:31 +08:00
  • 0be0719fdb 将 session cookie 改为后端 HttpOnly 设置 xfy 2026-05-26 23:54:58 +08:00
  • e358f2af7d 登录页面支持回车键提交表单 xfy 2026-05-26 23:45:24 +08:00
  • f3204e108b 添加项目 README xfy 2026-05-26 18:06:28 +08:00
  • 956b2d7374 修复编辑器暗色主题和列表样式 xfy 2026-05-26 18:02:52 +08:00
  • f6d60520eb 集成 Tiptap Markdown 编辑器到文章撰写页面 xfy 2026-05-26 17:46:04 +08:00
  • 91d9c04a3d 支持使用邮箱登录 xfy 2026-05-26 16:16:40 +08:00
  • 8b9c6aa83d 重构 admin 模块,新增共享组件和文章撰写页面 xfy 2026-05-26 16:13:18 +08:00
  • 4a73e4d931 将生成的 style.css 从版本控制中移除 xfy 2026-05-26 14:29:59 +08:00
  • 06302b14de 实现 PaperMod 风格标签页面:标签列表 + 标签详情 xfy 2026-05-26 13:43:38 +08:00
  • 7599bfbb13 实现 PaperMod 风格归档页面,支持按年份月份分组 xfy 2026-05-26 13:31:35 +08:00
  • a15394c935 返回顶部按钮迁移为 PaperMod 风格 xfy 2026-05-26 13:20:25 +08:00
  • 61c1ec7282 修复暗色模式:class 变体、状态同步、FOUC 预防、系统偏好 xfy 2026-05-26 11:31:06 +08:00
  • 3079f1a505 ThemeToggle:用 SVG 图标替换 emoji,移除灰色背景 xfy 2026-05-26 11:11:44 +08:00
  • f52b3165da 首页首区改为个人简介(HomeInfo) xfy 2026-05-26 10:46:18 +08:00
  • 1d57c91836 编译 Tailwind CSS,包含首页所需的 utility classes xfy 2026-05-26 10:36:18 +08:00