towerops/lib/towerops
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
..
accounts add user profile settings with name, avatar, and timezone 2026-01-18 10:32:23 -06:00
admin Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
agents Add agent rename functionality 2026-01-17 15:48:47 -06:00
alerts moduledocs 2026-01-17 15:08:49 -06:00
api_tokens refactor: use API token auth for profile imports instead of session cookies 2026-01-18 09:30:21 -06:00
device_profiles fix all credo issues and add flash auto-dismiss 2026-01-18 10:43:23 -06:00
devices feat: allow device name to be populated from SNMP sysName 2026-01-17 16:28:43 -06:00
mobile_sessions Fix datetime truncation for mobile session schemas 2026-01-15 16:17:05 -06:00
monitoring fix API token creation and add raw ICMP ping to Rust agent 2026-01-18 10:58:46 -06:00
organizations moduledocs 2026-01-17 15:08:49 -06:00
proto rename equipment to device 2026-01-17 14:48:46 -06:00
sites moduledocs 2026-01-17 15:08:49 -06:00
snmp fix all credo issues and add flash auto-dismiss 2026-01-18 10:43:23 -06:00
workers fix all credo issues and add flash auto-dismiss 2026-01-18 10:43:23 -06:00
accounts.ex add user profile settings with name, avatar, and timezone 2026-01-18 10:32:23 -06:00
admin.ex rename equipment to device 2026-01-17 14:48:46 -06:00
agents.ex Add agent rename functionality 2026-01-17 15:48:47 -06:00
alerts.ex rename equipment to device 2026-01-17 14:48:46 -06:00
api_tokens.ex feat: update UI to Tailwind Plus design system and fix auth redirects 2026-01-18 09:56:49 -06:00
application.ex fix: use SNMP poll status for device health checks and improve Exq startup 2026-01-18 10:05:12 -06:00
device_profiles.ex refactor: remove all references to external project names 2026-01-17 18:31:41 -06:00
devices.ex credo cleanup 2026-01-17 15:00:52 -06:00
log_filter.ex Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
mailer.ex moduledocs 2026-01-17 15:08:49 -06:00
mobile_sessions.ex credo cleanup 2026-01-17 15:00:52 -06:00
monitoring.ex feat: add latency graph for ICMP ping monitoring 2026-01-17 16:02:35 -06:00
organizations.ex rename equipment to device 2026-01-17 14:48:46 -06:00
release.ex fix dialyzer things 2026-01-03 12:56:40 -06:00
repo.ex moduledocs 2026-01-17 15:08:49 -06:00
sites.ex rename equipment to device 2026-01-17 14:48:46 -06:00
snmp.ex more renames 2026-01-17 15:13:56 -06:00