Copilot
8f23c61fee
Add non-root Docker user support with automatic command setup ( #2830 )
...
* Initial plan
* Add non-root user guide and improve error messages
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add PM2_HOME configuration to fix non-root user permission errors
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Fix PM2 socket error by using /tmp for PM2_HOME instead of mounted volume
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Document symlink permission limitation for non-root users
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Clarify that scheduled tasks auto-adapt to use full paths when symlinks unavailable
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add error handling for symlink creation to prevent worker crashes
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add practical solutions for non-root users to use ql and task commands
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Modify linkCommand to create symlinks in ~/bin for non-root users
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* 修复链接 task 命令
---------
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-15 01:46:24 +08:00
Copilot
58f5fe763f
Add cron task management to QLAPI ( #2826 )
...
* Initial plan
* Add cron management capabilities to QLAPI
- Added GetCrons, GetCronById, EnableCrons, DisableCrons, RunCrons to proto
- Implemented gRPC handlers for new cron operations
- Updated client.js to expose new methods to scripts
- Updated sample to demonstrate new API usage
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Add documentation for QLAPI cron management features
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Specify pnpm version 8.3.1 in package.json
Add packageManager field to enforce pnpm@8.3.1 as requested
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Revert pnpm-lock.yaml to original state
The lockfile was inadvertently updated during dependency installation
for proto generation. Reverting to maintain consistency with pnpm@8.3.1.
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
* Regenerate proto files with correct tool versions
Regenerated using protoc v3.17.3 and protoc-gen-ts_proto v2.6.1
to match the original project configuration.
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 23:20:56 +08:00
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
06aa07329f
修复日志目录逻辑
2025-11-09 21:42:45 +08:00
whyour
0e28e1b6c4
修复 pm2 日志目录
2025-11-09 17:52:38 +08:00
whyour
399728b433
修复 jwt 认证
2025-11-02 22:28:58 +08:00
whyour
18f27a9a69
移除 nginx
2025-11-02 19:29:59 +08:00
whyour
50769c43dd
修复 command-run 接口日志绑定
2025-07-12 20:29:44 +08:00
whyour
1d8403c0ec
修复环境变量过大解析
2025-06-22 21:10:55 +08:00
whyour
2e94d58758
修改启动命令环境变量
2025-05-18 22:02:55 +08:00
whyour
8a18baa921
修复登录通知失败造成服务重启
2025-05-11 14:36:16 +08:00
whyour
da639a1f8f
移除部分历史兼容逻辑
2025-05-09 15:37:05 +08:00
whyour
d871585eee
修改服务启动逻辑
2025-05-07 09:30:00 +08:00
whyour
124e01e93a
修复 QLAPI 修复环境变量 remarks,esm 依赖查不到
2025-04-19 01:38:43 +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
8173075b67
定时任务支持 @once 和 @boot 任务
2025-02-20 02:18:59 +08:00
whyour
25e8e8198d
修改 QLAPI 调用校验
2025-01-30 00:55:48 +08:00
whyour
6df651aa63
更新 ts-proto 版本
2025-01-29 23:29:45 +08:00
whyour
07f43538df
修复写入文件 mode
2025-01-22 01:17:13 +08:00
whyour
6a76e82f26
修改 QLAPI python 示例
2025-01-12 18:11:42 +08:00
whyour
ad6e08525c
修改 QLAPI 系统通知
2025-01-12 15:39:28 +08:00
whyour
51ef4e7476
修改任务状态更新失败提示,重复运行提示
2025-01-12 00:19:14 +08:00
whyour
647ed3b66c
QLAPI 支持操作环境变量和系统通知
2025-01-11 01:59:46 +08:00
whyour
7d43b14f81
修复重置登录错误次数和 tfa
2025-01-02 23:50:20 +08:00
whyour
43d6ac2071
增加手动停止标识
2024-12-31 00:17:30 +08:00
whyour
678e3e2dc6
修改认证信息存储方式,避免认证信息异常
2024-12-30 14:23:04 +08:00
whyour
20c6a1e8bf
移除任务执行前后的脚本参数
2024-10-26 14:12:58 +08:00
whyour
4244502949
增加 log 图标样式
2024-10-13 21:24:17 +08:00
whyour
6ea8d361fd
修复 mac 时间格式化
2024-09-29 22:47:57 +08:00
whyour
2f70e10be7
修复 shell 检查 nounset 变量
2024-09-16 21:35:36 +08:00
whyour
3d719baa54
修复任务执行初始化环境变量 PYTHONPATH 和 NODE_OPTIONS 被清空
2024-09-10 22:41:39 +08:00
whyour
69fcf45231
修复任务执行前命令错误提示
2024-09-08 17:58:37 +08:00
whyour
459f465f3b
修复 shell 未定义变量错误
2024-08-31 20:23:37 +08:00
whyour
a3044f9d29
修复 node 内置脚本运行错误
2024-08-28 00:28:25 +08:00
whyour
6c61ac5106
修复 dockerfile
2024-08-26 00:56:55 +08:00
whyour
8b042d90f3
修复删除日志命令
2024-08-24 22:43:09 +08:00
whyour
f4cb3eacf8
系统日志增加时间筛选和清空
2024-08-22 00:47:24 +08:00
whyour
73601ca853
修复任务执行前命令字符转义
2024-08-19 22:27:09 +08:00
whyour
230a8f61b8
修复 smtp python 参数说明
2024-08-18 16:31:39 +08:00
whyour
af5de8372c
修复 shell 变量初始化检查,更新 sentry 版本
2024-08-18 14:19:45 +08:00
whyour
fe4516df00
修复执行 task_before 环境变量加载顺序
2024-07-28 18:40:02 +08:00
whyour
be2da98674
修复任务中 task_before 参数双引号解析
2024-07-26 11:30:03 +08:00
whyour
0da8155bac
修复 desi 和 conc 命令参数解析
2024-07-25 20:53:11 +08:00
whyour
eddd258614
修复 node 前置逻辑
2024-07-24 23:30:18 +08:00
whyour
162bd9d8cc
修复 config 引入顺序
2024-07-22 23:29:08 +08:00
whyour
e694570f1a
增加 task_before.js 和 task_before.py 文件,在执行任务前执行,避免环境变量过大报错
2024-07-22 01:07:00 +08:00
whyour
eb5cc3943d
Javascript 和 Python 增加内置函数 QLAPI.notify
2024-07-21 01:15:16 +08:00
whyour
1b39d3ab48
JavaScript 和 Python 执行脚本前执行 task_before
2024-07-20 17:28:48 +08:00