Skip to content

OpenlistSync v0.1.2

Choose a tag to compare

@github-actions github-actions released this 17 Dec 05:17
· 27 commits to main since this release

✨ 新增

  • 前端支持以单一表达式 cronExpr 配置 cron 调用方式,替代逐项字段输入
  • 后端支持直接接收并解析 cronExpr(5/6 段表达式),自动映射 APScheduler 所需字段

🎨 优化

  • 简化作业编辑 UI:当 isCron == 1 时仅显示 cronExpr 输入框,提交校验表达式非空
  • 保留兼容:原有逐项字段配置仍可用;推荐统一改用表达式方式
  • 重建前端构建产物 frontend/dist,清理本地冲突副本文件

🔧 细节

  • 6 段表达式:秒 分 时 日 月 周 → 映射 second/minute/hour/day/month/day_of_week
  • 5 段表达式:分 时 日 月 周 → second=0,其余同上
  • 解析位置:service/syncJob/jobService.py 的 cleanJobInput 在入库前解析并移除临时字段 cronExpr

🚀 发布

  • 标签:v0.1.2 与 latest 指向同一提交
  • 无数据库迁移;无需修改后端配置