Logan.Li
|
58bbc394e9
|
feat: enhance redis and production IA
|
2026-07-07 10:39:33 +08:00 |
|
logan
|
26148d0ca7
|
fix: run.sh 改为启动 Go 后端 + dashboard stats 格式对齐前端
- run.sh start_backend 改为编译+运行 Go 二进制
- DashboardStats handler 返回前端期望的字段格式
- build/test 命令适配 Go 工具链
- 前端验证: 登录/仪表盘/工单列表/查询页面正常
|
2026-05-25 21:59:56 +08:00 |
|
logan
|
305bbb153c
|
test: P2测试覆盖 — user/pool/schema_drift端点 43个新测试 (895→1017全通过)
新增测试文件:
- test_user_endpoint.py (18 tests): 用户CRUD/列表过滤/权限控制/自删保护
- test_pool_endpoint.py (12 tests): 连接池状态/重置/概览/mock外部依赖
- test_schema_drift_endpoint.py (13 tests): Schema快照捕获/漂移检测/历史查询
覆盖率提升:
- user端点: 0→18 tests (CRUD+权限+重复用户名+自删保护)
- pool端点: 0→12 tests (stats/reset/overview+角色访问控制)
- schema_drift端点: 0→13 tests (capture/check/history+dict序列化兼容)
修复: run.sh启动脚本同步
|
2026-05-23 23:05:03 +08:00 |
|
logan
|
4c9427e546
|
sync: 同步 sql-platform-pro 最新代码 — 权限体系安全修复 v0.8.1
- P0: 实例访问控制全线接入权限组 (829测试)
- P1: permissions字段激活 + 操作级权限检查 (843测试)
- 前端: 删除数据权限页面, 权限组合并为唯一入口
- 新增: CodeMirror编辑器 + 查询模板 + 慢查询分析
- 新增: MongoDB管理页面 + Dashboard增强
- 修复: Pydantic V2迁移 + 前端TS错误修复
|
2026-05-23 14:41:06 +08:00 |
|
logan
|
d5d19d6be4
|
feat: 项目重命名 SQL-Platform + 数据源表单重写(连接模式/流程/排除DB/脱敏)
- 项目名称 Web-Lite Pro → SQL-Platform 全局替换(13处)
- Instance 模型新增: access_mode, workflow, excluded_databases, mask_fields
- 创建数据源表单: 分区卡片(数据源信息/连接模式/流程/高级配置)
- 后端 JSON 字段序列化/反序列化
- 新增 5 个 Instance 字段测试 (133 total)
|
2026-05-22 22:08:05 +08:00 |
|
logan
|
2cfd45c9d1
|
feat: run.sh restart/stop/status + real DB connector + GitLab CI
1. run.sh: start/stop/restart/status/logs/build/test
- PID file management in .pids/
- Colored output, health check wait, log files
- Auto alembic migrate on start
2. DB Connector (replaces mock aiomysql):
- MySQL: aiomysql (connect/query/dml/test)
- PostgreSQL: asyncpg (connect/query/dml/test)
- SQLite: sqlite3 via executor (connect/query/dml/test)
- Unified interface: DBConnector.test_connection/execute_query/execute_dml
- Connection test returns version + latency
3. GitLab CI/CD pipeline:
- test: backend pytest + frontend build
- build: Docker images (manual trigger)
- deploy: SSH deploy (manual trigger)
- Cache: pip + node_modules
Tests: 128 passing, frontend build: OK
|
2026-05-22 15:16:59 +08:00 |
|
 loganandClaude Opus 4.7
|
439155c92e
|
Initial commit: SQL audit platform v0.1.0
FastAPI backend with auth, user, instance, ticket, query, dashboard APIs.
React + TypeScript frontend with mock data UI (10 pages).
SQLite + async SQLAlchemy, JWT auth, role-based access control.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-22 11:11:57 +08:00 |
|