Nexus Agent
|
bdb3b3bc34
|
docs(deploy): 生产对齐部署验证报告与 changelog 补全
记录 e5a3f25 部署、前端镜像重建与 Agent 1/1 升级结果。
|
2026-06-07 23:22:21 +08:00 |
|
Nexus Agent
|
e5a3f2524e
|
fix(auth): change_password 改密路径 audit_repo 定义顺序
部署前补齐门控审计与 Layer3 演练终验记录,消除 ruff F821。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 23:11:28 +08:00 |
|
Nexus Agent
|
9337f37da8
|
fix(files,deploy): 文件上传字段名与 Layer3 巡检脚本
后端同时接受 file/files 并支持多文件 SFTP 上传;修复 health_monitor.sh 引号语法使 Layer 3 cron 可运行。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 23:00:01 +08:00 |
|
Nexus Agent
|
7ea94a60ab
|
fix(auth,servers): 修复 refresh 自动登出与服务器状态未知
API 返回 status 字段供前端显示在线状态;token_version 为 NULL 时 refresh cookie 含 :None 导致续期 401。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 22:53:29 +08:00 |
|
Nexus Agent
|
05006cb5df
|
feat(auth): refresh token 先 Redis 后 MySQL 双写
登录 30 天会话 hash 持久化到 admin_refresh_tokens;启动从 MySQL 回填 Redis,
Redis 重启后会话仍可 refresh。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 21:56:56 +08:00 |
|
Nexus Agent
|
69087988b1
|
fix(auth): 反代后登录白名单读取真实客户端 IP
Docker/1Panel 反代时 request.client.host 为 172.18.0.1;可信内网跳读取 X-Real-IP/X-Forwarded-For。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 21:50:39 +08:00 |
|
Nexus Agent
|
a14fbb3df3
|
fix(ssh): 快速添加跳过主机密钥校验并中文化错误
凭据轮询在 SSH_STRICT 默认 true 时因 HostKeyNotVerifiable 在认证前失败;
探测始终 known_hosts=None,默认 strict 改为 false,错误信息统一中文。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 21:31:38 +08:00 |
|
Nexus Agent
|
c50f65e8ea
|
docs: Layer 3 巡检 Telegram 用户终验确认
记录用户已收到引号修复与中文详细通知消息,闭环终验通过。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 21:09:14 +08:00 |
|
Nexus Agent
|
ea2507dbc0
|
feat(telegram): 全部通知改为中文详细说明
统一告警/恢复/系统/Layer3/测试消息格式,含来源、影响与建议操作。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 21:01:47 +08:00 |
|
Nexus Agent
|
f60a5ea5bc
|
fix(deploy): health_monitor 剥离 .env 引号以修复 Telegram 404
容器 .env 带引号的 Token 导致 sendMessage URL 无效;增加 normalize_env_value
与失败日志。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 20:58:02 +08:00 |
|
Nexus Agent
|
ca0de7d04d
|
docs: Layer 3 模拟巡检告警验证报告
Nexus CI/CD / test (push) Waiting to run
Nexus CI/CD / deploy (push) Blocked by required conditions
Nexus Pre-commit Checks / quick-check (push) Waiting to run
记录 flock 失败计数 bug 修复与 iptables 演练结果。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 20:56:21 +08:00 |
|
Nexus Agent
|
764703d401
|
fix(deploy): health_monitor flock 失败计数回传
flock 子 shell 递增后未回传 FAIL,导致 Layer 3 永不触发重启与 Telegram。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 20:53:14 +08:00 |
|
Nexus Agent
|
b8785d1d51
|
docs: Layer 3 巡检 Telegram 配置后生产复查
记录用户配置 Telegram 后 env 同步、health_monitor 就绪与 cron 状态。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 20:49:13 +08:00 |
|
Nexus Agent
|
5b372fb8a2
|
docs: Layer 3 巡检部署生产验证报告
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 20:19:31 +08:00 |
|
Nexus Agent
|
f9934bd4f1
|
feat(ops-patrol): Layer 3 巡检与 Telegram 配置打通
保存 Telegram 时同步至 .env,health_monitor 支持 MySQL 回退,
设置页展示巡检状态,部署时自动安装 cron。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 20:17:24 +08:00 |
|
Nexus Agent
|
66a4cba39b
|
docs: 设置页 Telegram 修复生产验证报告
记录 540a7fc 部署结果与浏览器终验步骤。
|
2026-06-07 19:46:43 +08:00 |
|
Nexus Agent
|
540a7fce05
|
fix(settings): Telegram 检测/测试闭环与 8 项告警开关恢复
检测与测试前自动持久化 Token/Chat ID;getUpdates 清除 Webhook 并返回具体 API 错误;恢复 NOTIFY 分项开关与免密 reveal。
|
2026-06-07 19:45:07 +08:00 |
|
Nexus Agent
|
2e911dcca7
|
fix(frontend): 设置页恢复 IP 白名单订阅 URL 与解析预览
补回代理订阅配置 UI,修正 ip-allowlist 保存 payload 为 manual_ips + subscription_url。
|
2026-06-07 19:34:24 +08:00 |
|
Nexus Agent
|
a5d5518054
|
fix(frontend): 设置页恢复 Telegram Chat ID 自动检测
Vue SPA 迁移遗漏 getUpdates 检测按钮;对接 GET /settings/telegram/chats,并修正 cron 脚本 bash 调用。
|
2026-06-07 19:31:13 +08:00 |
|
Nexus Agent
|
e3fe161ae5
|
fix(deploy): 健康检查 PORT 缺省 8600
NEXUS_PUBLISH_PORT 未写入 .env.prod 时避免空端口误打 OpenResty 导致部署脚本误报失败。
|
2026-06-07 18:05:27 +08:00 |
|
Nexus Agent
|
d0be2fdcf1
|
fix(deploy): SSH secrets 加载、Docker 运行时检测与外网探测脚本修复
使 deploy-production.sh 可读本机 secrets 并在非 docker 组用户下用 sudo 识别 1Panel 栈;修复 security_probe_external.sh 的 curl shift 误用与 WebSocket 自动 venv。
|
2026-06-07 17:34:27 +08:00 |
|
Nexus Agent
|
72d82d737b
|
fix(security): BL-07 WS 403 澄清与 code-review 跟进加固
外网无 token WebSocket 的 HTTP 403 为应用层拒绝而非反代故障;边端 agent
在中心 401 时停止心跳重试;install 锁定路由级 404 且归档失败 fail-closed。
同步安全规范与 BL-06 一致,门控 7/7 PASS。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 12:12:49 +08:00 |
|
Nexus Agent
|
eab35a35be
|
fix(security): BL-06 强制 Agent per-server key 并合并心跳单次查库
移除 Agent 认证与安装链路的 global API_KEY 回退,收口 risk-acceptance 接受项 2;巡检补修心跳重复 get_server 并加 assert_called_once 回归测试。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 11:17:41 +08:00 |
|
Nexus Agent
|
e5e2582743
|
fix(security): 外网攻击面加固 BL-01~05
收紧 PUBLIC 路径误匹配、强制 health/detail 与壁纸 sync 鉴权、默认关闭 OpenAPI;
安装锁定后 /api/install/* 统一 404;附探测脚本、测试与审计文档。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-07 01:45:10 +08:00 |
|
Nexus Agent
|
722917bfc9
|
fix(api): API 全量巡检 B1–B6 修复 server_ids 上限与 pending 审计
限制健康检查/推送/脚本执行的 server_ids 规模,补齐 pending 重试失败与删除审计,并附分批巡检报告。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 23:57:46 +08:00 |
|
Nexus Agent
|
ac17f91106
|
docs(audit): 14 页 API 契约审计与凭据轮询 SSOT 收尾
记录凭据轮询/pending 契约对照与生产验证,更新功能指南与附录 J,并将 pending 相关类型集中到 api.ts。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 23:50:05 +08:00 |
|
Nexus Agent
|
9ee5c8a708
|
docs(project): nx 上帝菜单巡检 round1–10 归档总结
新增 nexus-god-menu-audit-summary.md 汇总巡检交付与日常速查,并链入文档索引。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 23:25:44 +08:00 |
|
Nexus Agent
|
fb9dbcb11a
|
docs(deploy): 同步 1Panel 运维 SSOT(round4–8 能力)
README 与知识文档补全 nx cron/备份/验收;卸载脚本提示改为 1Panel 容器名。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 23:23:27 +08:00 |
|
Nexus Agent
|
72e46cef32
|
fix(deploy): 升级后镜像验收与 verify 脚本修复
验收检查容器内 round6/7 特性;修复 host.docker.internal 引号;nx verify 与升级后自动验收。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 23:21:44 +08:00 |
|
Nexus Agent
|
e5d482264d
|
fix(install): 向导守护 UI 与升级后 cron 交互提示
Docker 完成页展示 Layer 3 cron 步骤与 host_deploy_root;TTY 下 nx update 可一键安装巡检/备份 crontab。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 23:20:23 +08:00 |
|
Nexus Agent
|
c9e08799f9
|
fix(install): 守护配置对齐宿主机 cron 与验收检查
Nexus CI/CD / test (push) Waiting to run
Nexus CI/CD / deploy (push) Blocked by required conditions
Nexus Pre-commit Checks / quick-check (push) Waiting to run
Docker 向导提示 nx cron/宿主机路径;裸机 cron 含 db_backup;验收脚本检查 cron 与 MySQL 备份能力。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 23:11:02 +08:00 |
|
Nexus Agent
|
89865ec690
|
fix(deploy): 部署脚本自动识别 Docker 与 Supervisor 运行时
upgrade/deploy-production 等分流到 nexus-1panel upgrade;升级完成后提示安装 nx cron。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 23:07:47 +08:00 |
|
Nexus Agent
|
ba69bc3355
|
fix(deploy): git pull 后备份脚本不依赖可执行位
db_backup/backup_mysql 改为检测文件存在并用 bash 调用;install_ops_cron 一并 chmod 备份脚本。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 22:39:10 +08:00 |
|
Nexus Agent
|
49f159a8ce
|
fix(deploy): install_ops_cron 自动安装 cron 包
生产 Azure 主机默认无 crontab,安装脚本现会 apt install cron 并启用服务。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 22:38:43 +08:00 |
|
Nexus Agent
|
4e1347ba45
|
fix(deploy): Docker 感知 MySQL 备份与 nx cron 安装
升级/定时备份通过 docker exec 1Panel MySQL 容器 dump,不再依赖宿主机 mysqldump;nx 菜单新增巡检与备份 crontab 安装。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 22:37:49 +08:00 |
|
Nexus Deploy
|
61b8d7d419
|
fix(deploy): health_monitor Docker 适配与巡检第三轮修补
Docker 生产用 docker restart;读 .env.prod 端口与容器 Telegram;已归档跳过全量热同步。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 22:25:27 +08:00 |
|
Nexus Deploy
|
954bdbd972
|
fix(deploy): 验收脚本已安装时输出正确通过文案
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 21:54:03 +08:00 |
|
Nexus Deploy
|
314bece418
|
fix(deploy): 验收脚本已安装时跳过 install API 检查
锁定后 /api/install/* 返回 403 属预期,不应判 FAIL。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 21:53:43 +08:00 |
|
Nexus Deploy
|
687e059a86
|
fix(deploy): 上帝菜单巡检第二轮 — 全新安装卷冲突与验收修正
FRESH 清除 nexus-state 旧锁;PENDING=1 时 entrypoint 不恢复旧 env;验收脚本已安装期望 404。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 21:53:03 +08:00 |
|
Nexus Deploy
|
baacdb0252
|
fix(deploy): 已归档安装向导时 sync 脚本验收期望 404
避免 nx update 因 install.html 已移除而误报失败。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 21:31:06 +08:00 |
|
Nexus Deploy
|
58bdf820dc
|
fix(install): 安装锁定后将 install.html 归档为 .bak
防止已安装环境继续提供安装向导静态页;entrypoint 与升级脚本避免容器重建后恢复。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 21:30:15 +08:00 |
|
Nexus Deploy
|
dd66d99f2d
|
fix(deploy): nx 上帝菜单巡检修补 1panel-network 与升级竞态
purge 阶段 compose 叠加 1panel overlay;菜单启动/重建与回滚后校验网络;install-auto 已安装改走 update。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 21:27:01 +08:00 |
|
Nexus Deploy
|
107b089b16
|
fix(1panel): 安装锁持久化与升级后 1panel-network 校验
防止 nx update 重建容器后丢失安装锁、未接入 1panel-network 导致 MySQL/Redis 不可达。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 20:52:13 +08:00 |
|
Nexus Deploy
|
1f5daebeed
|
fix(deploy): nx update 在 set -u 下 local root 同行展开报错
拆分 nexus_publish_port/set_install_complete/sync_env_prod_to_volume 的 local 声明,
避免 env_file="$root/..." 在 root 赋值前展开导致 unbound variable。
|
2026-06-06 20:38:11 +08:00 |
|
Nexus Deploy
|
4ba45abf38
|
feat(servers): 凭据轮询登录与连接失败列表
- 密码/SSH密钥预设增加用户名;快速添加(IP)轮询全部预设尝试 SSH 登录
- 成功入 servers 列表;失败写入 pending_servers 并支持重试/删除
- 新增 credential_poller、try_ssh_login 与 add-by-ip/pending API
|
2026-06-06 20:08:48 +08:00 |
|
Nexus Deploy
|
5a56e5a8cb
|
fix(1panel): 安装向导脱敏、配置一致性与 nx update 门控回滚
- /state 白名单脱敏;init-db db_port 修复;connection-check 后清空 redis_pass
- install.html sessionStorage token 与无 token 友好提示
- nx update: 镜像 import 门控、健康失败自动回滚、PENDING=0 回写、卷双写
- Redis 容器改名密码迁移;备份失败默认 WARN;update.sh 管道 ROOT 回退
|
2026-06-06 17:40:30 +08:00 |
|
Nexus Deploy
|
850038a3ec
|
fix(install): 安装向导 Redis 密码不被 nx update/Compose 覆盖
Compose 不再注入 NEXUS_REDIS_URL;nx update 保留卷内带密码 URL;步骤 4 可从 install state 修复无密码 URL。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 11:34:26 +08:00 |
|
Nexus Deploy
|
beb802802a
|
chore: 添加 scripts/git-push.sh 与本地 Gitea secrets 约定
push 读取 deploy/nexus-1panel.secrets.sh(gitignore),clone/pull 仍可匿名。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 11:22:07 +08:00 |
|
Nexus Deploy
|
476d87c678
|
docs: Gitea 公共仓库无需凭据
更新 .cursorrules 与 linux-dev-paths,明确不配置/探测 GITEA token。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 11:13:07 +08:00 |
|
Nexus Deploy
|
49f88a2cd8
|
fix(install): Docker .env 持久化与 entrypoint 覆盖 Compose 占位符
向导 init-db 后立即同步 nexus-state 卷;entrypoint 跳过不完整 env 并在启动前 source /app/.env,避免缺 DATABASE_URL 与无密码 REDIS_URL 导致容器崩溃。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-06 11:08:22 +08:00 |
|