hanhan
54d97fc5a1
fix: execSync → async spawn 解决更新卡死,页面自动检查版本,改进容器停止步骤
2026-05-25 00:17:37 +08:00
hanhan
d2970ab751
chore: 更新错误提示端口 3000→8011
2026-05-25 00:01:05 +08:00
hanhan
054150c7d0
fix: 更新时先 down 旧容器再 up -d,解决端口占用导致的卡死
2026-05-24 23:59:46 +08:00
hanhan
f3fcffa9ee
feat: 添加更新功能控制台日志 (console.log/error),标记每步执行与错误输出
2026-05-24 23:40:20 +08:00
hanhan
375a0453ae
fix: 容器内以 root 运行以访问 Docker socket,docker compose 改为 docker-compose
2026-05-24 23:20:29 +08:00
hanhan
e366179ae3
fix: 修复更新日志不显示的问题 (移除 showLogs 状态改用 updateState 控制)
2026-05-24 22:50:06 +08:00
hanhan
ccc4f502dc
feat: 添加 Docker 可用性前置检查,本地开发时给出友好提示
2026-05-24 22:42:03 +08:00
hanhan
06def78f6b
fix: 简化远程 .version 获取方式,去除 OneDev 不支持的 sparse filter
2026-05-24 22:40:16 +08:00
hanhan
f7060b056d
feat: 添加版本更新功能
...
- 新增 .version 文件(JSON 格式:version/release_date/changelog)
- 新增 lib/update.ts 更新逻辑(版本检查、git clone、docker compose)
- 新增 /api/update/check 版本检查 API
- 新增 /api/update/execute 执行更新 API(SSE 流式日志)
- 新增设置页「版本更新」界面(含 changelog 展示)
- Dockerfile 添加 git、docker CLI;compose 挂载 docker socket
- .env.docker 添加 ONEDEV_ACCESS_TOKEN 配置
2026-05-24 22:35:53 +08:00
hanhan
59b3117eb9
更新安全配置项目
2026-04-18 23:52:15 +08:00
hanhan
70d3020035
更新安全配置项目
2026-04-13 22:10:43 +08:00
hanhan
8e245076fe
修复AI翻译功能
2026-04-13 21:40:27 +08:00
hanhan
12282ae4b3
feat: improve database module and apply untranslated color to UI
2026-04-13 01:01:52 +08:00
hanhan
250abaa453
fix: only use env vars for initial config.json creation
...
- Environment variables are only read when config.json doesn't exist
- After first run, all config operations only read/write config.json
- This prevents env vars from overriding user-saved settings
2026-04-13 00:59:30 +08:00
hanhan
030fce2813
feat: add export settings for Word document generation
...
- Add export configuration (untranslated text color, page orientation)
- Add second page header option for multi-page exports
- Integrate export settings into main export flow
- Separate export settings page with visual preview
2026-04-12 23:54:00 +08:00
hanhan
a249fb038c
feat: add recipe translation tool with AI translation and settings management
...
- Add Word document parsing and translation export
- Add database configuration management
- Add AI/LLM translation configuration
- Add translation vocabulary management
- Add export settings (colors, page orientation, headers)
- Separate database and AI configurations
- Add debounced search to prevent database overload
2026-04-12 23:50:54 +08:00
hanhan
57e119635e
feat: initial commit
2026-04-12 17:19:14 +08:00