Commit Graph
306 Commits
Author SHA1 Message Date
blog-editor 4966ab4b27 编辑: 2026-10-06 14:10 2026-10-06 14:10:00 +00:00
zqlit 355bce7c9e content: 恢复《流量卡还真得选御三家😂》文章
该文被 f94c80bb 删除,但线上评论库(24 条)与 pages 记录均未动,
仅缺文章文件。补回文章后 slug=20260724101237 与 page_key 精确对应,
评论自动挂上,无需任何数据迁移。

从 f94c80bb^ 恢复整个目录(index.md + 2 张配图)。
2026-10-06 13:03:43 +08:00
blog-editor 0609c1f048 编辑: 2026-10-05 14:06 2026-10-05 14:06:52 +00:00
blog-editor 1b54fd7014 编辑: 2026-10-05 14:02 2026-10-05 14:02:19 +00:00
zqlit 6cceb2c160 fix(排序): 同日文章 date 补全时分秒 + EdgeOne 部署重试增强
现象:小乖同一天发的第二篇排到了第一篇后面。

根因:front matter 的 date 只写到年月日(写入侧只收得到日期),
同一天多篇的时间戳完全并列 → 排序退化成比标题,前台/后台都错。

改动:
- 数据(6 篇):用目录名/slug 里的时间戳把 date 补全为
  'YYYY-MM-DDTHH:MM:SS+08:00',slug 即写作时刻。每篇仅 1 行 diff。
  2026-10-05 两篇(必须)、2026-06-02 / 06-03 四篇(同一 bug 的历史遗留)。
- 写入侧根治
  - editor-api/src/posts.mjs:新建时「只到天」补北京时间此刻;
    保存时「同日保真」——没换日子则原有时分秒一字符不动。
  - write-server/src/lib/posts.ts:parseDate 按 Asia/Shanghai 归日,
    列表同天排序不再受 UTC 时区漂移影响。
- 回归测试:新增 editor-api/test/date-time.mjs(8 项,自带一次性临时仓库)。
- .cnb.yml:EdgeOne stage 重试 3 次/20s → 5 次/30s。
  构建节点到 api.edgeone.ai 偶发 15s 超时会被 CLI 误报
  「Invalid EDGEONE_PAGES_API_TOKEN」,纯网络抖动,令牌没坏。
