Copilot
214241797d
Fix QlPort and QlGrpcPort environment variables ignored in host network mode and pm2 reload ( #2825 )
...
* Initial plan
* Fix host mode port configuration by using QlPort environment variable
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Fix GRPC_PORT conflict in host network mode
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Ensure BACK_PORT and GRPC_PORT survive pm2 reload with --update-env
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Move env.sh sourcing after fix_config to preserve more environment variables
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Refactor: Extract export_ql_envs function and move env.sh sourcing earlier
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Extract load_ql_envs function and reorder initialization in docker-entrypoint.sh and update.sh
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-14 22:56:39 +08:00
whyour
aedd48c9c4
修改错误日志
2025-11-14 22:23:30 +08:00
Copilot
90ddf0fb57
Fix race condition preventing scheduled tasks from executing in clustered mode ( #2819 )
...
* Initial plan
* Fix race condition causing scheduled tasks not to run
Added synchronization to ensure gRPC worker is ready before HTTP worker starts. This prevents the race condition where autosave_crontab() tries to register cron jobs before the gRPC server is ready to accept them.
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Add timeout protection for gRPC worker initialization
Added 30-second timeout to prevent system hang if gRPC worker fails to start. This provides better error handling and prevents indefinite waiting.
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Refactor worker ready logic and improve restart handling
- Extracted waitForWorkerReady() method for better code reusability
- Improved worker restart logic to wait for gRPC worker readiness
- This addresses code review feedback for better maintainability
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Improve logging accuracy for worker restarts
- Fixed log messages to accurately reflect worker state
- Added proper logging after gRPC worker is confirmed ready
- Improved HTTP worker restart logging with PID
- Addresses code review feedback for better clarity
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Revert unnecessary pnpm-lock.yaml changes
The pnpm-lock.yaml was unintentionally updated when installing dependencies for testing. No package dependencies were actually changed - only existing code was modified in back/app.ts. Reverting to original state.
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Re-register cron jobs when gRPC worker restarts
When the gRPC worker restarts, the scheduled tasks need to be re-added to the new gRPC server instance. This fix:
1. Tracks the HTTP worker reference in the master process
2. Sends a 'reregister-crons' message to the HTTP worker after gRPC restarts
3. HTTP worker calls autosave_crontab() to re-register all cron jobs with the new gRPC server
This ensures scheduled tasks continue to work after a gRPC worker restart.
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-12 00:59:22 +08:00
whyour
c9fc9b4b45
定时任务支持订阅筛选
2025-11-11 01:24:28 +08:00
whyour
8fdc69421c
修改定时任务支持的排序顺序
2025-11-11 01:02:36 +08:00
whyour
1deb264913
升级 cron-parser
2025-11-11 00:37:03 +08:00
Copilot
1f2fd8ac02
Fix URIError from malformed cookies causing white screen on load ( #2811 )
...
* Initial plan
* Fix decodeURIComponent error in cookie parsing by adding try-catch
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Add type annotation and logging to catch block per code review
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Fix TypeScript errors in deps.ts - remove unused path parameter
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Revert pnpm-lock.yaml to avoid unnecessary lockfile version upgrade
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 21:53:06 +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
0e28e1b6c4
修复 pm2 日志目录
2025-11-09 17:52:38 +08:00
whyour
73f8f3c5fa
增加 agent
...
Create a new agent configuration file for QL agent.
2025-11-08 00:05:56 +08:00
whyour
494ccb3c08
更新 workflow
2025-11-03 00:09:36 +08:00
whyour
399728b433
修复 jwt 认证
2025-11-02 22:28:58 +08:00
whyour
52a1de5063
更新 demo 地址
2025-11-02 21:54:19 +08:00
whyour
18f27a9a69
移除 nginx
2025-11-02 19:29:59 +08:00
whyour
07951964a1
修复模块注入
2025-10-26 22:32:03 +08:00
涛之雨
a1f888af59
Add validation to dependencies GET endpoint and update service logic ( #2778 )
...
* Add validation to dependencies GET endpoint and update service logic
* fix https://github.com/whyour/qinglong/pull/2778/files/6063bc3a67fb329de9b90f7c93524b862bd9eb93#r2266494581
* remove default condition type
* fix query mistakes
2025-10-11 23:23:13 +08:00
涛之雨
f7472b6e74
Add input validation to script API routes ( #2777 )
...
* Add input validation to script API routes
* 优化脚本 API 路由的错误处理逻辑
* Fix optional path compatibility checks
* remove file
2025-10-11 23:20:26 +08:00
whyour
a7baeba755
修复 task 命令可能软链失败
2025-10-11 23:15:54 +08:00
涛之雨
e4f733320d
Enable debug backend ( #2776 )
2025-08-19 11:13:33 +08:00
whyour
55c92dc320
发布版本 v2.19.2
v2.19.2
2025-07-12 20:29:49 +08:00
whyour
50769c43dd
修复 command-run 接口日志绑定
2025-07-12 20:29:44 +08:00
whyour
0587644a6b
command-run 增加返回 QL-Task-Log 日志路径
2025-06-28 01:05:05 +08:00
whyour
87b934aafe
QLAPI.systemNotify 支持自定义通知类型和参数
2025-06-24 02:00:51 +08:00
whyour
7a92e7c6ab
修复取消安装依赖
2025-06-22 21:47:39 +08:00
whyour
1d8403c0ec
修复环境变量过大解析
2025-06-22 21:10:55 +08:00
whyour
ef9e38f167
备份数据支持选择模块,支持清除依赖缓存
2025-06-22 14:25:19 +08:00
whyour
c9bd053fbd
修改服务启动方式
2025-06-11 00:42:29 +08:00
憶夣
57939391b9
ntfy 增加可选的认证与用户动作 ( #2741 )
...
* feat:ntfy增加可选的认证
* feat:ntfy增加可选的用户动作
* fix:ntfy动作包含中文报错
2025-06-07 00:26:27 +08:00
whyour
394e96bbf8
修复 health 接口报错
2025-06-07 00:25:47 +08:00
whyour
47c194c1f4
更新版本 v2.19.1
v2.19.1
2025-05-24 15:03:08 +08:00
whyour
7d65d96ebd
修复 demo 环境提示
2025-05-24 14:56:49 +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
eb1c00984c
修复任务视图状态包含筛选
2025-05-20 23:40:18 +08:00
whyour
1a185f5682
修复创建脚本可能失败
2025-05-20 01:00:08 +08:00
whyour
b6ea8565ec
更新版本 v2.19.0
v2.19.0
2025-05-18 22:02:57 +08:00
whyour
2e94d58758
修改启动命令环境变量
2025-05-18 22:02:55 +08:00
whyour
472a3088df
修复启动逻辑
2025-05-17 17:25:50 +08:00
whyour
ec3d61a713
修复 /:file 获取日志接口
2025-05-16 00:57:27 +08:00
whyour
95459c33ed
修改 import undici
2025-05-15 01:19:24 +08:00
whyour
5459b72f63
更新 pnpm-lock
2025-05-15 01:15:55 +08:00
whyour
05db2b1df8
修复重置用户名失败
2025-05-15 01:12:01 +08:00
whyour
c3072e7712
got 替换为 uudici
2025-05-15 01:01:39 +08:00
whyour
3fafe4d24d
修复依赖强制删除未移除队列
2025-05-13 02:00:37 +08:00
whyour
32bccb3f3e
修复无法识别 python 依赖安装的命令
2025-05-13 00:22:15 +08:00
whyour
ac04478d1d
修复重用户名
2025-05-11 18:59:15 +08:00
whyour
8a18baa921
修复登录通知失败造成服务重启
2025-05-11 14:36:16 +08:00