towerops/lib/towerops_web
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
..
channels Convert Task.* calls to Exq background workers 2026-01-17 16:46:36 -06:00
components fix all credo issues and add flash auto-dismiss 2026-01-18 10:43:23 -06:00
controllers refactor: use API token auth for profile imports instead of session cookies 2026-01-18 09:30:21 -06:00
helpers fix user deletion bug and implement timezone support 2026-01-18 10:51:11 -06:00
live fix API token creation and add raw ICMP ping to Rust agent 2026-01-18 10:58:46 -06:00
plugs feat: update UI to Tailwind Plus design system and fix auth redirects 2026-01-18 09:56:49 -06:00
endpoint.ex agent improvements and agent config 2026-01-16 17:26:51 -06:00
gettext.ex init 2025-12-21 11:10:43 -06:00
router.ex feat: update UI to Tailwind Plus design system and fix auth redirects 2026-01-18 09:56:49 -06:00
telemetry.ex fix: prevent telemetry errors when Exq is not running 2026-01-18 10:00:14 -06:00
user_auth.ex increase sudo mode timeout to 12 hours 2026-01-18 10:25:17 -06:00