CatStation/Content.Server/Administration
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
..
BanList Stable to master (#42599) 2026-01-23 15:34:23 +01:00
Commands Stable to master (#42599) 2026-01-23 15:34:23 +01:00
Components Move some admin components to shared (#41677) 2025-12-02 19:39:21 +00:00
Logs Admin alerts now link players with tpto (#40472) 2025-10-27 02:40:07 +00:00
Managers Stable to master (#42599) 2026-01-23 15:34:23 +01:00
Notes Stable to master (#42599) 2026-01-23 15:34:23 +01:00
Systems Stable to master (#42599) 2026-01-23 15:34:23 +01:00
Toolshed Add EntityEffectOnTrigger and RejuvenateOnTrigger (#40967) 2025-10-19 14:42:18 +00:00
UI Admin Tool: Observe entities in an extra viewport (#36969) 2025-07-25 18:53:01 +02:00
AdminCommandAttribute.cs Toolshed (#17895) 2023-08-02 16:09:08 -05:00
AdminPermsChangedEventArgs.cs Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
AdminRank.cs Remove redundant #nullable enable (#4275) 2021-07-16 17:37:09 -07:00
BanPanelEui.cs Stable to master (#42599) 2026-01-23 15:34:23 +01:00
ContentNetworkResourceManager.cs Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
PlayerLocator.cs Integrate Modern HWID into content 2024-11-12 01:51:54 +01:00
PlayerPanelEui.cs Stable to master (#42599) 2026-01-23 15:34:23 +01:00
QuickDialogSystem.cs Obsolete refactor - ConnectedClient to Channel (#24409) 2024-01-23 09:14:13 +11:00
QuickDialogSystem.OpenDialog.cs Obsolete refactor - ConnectedClient to Channel (#24409) 2024-01-23 09:14:13 +11:00
ServerApi.cs Panic Bunker uses minutes not hours (#28805) 2024-06-09 22:45:47 +02:00
ServerApi.Utility.cs Game server admin API (#26880) 2024-04-14 20:13:29 +10:00