towerops/lib/towerops_web/live
Graham McIntire 5f8041dcc3
fix API token creation and add raw ICMP ping to Rust agent
API token creation fix:
- Handle both nested (%{"token" => %{...}}) and flat params
- Support URL-encoded form data from LiveView
- Add validation for required name and organization_id fields

Rust agent raw ICMP ping implementation:
- New ping module with async ICMP echo request/reply
- Build ICMP packets manually with proper checksum calculation
- Use socket2 for raw socket creation (requires CAP_NET_RAW)
- Parse both raw ICMP and IP-wrapped responses
- Include unit tests for checksum and packet building
- Dependencies: socket2 v0.5, rand v0.8
- Compiles successfully with release profile optimizations
2026-01-18 10:58:46 -06:00
..
admin fix user deletion bug and implement timezone support 2026-01-18 10:51:11 -06:00
agent_live Add agent rename functionality 2026-01-17 15:48:47 -06:00
alert_live Make Active Alerts the first and default tab in alerts page 2026-01-17 17:16:35 -06:00
device_live feat: redirect to device page after triggering rediscovery 2026-01-17 18:20:24 -06:00
graph_live Change 'Ping Latency' to 'ICMP Latency' throughout codebase 2026-01-17 17:13:02 -06:00
org more renames 2026-01-17 15:13:56 -06:00
org_live rename equipment to device 2026-01-17 14:48:46 -06:00
site_live Add latency graph to site detail page 2026-01-17 16:58:59 -06:00
dashboard_live.ex rename equipment to device 2026-01-17 14:48:46 -06:00
dashboard_live.html.heex rename equipment to device 2026-01-17 14:48:46 -06:00
mobile_qr_live.ex Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
user_settings_live.ex fix API token creation and add raw ICMP ping to Rust agent 2026-01-18 10:58:46 -06:00