towerops/assets
Graham McIntire f530c1b9a6
fix AutoDismissFlash hook order and implement raw ICMP ping
AutoDismissFlash hook fix:
- Move hook definitions before LiveSocket initialization
- Ensures hooks are defined when referenced in LiveSocket constructor
- Remove duplicate Hooks object

Raw ICMP ping implementation:
- Replace system ping command with pure Elixir implementation
- Use raw ICMP sockets for echo request/reply
- Build ICMP packets manually with proper checksum calculation
- Parse IP addresses using :inet.parse_address/1
- Handle both raw ICMP and IP-wrapped responses
- Requires CAP_NET_RAW capability in production containers
- Suitable for containerized environments without ping command
2026-01-18 10:56:04 -06:00
..
css init 2025-12-21 11:10:43 -06:00
js fix AutoDismissFlash hook order and implement raw ICMP ping 2026-01-18 10:56:04 -06:00
vendor Add sensor charts and improve equipment detail page 2026-01-05 11:01:21 -06:00
tsconfig.json Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00