Skip to content

Commit eb005d2

Browse files
Refactor: Remove Screenshots and ScreenshotPendingRequests entities and related mappings
- Deleted ScreenshotsMappingExtensions class and its methods. - Removed Screenshot and ScreenshotPendingRequest classes from the data model. - Eliminated references to Screenshots and ScreenshotPendingRequests in GameServer and PortalDbContext. - Updated efcpt-config.json and SQL project files to exclude related tables. - Bumped version to 4.0 to reflect significant changes in the data model.
1 parent d9690d7 commit eb005d2

40 files changed

Lines changed: 1 addition & 3495 deletions

File tree

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Constants/V1/AdditionalPermission.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,7 @@ public static class AdditionalPermission
4343
public const string GameServers_Admin_Rcon_Map = "GameServers.Admin.Rcon.Map";
4444
public const string GameServers_Admin_Rcon_Say = "GameServers.Admin.Rcon.Say";
4545
public const string GameServers_Admin_Rcon_Restart = "GameServers.Admin.Rcon.Restart";
46-
public const string GameServers_Admin_Rcon_Screenshot = "GameServers.Admin.Rcon.Screenshot";
47-
public const string GameServers_Admin_Screenshots_Read = "GameServers.Admin.Screenshots.Read";
48-
public const string GameServers_Admin_Screenshots_Delete = "GameServers.Admin.Screenshots.Delete";
4946
public const string GameServers_Admin_Screenshots_Configure = "GameServers.Admin.Screenshots.Configure";
50-
public const string GameServers_Admin_Screenshots_BulkDelete = "GameServers.Admin.Screenshots.BulkDelete";
51-
public const string GameServers_Admin_Screenshots_Retention = "GameServers.Admin.Screenshots.Retention";
52-
public const string GameServers_Admin_Screenshots_Reconcile = "GameServers.Admin.Screenshots.Reconcile";
5347

5448
// Chat Log
5549
public const string ChatLog_Read = "ChatLog.Read";
@@ -124,13 +118,7 @@ public static class AdditionalPermission
124118
new(GameServers_Admin_Rcon_Map, "RCON Map Control", "Load, restart, and skip maps via RCON", "Game Servers", "RCON", PermissionScope.Game),
125119
new(GameServers_Admin_Rcon_Say, "RCON Say Command", "Send chat messages to players via RCON", "Game Servers", "RCON", PermissionScope.Game),
126120
new(GameServers_Admin_Rcon_Restart, "RCON Restart Server", "Restart game server via RCON", "Game Servers", "RCON", PermissionScope.Game),
127-
new(GameServers_Admin_Rcon_Screenshot, "RCON Take Screenshot", "Request a player screenshot via RCON", "Game Servers", "RCON", PermissionScope.Game),
128-
new(GameServers_Admin_Screenshots_Read, "View Server Screenshots", "View and preview server screenshots", "Game Servers", "Screenshots", PermissionScope.Game),
129-
new(GameServers_Admin_Screenshots_Delete, "Delete Server Screenshots", "Delete server screenshots", "Game Servers", "Screenshots", PermissionScope.Game),
130121
new(GameServers_Admin_Screenshots_Configure, "Configure Server Screenshots", "Configure screenshot collection settings on game servers", "Game Servers", "Screenshots", PermissionScope.Game),
131-
new(GameServers_Admin_Screenshots_BulkDelete, "Bulk Delete Server Screenshots", "Bulk delete server screenshots by selection or filter scope", "Game Servers", "Screenshots", PermissionScope.Game),
132-
new(GameServers_Admin_Screenshots_Retention, "Run Screenshot Retention", "Run retention cleanup for server screenshots", "Game Servers", "Screenshots", PermissionScope.Game),
133-
new(GameServers_Admin_Screenshots_Reconcile, "Reconcile Server Screenshots", "Run screenshot metadata/blob reconciliation", "Game Servers", "Screenshots", PermissionScope.Game),
134122

135123
// Chat Log
136124
new(ChatLog_Read, "View Chat Logs", "View global and game chat logs", "Chat Log", null, PermissionScope.Game),

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Constants/V1/ScreenshotLinkConfidence.cs

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Constants/V1/ScreenshotLinkSource.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Constants/V1/ScreenshotOrder.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Interfaces/V1/IScreenshotsApi.cs

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Models/V1/Screenshots/CreatePendingScreenshotRequestDto.cs

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Models/V1/Screenshots/GetScreenshotsQuery.cs

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Models/V1/Screenshots/PendingScreenshotRequestDto.cs

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Models/V1/Screenshots/ScreenshotContentDto.cs

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/XtremeIdiots.Portal.Repository.Abstractions.V1/Models/V1/Screenshots/ScreenshotDto.cs

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)