Commit Graph

86 Commits

Author SHA1 Message Date
augushong
4d71c6553a fix(admin): 修复监控规则表单提交失效与页面转义及搜索入口缺陷 2026-08-15 11:44:33 +08:00
augushong
5a41f6a425 fix(admin): 修复详情页弹层内接口请求路径解析错误 2026-08-15 10:56:01 +08:00
augushong
296269d66d fix(admin): 修复命中记录页时间渲染依赖不存在的 API 2026-08-15 10:48:15 +08:00
augushong
f611ab385c feat(admin): XHProf 运行详情页函数级分析 2026-08-15 07:20:29 +08:00
augushong
c980ebdff0 feat(admin): XHProf 函数监控规则与命中记录 2026-08-15 07:02:37 +08:00
augushong
e57b186126 feat(admin): XHProf 采样列表页
- curd -t ul_xhprof_run 生成三件套(控制器 xhprof.run 子目录形态,model docblock 随生成刷新)
- 只读化:toolbar 清空 + 行内仅详情按钮(open 弹层 xhprof.run/detail?id=N,auth=detail),
  add/edit/delete 等 action 保留靠权限节点不分配拦截(T8 对齐)
- 列渲染:wall_time/cpu_time μs→ms(>1000ms 红色)、memory_peak 字节→MB、
  url 截断 title 全显、method 标签化、request_time 浮点秒→日期时间
- 四组搜索:url like / request_time range / wall_time 下限(前端 ms,后端换算 μs,
  withGet 全量合并写回)/ node_id 下拉(DISTINCT + data_brage 通道)
- 生成前 scheme:sync 修复 request_time 的 null/comment 漂移(T3 手工 ALTER 遗留)
2026-08-15 06:48:45 +08:00
augushong
8faa52ce90 feat(nginx-log): 多节点适配(node_id 全链路 + 全局/按节点聚合 + 节点筛选 + v2.4.0 升级脚本)
- 6 张表加 node_id 字段 + position/stat 改复合唯一键(migration)
- 6 个 Scheme 同步 node_id 注解 + 唯一键
- Reader 带 node_id 参数 + 懒加载接管(getLastPosition 回退查 node_id='')
- Aggregator 全局行(node_id='')+ 按节点循环 insertAggregatesForScope
- Stat 所有查询方法加 where node_id 条件
- Dashboard 控制器/视图加节点筛选下拉框 + AJAX 带 node_id
- AccessLog 列表加节点列 + 采集进度卡片显示节点信息
- import 定时任务 run_type 改 all(每节点采集自己的日志)
- v2.4.0 升级脚本追加 ALTER TABLE(幂等 check-then-alter)
- 菜单调整:去掉 Nginx 顶级菜单 + 读取位置管理,改为系统管理下挂两个子菜单
- ulthon-timer 文档补充 run_type=all 多节点部署注意事项
2026-08-08 10:33:20 +08:00
augushong
d5329cdd45 feat(nginx-log): curd 生成 raw/position 后台并改只读
- NginxAccessLog + NginxLogPosition Scheme 加 #[Component] 注解
- Scheme Table name 补 ul_ 前缀(curd 严格校验要求)
- curd 生成 nginx 模块完整后台(controller/model/view/js)
- Base/App 双层只读控制器(参照 TimerLogBase 范式)
  - AccessLogBase: add/edit/delete/modify 全部 error
  - LogPositionBase: 同上
- 视图改造:
  - access_log 裁剪到 8 列核心字段(time_local/method/uri/status/remote_addr/request_time/body_bytes_sent/http_user_agent)
  - status/request_time 自定义 badge 渲染
  - toolbar 清空 + operat 仅保留详情(B 类只读页面)
  - log_position 全字段 + 只读化
- HTTP 验证:index 200 OK + add/edit/delete/modify 全部返回错误
2026-07-28 06:21:13 +08:00
augushong
009647f96f refactor(timer): TimerConfig 控制器与视图迁移到 Base 层
控制器逻辑移入 extend/base/admin/controller/system/TimerConfigBase.php,app 层改为空壳继承。9 个视图文件迁移到 extend/base/admin/view/system/timer_config/。index.js 补 toolbar: ['refresh', 'export'] 声明(C 类页面,去掉默认的 add/delete)。

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-07-25 22:39:20 +08:00
augushong
12fe271ce0 feat(timer): 编辑页并发数配置表单
edit 表单放行 concurrency 字段,空值=继承代码默认写 NULL,正整数=覆盖。前端联动提示语义。

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-07-25 21:58:20 +08:00
augushong
41a0f99735 feat(timer): 列表页节点视角下拉与归属可视化
新增节点视角下拉(全局/指定节点),calcOwnership 计算任务归属,触发操作联动节点选择器定向 trigger_node_id,并发列双通道显示(默认/覆盖值)。

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-07-25 21:58:07 +08:00
augushong
90e584f5a1 feat(timer): 新增定时器配置、日志和主机的后台管理界面
T10: TimerConfig CURD - task management with run_type/status editing,
     manual trigger button, task_name read-only, no add/delete
