qinglong/back/loaders
Copilot c369514741
定时任务支持自定义日志文件或者 /dev/null (#2823)
* Initial plan

* Add log_name field to enable custom log folder naming

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add database migration for log_name column

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add security validation to prevent path traversal attacks

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Apply prettier formatting to modified files

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Support absolute paths like /dev/null for log redirection

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Restrict absolute paths to log directory except /dev/null

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-11-09 19:32:40 +08:00
..
app.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
bootAfter.ts 定时任务支持 @once 和 @boot 任务 2025-02-20 02:18:59 +08:00
db.ts 定时任务支持自定义日志文件或者 /dev/null (#2823) 2025-11-09 19:32:40 +08:00
depInjector.ts 添加订阅管理前端 2022-05-08 09:41:06 +08:00
deps.ts 修复模块注入 2025-10-26 22:32:03 +08:00
express.ts 修复 jwt 认证 2025-11-02 22:28:58 +08:00
initData.ts 修复模块注入 2025-10-26 22:32:03 +08:00
initFile.ts 修复创建脚本可能失败 2025-05-20 01:00:08 +08:00
initTask.ts 修复未初始化时区设置 2025-02-28 00:56:40 +08:00
logger.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
server.ts 修改系统重启逻辑 2024-03-14 17:37:52 +08:00
sock.ts 修改认证信息存储方式,避免认证信息异常 2024-12-30 14:23:04 +08:00