whyour
8a9e70e90b
feat: harden cron execution recovery and expose scheduling diagnostics
...
Reconcile scheduled and system cron triggers, isolate concurrent executions and retain verifiable exit statistics across restarts. Add paged task history, log and script browsing, dashboard timing details and regression coverage.
2026-11-17 01:01:57 +08:00
whyour
1cfc0c8e2e
fix(security): protect first-run notifications and server errors ( #3126 )
...
* fix(security): close anonymous notification setup and mask server errors
* fix: hide internal errors in default deployment
* fix: route HTTP errors through application logger
* test: mock logger in API fallback regression
* fix: avoid sensitive SQL details in HTTP error logs
2026-11-10 01:11:54 +08:00
whyour
e555fcbb0b
fix: honor Python requirement specifiers and portable script discovery
2026-10-15 23:36:21 +08:00
whyour
53e1129a12
fix: preserve Python source state and repair dev regressions
2026-10-15 09:53:22 +08:00
whyour
1ac04a8062
fix(python): keep source dependency installs and removals in selected venv
2026-10-13 02:21:10 +08:00
whyour
be877cfddc
fix: 修复完整镜像源地址及 CRLF 任务导入 ( #3093 )
...
* fix: address six verified legacy issue regressions
* fix: limit issue patch to mirror URLs and CRLF imports
* fix: preserve APT formats and third-party repositories
2026-10-13 01:11:35 +08:00
whyour
cf236f8324
fix(dependencies): require existing sources and translate install hints
2026-10-12 01:13:53 +08:00
whyour
4cd6c6ad2e
fix(dependencies): quote and validate Python source installs
2026-10-12 00:23:48 +08:00
whyour
68ffa106f8
fix: resolve Debian regression findings ( #3087 )
...
* fix: resolve Debian regression findings
* fix: reject failed APT index refreshes and simplify SSH home lookup
2026-10-09 01:41:29 +08:00
whyour
2cab112391
fix: 加固安全输入边界并修复订阅兼容性 ( #3084 )
...
* fix: harden scoped API inputs and isolate login throttling
* fix: close script path gaps and harden security boundaries
* fix: preserve subscription aliases and avoid extension eval
* fix: allow cancelling invalid historical subscriptions
* fix: make script parent validation explicit for CodeQL
* fix: limit command execution and clarify trusted path branches
* fix: separate diff tool script access from config APIs
* fix: clean up obsolete subscription SSH credentials
2026-10-06 18:21:54 +08:00
whyour
2d6c2206b3
fix: verify task termination and preserve startup configuration
2026-09-22 22:23:18 +08:00
whyour
d9833c17d5
perf: reduce resident dependencies and duplicate WebSocket authentication ( #3071 )
...
* perf: load HTTP dependencies only in the HTTP worker
* docs: record 30-minute idle resource comparison
* perf: isolate database initialization from the cluster primary
* docs: record isolated database startup resource comparison
* perf: avoid an extra shell child in Docker health probes
* perf: load notification dependencies only when needed
* perf: retain queue cleanup after notification loading comparison
* fix: stop page polling after unmount and avoid duplicate fetches
* perf: share WebSocket session polling across connections
* docs: measure real WebSocket container CPU and memory
* perf: reuse JWT validation within each WebSocket session check
* perf: bound login IP lookup allocations with an address cache
* refactor: limit resource optimization PR to three core changes
* docs: benchmark the three core optimizations against develop
* chore: remove documentation and benchmark artifacts from PR
2026-09-18 20:22:18 +08:00
whyour
4eb27427f8
fix: 修复 develop 调度锁、运行恢复与 Alpine 缓存并发 ( #3070 )
...
* fix: repair develop scheduler locks and runtime recovery
* test: wait for child reaping after verified termination
* fix: abort cron mutations when scheduler deletion fails
2026-09-13 13:44:44 +08:00
whyour
041a437453
fix: support WPUSH notifications over gRPC
2026-09-13 01:08:14 +08:00
whyour
a94e665054
fix: 修复任务生命周期与调度就绪,优化执行和构建开销 ( #3069 )
...
* fix: harden task lifecycle and scheduler readiness
* fix: confine log writes to the configured log directory
* fix: verify complete build artifacts and untracked inputs
* fix: reconcile scheduler state and make stop win startup races
* fix: isolate cron generations and serialize scheduler recovery
2026-09-13 00:32:41 +08:00
whyour
4df52094f2
fix: harden authentication and file access security
2026-09-05 18:19:01 +08:00
whyour
decdab093f
perf: speed up large file tree listings
2026-08-19 01:05:18 +08:00
whyour
cdfa6c3c3c
增加启动错误日志
2026-07-04 21:36:11 +08:00
whyour
e92ddb0aed
修复添加任务有可能失败
2026-07-01 00:37:42 +08:00
zjiecode and zjiecode
327c3a317b
Add WxPusher simple push support,Enhance user experience and reduce configuration complexity ( #3023 )
...
* 新增对WxPusher极简推送的支持,减小用户使用成本
* 新增脚本对WxPusher极简推送的支持
* 修复通知配置的枚举定义
---------
Co-authored-by: zjiecode <zjiecode@gmail.com >
2026-06-30 14:30:31 +08:00
whyour
3044f63f03
修复国际化文案
2026-06-21 23:53:32 +08:00
whyour
949d956aef
grpc 服务增加证书校验
2026-06-13 20:16:49 +08:00
whyour
96b4c90398
增加 sudo 命令判断
2026-06-13 00:53:41 +08:00
whyour
7d8feadc78
修复获取定时任务参数
2026-06-13 00:09:31 +08:00
whyour
05f8fd3805
接口提示信息国际化
2026-06-11 02:19:04 +08:00
whyour
c0b7527148
修复路径穿越
2026-06-01 13:49:32 +08:00
whyour
ca347c5854
修复非 root 用户更新时区和 linux 配置
2026-05-31 16:48:13 +08:00
whyour
abad29cbf9
修复非 root debian dockerfile
2026-05-30 23:55:57 +08:00
whyour and dream10201
84d730d510
统一 Alpine/Debian 分支,QL_SCHEDULER 参数化调度
...
* 修改获取示例文件 api path
* 增加 debian-slim 基础镜像
* 修复 debian apt 命令,支持 qinglong 命令
* 更新 npm 版本 0.7.7
* 更新 npm v0.8.4
* 修复linux依赖检测 (#2082 )
* 修复拉取私有仓库
* 修复 shell check_server
* 修复 qinglong 命令
* 更新 npm 版本 v0.13.2
* 增加 debian 开发版本
* 修改切换 linux 镜像源
* 修复 qinglong 命令
* 移除 qinglong 命令 npm 默认镜像源
* 修复 workflow
* 更新 npm 版本 v0.14.5
* 增加 npx 命令
* 更新 workflow action 版本
* 更新 npm 版本 v0.16.0
* 修复 linux 镜像源
* 更新 npm 版本 v0.17.0
* 更新 npm 版本 v0.18.0
* 修改 npm 安装启动命令
* 更新 npm 版本 v0.19.9
* 修复 debian netcat 包名
* 更新 npm 版本 v0.20.4
* 安装 linux 依赖自动识别 alpine 和 debian
* 修改 apt 命令
* 更新 npm 版本 v0.21.2
* 修改 ts 文件执行依赖
* npm 启动增加 reload 逻辑
* 更新 npm 版本 v2.17.8
* 修复 qinglong 命令
* 更新 npm 版本 v2.17.9
* 更新 npm 版本 v2.17.10
* 更新 npm 版本 v2.17.11
* 修改 debian 版本为 12 bookworm
* 更新 npm 版本 v2.17.12
* 修改本地服务启动提示
* 更新 npm 版本 v2.17.13
* 写入文件增加文件锁
* 修复系统安装依赖提示
* 更新 npm 版本 v2.18.2-6
* 更新 nodejs 版本
* 更新 npm 版本 v2.18.3-3
* 修复 command 变量
* 移除自动清除 deb
* 修复 npm 启动脚本
* 修复发布 npm包依赖文件
* 修改 linux 启动文件逻辑
* 更新 npm 版本 v2.19.0-10
* 修复 apt 命令
* 更新 npm 版本 v2.19.1-0
* 更新 npm 版本 v2.19.2-2
* 增加 packageManager
* 增加用户 qinglong
* 更新 pipeline
* 移除 init_nginx
* 更新 npm 版本 v2.20.0
* 更新 npm 版本 2.20.1
* 更新 npm 版本 2.20.2
* fix: 修复非 root 用户启动
* chore: 合并 debian 和 alpine 逻辑
---------
Co-authored-by: dream10201 <xiuxiu10201@gmail.com >
2026-05-30 18:03:51 +08:00
whyour
3464c4da61
fix IPv6 connectivity
2026-05-06 01:29:01 +08:00
copilot-swe-agent[bot] and whyour
fcf0ee619b
Improve URL pattern matching and remove redundant checks
...
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
2025-12-27 08:51:12 +00:00
copilot-swe-agent[bot] and whyour
f3ec352066
Address code review feedback: improve pattern matching and error handling
...
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
2025-12-27 08:49:41 +00:00
copilot-swe-agent[bot] and whyour
023d0f1cc4
Fix pyproject.toml path handling and add error handling
...
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
2025-12-27 08:46:12 +00:00
copilot-swe-agent[bot] and whyour
f526d3f972
Add support for GitHub URLs and requirements files in Python dependencies
...
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
2025-12-27 08:41:43 +00:00
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
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
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