Delta-v/Content.Shared/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
Components Killsign cleanup (#41845) 2026-04-04 16:56:52 +02:00
Events Remove baby jail (#34443) 2025-01-28 04:31:23 +00:00
Logs Revert "Admin Log Browser Improvements (#39130)" 2026-04-04 16:56:50 +02:00
Managers Only disable panicbunker for admins with AdminFlags.Admin (#33879) 2024-12-21 10:18:30 +00:00
Notes Ban database refactor (#42495) 2026-06-29 12:43:39 +02:00
Systems Move some admin components to shared (#41677) 2026-04-04 16:54:51 +02:00
AdminAnnounceEuiState.cs Ensure EUIs close themselves (#15860) 2023-04-29 13:16:24 +10:00
AdminCameraEuiState.cs Upstream Merge (June / July) attempt 2 electric boogaloo (#4607) 2025-11-06 18:22:39 +00:00
AdminCommandPermissions.cs fix admins Flags arrays (#19644) 2023-09-27 21:59:12 +02:00
AdminData.cs Only disable panicbunker for admins with AdminFlags.Admin (#33879) 2024-12-21 10:18:30 +00:00
AdminFlags.cs Curator Help 2 Electric Boogaloo (#3870) 2025-06-10 10:56:50 +00:00
AdminFlagsHelper.cs Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
AdminFrozenComponent.cs Combine AdminFrozenSystem in shared. (#39885) 2025-11-23 15:22:31 -06:00
AdminFrozenSystem.cs Admin improvements for Looc and Deadchat (#41273) 2026-01-26 19:22:40 +01:00
AnyCommandAttribute.cs Toolshed (#17895) 2023-08-02 16:09:08 -05:00
BanPanelEuiState.cs Antag Rolebans (#35966) 2025-12-29 11:39:08 -06:00
EditSolutionsEuiState.cs Fix solution editor UI (#24004) 2024-01-26 22:34:27 +01:00
MsgUpdateAdminStatus.cs Pass IRobustSerializer to NetMessage (#11021) 2022-09-14 17:25:25 +10:00
PermissionsEuiState.cs Persist deadmin to database, add admin suspension system (#34048) 2025-01-28 04:31:22 +00:00
PlayerInfo.cs feat: Various Admin QOL features (#5436) 2026-04-04 16:38:32 +02:00
PlayerPanelEuiState.cs upstream merge 27/04/2025 (#3596) 2025-05-06 19:35:03 -04:00
QuickDialogOpenEvent.cs make dialog window not evil (#24677) 2024-02-08 12:21:02 +01:00
SetOutfitEuiState.cs Content update for NetEntities (#18935) 2023-09-27 21:59:12 +02:00
SharedBwoinkSystem.cs New Feature: Admin Only messages in AHelp (#35283) 2025-03-01 14:08:36 +00:00
SpawnExplosionEuiMsg.cs Move grenade components to shared (#22691) 2024-02-08 12:22:56 +01:00