T11: TimerLog CURD - read-only log viewer with filters and color badges
T12: Host list enhanced - is_master column, setMaster button
2026-05-26 18:33:43 +08:00
augushong
6eefa1cd2e refactor(admin): 重构系统状态模块以支持模块化结构 2026-01-23 00:02:51 +08:00
augushong
3a4194d3e9 feat: 新增系统状态页面功能 2026-01-22 23:28:13 +08:00
augushong
5653f0d485 删除代码无用代码 2023-12-08 14:17:18 +08:00
augushong
9f2d0898ec 发布新版本;增加自动替换脚本 2023-12-08 14:09:13 +08:00
augushong
5955a03d2c 实现view的扩展架构;调整think-view依赖;发布新版本 2023-09-25 10:35:03 +08:00
augushong
e176ed19e5 增加js的事件处理;增加忘记密码的js替换事件;发布新版本; 2023-09-23 11:47:18 +08:00
augushong
139ff5bda7 修改事件处理函数的逻辑;修改忘记密码提示;忘记密码增加view_replace事件;发布新版本 2023-09-23 10:36:02 +08:00
augushong
fcaa78f6e9 开始通过git升级版本 2023-09-19 16:29:19 +08:00
augushong
37bbd99861 重新实现filesystem模块,升级到最新版本; 2023-09-19 15:21:40 +08:00
augushong
c7426e4094 修改说明;修改基础代码; 2023-09-18 17:22:30 +08:00
augushong
ca729da0a9 将js代码架构改为app下渲染; 2023-09-18 16:32:46 +08:00
augushong
4d9434454e 调整统一provider目录;增加content事件的快速登录案例; 2023-09-15 14:33:34 +08:00
augushong
3e2e401308 升级layui版本 2023-09-04 09:53:15 +08:00
augushong
1ff847f82e 升级至layui2.8.4;优化文件选择组件;清理tableselect 2023-06-07 16:39:14 +08:00
augushong
8291683290 优化文件上传绑定名称时,删除自动删除对应名称 2023-04-28 10:47:35 +08:00
augushong
78135f1fe1 优化特效皮肤兼容性;升级layuidao 2.8.1; 2023-04-27 20:38:40 +08:00
augushong
9e45e0458a 修复图片分类选择错误 2023-04-24 17:31:49 +08:00
augushong
1aadf727ae layui升级并兼容2.8.0 2023-04-24 17:15:55 +08:00
augushong
d03641cd5b 内置表单双列样式 2023-04-12 15:42:48 +08:00
augushong
c494506c1b 增加media的扩展名分组 2023-04-11 16:40:20 +08:00
augushong
bd833f70e5 新增data-upload-filename-field上传特性;生成的file默认开启预览 2023-04-11 16:30:46 +08:00
augushong
0e6c3a5f4a 修复资源版本判断 2023-02-15 14:09:42 +08:00
augushong
ceac37d8e4 修复css没有使用缓存 2023-02-08 16:36:57 +08:00
augushong
9695608147 修复属性输入组件bug 2023-01-29 20:45:52 +08:00
augushong
55b7f51c11 优化代码 2023-01-28 10:44:03 +08:00
augushong
30b9065267 新增属性组件 2023-01-28 10:39:10 +08:00
augushong
cddd0d08c9 升级TP6.1;升级第三方上传; 2022-12-14 10:40:54 +08:00
augushong
e90737e787 增加菜单权限权限标志设置项 2022-12-08 21:35:11 +08:00
augushong
d1c9004ffa 增加默认密码;修改curd返回异常信息;去除admin表username唯一值; 2022-10-29 11:29:25 +08:00
augushong
fa635ba3ac 优化上传扩展名的配置;增加上传文件代码注入检测; 2022-10-29 11:12:22 +08:00
augushong
de688caa74 添加svg上传扩展名;增加上传扩展名自动匹配分组用法; 2022-10-29 10:29:44 +08:00
augushong
39c9c4b531 增加后台全局状态;增加默认头像 2022-10-18 09:46:00 +08:00
augushong
8dae0d45d5 管理员添加设置头像默认值 2022-10-11 20:18:00 +08:00
augushong
1796c49740 增加ua_htmlspecialchars_decode函数兼容PHP8.1 2022-10-11 19:32:40 +08:00
augushong
508ec535a2 新增表格valueParser属性;新增复制事件组件;新增表格复制组件 2022-10-08 17:55:43 +08:00
augushong
a1df6a4b53 修改描述 2022-09-08 09:33:07 +08:00
augushong
197beeb479 在后台增加首页链接;增加首页皮肤展示 2022-09-03 10:25:42 +08:00
augushong
fde7ac0792 增加js代码设置 2022-08-30 17:33:30 +08:00