25 Commits

Author SHA1 Message Date
augushong
bf32bce922 feat(typesetting): 页面品牌标识 - 数据链路+渲染函数+分页修正
- Post.php: phoneImage()传递siteName/siteLogo到模板
- phone_image.html: postData增加siteName/siteLogo字段
- phone-image.js: 新增generateBrandHeader()+preloadBrandLogo()
- phone-image.js: 3个页面生成函数调用品牌头部
- phone-image.js: contentAreaHeight扣减BRAND_HEADER_HEIGHT(36px)
- logo预转base64规避html2canvas CORS,过滤默认头像
2026-05-17 11:12:56 +08:00
augushong
aa067ad202 refactor(typesetting): Wave1 - UPSERT改造 + 移除历史记录后端接口
- PhoneImage.php: saveConfigOnly/createOutput改为find-then-update-or-create
- Post.php: 移除6个历史记录方法(postOutputList/getOutputListJson等)
- 删除post_output/index.html模板
2026-05-17 00:22:04 +08:00
augushong
10879a8037 feat(output_view): 导出页面重构 - 长图卡片化展示、缩略图增大、预览优化、纯图片页原图保存
- output_view.html: 长图改为固定高度卡片(70px),Blob URL查看,缩略图minmax(280px,1fr),
  竖图预览优先填充视口高度,下载功能完整保留
- phone-image.js: renderPureImageToCanvas()使用naturalWidth/naturalHeight保持原图分辨率,
  新增长图生成和保存功能
- Post.php: 新增outputView()方法提供导出页面渲染数据
- PhoneImage.php: 图片数据改为DB存储,新增saveLongImage()方法
- phone_image.html: 添加导出页面入口按钮
- 新增数据库迁移: post_output_file表添加image_data字段
2026-05-14 23:22:19 +08:00
augushong
5f5dc180c9 feat(phone-image): add history popup with load config support 2026-05-03 21:22:00 +08:00
augushong
a65025add9 feat(post-output): add save-only and load-history endpoints 2026-05-03 21:08:58 +08:00
augushong
2bbde158b9 fix(Post): 修复排版内容副本读取时配置字段类型转换问题
确保从 postOutput 配置中读取 content_html 时,配置字段已转换为数组,避免因对象类型导致的错误。
2026-05-03 19:49:38 +08:00
augushong
bcd00e32ea refactor(phone-image): Wave 2 - form, controller, JS engine, API updates
T3: Add cover_text textarea to post edit form

T4: Update Post controller - content copy + cover_text passing

T5: Refactor JS engine - remove old APIs, add forced breaks, page numbers, per-page alignment

T8: Add cover_text to API default_fields, apidoc (4 places), AGENTS.md
2026-05-02 09:16:05 +08:00
augushong
83a2bd48a2 feat(post): 新增手机图片排版与AI智能排版功能
- 新增手机图片排版功能,支持小红书/抖音尺寸输出
- 新增AI智能排版顾问,支持内容分析与优化推荐
- 新增AI供应商管理,支持多渠道配置与同步
- 新增文章输出管理页面,支持图片预览与批量下载
- 新增字体文件与排版样式配置
2026-05-01 12:23:17 +08:00
augushong
aed4b285d8 feat: 添加Vditor编辑器支持并扩展文件上传功能
- 新增Vditor编辑器静态资源文件,包括图片、字体和样式文件
- 在文件上传控制器中添加vditorSave方法,支持Vditor编辑器文件上传
- 在文章创建页面添加编辑器类型选择(富文本/Markdown)
- 更新.gitignore文件,排除Playwright和QA截图目录
- 扩展UploadFiles类以支持Vditor编辑器的文件上传格式
2026-04-30 22:27:03 +08:00
augushong
c17b69fcdf feat: 增加平台信息跳转 2025-10-05 14:28:46 +08:00
augushong
23f6db5b48 feat: 导出增加分类显示 2025-06-27 12:52:47 +08:00
augushong
3220b1a340 feat: 增加markdown下载 2025-06-23 12:23:15 +08:00
augushong
81e079c8f9 feat: 完成平台发表情况查询 2025-05-05 11:33:00 +08:00
augushong
bf2af3a4b7 feat: 开始平台导出查询 2025-05-05 10:59:21 +08:00
augushong
70b17cbd10 feat: 完成三方平台发布管理 2025-05-05 10:29:49 +08:00
augushong
0b2bc05cd7 feat: 开始复制类型记录 2025-05-04 18:23:21 +08:00
augushong
839a8e4734 增加通用开头功能 2023-06-27 00:51:30 +08:00
augushong
95eb8d8581 新增面板新增markdown导出 2022-07-28 16:26:10 +08:00
augushong
d2cb402f71 优化分页问题; 2022-03-16 23:07:55 +08:00
augushong
aacc99aa98 新增sitemap 2022-03-16 11:36:39 +08:00
augushong
80b06b0b00 新增导出面板,便于转载拷贝发布; 2022-03-15 00:26:22 +08:00
augushong
43bf3b0c40 优化后台的标签和分类设置;优化后台头部菜单; 2022-03-05 21:57:16 +08:00
augushong
1a7718be0c 基本完成新的编辑器; 2022-03-04 12:11:06 +08:00
augushong
45f8a09b1c 优化url,多应用之间不能互相根据路由生成url,没有研究透 2020-08-15 00:08:16 +08:00
augushong
3bc46a4b9c 初始化项目 2020-08-07 23:49:50 +08:00