Delta-v/Content.Server/Administration
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
..
BanList Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
Commands Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
Components Move some admin components to shared (#41677) 2026-04-04 16:54:51 +02:00
Logs Revert "Admin Log Browser Improvements (#39130)" 2026-04-04 16:56:50 +02:00
Managers Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
Notes Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
Systems Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
Toolshed Add EntityEffectOnTrigger and RejuvenateOnTrigger (#40967) 2025-12-29 11:39:28 -06:00
UI Upstream Merge (June / July) attempt 2 electric boogaloo (#4607) 2025-11-06 18:22:39 +00:00
AdminCommandAttribute.cs Toolshed (#17895) 2023-08-02 16:09:08 -05:00
AdminPermsChangedEventArgs.cs Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
AdminRank.cs Remove redundant #nullable enable (#4275) 2021-07-16 17:37:09 -07:00
BanPanelEui.cs Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
ContentNetworkResourceManager.cs Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
PlayerLocator.cs Integrate Modern HWID into content 2024-11-29 19:18:11 +01:00
PlayerPanelEui.cs Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
QuickDialogSystem.OpenDialog.cs Obsolete refactor - ConnectedClient to Channel (#24409) 2024-01-27 23:44:02 +01:00
QuickDialogSystem.cs Obsolete refactor - ConnectedClient to Channel (#24409) 2024-01-27 23:44:02 +01:00
ServerApi.Utility.cs Game server admin API (#26880) 2024-04-21 21:58:13 +02:00
ServerApi.cs Discord AHelp Reply System (#2315) 2025-01-04 00:31:42 +00:00