TianXuan Developer
|
829729943c
|
feat: 社区交互增强 + 卫星地图 + 节点/边数据丰富 + 项目清理
核心改进:
- 节点数据丰富: TLS版本/加密套件/SNI/端口/流量统计/连接成功率
- 边数据丰富: 包数/持续时间/TLS/端口/SNI/分类标签
- 新增 edge_time_series 端点: 边流量时序图(北京时间)
- 新增 cluster_nodes_edges 端点: 社区聚焦(zoom+高亮+专属边)
- 社区点击: 自动缩放/高亮节点/显示社区边(可点击)
- 边交互修复: 事件从layerGroup移至hitPoly,三处边渲染全修复
- 地图升级: ESRI卫星影像 + 255国矢量边界叠加
- 离线回退: 卫星→CartoDB→暗色矢量地图,完整可用
- 节点面板: 删除无意义社区标签,移至Host+组织同行
- sanitizeName: 清理5个非ASCII国家名避免乱码
- .gitignore: 补充geoip_chunks/和嵌套CSV规则
项目清理:
- 删除 logs/ (20个调试文件,~2.5MB)
- 删除 test_*.py (4个临时测试脚本)
- 删除 _check_bool/_pipeline_test/_restart_server/start_server (硬编码路径)
- 删除 node_modules/package.json/package-lock.json (18MB,不用Node)
- 删除 tests/ 旧日志和调试脚本
- 删除 .pytest_cache/ .server_pid.txt RUNTIME_CHANGED.txt
- AGENTS.md → CLAUDE.md
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-24 13:06:14 +08:00 |
|
TianXuan Developer
|
f0a4fed7cf
|
feat: 离线矢量世界地图 — TopoJSON 三精度 + 在线瓦片兜底
Natural Earth 三精度级别离线矢量地图:
- 10m (精细): 90KB — 完整海岸线+岛屿,2%简化
- 50m (标准): 533KB — 主要海岸线+国界
- 110m (基础): 54KB — 大陆轮廓
自动优先级: 10m → 50m → 110m → CartoDB在线瓦片
使用 topojson-client 库将 TopoJSON 转为 Leaflet GeoJSON 图层
矢量渲染,任意缩放级别清晰,经纬度天然对齐
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-23 23:13:05 +08:00 |
|
TianXuan Developer
|
d4ec81a1dd
|
feat: 修复世界地图 + 丰富节点/边数据 + 完善交互与导出
地图:
- 改用 CartoDB Positron 瓦片图层 (L.tileLayer),替代无效的 L.imageOverlay
- 复制 vendor 文件到项目级 static 目录
后端 (views.py):
- 新增 host 列别名 (host/hostname/host_name/remote_host/peer_name)
- _cluster_network 为每个 IP 收集 host、org、text、peer_ips 元数据
- 节点新增 host/org/texts/peer_ips/peer_count 字段
- 边新增 src/dst host/org/city/country/cluster + peak_hours/time_count 始终存在
- node_detail 返回 node_texts 和 enriched edges (peer_host/org/city)
前端 (simple_analysis.html):
- 实现 loadClusterDetail/showClusterDetailPanel 缺失函数
- renderCharts 在 goStep(4) 中调用
- 节点详情面板增强: host、org、text、对端 IP 列表
- 边详情面板增强: 端点 host/org/city/country、高峰时段
- 导出 CSV 增强: 节点新增 host/org/asn/peer_count/connected_ips,边新增全部端点字段
- Tooltip 新增 host 和 org 显示
测试: 更新 Playwright 测试适配两阶段上传 + 新 UI,全部 30 项通过
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-23 23:04:27 +08:00 |
|
TianXuan Developer
|
66e3649152
|
feat: static SVG world map + large clickable points + edge detail
- Generate high-quality SVG world map (static, no tiles)
- Points: radius 7, white border, high-contrast subnet colors
- Node click: show detail panel + highlight edges on map
- Highlighted edges: clickable, show edge detail panel
- Edge detail: Beijing time, avg bytes, src/dst IP clickable
- Map init: requestAnimationFrame ensures container has dimensions
- Cleanup: remove polygon-based continent drawing code
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-07-23 21:58:02 +08:00 |
|
PM-pinou
|
814f29645a
|
chore: initial commit of 天璇 project state before cleanup
|
2026-07-16 22:41:26 +08:00 |
|