Copilot
48abf44ceb
feat: Support multiple concurrent login sessions per platform ( #2816 )
...
* Initial plan
* Implement multi-device login support - allow multiple concurrent sessions
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Address code review feedback - extract constants and utility functions
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add validation and logging improvements based on code review
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Revert unnecessary file changes - keep only multi-device login feature files
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-19 00:18:29 +08:00
Copilot
03c7031a3c
Fix task duplication: add single/multi-instance support with UI configuration and stop all running instances ( #2837 )
...
* Initial plan
* Stop running tasks before starting new scheduled instance
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add multi-instance support and fix stop to kill all running instances
- Add allow_multiple_instances field to Crontab model (default: 0 for single instance)
- Add validation for new field in commonCronSchema
- Add getAllPids and killAllTasks utility functions
- Update stop method to kill ALL running instances of a task
- Update runCron to respect allow_multiple_instances config
- Backward compatible: defaults to single instance mode
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add UI support for allow_multiple_instances configuration
- Add allow_multiple_instances field to ICrontab interface
- Add instance mode selector in task creation/edit modal
- Add translations for instance mode in Chinese and English
- Default to single instance mode for backward compatibility
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add allow_multiple_instances column migration and optimize db.ts
- Add allow_multiple_instances column to Crontabs table migration
- Refactor migration code to use data-driven approach
- Replace 11 individual try-catch blocks with single loop
- Improve code maintainability and readability
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-19 00:10:27 +08:00
whyour
06aa07329f
修复日志目录逻辑
2025-11-09 21:42:45 +08:00
Copilot
4cb9f57479
环境变量支持置顶 ( #2822 )
...
* Initial plan
* Add pin to top feature for environment variables
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Format code with prettier
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add database migration for isPinned column in Envs table
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Use snake_case naming (is_pinned) for database column
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>
Co-authored-by: whyour <imwhyour@gmail.com>
2025-11-09 19:43:33 +08:00
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
whyour
87b934aafe
QLAPI.systemNotify 支持自定义通知类型和参数
2025-06-24 02:00:51 +08:00
憶夣
57939391b9
ntfy 增加可选的认证与用户动作 ( #2741 )
...
* feat:ntfy增加可选的认证
* feat:ntfy增加可选的用户动作
* fix:ntfy动作包含中文报错
2025-06-07 00:26:27 +08:00
whyour
f94582b68d
修复查询 python 依赖存在逻辑
2025-05-21 01:25:24 +08:00
whyour
710a107e73
邮箱通知支持多个收件人
2025-05-08 01:27:25 +08:00
whyour
1befa1bb8c
缓存 node 和 python 依赖
2025-04-23 02:10:39 +08:00
whyour
af3e358a6a
系统设置增加时区设置
2025-02-27 00:45:21 +08:00
whyour
496918131f
修复群晖通知参数,任务视图不属于筛选
2025-02-16 12:15:45 +08:00
whyour
e5b35273f9
修复更新环境变量
2025-01-11 17:14:30 +08:00
whyour
3f775a0e6c
修复创建系统应用
2025-01-05 22:03:41 +08:00
whyour
7d43b14f81
修复重置登录错误次数和 tfa
2025-01-02 23:50:20 +08:00
whyour
678e3e2dc6
修改认证信息存储方式,避免认证信息异常
2024-12-30 14:23:04 +08:00
FanchangWang
955c7377d7
新增 wxPusher 推送通道。wxPusher 官方文档: https://wxpusher.zjiecode.com/docs/ ( #2594 )
...
* 增加 wxPusher 推送方式
* 补全 wxPusher 推送方式代码
* fix js 方法多进行了一次 JSON 格式化
2024-12-13 14:13:34 +08:00
陈大人
c71abd8c86
完善pushplus通知方式的代码逻辑 ( #2454 )
...
* 1. pushplus通知方式返回结果优化
2. pushplus通知方式适配更多参数
* 细节bug修改
* 删除没用的空格
---------
Co-authored-by: 陈思远 <chensiyuan@yiban.com.cn>
Co-authored-by: 陈大人 <chensiyuan@pushplus.plus>
2024-12-13 14:12:16 +08:00
qiaoyun680
185fd2ff91
增加 ntfy 通知 ( #2537 )
...
Co-authored-by: qiaoyun680 <qiaoyun680>
2024-10-22 21:47:38 +08:00
whyour
c3908e956f
修复下载单文件订阅
2024-06-06 22:40:51 +08:00
陈大人
e77d4c4337
增加微加机器人消息通道 ( #2373 )
...
Co-authored-by: chensiyuan <chensiyuan@pushplus.plus>
2024-05-25 00:33:31 +08:00
雨思
8dd379b6b9
PushMe 通知支持自建服务 ( #2358 )
2024-05-15 22:38:25 +08:00
whyour
0b52e05af8
bark 推送增加 archive 参数
2024-05-05 20:10:57 +08:00
whyour
6dba8ae72d
依赖增加已取消状态
2024-02-14 21:54:53 +08:00
whyour
897b710527
通知 TG_API_HOST 参数移除默认 https 协议,参数包含协议
2023-12-01 09:21:27 +08:00
whyour
5afec03548
修改获取切换 node 和 linux 源日志
2023-11-30 23:39:14 +08:00
whyour
9ed107980c
系统设置增加依赖代理和镜像源设置
2023-11-06 23:55:16 +08:00
Bad Child
82c9978514
修复 chronocat 通知成功判断 ( #2166 )
2023-11-03 17:57:10 +08:00
LinCheng Wu
5055045d22
增加chronocat无头模式的QQNT推送 用于无法使go-cqhttp的接替 ( #2141 )
...
* 增加chronocat无头模式的QQNT推送
* Chronocat发送时没有配置群号或个人消息号发送出错
* 增加系统通知、去除注释
* 增加系统通知
---------
Co-authored-by: child <wulincheng@javalc.com>
2023-10-14 20:56:32 +08:00
whyour
ab3fc9b5f1
定时任务增加运行任务前和运行任务后参数
2023-09-19 22:44:32 +08:00
zui-lang
aab096843c
消息通知 Bark 增加额外参数:时效性通知、跳转Url ( #2112 )
2023-09-17 01:01:34 +08:00
whyour
acc7443004
定时任务支持多个定时规则
2023-09-16 00:15:50 +08:00
whyour
e7d023a7e0
支持多语言英文
2023-07-29 18:26:30 +08:00
whyour
39bfd39559
修复任务详情日志列表卡顿
2023-07-27 23:15:48 +08:00
whyour
8b0dedaf8c
修复 linux 依赖是否存在判断
2023-07-24 22:02:26 +08:00
whyour
665c344ae4
修复依赖是否已经安装判断
2023-07-20 22:54:11 +08:00
雨思
373b8c97d7
增加PushMe消息通道 ( #2018 ),修复系统设置保存通知
2023-07-20 13:19:39 +08:00
whyour
bd166ee794
修复 pm2 重启逻辑
2023-07-17 13:25:56 +08:00
whyour
8affff96f3
修改系统内更新系统逻辑
2023-07-13 22:09:45 +08:00
whyour
936b565fb1
修改系统更新时间和版本获取
2023-07-12 00:05:46 +08:00
whyour
b69ff2895e
增加依赖是否已经安装判断
2023-07-10 23:48:05 +08:00
whyour
b0f3b51736
修复服务启动时定时删除日志失效
2023-07-08 20:58:36 +08:00
whyour
ee6e5bd8b4
修改任务状态值
2023-07-02 16:09:01 +08:00
whyour
702c3160ec
修改并发逻辑,系统设置增加定时任务并发设置
2023-07-01 15:26:20 +08:00
whyour
c9ecdc6c97
企业微信通知增加代理地址配置 QYWX_ORIGIN
2023-06-11 15:03:07 +08:00
whyour
f305d45225
修复依赖安装状态流转
2023-05-31 15:07:40 +08:00
whyour
41521f1d08
修复 token 任务脚本路径,容器启动 bot
2023-05-13 01:10:49 +08:00
whyour
b705ad6ee8
修复更新任务、环境变量、依赖、订阅状态丢失
2023-04-21 21:15:28 +08:00
whyour
ef7283a9fd
修改依赖安装初始状态
2023-04-12 00:45:06 +08:00
whyour
e924aa76b0
修复环境变量位置重置逻辑
2023-02-15 11:54:51 +08:00