zio fork 1.8.2b-zio16: backport unban, rename and css_history from upstream 1.9.0
Some checks failed
Build and Publish / build (push) Has been cancelled
Build and Publish / publish (push) Has been cancelled

From upstream 530f603:
- css_unban updates the ban cache at once (and clears the engine banid with
  UnlockedCommands) instead of waiting up to a minute for the cache refresh.
- css_prename is saved in sa_renames (migration 017) and re-applied on connect and
  name change, so it survives restarts. css_rename from a hidden admin renames again.
- New css_history command and Players > History menu entry. Commands missing from an
  existing Commands.json are registered under their default name.
- Migrations are copied with a glob, so 017 reaches the build output.

Upstream's admin-loading changes, css_say change and css_penalties fix are left out.
This commit is contained in:
Astra 2026-10-03 12:08:45 +01:00
parent 8bec658db4
commit 71d51d7b92
35 changed files with 539 additions and 143 deletions

View file

@ -42,6 +42,18 @@ from the `build-1.8.2b` tag). Changes, all marked `zio:` in the code:
`css_unsilence` match online players by part of the name too (upstream needed the full name),
falling back to the offline search only when no one online matches.
Backported from upstream 1.9.0 (commit `530f603`), not marked `zio:`:
- `css_unban` applies at once: the ban cache is updated straight away instead of on the next
61-second refresh, and `removeid` clears the engine ban when `UnlockedCommands` is on.
- `css_prename` survives restarts: renames are stored in the new `sa_renames` table (migration
017) and re-applied on connect and name change. `css_rename` from a hidden admin renames again.
- New `css_history <#userid|name|steamid64> [bans|gags|mutes|silences|warns]` (`@css/kick`), and
Players > History in the admin menu. Commands missing from an existing `Commands.json` are
registered under their default name.
- Left out: upstream's admin-loading changes (ours differ, see `1.8.2b-zio11`), its `css_say`
change and its `css_penalties` fix.
Publish with `FORGEJO_TOKEN=... ./release.sh v<ModuleVersion>` (ModuleVersion is `1.8.2b-zioN`).
It rebuilds from the committed source and uploads `SimpleAdmin-<tag>.tar.gz` to git.zio.sh
(`cs2/SimpleAdmin`), laid out like `game/csgo/`. It holds the whole plugin (its libraries, all lang