Commit Graph

21 Commits

Author SHA1 Message Date
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
0d19881a22 feat(nginx-log): 新增 6 张表 phinx migration + Scheme + model 2026-07-28 00:03:49 +08:00
augushong
236a343fa9 feat(timer): 新增并发数/触发节点/触发时间三字段及幂等分发
Scheme 定义 concurrency(nullable)/trigger_node_id/last_trigger_time 三字段,Model 声明属性,v2.3.0 分发代码幂等 ALTER 保证升级自动同步。

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

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-07-25 21:57:14 +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
25fab093fa feat(timer): 新增 run_type 调度、host_id 投递和日志清理
T7: TimerBase shouldExecuteTask() - main/auto/all/manual/disabled modes
    with two-phase DB row lock for auto mode
T8: TimerControllerBase - host_id param, logStart/logEnd methods
    TimerServiceBase - inject host_id into site URLs
T9: TimerLogClean command - php think admin:timer:log:clean --days=30
2026-05-26 18:33:42 +08:00
augushong
abeac2c3cb feat(timer): 新增配置同步到数据库及主节点选举
T5: TimerServiceBase.syncConfigToDatabase() - syncs task config to DB
T6: HostServiceBase - auto master election, stale node detection,
    getMasterNode/setMasterNode methods
2026-05-26 18:33:41 +08:00
augushong
8cc08bcb8c feat: 发布智能体版 2026-03-26 20:22:34 +08:00
augushong
b1a6b37ee0 feat: 增加主机节点表结构代码 2025-08-23 22:44:47 +08:00
augushong
d3e85fa552 feat: 升级权限管理模式 2025-03-20 16:57:05 +08:00
augushong
44edefb37b 重新修改主业务逻辑的命名规则 2023-09-23 17:48:36 +08:00
augushong
bee15dfea6 调整admin下的类库代码,将主要逻辑调整到extend下 2023-09-23 17:30:45 +08:00
augushong
45509df381 增加生成模型字段注解 2023-03-29 15:30:37 +08:00
augushong
31f2be73d4 增加商品详情的案例查询;删除部分技术债务 2022-08-16 16:32:40 +08:00
augushong
5081cd8790 去除代码内的作者声明; 2022-07-11 15:08:53 +08:00
augushong
a538ac1dce 删除测试代码; 2022-07-11 12:12:22 +08:00
augushong
423acb0329 完善table组件细节;开始接入城市选择器; 2022-07-09 18:27:59 +08:00
augushong
948461337b 新增tableData组件;完成商品标签示例; 2022-07-05 18:36:28 +08:00
augushong
cc29874a16 完成自动缓存功能集成; 2022-04-20 15:00:23 +08:00
augushong
7852f602bb 完成新的安装流程,开始优化日志管理; 2022-04-19 22:16:58 +08:00
augushong
e29f8ff4ea 完成初始化数据; 2022-04-19 21:23:53 +08:00
augushong
f7d3bc3827 引入easyadmin' 2021-11-12 11:21:14 +08:00