Commit Graph

17 Commits

Author SHA1 Message Date
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
2aa60f87ed feat(phone-image): add cover_text migration and rewrite CSS to xiaohongshu classic style
T1: Add cover_text text field to post table for phone image layout cover text

T2: Rewrite phone-image-templates.css - remove tpl-magazine/tpl-mixed, merge tpl-minimal into base styles, add content-flow/break-inserter/page-break-marker/page-alignment-toggle styles
2026-05-02 09:06:47 +08:00
augushong
83a2bd48a2 feat(post): 新增手机图片排版与AI智能排版功能
- 新增手机图片排版功能,支持小红书/抖音尺寸输出
- 新增AI智能排版顾问,支持内容分析与优化推荐
- 新增AI供应商管理,支持多渠道配置与同步
- 新增文章输出管理页面,支持图片预览与批量下载
- 新增字体文件与排版样式配置
2026-05-01 12:23:17 +08:00
augushong
6f332467df feat(content-type): add content_type field, markdown auto-conversion, and API doc updates
- Add content_type column to ul_post via migration
- Install league/commonmark for markdown->HTML conversion
- Add Post model accessors/setters for content_type and content
- Update API Articles controller save/update with content_type support
- Update API docs with content_type parameter and markdown example

Closes content-type-support plan
2026-04-29 20:46:44 +08:00
augushong
004f4454f4 fix: 移除未使用的 import,修正 PSR-12 空行 2026-04-27 00:45:26 +08:00
augushong
ac4d34884e feat(api-key): add api_key table, source fields, model and auth middleware 2026-04-27 00:07:18 +08:00
augushong
944000ecce 增加访问分析缓存 2023-07-08 09:22:29 +08:00
augushong
a726c8a12d 修复按钮bug 2023-06-30 16:03:11 +08:00
augushong
31957f2b0e 修复文件存储问题;增加文件上传;修复字段错误 2023-06-30 15:31:58 +08:00
augushong
6b5068ffd9 增加索引 2023-06-28 11:42:22 +08:00
augushong
65e1800c6f 增加访问记录功能 2023-06-28 11:12:30 +08:00
augushong
8ab3e76864 增加导航链接数据库长度; 2022-04-08 21:05:57 +08:00
augushong
80b06b0b00 新增导出面板,便于转载拷贝发布; 2022-03-15 00:26:22 +08:00
augushong
3b5a56aef5 完成评论 2021-01-03 21:52:54 +08:00
augushong
ab07024da8 修改数据库文件 2020-12-28 16:45:57 +08:00
augushong
44ff06a2fd 更新数据库文件 2020-08-19 22:13:39 +08:00
augushong
3bc46a4b9c 初始化项目 2020-08-07 23:49:50 +08:00