Commit Graph

13 Commits

Author SHA1 Message Date
e3e210a9dc feat: hierarchical tree topology diagram
Replace grid layout with tree diagram:
Modem → Firewall → Switch → 3 Proxmox servers → VMs/CTs

- Services.yaml restructured with parent/type fields
  from real Proxmox API data (TYAN CAS, Cisco1, DellT430-2)
- NetworkGraph renders vertical hierarchy with branch lines
- ProxmoxColumn shows server card + VM pills grid
- Compact VmPill for VMs/CTs (status dot + name + last octet)
- InfraCard for physical infrastructure nodes
- Other devices section at bottom (AP, printer, iDRACs, PCs)
- Added type/parent fields to NetworkNode TypeScript interface

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:44:50 +00:00
4363527c58 filter: exclude CAS 3D projects from dashboard
Add exclude_company_ids config in settings.yaml to filter out
projects by Odoo company_id. Currently excludes company_id=2
(CAS 3D), keeping only Consultoria AS and unassigned projects.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 11:18:19 +00:00
5e3d8d45de fix: update Odoo client for v19 compatibility
- Use persistent httpx client to maintain session cookies
- Update endpoint path to /web/dataset/call_kw/{model}/{method}
- Handle auth response as dict (uid extraction)
- Remove kanban_state field (doesn't exist in Odoo 19)
- Add close() method for graceful shutdown

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 10:10:36 +00:00
9b5d9a7b3c config: add all 53 network devices from nmap scan
Add complete network topology with all discovered hosts organized
by category: infrastructure, services, multimedia, projects, PCs.
Also add firewall, printer, phone, camera icons to NodeCard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 10:02:20 +00:00
db4ad36030 config: update YAMLs with real Odoo and network data
Configure Odoo connection to CAS database at 192.168.10.188:8069,
add Firewall OPNsense, Router Telmex, and Servidor Odoo to topology,
set network scan to 192.168.10.0/24 subnet.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:55:03 +00:00
a7967ecb4a feat: add complete frontend with React, Tailwind 4K, and Docker setup
- Vite + React 18 + TypeScript scaffolding
- Tailwind CSS configured for 4K dark theme (24px base)
- Three full-screen rotating views: Network Topology (D3.js),
  Kanban Board (Odoo tasks), Calendar (Odoo events)
- Hooks for data fetching, WebSocket, and view rotation
- Header with live clock and connection status
- Framer Motion fade transitions between views
- Docker Compose with backend (host network for nmap) and
  frontend (nginx proxy to backend API/WS)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:34:01 +00:00
e6f6dbbab6 feat: wire WebSocket router and add background refresh loop
Register ws router in main.py and add periodic ping/odoo refresh
that broadcasts updates to connected WebSocket clients.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:06:34 +00:00
0fbfe7e89d feat: add API routers for network, tasks, calendar, and services
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:05:38 +00:00
2bd7cd9102 feat: add WebSocket router for real-time broadcast updates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:05:18 +00:00
1f13170ba1 feat: add network scanner module with nmap discovery, config merge, and ping
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:04:21 +00:00
2421da1d63 feat: add Odoo JSON-RPC client with projects, tasks, and calendar methods
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:04:21 +00:00
2158dddb09 feat: add config manager module with YAML loading for settings and services
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 08:57:32 +00:00
f1c20c0461 feat: scaffold backend with FastAPI, config files, and health endpoint
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 08:04:13 +00:00