Kevin
|
c6e07ce5ca
|
chore/ 删除无用文件
|
2026-03-19 14:36:40 +08:00 |
|
yangshilin
|
48b70e1350
|
Merge branch 'refactor/backend-architecture' into development
|
2026-03-18 17:18:23 +08:00 |
|
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
|
f7d95c4c9a
|
Fix dynamic memoir image limits
|
2026-03-11 14:07:02 +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 |
|
Kevin
|
0970cb7408
|
fix: 修复 Liblib provider 认证和多个图片生成关键缺陷
- 重写 LiblibImageProvider:Bearer token 改为 HMAC-SHA1 签名认证,
适配 Liblib 真实 API(Star-3 Alpha 文生图端点)
- 修复 chapter.images JSON 列原地修改不持久化(深拷贝+整列重赋值)
- 修复 generate_chapter_images 在事务提交前派发(改为 commit 后统一 delay)
- 修复 initialize_chapter_images 覆盖已完成图片(新增 merge 去重逻辑)
- 修复 Android failed 图片渲染为错误卡片(改为隐藏,保持正文连续)
- 模型模板 UUID 改为环境变量配置(LIBLIB_TEMPLATE_UUID)
- 更新 .env 凭证格式为 ACCESS_KEY/SECRET_KEY
- 补充 test_memoir_image_bootstrap 缺失的 unittest.mock 导入
Made-with: Cursor
|
2026-03-10 17:02:50 +08:00 |
|
Kevin
|
d5ed2940aa
|
feat(api): initialize memoir chapter image assets on creation
Made-with: Cursor
|
2026-03-10 16:03:49 +08:00 |
|