Copilot
dc0b3f2eb2
Fix QlBaseUrl: use URL rewrite for base path support ( #2876 )
...
* Initial plan
* Add QlBaseUrl support to backend routes
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Fix whitelist check to use base-URL-aware paths
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Update websocket and frontend to support base URL
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Address code review feedback: fix JWT regex and path construction
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Fix path construction: use req.path directly for whitelist check
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add clarifying comments and improve code readability
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Apply code review suggestions: improve clarity and simplify logic
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Simplify baseUrl implementation using URL rewrite
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-12-22 23:44:29 +08:00
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
18f27a9a69
移除 nginx
2025-11-02 19:29:59 +08:00
whyour
87b934aafe
QLAPI.systemNotify 支持自定义通知类型和参数
2025-06-24 02:00:51 +08:00
whyour
ef9e38f167
备份数据支持选择模块,支持清除依赖缓存
2025-06-22 14:25:19 +08:00
whyour
394e96bbf8
修复 health 接口报错
2025-06-07 00:25:47 +08:00
whyour
224000b63b
修复依赖是否安装检查逻辑
2025-05-23 23:45:43 +08:00
whyour
1c18668bad
修复文件下载参数
2025-05-22 00:09:19 +08:00
whyour
f94582b68d
修复查询 python 依赖存在逻辑
2025-05-21 01:25:24 +08:00
whyour
c3072e7712
got 替换为 uudici
2025-05-15 01:01:39 +08:00
whyour
8a18baa921
修复登录通知失败造成服务重启
2025-05-11 14:36:16 +08:00
whyour
8174762c18
demo 环境不自动运行任务
2025-05-08 01:43:14 +08:00
whyour
d871585eee
修改服务启动逻辑
2025-05-07 09:30:00 +08:00
whyour
40a831f3a2
修复脚本管理查询逻辑
2025-04-25 01:40:37 +08:00
whyour
1befa1bb8c
缓存 node 和 python 依赖
2025-04-23 02:10:39 +08:00
whyour
cf94ecfb11
脚本管理和日志管理支持下载
2025-03-13 00:22:24 +08:00
whyour
af3e358a6a
系统设置增加时区设置
2025-02-27 00:45:21 +08:00
whyour
f9f78b4e05
修改系统内置通知模块名称,避免重复
2025-02-25 00:32:13 +08:00
whyour
51ef4e7476
修改任务状态更新失败提示,重复运行提示
2025-01-12 00:19:14 +08:00
whyour
05f8bbd26e
写入文件增加文件锁,避免竞争条件引起文件内容异常
2025-01-04 01:22:29 +08:00
xiaobingtech
02c6ad8004
mobile增加识别鸿蒙系统 ( #2571 )
...
由于鸿蒙系统的User-Agent如下
Mozilla/5.0 (Phone; OpenHarmony5.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 ArkWeb/4.1.6.1 Mobile
导致目前登录显示desktop
2024-11-18 22:40:14 +08:00
whyour
3f71f9acdb
修复任务命令带有 -m 参数时,日志目录生成异常
2024-09-29 22:27:52 +08:00
whyour
ff98c3a499
修复任务跳转脚本未显示文件大小,订阅删除未删除 repo 目录
2024-09-08 21:08:15 +08:00
whyour
a0613d0f39
修复文件越权访问
2024-09-04 23:25:48 +08:00
whyour
65f7483688
修复任务频繁运行通知
2024-08-25 16:28:32 +08:00
whyour
af5de8372c
修复 shell 变量初始化检查,更新 sentry 版本
2024-08-18 14:19:45 +08:00
whyour
eb5cc3943d
Javascript 和 Python 增加内置函数 QLAPI.notify
2024-07-21 01:15:16 +08:00
whyour
e191aca41f
修改环境变量加载逻辑
2024-07-10 23:29:44 +08:00
whyour
71ba1534f2
增加自定写入 js 和 py 类型环境变量
2024-07-02 00:44:48 +08:00
whyour
7efe81df9e
修复 data 目录判断逻辑
2024-06-25 22:25:36 +08:00
whyour
7d0cae7839
修复单文件订阅代理无效
2024-06-13 22:53:49 +08:00
whyour
445dee00f7
修复脚本和日志列表获取软链接循环失败
2024-04-21 21:59:02 +08:00
whyour
510534ee0c
修复 text/plain 通知消息替换
2024-04-16 10:48:33 +08:00
whyour
2ac4581d54
修改自定义通知 body 解析逻辑
2024-03-12 22:22:10 +08:00
whyour
68ad01e0e8
增加 update 服务
2024-03-10 22:07:06 +08:00
whyour
11c789c71c
修复 webhook 通知 body 拆分逻辑
2024-02-25 15:27:48 +08:00
whyour
14cb1f7788
依赖管理支持取消安装和状态筛选
2024-02-13 22:42:22 +08:00
whyour
1a94a660a5
修改对比工具数据源,修复编辑器语言
2024-01-14 16:28:11 +08:00
whyour
b79d10b452
修改获取登录 ip 和 ip 地址方式
2024-01-08 19:05:12 +08:00
whyour
2713942a68
脚本管理忽略符号文件
2023-12-23 00:28:31 +08:00
whyour
f8aba4b1fb
日志和脚本增加文件大小展示,修改脚本管理列表排序
2023-12-21 09:57:06 +08:00
whyour
13e7dac333
修复自定义通知 body 中 key 被自动转为小写
2023-12-04 17:44:13 +08:00
whyour
3777a4e7b4
系统设置增加依赖代理和镜像设置
2023-11-25 21:49:33 +08:00
whyour
de9e9ce627
webhook 通知 body 增加 text/plain 类型,修复多定时任务服务重启未初始化
2023-11-22 22:43:48 +08:00
whyour
20f615eadf
fs 文件操作替换为 fs.promise
2023-11-01 16:44:34 +08:00
whyour
26b06c17c5
修复清空文件夹报错
2023-10-13 15:35:50 +08:00
whyour
b6376ed2e8
修复定时任务 task_after 命令无法停止
2023-10-12 00:45:49 +08:00
whyour
a340964c82
修改获取登录 ip 判断
2023-10-08 00:10:46 +08:00
whyour
ec5b885476
修改任务队列执行日志
2023-10-06 02:34:40 +08:00