- .gitignore:忽略 *.zip 与 .edgeone/(误留的 blog.zip 达 361MB)。
2026-10-05 21:54:03 +08:00
blog-editor 336138d250 编辑: 2026-10-05 13:31 2026-10-05 13:31:26 +00:00
blog-editor 728f0aec02 编辑: 2026-10-05 04:09 2026-10-05 04:09:17 +00:00
zqlit 4ca6c539d1 同步编辑器里已删除的两篇测试文章(工作区与远端保持一致) 2026-10-04 23:40:31 +08:00
zqlit f94c80bbde 删除一篇文章 2026-10-02 18:04:21 +08:00
zqlit 565d69d401 修改文章 2026-10-02 16:44:28 +08:00
Write Server fce1de1e4e 发布: 评论组件被人恶意sql注入,25端口被封,邮件无法发信 2026-10-02 08:15:58 +00:00
Write Server c0692e172e 发布: 测试部署 2026-10-01 12:50:18 +00:00
Write Server 52c2b01aee 发布: 删除《GitHub用量又超了》 2026-10-01 06:46:45 +00:00
Write Server 4c5a7ce957 发布: 自建了 Gitea,测试一下部署 2026-10-01 05:51:21 +00:00
Write Server 26d9faafc3 发布: GitHub用量又超了 2026-09-08 07:40:10 +00:00
Write Server 6be145b288 发布: 流量卡还真得选御三家😂 2026-07-24 02:23:34 +00:00
Write Server 7408d90c4e 发布: 最成功的一次红烧鱼 2026-07-19 03:52:07 +00:00
Write Server 7a67a17aad 发布: 国企面试,别太当回事儿 2026-07-08 03:20:35 +00:00
GitHub Actions 0637fecc8f chore: auto-optimize images [skip ci] 2026-07-04 10:09:26 +08:00
Write Server 8083152fb6 发布: 入手了智能手表 OPPO watch x3 2026-07-04 02:07:49 +00:00
Write Server 25a100bfcd 发布: GitHub Action 缓存额度超了,发不出文章😅 2026-06-30 08:40:12 +00:00
Write Server e3ba1c7b18 发布: 复刻了某红书的西红柿鸡蛋炒牛肉 2026-06-30 08:27:51 +00:00
Write Server edd4384329 发布: GitHub Action 缓存额度超了,发不出文章😅 2026-06-30 04:47:39 +00:00
Write Server f0f80e81f1 发布: GitHub Action 缓存额度超了,发不出文章😅 2026-06-30 04:21:19 +00:00
Write Server 9015c68aac 发布: GitHub Action 缓存额度超了,发不出文章😅 2026-06-30 03:49:12 +00:00
Write Server 3c37bc2cbf 发布: GitHub Action 缓存额度超了,发不出文章😅 2026-06-30 03:21:38 +00:00
Write Server 2f36ccedb7 发布: GitHub Action 缓存额度超了,发不出文章😅 2026-06-30 03:12:01 +00:00
Write Server d2c8972d57 发布: GitHub Action 缓存额度超了,发不出文章😅 2026-06-30 02:37:45 +00:00
Write Server a2762a7aaa 发布: GitHub Action 缓存额度超了,发不出文章😅 2026-06-29 14:45:57 +00:00
Write Server 927661f8f6 发布: 小黄的富士随拍:🌲和 🐈 2026-06-26 04:21:28 +00:00
Write Server 701d877324 发布: 怎么也飞不出,花花的世界 2026-06-25 12:47:42 +00:00
Vaica c8f8c1b6b1 2032 2026-06-25 20:32:12 +08:00
Vaica 59de627f0a 2025 2026-06-25 20:25:08 +08:00
Write Server e20b639d97 发布: 怎么也飞不出,花花的世界 2026-06-25 09:53:40 +00:00
Write Server 096cf3aba7 发布: 和朋友在武汉东湖 city walk 回忆录 2026-06-24 14:03:46 +00:00
Vaica 0d4912d930 2022 主题bug修复 2026-06-24 20:22:40 +08:00
Write Server 329738d7f2 发布: 测试 2026-06-24 10:15:47 +00:00
Write Server 03e763c990 发布: 博客订阅的最新姿势 GitHub Action版 2026-06-23 10:35:41 +00:00
Write Server 2845470abe 发布文章 2026-06-22 12:42:27 +00:00
Vaica f4d57cd230 删除文章 2026-06-22 18:50:49 +08:00
Write Server 001baaed5b 发布文章 2026-06-22 10:49:09 +00:00
Vaica 96e7bf5bf6 1343 2026-06-22 13:43:22 +08:00
Write Server 005a532ef0 发布文章 2026-06-22 05:37:36 +00:00
Vaica 6ec23903b6 Merge branch 'main' of https://github.com/zqlit/blog 2026-06-21 20:42:47 +08:00
Vaica 31b60f2214 added:增加Linux-server 2026-06-21 20:42:44 +08:00
GitHub Actions 8a58583f2b chore: auto-optimize images [skip ci] 2026-06-15 14:51:23 +08:00
Vaica dc9efcc0c6 发布: 静态博客 Gridea 新平替:Gridea Pro 2026-06-15 14:46:23 +08:00
Vaica c2a5254d60 发布: 分享一个一直自用的博客评论自动填充脚本 2026-06-05 14:43:11 +08:00
Vaica 46db824f98 发布: 用 Python 给博客字体瘦了一下身 2026-06-04 10:51:53 +08:00
Vaica 9334ec8dd4 发布: 分享一个好用的跳开屏广告 app 2026-06-03 18:47:04 +08:00