simpleadmin-web/internal/web
Astra 17232bd5a2 Staff push notifications, and revalidate embedded assets
Notifications: staff turn them on per device from a new Notifications page,
pick each type (bans, gags, mutes and silences added or lifted, server down
and back up) and quiet hours. A watcher polls SimpleAdmin's tables, so in-game
penalties are sent too. Web Push with VAPID and RFC 8291 encryption in
internal/push, standard library only. Tables in sql/push.sql, created at
startup; the VAPID key is made on first start and kept in saw_settings.
Penalty notifications link to the public list searching for the player
(#bans?q=<steamid64>). The Android app delegates notifications (versionCode 3).

Caching: pages, scripts and styles are served with Cache-Control: no-cache
and an ETag, so a deploy shows up at once instead of after Cloudflare's
default 4-hour browser cache.
2026-10-03 13:49:40 +01:00
..
assets Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
actions.go Console panel, collapsible panels, Add on the Members panel 2026-10-03 12:09:43 +01:00
admin.go Console panel, collapsible panels, Add on the Members panel 2026-10-03 12:09:43 +01:00
assets.go Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
auth.go Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
avatar.go Staff avatars from Steam, cached in memory 2026-09-28 11:36:05 +01:00
notify.go Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
notify_db_test.go Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
notify_test.go Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
public.go GroupVerify: Verification page, overrides and public Verified tags 2026-10-02 17:59:26 +01:00
public_test.go Rank log: inactive ranks (Guardian) count as promotions to and from, demotion when lost; Guardian is staff 2026-09-29 17:19:53 +01:00
pwa.go Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
pwa_test.go Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
server.go Staff push notifications, and revalidate embedded assets 2026-10-03 13:49:40 +01:00
site.go Rank log: inactive ranks (Guardian) count as promotions to and from, demotion when lost; Guardian is staff 2026-09-29 17:19:53 +01:00
staff.go Rank log: inactive ranks (Guardian) count as promotions to and from, demotion when lost; Guardian is staff 2026-09-29 17:19:53 +01:00
verify.go Verification: clan tag setting, GroupVerify 0.3.0 wording 2026-10-02 18:44:44 +01:00
verify_db_test.go Verification: clan tag setting, GroupVerify 0.3.0 wording 2026-10-02 18:44:44 +01:00
verify_test.go Verification: clan tag setting, GroupVerify 0.3.0 wording 2026-10-02 18:44:44 +01:00