Delta-v/Tools
Pieter-Jan Briers 7419408ec5 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-06-29 12:43:39 +02:00
..
DeltaV fix tidy_map.py (#2364) 2024-12-05 00:37:19 +00:00
SS14 Aseprite Plugins Updated Aseprite Tools (#39358) 2025-11-23 15:22:32 -06:00
SS14 Aseprite Templates Easy IconSmooth spriting (#32210) 2024-09-22 02:38:29 +01:00
changelog Add automatic changelogs (#11) 2023-09-11 15:58:45 +02:00
changelogs feat: add xsl stylesheet to changelogs (#21930) 2024-01-26 22:04:40 +01:00
markings Porting Thaven from Impstation (#2948) 2025-02-25 09:45:29 +00:00
actions_changelog_rss.py Update host key for changelog RSS (#30068) 2024-08-09 17:47:50 +01:00
actions_changelogs_since_last_run.py Maps changelog in Discord 2025-11-18 22:50:39 +01:00
check_crlf.py Add CLRF workflow 2024-03-27 11:05:32 +00:00
contribs_shared.ps1 Properly credit contributors who were truncated by GitHub API (#31739) 2024-09-14 14:02:06 +01: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-14 14:02:06 +01:00
dump_patrons.ps1 Update patrons and credits (#13554) 2023-01-17 13:42:03 -08:00
dump_user_data.py Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
erase_user_data.py Ban database refactor (#42495) 2026-06-29 12:43:39 +02: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-12-29 11:39:25 -06: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 Update git hooks with upstream fixes (#4690) 2025-11-19 07:48:01 -06:00
patrons_pr.ps1 Tiny PR script I need 2021-11-24 08:37:18 +01:00
publish_github_artifact.py Update domain name and remove dead links (#2810) 2025-01-28 04:20:52 +00:00
publish_multi_request.py Update domain name and remove dead links (#2810) 2025-01-28 04:20:52 +00: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-26 22:36:26 +01:00