15 Commits

Author SHA1 Message Date
user
50b4cb545b docs: add intelligence endpoints to OpenAPI spec
Add vendor-treemap, ssid-graph, and fingerprint-clusters paths
with response schemas. Bump spec version to 0.1.4.
2026-02-06 19:04:28 +01:00
user
dfbd2a2196 feat: v0.1.4 — device intelligence dashboard
Add tabbed dashboard at /dashboard/ with three D3.js visualizations:
- Vendor treemap (devices grouped by type and vendor)
- SSID social graph (force-directed, shared probed SSIDs as edges)
- Fingerprint clusters (packed circles by device behavior)

Intelligence API endpoints at /api/v1/intelligence/ with param
validation. Dashboard built on htmx + Pico CSS dark theme + D3 v7,
all vendored locally (make vendor). 13 new tests (59 total).
2026-02-06 18:59:53 +01:00
user
c1f580ba16 feat: pagination totals, request logging, data retention
Add shared paginate() helper with total count to all list endpoints.
Add request logging middleware (method, path, status, duration, IP).
Add data retention service with configurable thresholds and CLI command.
2026-02-06 09:58:20 +01:00
user
2456194332 docs: Clean up stale docs, add CHANGELOG
- Remove completed items from TODO.md (OSINT, fleet, collector done)
- Move TASKS.md sprint to v0.1.4, archive v0.1.3 as complete
- Create CHANGELOG.md covering v0.1.0 through v0.1.3
2026-02-05 23:54:52 +01:00
user
5672c0c22e feat: OpenAPI 3.0 spec with Swagger UI
- GET /openapi.yaml: raw OpenAPI spec
- GET /openapi.json: JSON-formatted spec
- GET /docs: Swagger UI for interactive API docs
- 19 endpoints documented with schemas
- Added pyyaml dependency
2026-02-05 21:30:09 +01:00
user
b36b1579c7 feat: heartbeat detection and sensor metrics
- Heartbeat service: check_sensor_status (online/stale/offline)
- GET /sensors/heartbeat: status summary for all sensors
- POST /sensors/heartbeat: refresh heartbeat status
- GET /sensors/<hostname>/metrics: activity counts, recent events
- CLI command: flask check-heartbeats
- Added 7 new tests (34 total)
2026-02-05 21:23:55 +01:00
user
4b72b3293e feat: v0.1.3 — fleet management endpoints
- GET /sensors/<hostname>/config: query sensor STATUS, parse response
- PUT /sensors/<hostname>/config: update rate, power, adaptive, etc.
- POST /sensors/<hostname>/ota: trigger OTA update with URL
- POST /sensors/<hostname>/calibrate: trigger baseline calibration

Added 14 new tests for fleet management endpoints.
2026-02-05 21:21:35 +01:00
user
58c974b535 docs: Mark v0.1.2 complete, start v0.1.3 2026-02-05 21:14:48 +01:00
user
3ad39cfaeb feat: Add OSINT features (v0.1.2)
- MAC vendor lookup (IEEE OUI database)
- BLE company_id to manufacturer mapping
- Device profile enrichment in API responses
- Export endpoints: devices.csv, devices.json, alerts.csv, probes.csv
- Auto-populate vendor on device creation
- CLI command: flask download-oui
- Makefile target: make oui

13 tests passing
2026-02-05 21:14:27 +01:00
user
924d28aab0 docs: Use podman instead of systemd service 2026-02-05 21:11:24 +01:00
user
9e3583d5f8 docs: Update version scheme to 0.1.x 2026-02-05 21:09:23 +01:00
user
162048720c feat: Add make help target 2026-02-05 21:07:44 +01:00
user
e6e7b622b2 docs: Add project documentation
- README.md: Quick start, API endpoints, ports
- PROJECT.md: Architecture, components, data models
- ROADMAP.md: Version milestones (v0.1.x - v1.0.0)
- TASKS.md: Current sprint tasks
- TODO.md: Backlog items
- docs/INSTALL.md: Setup and deployment
- docs/USAGE.md: API examples
- docs/CHEATSHEET.md: Quick reference
2026-02-05 21:06:05 +01:00
user
a8f616970a feat: Add server management and database migrations
- Add start/stop/restart/status commands to Makefile
- Add health endpoint with uptime tracking
- Add CLI module (esp32-web command)
- Add initial database migration
- Listen on all interfaces (0.0.0.0:5500)

Bump version to 0.1.1
2026-02-05 21:03:59 +01:00
user
a676136f5d feat: Initial project scaffold
Flask API backend for ESP32 sensor fleet:
- App factory pattern with blueprints
- SQLAlchemy 2.x models (Sensor, Device, Sighting, Alert, Event, Probe)
- UDP collector for sensor data streams
- REST API endpoints for sensors, devices, alerts, events, probes, stats
- pytest setup with fixtures
- Containerfile for podman deployment
- Makefile for common tasks
2026-02-05 20:56:52 +01:00