towerops/assets/js
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
..
types Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
app.ts fix AutoDismissFlash hook order and implement raw ICMP ping 2026-01-18 10:56:04 -06:00
passkey_discoverable.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
passkey_login.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
passkey_settings.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
webauthn.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00
webauthn_utils.ts Convert JavaScript to TypeScript with proper type definitions 2026-01-15 13:29:49 -06:00