|
|
fb56426a8e
|
🐛 修复截图并发数初始化遗漏字段
- 初始化system_config时添加max_screenshot_concurrent字段
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-10 20:59:03 +08:00 |
|
|
|
32a29e61e9
|
✨ 优化浏览器池和并发配置
1. 浏览器池改为按需启动模式
- 启动时不创建浏览器,有截图任务时才启动
- 空闲5分钟后自动关闭浏览器释放资源
2. 修复截图并发数保存问题
- 修复database.py中缺少保存max_screenshot_concurrent的代码
3. 去掉并发数上限限制
- 管理员可自由设置并发数,不再限制1-20/1-5
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-10 20:31:49 +08:00 |
|
|
|
7954aeaf59
|
✨ 添加定时任务日志管理功能
- 添加用户清空日志按钮
- 添加30天自动清理定时任务执行日志
- 简化日志API代码,移除调试日志
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-10 20:20:44 +08:00 |
|
root
|
bd91d456f6
|
强化定时任务日志查询的错误处理
添加多层错误保护:
1. 在整个查询函数外层添加try-except
2. 在每行数据处理时也添加try-except
3. 出错时返回空数组而不是抛出异常
4. 打印详细的错误信息和堆栈跟踪
这样即使数据有问题,也不会导致500错误,
而是会正常返回空列表并在日志中显示具体错误。
位置: database.py 第1661-1695行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-10 16:47:00 +08:00 |
|
root
|
b284fb9d1b
|
修复定时任务日志500错误
问题原因:
- SQL查询中使用AS别名在SQLite Row对象转换时可能失败
修复方案:
- 改为查询所有字段后在Python中进行字段映射
- 添加字段映射:execute_time → created_at
- 添加字段映射:success_accounts → success_count
- 添加字段映射:failed_accounts → failed_count
- 添加字段映射:duration_seconds → duration
位置: database.py 第1661-1683行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-10 16:24:10 +08:00 |
|
root
|
726e0d01bf
|
修复定时任务日志和增强功能
1. 修复定时任务日志字段映射问题
- 修正execute_time → created_at
- 修正success_accounts → success_count
- 修正failed_accounts → failed_count
- 修正duration_seconds → duration
- 位置: database.py 第1661-1686行
2. 添加定时任务调试日志
- 显示当前检查时间和任务匹配情况
- 帮助诊断定时任务不执行问题
- 位置: app.py 第2869-2875行
3. 新增VIP权限对比表格
- 在VIP信息弹窗中添加权限对比
- 对比普通用户和VIP用户的6项权限
- 位置: templates/index.html 第549-593行
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-12-10 16:16:45 +08:00 |
|
Yu Yon
|
8fd6923453
|
修复所有bug并添加新功能
- 修复添加账号按钮无反应问题
- 添加账号备注字段(可选)
- 添加账号设置按钮(修改密码/备注)
- 修复用户反馈���能
- 添加定时任务执行日志
- 修复容器重启后账号加载问题
- 修复所有JavaScript语法错误
- 优化账号加载机制(4层保障)
🤖 Generated with Claude Code
|
2025-12-10 11:19:16 +08:00 |
|
Yu Yon
|
1723e35fbc
|
Initial commit: 知识管理平台
主要功能:
- 多用户管理系统
- 浏览器自动化(Playwright)
- 任务编排和执行
- Docker容器化部署
- 数据持久化和日志管理
技术栈:
- Flask 3.0.0
- Playwright 1.40.0
- SQLite with connection pooling
- Docker + Docker Compose
部署说明详见README.md
|
2025-11-16 19:03:07 +08:00 |
|