]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add job whitelist system (#28085)
authorDrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com>
Sat, 1 Jun 2024 12:08:31 +0000 (05:08 -0700)
committerGitHub <noreply@github.com>
Sat, 1 Jun 2024 12:08:31 +0000 (05:08 -0700)
commit19be94c9ea184710218aaddff8c9b91237735042
tree94440fe7c96a2113f52ea339f1f129549f3d9de2
parente3a66136bfad05d09028fe3196ce7221ba3fb2f1
Add job whitelist system (#28085)

* Add job whitelist system

* Address reviews

* Fix name

* Apply suggestions from code review

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
* cancinium

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
35 files changed:
Content.Client/Lobby/LobbyUIController.cs
Content.Client/Players/PlayTimeTracking/JobRequirementsManager.cs
Content.IntegrationTests/PoolManager.Cvars.cs
Content.Server.Database/Migrations/Postgres/20240531011555_RoleWhitelist.Designer.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Postgres/20240531011555_RoleWhitelist.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Postgres/PostgresServerDbContextModelSnapshot.cs
Content.Server.Database/Migrations/Sqlite/20240531011549_RoleWhitelist.Designer.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Sqlite/20240531011549_RoleWhitelist.cs [new file with mode: 0644]
Content.Server.Database/Migrations/Sqlite/SqliteServerDbContextModelSnapshot.cs
Content.Server.Database/Model.cs
Content.Server/Administration/Commands/JobWhitelistCommands.cs [new file with mode: 0644]
Content.Server/Administration/Managers/BanManager.cs
Content.Server/Administration/Managers/IBanManager.cs
Content.Server/Database/ServerDbBase.cs
Content.Server/Database/ServerDbManager.cs
Content.Server/Database/UserDbDataManager.cs
Content.Server/Entry/EntryPoint.cs
Content.Server/GameTicking/Events/GetDisallowedJobsEvent.cs [new file with mode: 0644]
Content.Server/GameTicking/Events/IsJobAllowedEvent.cs [new file with mode: 0644]
Content.Server/GameTicking/GameTicker.Spawning.cs
Content.Server/GameTicking/GameTicker.cs
Content.Server/IoC/ServerContentIoC.cs
Content.Server/Players/JobWhitelist/JobWhitelistManager.cs [new file with mode: 0644]
Content.Server/Players/JobWhitelist/JobWhitelistSystem.cs [new file with mode: 0644]
Content.Server/Players/PlayTimeTracking/PlayTimeTrackingManager.cs
Content.Server/Players/PlayTimeTracking/PlayTimeTrackingSystem.cs
Content.Server/Preferences/Managers/ServerPreferencesManager.cs
Content.Server/Station/Events/StationJobsGetCandidatesEvent.cs [new file with mode: 0644]
Content.Server/Station/Systems/StationJobsSystem.Roundstart.cs
Content.Server/Station/Systems/StationJobsSystem.cs
Content.Shared/CCVar/CCVars.cs
Content.Shared/Players/JobWhitelist/MsgJobWhitelist.cs [new file with mode: 0644]
Content.Shared/Roles/JobPrototype.cs
Resources/Locale/en-US/commands/job-whitelist-command.ftl [new file with mode: 0644]
Resources/Locale/en-US/job/role-whitelist.ftl [new file with mode: 0644]