Compare commits

..

3 Commits

Author SHA1 Message Date
Glenn Thompson 835f91d17c Add Credits section with icon attribution
Attribution for sync.png icon from Flaticon (meaicon)
2025-12-11 12:09:29 +03:00
Glenn Thompson 1b22bcd685 Replace reconnect button emoji with sync icon
- Add static/icons/sync.png (24x24px)
- Use CSS filter to make icon green to match player theme
2025-12-11 11:59:48 +03:00
Glenn Thompson dfc81c6e5e Refactor geo stats to use real IPs from web requests
Instead of relying on Icecast's listener IPs (which show proxy IPs
behind HAProxy), capture real client IPs from X-Forwarded-For header
when users visit the front page or audio player frame.

Radiance automatically extracts X-Forwarded-For into (remote *request*).

Changes:
- Add *web-listeners* hash table to track visitors with real IPs
- Add register-web-listener to capture IPs during page requests
- Add collect-geo-stats-from-web-listeners for polling
- Call register-web-listener from front-page and audio-player-frame
- Filter out private/internal IPs (172.x, 192.168.x, 10.x, 127.x)
- Remove session requirement - use IP hash as key for anonymous visitors
2025-12-10 23:24:15 +03:00

Diff Content Not Available