CatStation/Tools
Pieter-Jan Briers 29b7fc4463
Stable to master (#42599)
Ban database refactor (#42495)

* Ban DB refactor seems to work at a basic level for PostgreSQL

* New ban creation API

Supports all the new functionality (multiple players/addresses/hwids/roles/rounds per ban).

* Make the migration irreversible

* Re-implement ban notifications

The server ID check is no longer done as admins may want to place bans spanning multiple rounds irrelevant of the source server.

* Fix some split query warnings

* Implement migration on SQLite

* More comments

* Remove required from ban reason

SS14.Admin changes would like this

* More missing AsSplitQuery() calls

* Fix missing ban type filter

* Fix old CreateServerBan API with permanent time

* Fix department and role ban commands with permanent time

* Re-add banhits navigation property

Dropped this on accident, SS14.Admin needs it.

* More ban API fixes.

* Don't fetch ban exemption info for role bans

Not relevant, reduces query performance

* Regenerate migrations

* Fix adminnotes command for players that never connected

Would blow up handling null player records. Not a new bug introduced by the refactor, but I ran into it.

* Great shame... I accidentally committed submodule update...

* Update GDPR scripts

* Fix sandbox violation

* Fix bans with duplicate info causing DB exceptions

Most notably happened with role bans, as multiple departments may include the same role.
2026-01-23 15:34:23 +01:00
..
changelogs feat: add xsl stylesheet to changelogs (#21930) 2024-01-07 04:02:36 +01:00
markings Humanoid appearance refactor (#10882) 2022-09-22 17:19:00 -05:00
SS14 Aseprite Plugins Updated Aseprite Tools (#39358) 2025-08-28 17:44:50 -04:00
SS14 Aseprite Templates Easy IconSmooth spriting (#32210) 2024-09-18 11:41:24 +10:00
actions_changelog_rss.py Update host key for changelog RSS (#30068) 2024-07-15 16:32:12 +02:00
actions_changelogs_since_last_run.py Add empty line between changelogs discord entries (#38170) 2025-07-18 13:20:20 +02:00
check_crlf.py Remove CRLF, enforce with workflow (#26401) 2024-03-24 22:06:17 +01:00
contribs_shared.ps1 Properly credit contributors who were truncated by GitHub API (#31739) 2024-09-09 13:31:27 -06:00
dump_commits_since.ps1 Makes dump_commits_since.ps1 work on PowerShell 5.1 (#7680) 2022-04-21 09:39:02 +02:00
dump_contributors_since.ps1 Unify ignore/replacement lists for the two contrib ps1 scripts. 2022-05-16 22:27:29 +02:00
dump_github_contributors.ps1 Properly credit contributors who were truncated by GitHub API (#31739) 2024-09-09 13:31:27 -06:00
dump_patrons.ps1 Fix patrons in in-game credits (#40840) 2025-10-12 10:51:33 +00:00
dump_user_data.py Stable to master (#42599) 2026-01-23 15:34:23 +01:00
erase_user_data.py Stable to master (#42599) 2026-01-23 15:34:23 +01:00
generate_hashes.ps1 Good job me. 2020-02-07 20:47:23 +01:00
github_repo_stats.py Prometheus exporter for github repo stats (#38607) 2025-10-14 21:44:05 +00:00
iconsmooth.py Add shuttle walls to icon smoothing (#10573) 2022-08-13 22:00:40 -07:00
iconsmooth_inv.py Iconsmoothing: Subtile metrics (🦆 Edition) (#8307) 2022-06-05 16:35:04 +10:00
iconsmooth_lib.py Add shuttle walls to icon smoothing (#10573) 2022-08-13 22:00:40 -07:00
make_roompack.py Add make roompack script (#18370) 2023-08-10 19:23:56 -04:00
mapping-merge-driver.sh Replace all usages of /bin/bash shebang with /usr/bin/env (#40756) 2025-10-12 19:49:41 +00:00
patrons_pr.ps1 Tiny PR script I need 2021-11-24 08:37:18 +01:00
publish_github_artifact.py New CDN publish workflow (#30009) 2024-07-13 19:34:17 +02:00
publish_multi_request.py Publishing workflow for Vulture Test server (#35009) 2025-02-09 20:48:10 +01:00
singulo.m Makes the singularity engine actually work stably. (#4068) 2021-05-28 11:44:13 +02:00
singulo_emitter.m Makes the singularity engine actually work stably. (#4068) 2021-05-28 11:44:13 +02:00
update_changelog.py Make changelog script able to manage admin changelogs (#24033) 2024-01-14 01:16:37 +01:00