Commit Graph

4 Commits

Author SHA1 Message Date
chiguyong 47719b25ce feat: deployment security hardening
- Redis: add password authentication (requirepass), update healthcheck
- PostgreSQL: replace hardcoded password with env variable
- Docker Compose: remove obsolete version field, use env vars for credentials
- Add .env.production.example template with strong password placeholders
- Update all .env files with new credentials and ports
2026-06-01 21:34:13 +08:00
chiguyong d5f752f419 fix: add DateTime(timezone=True) to analytics.py (4 columns), update migration and port config
- analytics.py: 4 DateTime columns now timezone-aware (99 total, 0 remaining)
- Migration script updated with publish_records, content_metrics, optimization_insights
- Docker Compose: db port 5433, redis port 6380 (avoid conflicts with fischerx)
- .env files: DATABASE_URL and REDIS_URL updated to new ports
- alembic.ini: updated to localhost:5433
2026-06-01 21:26:39 +08:00
chiguyong 65e2f3c380 feat: P0-P2功能实现 + GEO workflow分析与规划
P0 紧急修复:
- 实现诊断分析页面(SEO+GEO 5+6维度)
- 修复E2E测试: dashboard标题统一为'品牌健康中心'
- 修复建议模块API路径不一致
- 修复告警模块HTTP方法不匹配(POST→PATCH)

P1 功能实现:
- 实现监测优化页面(告警列表+配置)
- 实现组织管理页面(成员/角色/邀请)
- 实现SEO诊断5维度后端服务(63测试)
- 实现GEO诊断6维度后端服务(40测试)
- 实现诊断API端点(TDD, 6测试)
- 前端诊断页面连接真实API

P2 功能实现:
- 实现告警设置API端点(TDD, 11测试)
- 实现套餐额度预警服务(TDD, 37测试)
- 实现邮件通知服务(TDD, 30测试)

GEO Workflow分析:
- 10步闭环流程设计(替代原7步)
- 7个缺失节点技术方案
- 4阶段12周开发计划
- 完整技术架构设计
2026-05-25 09:45:18 +08:00
chiguyong 67d7578550 feat: P1核心功能验证完成 - 迁移/平台对接/调度器/配置/Agent监控
P1-1 数据库迁移同步:
- 修复迁移冲突(重复版本号)
- 添加缺失模型导入
- 创建同步迁移文件
- alembic check通过

P1-2 多平台API对接验证:
- 创建22个测试用例
- 5种引用提取方式验证
- 平台健康检查API (/api/v1/platforms/health)

P1-3 定时调度器验证:
- 10个测试用例全部通过
- 添加手动触发支持(run_job_now)
- 2个注册任务(check_queries/check_pending_tasks)

P1-4 配置API Keys:
- .env.example完整配置
- LLM提供商工厂函数验证
- 限流器配置测试

P2-1 Agent监控Dashboard:
- 前端页面(统计摘要/筛选/详情)
- API客户端方法
- 执行历史和日志展示
2026-05-23 22:02:49 +08:00