simpleadmin-web/internal/web
Astra 861692c534 Staff avatars from Steam, cached in memory
The public staff page, the staff panel's staff list and the signed-in badge show each member's
Steam avatar over their initial. The panel fetches it from the profile XML (no Web API key),
keeps it in memory for a day (failures for an hour, one shared fetch per player) and serves it
from /avatar/<steamid> with a day's browser caching, so the CSP stays img-src 'self' and
visitors never contact Steam. Only SimpleAdmin admins are served; anything else falls back to the
initial.
2026-09-28 11:36:05 +01:00
..
assets Staff avatars from Steam, cached in memory 2026-09-28 11:36:05 +01:00
actions.go Names on offline penalties, mobile menu close, player drawer tidy, IP-ban bypass flag 2026-09-28 11:23:14 +01:00
admin.go Names on offline penalties, mobile menu close, player drawer tidy, IP-ban bypass flag 2026-09-28 11:23:14 +01:00
auth.go simpleadmin-web 0.1.0: web panel for CS2-SimpleAdmin 2026-09-25 20:08:14 +01:00
avatar.go Staff avatars from Steam, cached in memory 2026-09-28 11:36:05 +01:00
public.go simpleadmin-web 0.1.0: web panel for CS2-SimpleAdmin 2026-09-25 20:08:14 +01:00
server.go Staff avatars from Steam, cached in memory 2026-09-28 11:36:05 +01:00
site.go simpleadmin-web 0.1.0: web panel for CS2-SimpleAdmin 2026-09-25 20:08:14 +01:00
staff.go simpleadmin-web 0.1.0: web panel for CS2-SimpleAdmin 2026-09-25 20:08:14 +01:00