Commit Graph

9 Commits

Author SHA1 Message Date
Sully
2eb066dbec 把“章节正文 + 图片”从 chapters 单表/JSON 结构,重构为“章节 chapter + 段落 section + 图片 memoir_images 独立表”的新数据模型,同时联动修改接口、PDF 导出、异步任务、迁移脚本、测试,以及修复 Android 端聊天列表显示问题。 (#9)
* refactor: 表结构重构,新增段落section和图片image新表

* fix: fix android app import error

* refactor: 重构文件名

* fix: 优化提示词

* fix: 消息气泡显示位置异常问题

---------

Co-authored-by: yangshilin <2157598560@qq.com>
2026-03-13 11:12:10 +08:00
Kevin
305e5dcde9 修复回忆录图片重试状态透传与前端展示 2026-03-11 15:23:58 +08:00
Kevin
00092d34c9 fix: harden memoir image generation flow 2026-03-11 11:26:42 +08:00
Kevin
a76cf8da18 Fix memoir image delivery and Android rendering 2026-03-11 10:06:12 +08:00
penghanyuan
5125ee1564 feat: 修正章节排序和分类逻辑
- 新增 SQL 脚本以修正章节排序索引,确保与 8 个分类体系对齐。
- 更新 API 章节获取逻辑,始终返回所有 8 个预定义类别,未填充内容的类别使用占位符。
- 引入章节分类功能,支持从 5-stage 关键词映射到 8 个章节类别,提升内容分类准确性。
- 更新 Android 客户端以适应新的章节定义和占位逻辑,确保用户界面一致性。
2026-03-01 10:50:58 +01:00
penghanyuan
39736a2ae2 feat: 添加章节管理功能以支持清除回忆
- 在数据库模型中新增 is_active 字段,用于标记章节是否启用。
- 添加数据库迁移脚本以更新现有章节,确保默认值为 TRUE。
- 更新章节相关的 API 以仅返回 active 章节,并实现清除章节的功能。
- 在 Android 客户端中实现清除章节的确认弹窗和相应的 API 调用,提升用户体验。
2026-02-14 10:57:51 +01:00
penghanyuan
44bd478c1e agent init 2026-01-21 22:31:09 +01:00
徐在坤
802f5a3833 refactor: 更新API路由
- 更新books路由以支持用户认证
- 更新chapters路由以支持用户认证
- 更新conversations路由以支持用户认证
- 更新websocket路由以支持用户认证和连接管理
2026-01-18 15:57:51 +08:00
iammm0
9ca3a3a89a 添加API路由模块 2026-01-07 11:56:40 +08:00