From bc701d288ad27f0fd6b79dddfa6c67c2ed6ab425 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Thu, 23 Nov 2023 17:10:06 -0500 Subject: [PATCH] Enable NRT with global opt-out We will phase this in gradually --- src/Tgstation.Server.Host/Components/Chat/ChannelMapping.cs | 4 +++- .../Components/Chat/ChannelRepresentation.cs | 2 ++ src/Tgstation.Server.Host/Components/Chat/ChatManager.cs | 2 ++ .../Components/Chat/ChatManagerFactory.cs | 2 ++ .../Components/Chat/ChatTrackingContext.cs | 2 ++ src/Tgstation.Server.Host/Components/Chat/ChatUser.cs | 2 ++ .../Components/Chat/Commands/CommandFactory.cs | 2 ++ .../Components/Chat/Commands/CustomCommand.cs | 2 ++ .../Components/Chat/Commands/EngineCommand.cs | 2 ++ .../Components/Chat/Commands/ICommand.cs | 2 ++ .../Components/Chat/Commands/ICommandFactory.cs | 2 ++ .../Components/Chat/Commands/KekCommand.cs | 2 ++ .../Components/Chat/Commands/PullRequestsCommand.cs | 2 ++ .../Components/Chat/Commands/RevisionCommand.cs | 2 ++ .../Components/Chat/Commands/VersionCommand.cs | 2 ++ src/Tgstation.Server.Host/Components/Chat/IChannelSink.cs | 2 ++ src/Tgstation.Server.Host/Components/Chat/IChatManager.cs | 2 ++ .../Components/Chat/IChatManagerFactory.cs | 2 ++ .../Components/Chat/IChatTrackingContext.cs | 2 ++ .../Components/Chat/ICustomCommandHandler.cs | 2 ++ .../Components/Chat/Providers/DiscordForwardingResponder.cs | 2 ++ .../Components/Chat/Providers/DiscordMessage.cs | 2 ++ .../Components/Chat/Providers/DiscordProvider.cs | 2 ++ .../Components/Chat/Providers/IDiscordResponders.cs | 2 ++ .../Components/Chat/Providers/IProvider.cs | 2 ++ .../Components/Chat/Providers/IProviderFactory.cs | 2 ++ .../Components/Chat/Providers/IrcProvider.cs | 2 ++ .../Components/Chat/Providers/Message.cs | 4 +++- .../Components/Chat/Providers/Provider.cs | 2 ++ .../Components/Chat/Providers/ProviderFactory.cs | 2 ++ src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs | 2 ++ .../Components/Deployment/DmbProvider.cs | 2 ++ .../Components/Deployment/DmbProviderBase.cs | 2 ++ src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs | 2 ++ .../Components/Deployment/HardLinkDmbProvider.cs | 2 ++ .../Components/Deployment/ICompileJobSink.cs | 2 ++ .../Components/Deployment/IDmbFactory.cs | 2 ++ .../Components/Deployment/IDmbProvider.cs | 2 ++ .../Components/Deployment/IDreamMaker.cs | 2 ++ .../Components/Deployment/ILatestCompileJobProvider.cs | 2 ++ .../Deployment/Remote/BaseRemoteDeploymentManager.cs | 2 ++ .../Deployment/Remote/GitHubRemoteDeploymentManager.cs | 2 ++ .../Deployment/Remote/GitLabRemoteDeploymentManager.cs | 2 ++ .../Components/Deployment/Remote/IRemoteDeploymentManager.cs | 2 ++ .../Deployment/Remote/IRemoteDeploymentManagerFactory.cs | 2 ++ .../Deployment/Remote/NoOpRemoteDeploymentManager.cs | 2 ++ .../Deployment/Remote/RemoteDeploymentManagerFactory.cs | 2 ++ .../Components/Deployment/SwappableDmbProvider.cs | 2 ++ .../Components/Deployment/SymlinkDmbProvider.cs | 2 ++ .../Components/Deployment/TemporaryDmbProvider.cs | 2 ++ .../Components/Engine/ByondInstallation.cs | 2 ++ .../Components/Engine/ByondInstallerBase.cs | 2 ++ .../Components/Engine/DelegatingEngineInstaller.cs | 2 ++ .../Components/Engine/EngineExecutableLock.cs | 2 ++ .../Components/Engine/EngineInstallationBase.cs | 2 ++ .../Components/Engine/EngineInstallerBase.cs | 2 ++ src/Tgstation.Server.Host/Components/Engine/EngineManager.cs | 2 ++ .../Components/Engine/IEngineExecutableLock.cs | 2 ++ .../Components/Engine/IEngineInstallation.cs | 2 ++ .../Components/Engine/IEngineInstallationData.cs | 2 ++ .../Components/Engine/IEngineInstaller.cs | 2 ++ src/Tgstation.Server.Host/Components/Engine/IEngineManager.cs | 2 ++ .../Components/Engine/OpenDreamInstallation.cs | 2 ++ .../Components/Engine/OpenDreamInstaller.cs | 2 ++ .../Components/Engine/PosixByondInstaller.cs | 2 ++ .../Components/Engine/RepositoryEngineInstallationData.cs | 2 ++ .../Components/Engine/WindowsByondInstaller.cs | 2 ++ .../Components/Engine/WindowsOpenDreamInstaller.cs | 2 ++ .../Components/Engine/ZipStreamEngineInstallationData.cs | 2 ++ src/Tgstation.Server.Host/Components/Events/EventConsumer.cs | 2 ++ .../Components/Events/EventScriptAttribute.cs | 2 ++ src/Tgstation.Server.Host/Components/Events/IEventConsumer.cs | 2 ++ .../Components/Events/NoopEventConsumer.cs | 2 ++ src/Tgstation.Server.Host/Components/IComponentService.cs | 2 ++ src/Tgstation.Server.Host/Components/IInstance.cs | 2 ++ src/Tgstation.Server.Host/Components/IInstanceCore.cs | 2 ++ src/Tgstation.Server.Host/Components/IInstanceFactory.cs | 2 ++ src/Tgstation.Server.Host/Components/IInstanceManager.cs | 2 ++ src/Tgstation.Server.Host/Components/IInstanceOperations.cs | 2 ++ src/Tgstation.Server.Host/Components/IInstanceReference.cs | 2 ++ src/Tgstation.Server.Host/Components/IRenameNotifyee.cs | 2 ++ src/Tgstation.Server.Host/Components/Instance.cs | 2 ++ src/Tgstation.Server.Host/Components/InstanceFactory.cs | 2 ++ src/Tgstation.Server.Host/Components/InstanceManager.cs | 2 ++ src/Tgstation.Server.Host/Components/InstanceWrapper.cs | 2 ++ .../Components/Interop/Bridge/BridgeParameters.cs | 2 ++ .../Components/Interop/Bridge/BridgeRegistration.cs | 2 ++ .../Components/Interop/Bridge/BridgeResponse.cs | 2 ++ .../Components/Interop/Bridge/IBridgeDispatcher.cs | 2 ++ .../Components/Interop/Bridge/IBridgeRegistration.cs | 2 ++ .../Components/Interop/Bridge/RuntimeInformation.cs | 2 ++ .../Components/Interop/Bridge/TestMergeInformation.cs | 2 ++ src/Tgstation.Server.Host/Components/Interop/ChatEmbed.cs | 2 ++ .../Components/Interop/ChatEmbedAuthor.cs | 4 +++- .../Components/Interop/ChatEmbedField.cs | 4 +++- .../Components/Interop/ChatEmbedFooter.cs | 4 +++- .../Components/Interop/ChatEmbedMedia.cs | 4 +++- .../Components/Interop/ChatEmbedProvider.cs | 4 +++- src/Tgstation.Server.Host/Components/Interop/ChatMessage.cs | 2 ++ src/Tgstation.Server.Host/Components/Interop/ChatUpdate.cs | 2 ++ src/Tgstation.Server.Host/Components/Interop/ChunkData.cs | 4 +++- src/Tgstation.Server.Host/Components/Interop/Chunker.cs | 2 ++ .../Components/Interop/DMApiConstants.cs | 2 ++ .../Components/Interop/DMApiParameters.cs | 2 ++ src/Tgstation.Server.Host/Components/Interop/DMApiResponse.cs | 4 +++- .../Components/Interop/IMissingPayloadsCommunication.cs | 2 ++ .../Components/Interop/MessageContent.cs | 4 +++- .../Components/Interop/Topic/ChatCommand.cs | 2 ++ .../Components/Interop/Topic/ChunkedTopicParameters.cs | 2 ++ .../Components/Interop/Topic/EventNotification.cs | 2 ++ .../Components/Interop/Topic/TopicCommandType.cs | 2 ++ .../Components/Interop/Topic/TopicParameters.cs | 2 ++ .../Components/Interop/Topic/TopicResponse.cs | 2 ++ .../Components/Repository/DefaultGitRemoteFeatures.cs | 2 ++ .../Components/Repository/GitHubRemoteFeatures.cs | 2 ++ .../Components/Repository/GitLabRemoteFeatures.cs | 2 ++ .../Components/Repository/GitRemoteFeaturesBase.cs | 2 ++ .../Components/Repository/GitRemoteFeaturesFactory.cs | 2 ++ .../Components/Repository/ICredentialsProvider.cs | 2 ++ .../Components/Repository/IGitRemoteAdditionalInformation.cs | 2 ++ .../Components/Repository/IGitRemoteFeaturesFactory.cs | 2 ++ .../Components/Repository/ILibGit2Commands.cs | 2 ++ .../Components/Repository/ILibGit2RepositoryFactory.cs | 2 ++ .../Components/Repository/IRepository.cs | 2 ++ .../Components/Repository/IRepositoryManager.cs | 2 ++ .../Components/Repository/IRepositoryManagerFactory.cs | 2 ++ .../Components/Repository/LibGit2Commands.cs | 2 ++ .../Components/Repository/LibGit2RepositoryFactory.cs | 2 ++ src/Tgstation.Server.Host/Components/Repository/Repository.cs | 2 ++ .../Components/Repository/RepositoryManager.cs | 2 ++ .../Components/Repository/RepositoryUpdateService.cs | 2 ++ .../Components/Repository/RepostoryManagerFactory.cs | 2 ++ .../Components/Repository/TestMergeResult.cs | 2 ++ .../Components/Session/CombinedTopicResponse.cs | 2 ++ .../Components/Session/ISessionController.cs | 2 ++ .../Components/Session/ISessionControllerFactory.cs | 2 ++ .../Components/Session/ISessionPersistor.cs | 2 ++ .../Components/Session/ITopicClientFactory.cs | 2 ++ src/Tgstation.Server.Host/Components/Session/LaunchResult.cs | 2 ++ .../Components/Session/ReattachInformation.cs | 2 ++ .../Components/Session/SessionController.cs | 2 ++ .../Components/Session/SessionControllerFactory.cs | 2 ++ .../Components/Session/SessionPersistor.cs | 2 ++ .../Components/Session/TopicClientFactory.cs | 2 ++ .../Components/StaticFiles/Configuration.cs | 2 ++ .../Components/StaticFiles/IConfiguration.cs | 2 ++ .../Components/Watchdog/AdvancedWatchdog.cs | 2 ++ .../Components/Watchdog/BasicWatchdog.cs | 2 ++ src/Tgstation.Server.Host/Components/Watchdog/IWatchdog.cs | 2 ++ .../Components/Watchdog/IWatchdogFactory.cs | 2 ++ .../Components/Watchdog/PosixWatchdog.cs | 2 ++ .../Components/Watchdog/PosixWatchdogFactory.cs | 2 ++ src/Tgstation.Server.Host/Components/Watchdog/WatchdogBase.cs | 2 ++ .../Components/Watchdog/WatchdogFactory.cs | 2 ++ .../Components/Watchdog/WindowsWatchdog.cs | 2 ++ .../Components/Watchdog/WindowsWatchdogFactory.cs | 2 ++ .../Configuration/ControlPanelConfiguration.cs | 2 ++ .../Configuration/DatabaseConfiguration.cs | 2 ++ .../Configuration/ElasticsearchConfiguration.cs | 2 ++ .../Configuration/FileLoggingConfiguration.cs | 2 ++ .../Configuration/GeneralConfiguration.cs | 2 ++ .../Configuration/InternalConfiguration.cs | 4 +++- src/Tgstation.Server.Host/Configuration/OAuthConfiguration.cs | 2 ++ .../Configuration/OAuthConfigurationBase.cs | 2 ++ .../Configuration/SecurityConfiguration.cs | 2 ++ src/Tgstation.Server.Host/Configuration/SwarmConfiguration.cs | 2 ++ .../Configuration/UpdatesConfiguration.cs | 2 ++ .../Controllers/AdministrationController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/ApiController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/ApiControllerBase.cs | 2 ++ src/Tgstation.Server.Host/Controllers/ApiRootController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/BridgeController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/ChatController.cs | 2 ++ .../Controllers/ComponentInterfacingController.cs | 2 ++ .../Controllers/ConfigurationController.cs | 2 ++ .../Controllers/ControlPanelController.cs | 2 ++ .../Controllers/DreamDaemonController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/DreamMakerController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/EngineController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/InstanceController.cs | 2 ++ .../Controllers/InstancePermissionSetController.cs | 2 ++ .../Controllers/InstanceRequiredController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/JobController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/RepositoryController.cs | 2 ++ .../Controllers/Results/LimitedStreamResult.cs | 2 ++ .../Controllers/Results/LimitedStreamResultExecutor.cs | 2 ++ .../Controllers/Results/PaginatableResult.cs | 2 ++ src/Tgstation.Server.Host/Controllers/RootController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/SwarmController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/TransferController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/UserController.cs | 2 ++ src/Tgstation.Server.Host/Controllers/UserGroupController.cs | 2 ++ src/Tgstation.Server.Host/Core/Application.cs | 2 ++ src/Tgstation.Server.Host/Core/CommandPipeManager.cs | 2 ++ src/Tgstation.Server.Host/Core/IRestartHandler.cs | 2 ++ src/Tgstation.Server.Host/Core/IRestartRegistration.cs | 2 ++ src/Tgstation.Server.Host/Core/IServerControl.cs | 2 ++ src/Tgstation.Server.Host/Core/IServerUpdateExecutor.cs | 2 ++ src/Tgstation.Server.Host/Core/IServerUpdateInitiator.cs | 2 ++ src/Tgstation.Server.Host/Core/IServerUpdater.cs | 2 ++ src/Tgstation.Server.Host/Core/RestartRegistration.cs | 2 ++ src/Tgstation.Server.Host/Core/ServerPortProivder.cs | 2 ++ src/Tgstation.Server.Host/Core/ServerUpdateInitiator.cs | 2 ++ src/Tgstation.Server.Host/Core/ServerUpdateOperation.cs | 2 ++ src/Tgstation.Server.Host/Core/ServerUpdater.cs | 2 ++ src/Tgstation.Server.Host/Database/DatabaseCollection.cs | 2 ++ .../Database/DatabaseConnectionFactory.cs | 2 ++ src/Tgstation.Server.Host/Database/DatabaseContext.cs | 2 ++ src/Tgstation.Server.Host/Database/DatabaseContextFactory.cs | 2 ++ src/Tgstation.Server.Host/Database/DatabaseSeeder.cs | 2 ++ .../Database/Design/DesignTimeDbContextFactoryHelpers.cs | 2 ++ .../Database/Design/MySqlDesignTimeDbContextFactory.cs | 2 ++ .../Database/Design/PostgresSqlDesignTimeDbContextFactory.cs | 2 ++ .../Database/Design/SqlServerDesignTimeDbContextFactory.cs | 2 ++ .../Database/Design/SqliteDesignTimeDbContextFactory.cs | 2 ++ src/Tgstation.Server.Host/Database/IDatabaseCollection.cs | 2 ++ .../Database/IDatabaseConnectionFactory.cs | 2 ++ src/Tgstation.Server.Host/Database/IDatabaseContext.cs | 2 ++ src/Tgstation.Server.Host/Database/IDatabaseContextFactory.cs | 2 ++ src/Tgstation.Server.Host/Database/IDatabaseSeeder.cs | 2 ++ src/Tgstation.Server.Host/Database/MySqlDatabaseContext.cs | 2 ++ .../Database/PostgresSqlDatabaseContext.cs | 2 ++ .../Database/SqlServerDatabaseContext.cs | 2 ++ src/Tgstation.Server.Host/Database/SqliteDatabaseContext.cs | 2 ++ .../Extensions/ApplicationBuilderExtensions.cs | 2 ++ src/Tgstation.Server.Host/Extensions/ChatChannelExtensions.cs | 2 ++ .../Extensions/ControllerBaseExtensions.cs | 2 ++ .../Extensions/Converters/BoolConverter.cs | 2 ++ .../Extensions/Converters/VersionConverter.cs | 2 ++ .../Extensions/DatabaseCollectionExtensions.cs | 2 ++ .../Extensions/DateTimeOffsetExtensions.cs | 2 ++ .../Extensions/FileTransferStreamHandlerExtensions.cs | 2 ++ .../Extensions/GeneralConfigurationExtensions.cs | 2 ++ src/Tgstation.Server.Host/Extensions/HostBuilderExtensions.cs | 2 ++ .../Extensions/ModelBuilderExtensions.cs | 2 ++ src/Tgstation.Server.Host/Extensions/ResultExtensions.cs | 2 ++ .../Extensions/ServiceCollectionExtensions.cs | 2 ++ src/Tgstation.Server.Host/Extensions/SocketExtensions.cs | 2 ++ src/Tgstation.Server.Host/Extensions/TaskExtensions.cs | 2 ++ .../Extensions/WebHostBuilderExtensions.cs | 2 ++ src/Tgstation.Server.Host/IO/BufferedFileStreamProvider.cs | 2 ++ src/Tgstation.Server.Host/IO/Console.cs | 2 ++ src/Tgstation.Server.Host/IO/DefaultIOManager.cs | 2 ++ src/Tgstation.Server.Host/IO/FileDownloader.cs | 2 ++ src/Tgstation.Server.Host/IO/IConsole.cs | 2 ++ src/Tgstation.Server.Host/IO/IFileDownloader.cs | 2 ++ src/Tgstation.Server.Host/IO/IFileStreamProvider.cs | 2 ++ src/Tgstation.Server.Host/IO/IFilesystemLinkFactory.cs | 2 ++ src/Tgstation.Server.Host/IO/IIOManager.cs | 2 ++ src/Tgstation.Server.Host/IO/ISeekableFileStreamProvider.cs | 2 ++ src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs | 2 ++ src/Tgstation.Server.Host/IO/PosixFilesystemLinkFactory.cs | 2 ++ src/Tgstation.Server.Host/IO/PosixPostWriteHandler.cs | 2 ++ src/Tgstation.Server.Host/IO/RequestFileStreamProvider.cs | 2 ++ src/Tgstation.Server.Host/IO/ResolvingIOManager.cs | 2 ++ src/Tgstation.Server.Host/IO/SynchronousIOManager.cs | 2 ++ src/Tgstation.Server.Host/IO/WindowsFilesystemLinkFactory.cs | 2 ++ src/Tgstation.Server.Host/IO/WindowsPostWriteHandler.cs | 2 ++ src/Tgstation.Server.Host/IServer.cs | 2 ++ src/Tgstation.Server.Host/IServerFactory.cs | 2 ++ src/Tgstation.Server.Host/Jobs/IJobManager.cs | 2 ++ src/Tgstation.Server.Host/Jobs/IJobService.cs | 2 ++ src/Tgstation.Server.Host/Jobs/JobEntrypoint.cs | 2 ++ src/Tgstation.Server.Host/Jobs/JobException.cs | 2 ++ src/Tgstation.Server.Host/Jobs/JobHandler.cs | 2 ++ src/Tgstation.Server.Host/Jobs/JobProgressReporter.cs | 2 ++ src/Tgstation.Server.Host/Jobs/JobService.cs | 2 ++ src/Tgstation.Server.Host/Jobs/JobsHub.cs | 2 ++ src/Tgstation.Server.Host/Jobs/JobsHubGroupMapper.cs | 2 ++ src/Tgstation.Server.Host/Models/ChatBot.cs | 2 ++ src/Tgstation.Server.Host/Models/ChatChannel.cs | 2 ++ src/Tgstation.Server.Host/Models/CompileJob.cs | 2 ++ src/Tgstation.Server.Host/Models/DreamDaemonSettings.cs | 2 ++ src/Tgstation.Server.Host/Models/DreamMakerSettings.cs | 2 ++ src/Tgstation.Server.Host/Models/Instance.cs | 2 ++ src/Tgstation.Server.Host/Models/InstancePermissionSet.cs | 2 ++ src/Tgstation.Server.Host/Models/Job.cs | 2 ++ src/Tgstation.Server.Host/Models/OAuthConnection.cs | 4 +++- src/Tgstation.Server.Host/Models/PermissionSet.cs | 2 ++ src/Tgstation.Server.Host/Models/ReattachInformation.cs | 2 ++ src/Tgstation.Server.Host/Models/ReattachInformationBase.cs | 2 ++ src/Tgstation.Server.Host/Models/RepositorySettings.cs | 2 ++ src/Tgstation.Server.Host/Models/RevInfoTestMerge.cs | 2 ++ src/Tgstation.Server.Host/Models/RevisionInformation.cs | 2 ++ src/Tgstation.Server.Host/Models/TestMerge.cs | 2 ++ src/Tgstation.Server.Host/Models/User.cs | 2 ++ src/Tgstation.Server.Host/Models/UserGroup.cs | 2 ++ src/Tgstation.Server.Host/Program.cs | 2 ++ .../Properties/MasterVersionsAttribute.cs | 2 ++ src/Tgstation.Server.Host/Security/AuthenticationContext.cs | 2 ++ .../Security/AuthenticationContextAuthorizationFilter.cs | 2 ++ .../Security/AuthenticationContextClaimsTransformation.cs | 2 ++ .../Security/AuthenticationContextFactory.cs | 2 ++ .../Security/AuthorizationContextHubFilter.cs | 2 ++ src/Tgstation.Server.Host/Security/CryptographySuite.cs | 2 ++ src/Tgstation.Server.Host/Security/IAuthenticationContext.cs | 2 ++ .../Security/IAuthenticationContextFactory.cs | 2 ++ src/Tgstation.Server.Host/Security/ICryptographySuite.cs | 2 ++ src/Tgstation.Server.Host/Security/IIdentityCache.cs | 2 ++ .../Security/IPermissionsUpdateNotifyee.cs | 2 ++ src/Tgstation.Server.Host/Security/ISystemIdentity.cs | 2 ++ src/Tgstation.Server.Host/Security/ISystemIdentityFactory.cs | 2 ++ src/Tgstation.Server.Host/Security/ITokenFactory.cs | 2 ++ src/Tgstation.Server.Host/Security/IdentityCache.cs | 2 ++ src/Tgstation.Server.Host/Security/IdentityCacheObject.cs | 2 ++ .../Security/OAuth/DiscordOAuthValidator.cs | 2 ++ .../Security/OAuth/GenericOAuthValidator.cs | 2 ++ .../Security/OAuth/GitHubOAuthValidator.cs | 2 ++ src/Tgstation.Server.Host/Security/OAuth/IOAuthProviders.cs | 2 ++ src/Tgstation.Server.Host/Security/OAuth/IOAuthValidator.cs | 2 ++ .../Security/OAuth/InvisionCommunityOAuthValidator.cs | 2 ++ .../Security/OAuth/KeycloakOAuthValidator.cs | 2 ++ src/Tgstation.Server.Host/Security/OAuth/OAuthProviders.cs | 2 ++ src/Tgstation.Server.Host/Security/OAuth/OAuthTokenRequest.cs | 2 ++ .../Security/OAuth/TGForumsOAuthValidator.cs | 2 ++ src/Tgstation.Server.Host/Security/PosixSystemIdentity.cs | 2 ++ .../Security/PosixSystemIdentityFactory.cs | 2 ++ src/Tgstation.Server.Host/Security/TgsAuthorizeAttribute.cs | 2 ++ src/Tgstation.Server.Host/Security/TokenFactory.cs | 2 ++ src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs | 2 ++ .../Security/WindowsSystemIdentityFactory.cs | 2 ++ src/Tgstation.Server.Host/Server.cs | 2 ++ src/Tgstation.Server.Host/ServerFactory.cs | 2 ++ src/Tgstation.Server.Host/Setup/IPostSetupServices.cs | 2 ++ .../Setup/IPostSetupServices{TLoggerType}.cs | 2 ++ src/Tgstation.Server.Host/Setup/PostSetupServices.cs | 2 ++ src/Tgstation.Server.Host/Setup/SetupApplication.cs | 2 ++ src/Tgstation.Server.Host/Setup/SetupWizard.cs | 2 ++ src/Tgstation.Server.Host/Swarm/ISwarmOperations.cs | 2 ++ src/Tgstation.Server.Host/Swarm/ISwarmService.cs | 2 ++ src/Tgstation.Server.Host/Swarm/ISwarmServiceController.cs | 2 ++ src/Tgstation.Server.Host/Swarm/ISwarmUpdateAborter.cs | 2 ++ src/Tgstation.Server.Host/Swarm/SwarmConstants.cs | 2 ++ src/Tgstation.Server.Host/Swarm/SwarmRegistrationRequest.cs | 2 ++ src/Tgstation.Server.Host/Swarm/SwarmServersUpdateRequest.cs | 2 ++ src/Tgstation.Server.Host/Swarm/SwarmService.cs | 2 ++ src/Tgstation.Server.Host/Swarm/SwarmUpdateOperation.cs | 2 ++ src/Tgstation.Server.Host/Swarm/SwarmUpdateRequest.cs | 2 ++ .../System/AssemblyInformationProvider.cs | 2 ++ .../System/IAssemblyInformationProvider.cs | 2 ++ src/Tgstation.Server.Host/System/IPlatformIdentifier.cs | 2 ++ src/Tgstation.Server.Host/System/IProcess.cs | 2 ++ src/Tgstation.Server.Host/System/IProcessBase.cs | 2 ++ src/Tgstation.Server.Host/System/IProcessExecutor.cs | 4 +++- src/Tgstation.Server.Host/System/IProcessFeatures.cs | 2 ++ src/Tgstation.Server.Host/System/NativeMethods.cs | 2 ++ src/Tgstation.Server.Host/System/PlatformIdentifier.cs | 2 ++ src/Tgstation.Server.Host/System/PosixProcessFeatures.cs | 2 ++ src/Tgstation.Server.Host/System/PosixSignalHandler.cs | 2 ++ src/Tgstation.Server.Host/System/Process.cs | 2 ++ src/Tgstation.Server.Host/System/ProcessExecutor.cs | 2 ++ .../System/ProgramShutdownTokenSource.cs | 2 ++ src/Tgstation.Server.Host/System/SystemDManager.cs | 2 ++ src/Tgstation.Server.Host/System/WindowsFirewallHelper.cs | 2 ++ .../System/WindowsNetworkPromptReaper.cs | 2 ++ src/Tgstation.Server.Host/System/WindowsProcessFeatures.cs | 2 ++ src/Tgstation.Server.Host/Tgstation.Server.Host.csproj | 1 + src/Tgstation.Server.Host/Transfer/FileDownloadProvider.cs | 2 ++ src/Tgstation.Server.Host/Transfer/FileTransferService.cs | 2 ++ src/Tgstation.Server.Host/Transfer/FileUploadProvider.cs | 2 ++ .../Transfer/IFileTransferStreamHandler.cs | 2 ++ .../Transfer/IFileTransferTicketProvider.cs | 2 ++ src/Tgstation.Server.Host/Transfer/IFileUploadTicket.cs | 2 ++ src/Tgstation.Server.Host/Utils/AbstractHttpClientFactory.cs | 2 ++ src/Tgstation.Server.Host/Utils/ApiHeadersProvider.cs | 2 ++ src/Tgstation.Server.Host/Utils/AsyncDelayer.cs | 2 ++ src/Tgstation.Server.Host/Utils/FifoSemaphore.cs | 2 ++ src/Tgstation.Server.Host/Utils/GitHub/GitHubClientFactory.cs | 2 ++ src/Tgstation.Server.Host/Utils/GitHub/GitHubService.cs | 2 ++ .../Utils/GitHub/GitHubServiceFactory.cs | 2 ++ .../Utils/GitHub/IAuthenticatedGitHubService.cs | 2 ++ .../Utils/GitHub/IGitHubClientFactory.cs | 2 ++ src/Tgstation.Server.Host/Utils/GitHub/IGitHubService.cs | 2 ++ src/Tgstation.Server.Host/Utils/IApiHeadersProvider.cs | 2 ++ src/Tgstation.Server.Host/Utils/IAsyncDelayer.cs | 2 ++ src/Tgstation.Server.Host/Utils/IPortAllocator.cs | 2 ++ .../Utils/OpenApiEnumVarNamesExtension.cs | 2 ++ src/Tgstation.Server.Host/Utils/PortAllocator.cs | 2 ++ src/Tgstation.Server.Host/Utils/ReferenceCounter.cs | 2 ++ src/Tgstation.Server.Host/Utils/ReferenceCountingContainer.cs | 2 ++ src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs | 2 ++ .../Utils/SignalR/ComprehensiveHubContext.cs | 2 ++ .../Utils/SignalR/ConnectionMappingHub.cs | 2 ++ .../Utils/SignalR/IConnectionMappedHubContext.cs | 2 ++ .../Utils/SignalR/IHubConnectionMapper.cs | 2 ++ src/Tgstation.Server.Host/Utils/SwaggerConfiguration.cs | 2 ++ 386 files changed, 784 insertions(+), 13 deletions(-) diff --git a/src/Tgstation.Server.Host/Components/Chat/ChannelMapping.cs b/src/Tgstation.Server.Host/Components/Chat/ChannelMapping.cs index d7430d7c69..8773e402a9 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ChannelMapping.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ChannelMapping.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Chat +#nullable disable + +namespace Tgstation.Server.Host.Components.Chat { /// /// Represents a mapping of a . diff --git a/src/Tgstation.Server.Host/Components/Chat/ChannelRepresentation.cs b/src/Tgstation.Server.Host/Components/Chat/ChannelRepresentation.cs index a24f416ec1..aed43e0817 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ChannelRepresentation.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ChannelRepresentation.cs @@ -3,6 +3,8 @@ using System.Globalization; using Newtonsoft.Json; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/ChatManager.cs b/src/Tgstation.Server.Host/Components/Chat/ChatManager.cs index 7e3daa6646..409c6555c2 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ChatManager.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ChatManager.cs @@ -21,6 +21,8 @@ using Tgstation.Server.Host.Components.Interop; using Tgstation.Server.Host.Core; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/ChatManagerFactory.cs b/src/Tgstation.Server.Host/Components/Chat/ChatManagerFactory.cs index 12427da6be..7e9c09eb42 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ChatManagerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ChatManagerFactory.cs @@ -8,6 +8,8 @@ using Tgstation.Server.Host.Components.Chat.Commands; using Tgstation.Server.Host.Components.Chat.Providers; using Tgstation.Server.Host.Core; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/ChatTrackingContext.cs b/src/Tgstation.Server.Host/Components/Chat/ChatTrackingContext.cs index 369ccdeeeb..bf6ab315ed 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ChatTrackingContext.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ChatTrackingContext.cs @@ -8,6 +8,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Host.Components.Chat.Commands; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/ChatUser.cs b/src/Tgstation.Server.Host/Components/Chat/ChatUser.cs index 6de07109ea..9660bc6c83 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ChatUser.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ChatUser.cs @@ -3,6 +3,8 @@ using System.Globalization; using Newtonsoft.Json; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/CommandFactory.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/CommandFactory.cs index d4fda66603..28eecb2628 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/CommandFactory.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/CommandFactory.cs @@ -8,6 +8,8 @@ using Tgstation.Server.Host.Components.Watchdog; using Tgstation.Server.Host.Database; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/CustomCommand.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/CustomCommand.cs index 617b1dba48..b11d22d5ef 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/CustomCommand.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/CustomCommand.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.Interop; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/EngineCommand.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/EngineCommand.cs index 9e92f3f02f..75a6e79e54 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/EngineCommand.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/EngineCommand.cs @@ -8,6 +8,8 @@ using Tgstation.Server.Host.Components.Engine; using Tgstation.Server.Host.Components.Interop; using Tgstation.Server.Host.Components.Watchdog; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/ICommand.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/ICommand.cs index 766f29b6c0..c5d4e3ef3e 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/ICommand.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/ICommand.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.Interop; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/ICommandFactory.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/ICommandFactory.cs index c3ffa50d74..1cc91c7ada 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/ICommandFactory.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/ICommandFactory.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/KekCommand.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/KekCommand.cs index a41278ae0a..f5ef18e1d9 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/KekCommand.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/KekCommand.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.Interop; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/PullRequestsCommand.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/PullRequestsCommand.cs index 39a99bcac4..990b5bdc11 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/PullRequestsCommand.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/PullRequestsCommand.cs @@ -13,6 +13,8 @@ using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Components.Watchdog; using Tgstation.Server.Host.Database; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/RevisionCommand.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/RevisionCommand.cs index aceff96435..60c12f9fc3 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/RevisionCommand.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/RevisionCommand.cs @@ -9,6 +9,8 @@ using Tgstation.Server.Host.Components.Interop; using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Components.Watchdog; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/VersionCommand.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/VersionCommand.cs index 60e7f9e9a1..5857f6fea7 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/VersionCommand.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/VersionCommand.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.Interop; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Commands { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/IChannelSink.cs b/src/Tgstation.Server.Host/Components/Chat/IChannelSink.cs index e9e366902e..78dbee1d73 100644 --- a/src/Tgstation.Server.Host/Components/Chat/IChannelSink.cs +++ b/src/Tgstation.Server.Host/Components/Chat/IChannelSink.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/IChatManager.cs b/src/Tgstation.Server.Host/Components/Chat/IChatManager.cs index ae4aefb8fb..435c867d3e 100644 --- a/src/Tgstation.Server.Host/Components/Chat/IChatManager.cs +++ b/src/Tgstation.Server.Host/Components/Chat/IChatManager.cs @@ -6,6 +6,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Interop; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/IChatManagerFactory.cs b/src/Tgstation.Server.Host/Components/Chat/IChatManagerFactory.cs index bff29dc9c4..4af42411be 100644 --- a/src/Tgstation.Server.Host/Components/Chat/IChatManagerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Chat/IChatManagerFactory.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Components.Chat.Commands; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/IChatTrackingContext.cs b/src/Tgstation.Server.Host/Components/Chat/IChatTrackingContext.cs index 37e1da9584..284c0f5564 100644 --- a/src/Tgstation.Server.Host/Components/Chat/IChatTrackingContext.cs +++ b/src/Tgstation.Server.Host/Components/Chat/IChatTrackingContext.cs @@ -3,6 +3,8 @@ using System.Collections.Generic; using Tgstation.Server.Host.Components.Chat.Commands; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/ICustomCommandHandler.cs b/src/Tgstation.Server.Host/Components/Chat/ICustomCommandHandler.cs index bf406bb421..988f3faa2f 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ICustomCommandHandler.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ICustomCommandHandler.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.Interop; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordForwardingResponder.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordForwardingResponder.cs index 85444cb499..878ac1bc4c 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordForwardingResponder.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordForwardingResponder.cs @@ -6,6 +6,8 @@ using Remora.Discord.API.Abstractions.Gateway.Events; using Remora.Discord.Gateway.Responders; using Remora.Results; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordMessage.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordMessage.cs index b0b3fbb56e..4d55e31d85 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordMessage.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordMessage.cs @@ -1,6 +1,8 @@ using Remora.Discord.API.Abstractions.Objects; using Remora.Rest.Core; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordProvider.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordProvider.cs index bda2228065..3ee853f36c 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordProvider.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/DiscordProvider.cs @@ -33,6 +33,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/IDiscordResponders.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/IDiscordResponders.cs index d0c320fa9e..3ca8ec9d42 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/IDiscordResponders.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/IDiscordResponders.cs @@ -1,6 +1,8 @@ using Remora.Discord.API.Abstractions.Gateway.Events; using Remora.Discord.Gateway.Responders; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/IProvider.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/IProvider.cs index 22028aefc7..0fc6beeb29 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/IProvider.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/IProvider.cs @@ -7,6 +7,8 @@ using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Interop; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/IProviderFactory.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/IProviderFactory.cs index d79e0bb7d5..fea864ea71 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/IProviderFactory.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/IProviderFactory.cs @@ -1,5 +1,7 @@ using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/IrcProvider.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/IrcProvider.cs index e4fe37a93e..b870536fb7 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/IrcProvider.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/IrcProvider.cs @@ -19,6 +19,8 @@ using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/Message.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/Message.cs index 9510113f62..f410514b80 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/Message.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/Message.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Chat.Providers +#nullable disable + +namespace Tgstation.Server.Host.Components.Chat.Providers { /// /// Represents a message received by a . diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/Provider.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/Provider.cs index 7da3b29930..1a036d7ffd 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/Provider.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/Provider.cs @@ -11,6 +11,8 @@ using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Chat/Providers/ProviderFactory.cs b/src/Tgstation.Server.Host/Components/Chat/Providers/ProviderFactory.cs index ed3608b92d..9519abcc1c 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Providers/ProviderFactory.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Providers/ProviderFactory.cs @@ -10,6 +10,8 @@ using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Chat.Providers { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs b/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs index de36092c6b..3e969409b4 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs @@ -16,6 +16,8 @@ using Tgstation.Server.Host.Database; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/DmbProvider.cs b/src/Tgstation.Server.Host/Components/Deployment/DmbProvider.cs index 37c44d9fab..359fc615e2 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/DmbProvider.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/DmbProvider.cs @@ -5,6 +5,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/DmbProviderBase.cs b/src/Tgstation.Server.Host/Components/Deployment/DmbProviderBase.cs index 5f1248463d..cdc57215ac 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/DmbProviderBase.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/DmbProviderBase.cs @@ -5,6 +5,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs b/src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs index 3a8a256fd1..5d99463637 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs @@ -25,6 +25,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/HardLinkDmbProvider.cs b/src/Tgstation.Server.Host/Components/Deployment/HardLinkDmbProvider.cs index 568786e340..99fd9c4bc2 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/HardLinkDmbProvider.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/HardLinkDmbProvider.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.Extensions; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/ICompileJobSink.cs b/src/Tgstation.Server.Host/Components/Deployment/ICompileJobSink.cs index 49d4eae165..90a0f1596c 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/ICompileJobSink.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/ICompileJobSink.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/IDmbFactory.cs b/src/Tgstation.Server.Host/Components/Deployment/IDmbFactory.cs index 6ff04b0a00..a6c3173677 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/IDmbFactory.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/IDmbFactory.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/IDmbProvider.cs b/src/Tgstation.Server.Host/Components/Deployment/IDmbProvider.cs index 820796c318..20ef72dd33 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/IDmbProvider.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/IDmbProvider.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/IDreamMaker.cs b/src/Tgstation.Server.Host/Components/Deployment/IDreamMaker.cs index 3244308016..b9e8f4e88a 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/IDreamMaker.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/IDreamMaker.cs @@ -5,6 +5,8 @@ using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/ILatestCompileJobProvider.cs b/src/Tgstation.Server.Host/Components/Deployment/ILatestCompileJobProvider.cs index 38a90c8dc6..d60ac9ad31 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/ILatestCompileJobProvider.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/ILatestCompileJobProvider.cs @@ -1,5 +1,7 @@ using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/Remote/BaseRemoteDeploymentManager.cs b/src/Tgstation.Server.Host/Components/Deployment/Remote/BaseRemoteDeploymentManager.cs index db48c659ba..b06a3f8662 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/Remote/BaseRemoteDeploymentManager.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/Remote/BaseRemoteDeploymentManager.cs @@ -11,6 +11,8 @@ using Tgstation.Server.Common.Extensions; using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment.Remote { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/Remote/GitHubRemoteDeploymentManager.cs b/src/Tgstation.Server.Host/Components/Deployment/Remote/GitHubRemoteDeploymentManager.cs index 751bb33646..493daab039 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/Remote/GitHubRemoteDeploymentManager.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/Remote/GitHubRemoteDeploymentManager.cs @@ -17,6 +17,8 @@ using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Utils.GitHub; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment.Remote { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/Remote/GitLabRemoteDeploymentManager.cs b/src/Tgstation.Server.Host/Components/Deployment/Remote/GitLabRemoteDeploymentManager.cs index 2686764cca..0190d0c993 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/Remote/GitLabRemoteDeploymentManager.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/Remote/GitLabRemoteDeploymentManager.cs @@ -14,6 +14,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment.Remote { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManager.cs b/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManager.cs index 42b154ac7e..de92f3d31b 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManager.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManager.cs @@ -6,6 +6,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment.Remote { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManagerFactory.cs b/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManagerFactory.cs index b3dce1f69c..129d5aa35a 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManagerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManagerFactory.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment.Remote { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/Remote/NoOpRemoteDeploymentManager.cs b/src/Tgstation.Server.Host/Components/Deployment/Remote/NoOpRemoteDeploymentManager.cs index 6751f18184..250b43bddf 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/Remote/NoOpRemoteDeploymentManager.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/Remote/NoOpRemoteDeploymentManager.cs @@ -10,6 +10,8 @@ using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment.Remote { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/Remote/RemoteDeploymentManagerFactory.cs b/src/Tgstation.Server.Host/Components/Deployment/Remote/RemoteDeploymentManagerFactory.cs index 0fdce864cf..d525d3dffe 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/Remote/RemoteDeploymentManagerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/Remote/RemoteDeploymentManagerFactory.cs @@ -9,6 +9,8 @@ using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Utils.GitHub; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment.Remote { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/SwappableDmbProvider.cs b/src/Tgstation.Server.Host/Components/Deployment/SwappableDmbProvider.cs index 75c5a1b6bb..954fa920be 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/SwappableDmbProvider.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/SwappableDmbProvider.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/SymlinkDmbProvider.cs b/src/Tgstation.Server.Host/Components/Deployment/SymlinkDmbProvider.cs index edb570bcb8..a920641d0d 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/SymlinkDmbProvider.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/SymlinkDmbProvider.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Deployment/TemporaryDmbProvider.cs b/src/Tgstation.Server.Host/Components/Deployment/TemporaryDmbProvider.cs index 4d528d7ba1..38c5067c55 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/TemporaryDmbProvider.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/TemporaryDmbProvider.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Deployment { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/ByondInstallation.cs b/src/Tgstation.Server.Host/Components/Engine/ByondInstallation.cs index ba730a7c7f..b1cc0a9d5d 100644 --- a/src/Tgstation.Server.Host/Components/Engine/ByondInstallation.cs +++ b/src/Tgstation.Server.Host/Components/Engine/ByondInstallation.cs @@ -7,6 +7,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Deployment; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/ByondInstallerBase.cs b/src/Tgstation.Server.Host/Components/Engine/ByondInstallerBase.cs index cf20d498a9..96a7df1aa9 100644 --- a/src/Tgstation.Server.Host/Components/Engine/ByondInstallerBase.cs +++ b/src/Tgstation.Server.Host/Components/Engine/ByondInstallerBase.cs @@ -11,6 +11,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/DelegatingEngineInstaller.cs b/src/Tgstation.Server.Host/Components/Engine/DelegatingEngineInstaller.cs index 75393af5b7..c9e859f37d 100644 --- a/src/Tgstation.Server.Host/Components/Engine/DelegatingEngineInstaller.cs +++ b/src/Tgstation.Server.Host/Components/Engine/DelegatingEngineInstaller.cs @@ -7,6 +7,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/EngineExecutableLock.cs b/src/Tgstation.Server.Host/Components/Engine/EngineExecutableLock.cs index 70614f13e1..02d9bfe493 100644 --- a/src/Tgstation.Server.Host/Components/Engine/EngineExecutableLock.cs +++ b/src/Tgstation.Server.Host/Components/Engine/EngineExecutableLock.cs @@ -6,6 +6,8 @@ using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Deployment; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/EngineInstallationBase.cs b/src/Tgstation.Server.Host/Components/Engine/EngineInstallationBase.cs index fb607d3601..2133bdade4 100644 --- a/src/Tgstation.Server.Host/Components/Engine/EngineInstallationBase.cs +++ b/src/Tgstation.Server.Host/Components/Engine/EngineInstallationBase.cs @@ -8,6 +8,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Deployment; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/EngineInstallerBase.cs b/src/Tgstation.Server.Host/Components/Engine/EngineInstallerBase.cs index e281c3f48f..6e2d5ad3cc 100644 --- a/src/Tgstation.Server.Host/Components/Engine/EngineInstallerBase.cs +++ b/src/Tgstation.Server.Host/Components/Engine/EngineInstallerBase.cs @@ -8,6 +8,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/EngineManager.cs b/src/Tgstation.Server.Host/Components/Engine/EngineManager.cs index 1205120411..ab76763167 100644 --- a/src/Tgstation.Server.Host/Components/Engine/EngineManager.cs +++ b/src/Tgstation.Server.Host/Components/Engine/EngineManager.cs @@ -16,6 +16,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/IEngineExecutableLock.cs b/src/Tgstation.Server.Host/Components/Engine/IEngineExecutableLock.cs index 66031902fb..5d7bb087f9 100644 --- a/src/Tgstation.Server.Host/Components/Engine/IEngineExecutableLock.cs +++ b/src/Tgstation.Server.Host/Components/Engine/IEngineExecutableLock.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/IEngineInstallation.cs b/src/Tgstation.Server.Host/Components/Engine/IEngineInstallation.cs index f9aecca33b..861d6ebe90 100644 --- a/src/Tgstation.Server.Host/Components/Engine/IEngineInstallation.cs +++ b/src/Tgstation.Server.Host/Components/Engine/IEngineInstallation.cs @@ -5,6 +5,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Deployment; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/IEngineInstallationData.cs b/src/Tgstation.Server.Host/Components/Engine/IEngineInstallationData.cs index b3d8458973..6385be5a9e 100644 --- a/src/Tgstation.Server.Host/Components/Engine/IEngineInstallationData.cs +++ b/src/Tgstation.Server.Host/Components/Engine/IEngineInstallationData.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/IEngineInstaller.cs b/src/Tgstation.Server.Host/Components/Engine/IEngineInstaller.cs index 2360202584..427ebfe55f 100644 --- a/src/Tgstation.Server.Host/Components/Engine/IEngineInstaller.cs +++ b/src/Tgstation.Server.Host/Components/Engine/IEngineInstaller.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/IEngineManager.cs b/src/Tgstation.Server.Host/Components/Engine/IEngineManager.cs index bc272b1038..d53d77c53a 100644 --- a/src/Tgstation.Server.Host/Components/Engine/IEngineManager.cs +++ b/src/Tgstation.Server.Host/Components/Engine/IEngineManager.cs @@ -7,6 +7,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/OpenDreamInstallation.cs b/src/Tgstation.Server.Host/Components/Engine/OpenDreamInstallation.cs index 254861e69a..db3e7a7392 100644 --- a/src/Tgstation.Server.Host/Components/Engine/OpenDreamInstallation.cs +++ b/src/Tgstation.Server.Host/Components/Engine/OpenDreamInstallation.cs @@ -7,6 +7,8 @@ using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Deployment; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/OpenDreamInstaller.cs b/src/Tgstation.Server.Host/Components/Engine/OpenDreamInstaller.cs index bbd09ed1c1..feb26e8be5 100644 --- a/src/Tgstation.Server.Host/Components/Engine/OpenDreamInstaller.cs +++ b/src/Tgstation.Server.Host/Components/Engine/OpenDreamInstaller.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/PosixByondInstaller.cs b/src/Tgstation.Server.Host/Components/Engine/PosixByondInstaller.cs index cddace53c8..ed58f07d41 100644 --- a/src/Tgstation.Server.Host/Components/Engine/PosixByondInstaller.cs +++ b/src/Tgstation.Server.Host/Components/Engine/PosixByondInstaller.cs @@ -10,6 +10,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Common.Extensions; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/RepositoryEngineInstallationData.cs b/src/Tgstation.Server.Host/Components/Engine/RepositoryEngineInstallationData.cs index 88fbb77911..2c96b6f311 100644 --- a/src/Tgstation.Server.Host/Components/Engine/RepositoryEngineInstallationData.cs +++ b/src/Tgstation.Server.Host/Components/Engine/RepositoryEngineInstallationData.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/WindowsByondInstaller.cs b/src/Tgstation.Server.Host/Components/Engine/WindowsByondInstaller.cs index 0ebf63ff9f..d119a5350f 100644 --- a/src/Tgstation.Server.Host/Components/Engine/WindowsByondInstaller.cs +++ b/src/Tgstation.Server.Host/Components/Engine/WindowsByondInstaller.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/WindowsOpenDreamInstaller.cs b/src/Tgstation.Server.Host/Components/Engine/WindowsOpenDreamInstaller.cs index 4f42884c7f..e821f675af 100644 --- a/src/Tgstation.Server.Host/Components/Engine/WindowsOpenDreamInstaller.cs +++ b/src/Tgstation.Server.Host/Components/Engine/WindowsOpenDreamInstaller.cs @@ -13,6 +13,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Engine/ZipStreamEngineInstallationData.cs b/src/Tgstation.Server.Host/Components/Engine/ZipStreamEngineInstallationData.cs index 292b725981..71c26b92ef 100644 --- a/src/Tgstation.Server.Host/Components/Engine/ZipStreamEngineInstallationData.cs +++ b/src/Tgstation.Server.Host/Components/Engine/ZipStreamEngineInstallationData.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Engine { /// diff --git a/src/Tgstation.Server.Host/Components/Events/EventConsumer.cs b/src/Tgstation.Server.Host/Components/Events/EventConsumer.cs index 81a0d34585..ae805853fb 100644 --- a/src/Tgstation.Server.Host/Components/Events/EventConsumer.cs +++ b/src/Tgstation.Server.Host/Components/Events/EventConsumer.cs @@ -6,6 +6,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.StaticFiles; using Tgstation.Server.Host.Components.Watchdog; +#nullable disable + namespace Tgstation.Server.Host.Components.Events { /// diff --git a/src/Tgstation.Server.Host/Components/Events/EventScriptAttribute.cs b/src/Tgstation.Server.Host/Components/Events/EventScriptAttribute.cs index ba93d34cf9..fafcd82562 100644 --- a/src/Tgstation.Server.Host/Components/Events/EventScriptAttribute.cs +++ b/src/Tgstation.Server.Host/Components/Events/EventScriptAttribute.cs @@ -1,6 +1,8 @@ using System; using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Components.Events { /// diff --git a/src/Tgstation.Server.Host/Components/Events/IEventConsumer.cs b/src/Tgstation.Server.Host/Components/Events/IEventConsumer.cs index 7fddbb8950..4c2a7be5bd 100644 --- a/src/Tgstation.Server.Host/Components/Events/IEventConsumer.cs +++ b/src/Tgstation.Server.Host/Components/Events/IEventConsumer.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Components.Events { /// diff --git a/src/Tgstation.Server.Host/Components/Events/NoopEventConsumer.cs b/src/Tgstation.Server.Host/Components/Events/NoopEventConsumer.cs index a8b07e4d7e..531018f7b5 100644 --- a/src/Tgstation.Server.Host/Components/Events/NoopEventConsumer.cs +++ b/src/Tgstation.Server.Host/Components/Events/NoopEventConsumer.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Components.Events { /// diff --git a/src/Tgstation.Server.Host/Components/IComponentService.cs b/src/Tgstation.Server.Host/Components/IComponentService.cs index b094e0a092..6ef039f654 100644 --- a/src/Tgstation.Server.Host/Components/IComponentService.cs +++ b/src/Tgstation.Server.Host/Components/IComponentService.cs @@ -1,5 +1,7 @@ using Microsoft.Extensions.Hosting; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/IInstance.cs b/src/Tgstation.Server.Host/Components/IInstance.cs index 9d8c34988e..b7b7505053 100644 --- a/src/Tgstation.Server.Host/Components/IInstance.cs +++ b/src/Tgstation.Server.Host/Components/IInstance.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/IInstanceCore.cs b/src/Tgstation.Server.Host/Components/IInstanceCore.cs index 78bce9e3f3..1fd3a29d45 100644 --- a/src/Tgstation.Server.Host/Components/IInstanceCore.cs +++ b/src/Tgstation.Server.Host/Components/IInstanceCore.cs @@ -7,6 +7,8 @@ using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Components.StaticFiles; using Tgstation.Server.Host.Components.Watchdog; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/IInstanceFactory.cs b/src/Tgstation.Server.Host/Components/IInstanceFactory.cs index 6258614b5f..5728f7f632 100644 --- a/src/Tgstation.Server.Host/Components/IInstanceFactory.cs +++ b/src/Tgstation.Server.Host/Components/IInstanceFactory.cs @@ -3,6 +3,8 @@ using Tgstation.Server.Host.Components.Interop.Bridge; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/IInstanceManager.cs b/src/Tgstation.Server.Host/Components/IInstanceManager.cs index 3174686efe..c9439c2bdb 100644 --- a/src/Tgstation.Server.Host/Components/IInstanceManager.cs +++ b/src/Tgstation.Server.Host/Components/IInstanceManager.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Components.Interop.Bridge; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/IInstanceOperations.cs b/src/Tgstation.Server.Host/Components/IInstanceOperations.cs index 3212d9d6dc..8d81a1d69c 100644 --- a/src/Tgstation.Server.Host/Components/IInstanceOperations.cs +++ b/src/Tgstation.Server.Host/Components/IInstanceOperations.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/IInstanceReference.cs b/src/Tgstation.Server.Host/Components/IInstanceReference.cs index 55f9379e80..14a63a7649 100644 --- a/src/Tgstation.Server.Host/Components/IInstanceReference.cs +++ b/src/Tgstation.Server.Host/Components/IInstanceReference.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/IRenameNotifyee.cs b/src/Tgstation.Server.Host/Components/IRenameNotifyee.cs index be22158bd9..5394921314 100644 --- a/src/Tgstation.Server.Host/Components/IRenameNotifyee.cs +++ b/src/Tgstation.Server.Host/Components/IRenameNotifyee.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/Instance.cs b/src/Tgstation.Server.Host/Components/Instance.cs index 7176e8f050..10b0e89cd7 100644 --- a/src/Tgstation.Server.Host/Components/Instance.cs +++ b/src/Tgstation.Server.Host/Components/Instance.cs @@ -21,6 +21,8 @@ using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/InstanceFactory.cs b/src/Tgstation.Server.Host/Components/InstanceFactory.cs index a2e9dc6ff5..a9f5878c41 100644 --- a/src/Tgstation.Server.Host/Components/InstanceFactory.cs +++ b/src/Tgstation.Server.Host/Components/InstanceFactory.cs @@ -25,6 +25,8 @@ using Tgstation.Server.Host.System; using Tgstation.Server.Host.Transfer; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/InstanceManager.cs b/src/Tgstation.Server.Host/Components/InstanceManager.cs index 0959e9ca01..bf2b5dbba0 100644 --- a/src/Tgstation.Server.Host/Components/InstanceManager.cs +++ b/src/Tgstation.Server.Host/Components/InstanceManager.cs @@ -26,6 +26,8 @@ using Tgstation.Server.Host.Swarm; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/InstanceWrapper.cs b/src/Tgstation.Server.Host/Components/InstanceWrapper.cs index 5c525d9869..21861d1706 100644 --- a/src/Tgstation.Server.Host/Components/InstanceWrapper.cs +++ b/src/Tgstation.Server.Host/Components/InstanceWrapper.cs @@ -10,6 +10,8 @@ using Tgstation.Server.Host.Components.Watchdog; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeParameters.cs b/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeParameters.cs index c1c9213063..a1475ed1f9 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeParameters.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeParameters.cs @@ -4,6 +4,8 @@ using System.Collections.Generic; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Components.Chat.Commands; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Bridge { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeRegistration.cs b/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeRegistration.cs index ade7d5adfe..e209a63aa6 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeRegistration.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeRegistration.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Bridge { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeResponse.cs b/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeResponse.cs index f7f358d612..27113567b2 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeResponse.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Bridge/BridgeResponse.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Bridge { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Bridge/IBridgeDispatcher.cs b/src/Tgstation.Server.Host/Components/Interop/Bridge/IBridgeDispatcher.cs index 82de2d6631..166daa4a21 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Bridge/IBridgeDispatcher.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Bridge/IBridgeDispatcher.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Bridge { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Bridge/IBridgeRegistration.cs b/src/Tgstation.Server.Host/Components/Interop/Bridge/IBridgeRegistration.cs index 189846f081..50f17cf912 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Bridge/IBridgeRegistration.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Bridge/IBridgeRegistration.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Bridge { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Bridge/RuntimeInformation.cs b/src/Tgstation.Server.Host/Components/Interop/Bridge/RuntimeInformation.cs index b7d05b67d7..a24a17a614 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Bridge/RuntimeInformation.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Bridge/RuntimeInformation.cs @@ -9,6 +9,8 @@ using Tgstation.Server.Host.Components.Chat; using Tgstation.Server.Host.Components.Deployment; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Bridge { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Bridge/TestMergeInformation.cs b/src/Tgstation.Server.Host/Components/Interop/Bridge/TestMergeInformation.cs index 1270af68cf..3543f052bb 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Bridge/TestMergeInformation.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Bridge/TestMergeInformation.cs @@ -3,6 +3,8 @@ using System.Globalization; using Tgstation.Server.Api.Models.Internal; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Bridge { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/ChatEmbed.cs b/src/Tgstation.Server.Host/Components/Interop/ChatEmbed.cs index da3518ec2a..e76c2bcbd8 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChatEmbed.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChatEmbed.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedAuthor.cs b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedAuthor.cs index b79d38be5b..97b5d26fd4 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedAuthor.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedAuthor.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Interop +#nullable disable + +namespace Tgstation.Server.Host.Components.Interop { /// /// Represents information about a author. diff --git a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedField.cs b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedField.cs index 9d3ca0b864..f584557992 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedField.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedField.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Interop +#nullable disable + +namespace Tgstation.Server.Host.Components.Interop { /// /// Represents a field in a . diff --git a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedFooter.cs b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedFooter.cs index 0df7a2c5d9..2105603d92 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedFooter.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedFooter.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Interop +#nullable disable + +namespace Tgstation.Server.Host.Components.Interop { /// /// Represents a footer in a . diff --git a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedMedia.cs b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedMedia.cs index 1cad4c4349..ebab7bfa80 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedMedia.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedMedia.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Interop +#nullable disable + +namespace Tgstation.Server.Host.Components.Interop { /// /// Represents information about a thumbnail in a . diff --git a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedProvider.cs b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedProvider.cs index 386a269a7d..c7a29b039e 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChatEmbedProvider.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChatEmbedProvider.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Interop +#nullable disable + +namespace Tgstation.Server.Host.Components.Interop { /// /// Represents information about a provider. diff --git a/src/Tgstation.Server.Host/Components/Interop/ChatMessage.cs b/src/Tgstation.Server.Host/Components/Interop/ChatMessage.cs index 3d8900e427..2178cc1a1d 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChatMessage.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChatMessage.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/ChatUpdate.cs b/src/Tgstation.Server.Host/Components/Interop/ChatUpdate.cs index 12e9b408ab..af902de7b6 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChatUpdate.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChatUpdate.cs @@ -4,6 +4,8 @@ using System.Linq; using Tgstation.Server.Host.Components.Chat; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/ChunkData.cs b/src/Tgstation.Server.Host/Components/Interop/ChunkData.cs index ee6122d764..8c442413c5 100644 --- a/src/Tgstation.Server.Host/Components/Interop/ChunkData.cs +++ b/src/Tgstation.Server.Host/Components/Interop/ChunkData.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Interop +#nullable disable + +namespace Tgstation.Server.Host.Components.Interop { /// /// A packet of a split serialized set of data. diff --git a/src/Tgstation.Server.Host/Components/Interop/Chunker.cs b/src/Tgstation.Server.Host/Components/Interop/Chunker.cs index d6a0c7c024..ae8341b942 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Chunker.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Chunker.cs @@ -7,6 +7,8 @@ using Microsoft.Extensions.Logging; using Newtonsoft.Json; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/DMApiConstants.cs b/src/Tgstation.Server.Host/Components/Interop/DMApiConstants.cs index 2a59892180..def2cb27e7 100644 --- a/src/Tgstation.Server.Host/Components/Interop/DMApiConstants.cs +++ b/src/Tgstation.Server.Host/Components/Interop/DMApiConstants.cs @@ -6,6 +6,8 @@ using Newtonsoft.Json.Serialization; using Tgstation.Server.Host.Extensions.Converters; using Tgstation.Server.Host.Properties; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/DMApiParameters.cs b/src/Tgstation.Server.Host/Components/Interop/DMApiParameters.cs index a6faad3292..55954dd38d 100644 --- a/src/Tgstation.Server.Host/Components/Interop/DMApiParameters.cs +++ b/src/Tgstation.Server.Host/Components/Interop/DMApiParameters.cs @@ -1,5 +1,7 @@ using System.ComponentModel.DataAnnotations; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/DMApiResponse.cs b/src/Tgstation.Server.Host/Components/Interop/DMApiResponse.cs index bb1adf4925..1196d8aa6f 100644 --- a/src/Tgstation.Server.Host/Components/Interop/DMApiResponse.cs +++ b/src/Tgstation.Server.Host/Components/Interop/DMApiResponse.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Interop +#nullable disable + +namespace Tgstation.Server.Host.Components.Interop { /// /// Common base for interop responses. diff --git a/src/Tgstation.Server.Host/Components/Interop/IMissingPayloadsCommunication.cs b/src/Tgstation.Server.Host/Components/Interop/IMissingPayloadsCommunication.cs index 392cd7eecb..77c3ebff3f 100644 --- a/src/Tgstation.Server.Host/Components/Interop/IMissingPayloadsCommunication.cs +++ b/src/Tgstation.Server.Host/Components/Interop/IMissingPayloadsCommunication.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/MessageContent.cs b/src/Tgstation.Server.Host/Components/Interop/MessageContent.cs index 6d484a411b..73e2980906 100644 --- a/src/Tgstation.Server.Host/Components/Interop/MessageContent.cs +++ b/src/Tgstation.Server.Host/Components/Interop/MessageContent.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Components.Interop +#nullable disable + +namespace Tgstation.Server.Host.Components.Interop { /// /// Represents a message to send to a chat provider. diff --git a/src/Tgstation.Server.Host/Components/Interop/Topic/ChatCommand.cs b/src/Tgstation.Server.Host/Components/Interop/Topic/ChatCommand.cs index 5f50d6bba8..34aeed50e7 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Topic/ChatCommand.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Topic/ChatCommand.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Components.Chat; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Topic { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Topic/ChunkedTopicParameters.cs b/src/Tgstation.Server.Host/Components/Interop/Topic/ChunkedTopicParameters.cs index 79353a66bb..99bf573d9b 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Topic/ChunkedTopicParameters.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Topic/ChunkedTopicParameters.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Topic { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Topic/EventNotification.cs b/src/Tgstation.Server.Host/Components/Interop/Topic/EventNotification.cs index 54a8d496a5..6977a27554 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Topic/EventNotification.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Topic/EventNotification.cs @@ -4,6 +4,8 @@ using System.Linq; using Tgstation.Server.Host.Components.Events; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Topic { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Topic/TopicCommandType.cs b/src/Tgstation.Server.Host/Components/Interop/Topic/TopicCommandType.cs index 286c605d07..08d8917a66 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Topic/TopicCommandType.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Topic/TopicCommandType.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Topic { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Topic/TopicParameters.cs b/src/Tgstation.Server.Host/Components/Interop/Topic/TopicParameters.cs index 65c060b412..8674e0679d 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Topic/TopicParameters.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Topic/TopicParameters.cs @@ -4,6 +4,8 @@ using Newtonsoft.Json; using Tgstation.Server.Host.Components.Session; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Topic { /// diff --git a/src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs b/src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs index f108aba543..3b936b514e 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Topic/TopicResponse.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Components.Chat.Commands; +#nullable disable + namespace Tgstation.Server.Host.Components.Interop.Topic { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/DefaultGitRemoteFeatures.cs b/src/Tgstation.Server.Host/Components/Repository/DefaultGitRemoteFeatures.cs index ead4007720..c5909b7b84 100644 --- a/src/Tgstation.Server.Host/Components/Repository/DefaultGitRemoteFeatures.cs +++ b/src/Tgstation.Server.Host/Components/Repository/DefaultGitRemoteFeatures.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/GitHubRemoteFeatures.cs b/src/Tgstation.Server.Host/Components/Repository/GitHubRemoteFeatures.cs index 6e5d5c4ec0..2aa9cb3312 100644 --- a/src/Tgstation.Server.Host/Components/Repository/GitHubRemoteFeatures.cs +++ b/src/Tgstation.Server.Host/Components/Repository/GitHubRemoteFeatures.cs @@ -9,6 +9,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Utils.GitHub; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/GitLabRemoteFeatures.cs b/src/Tgstation.Server.Host/Components/Repository/GitLabRemoteFeatures.cs index def1adbaaf..1f34ceeacb 100644 --- a/src/Tgstation.Server.Host/Components/Repository/GitLabRemoteFeatures.cs +++ b/src/Tgstation.Server.Host/Components/Repository/GitLabRemoteFeatures.cs @@ -8,6 +8,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/GitRemoteFeaturesBase.cs b/src/Tgstation.Server.Host/Components/Repository/GitRemoteFeaturesBase.cs index 1b1c5337af..b0adfdb298 100644 --- a/src/Tgstation.Server.Host/Components/Repository/GitRemoteFeaturesBase.cs +++ b/src/Tgstation.Server.Host/Components/Repository/GitRemoteFeaturesBase.cs @@ -8,6 +8,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/GitRemoteFeaturesFactory.cs b/src/Tgstation.Server.Host/Components/Repository/GitRemoteFeaturesFactory.cs index ab5dcb45ec..2c7c222071 100644 --- a/src/Tgstation.Server.Host/Components/Repository/GitRemoteFeaturesFactory.cs +++ b/src/Tgstation.Server.Host/Components/Repository/GitRemoteFeaturesFactory.cs @@ -5,6 +5,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Utils.GitHub; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/ICredentialsProvider.cs b/src/Tgstation.Server.Host/Components/Repository/ICredentialsProvider.cs index cef08354c6..d120754a5e 100644 --- a/src/Tgstation.Server.Host/Components/Repository/ICredentialsProvider.cs +++ b/src/Tgstation.Server.Host/Components/Repository/ICredentialsProvider.cs @@ -3,6 +3,8 @@ using LibGit2Sharp.Handlers; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/IGitRemoteAdditionalInformation.cs b/src/Tgstation.Server.Host/Components/Repository/IGitRemoteAdditionalInformation.cs index ffead020f9..a933a85ad1 100644 --- a/src/Tgstation.Server.Host/Components/Repository/IGitRemoteAdditionalInformation.cs +++ b/src/Tgstation.Server.Host/Components/Repository/IGitRemoteAdditionalInformation.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/IGitRemoteFeaturesFactory.cs b/src/Tgstation.Server.Host/Components/Repository/IGitRemoteFeaturesFactory.cs index 42a55e6285..dd4ee7de3a 100644 --- a/src/Tgstation.Server.Host/Components/Repository/IGitRemoteFeaturesFactory.cs +++ b/src/Tgstation.Server.Host/Components/Repository/IGitRemoteFeaturesFactory.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/ILibGit2Commands.cs b/src/Tgstation.Server.Host/Components/Repository/ILibGit2Commands.cs index 6c0ab0da49..e4fc821ec4 100644 --- a/src/Tgstation.Server.Host/Components/Repository/ILibGit2Commands.cs +++ b/src/Tgstation.Server.Host/Components/Repository/ILibGit2Commands.cs @@ -2,6 +2,8 @@ using LibGit2Sharp; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/ILibGit2RepositoryFactory.cs b/src/Tgstation.Server.Host/Components/Repository/ILibGit2RepositoryFactory.cs index 34b8c56669..b69df2783f 100644 --- a/src/Tgstation.Server.Host/Components/Repository/ILibGit2RepositoryFactory.cs +++ b/src/Tgstation.Server.Host/Components/Repository/ILibGit2RepositoryFactory.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using LibGit2Sharp; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/IRepository.cs b/src/Tgstation.Server.Host/Components/Repository/IRepository.cs index 0482eaaa90..ed858ab492 100644 --- a/src/Tgstation.Server.Host/Components/Repository/IRepository.cs +++ b/src/Tgstation.Server.Host/Components/Repository/IRepository.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/IRepositoryManager.cs b/src/Tgstation.Server.Host/Components/Repository/IRepositoryManager.cs index d602730e15..090e3cad82 100644 --- a/src/Tgstation.Server.Host/Components/Repository/IRepositoryManager.cs +++ b/src/Tgstation.Server.Host/Components/Repository/IRepositoryManager.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/IRepositoryManagerFactory.cs b/src/Tgstation.Server.Host/Components/Repository/IRepositoryManagerFactory.cs index 0e8c54c70e..049ad396de 100644 --- a/src/Tgstation.Server.Host/Components/Repository/IRepositoryManagerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Repository/IRepositoryManagerFactory.cs @@ -1,6 +1,8 @@ using Tgstation.Server.Host.Components.Events; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/LibGit2Commands.cs b/src/Tgstation.Server.Host/Components/Repository/LibGit2Commands.cs index ec5c37a880..b70dc7b156 100644 --- a/src/Tgstation.Server.Host/Components/Repository/LibGit2Commands.cs +++ b/src/Tgstation.Server.Host/Components/Repository/LibGit2Commands.cs @@ -3,6 +3,8 @@ using System.Collections.Generic; using LibGit2Sharp; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/LibGit2RepositoryFactory.cs b/src/Tgstation.Server.Host/Components/Repository/LibGit2RepositoryFactory.cs index 83011a61b1..e47d1a553f 100644 --- a/src/Tgstation.Server.Host/Components/Repository/LibGit2RepositoryFactory.cs +++ b/src/Tgstation.Server.Host/Components/Repository/LibGit2RepositoryFactory.cs @@ -10,6 +10,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/Repository.cs b/src/Tgstation.Server.Host/Components/Repository/Repository.cs index a3b81d2bad..7c8328344a 100644 --- a/src/Tgstation.Server.Host/Components/Repository/Repository.cs +++ b/src/Tgstation.Server.Host/Components/Repository/Repository.cs @@ -18,6 +18,8 @@ using Tgstation.Server.Host.Extensions; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/RepositoryManager.cs b/src/Tgstation.Server.Host/Components/Repository/RepositoryManager.cs index 2940e0d134..2bbe2be2d6 100644 --- a/src/Tgstation.Server.Host/Components/Repository/RepositoryManager.cs +++ b/src/Tgstation.Server.Host/Components/Repository/RepositoryManager.cs @@ -13,6 +13,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/RepositoryUpdateService.cs b/src/Tgstation.Server.Host/Components/Repository/RepositoryUpdateService.cs index 418dc9462d..8b00701f69 100644 --- a/src/Tgstation.Server.Host/Components/Repository/RepositoryUpdateService.cs +++ b/src/Tgstation.Server.Host/Components/Repository/RepositoryUpdateService.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/RepostoryManagerFactory.cs b/src/Tgstation.Server.Host/Components/Repository/RepostoryManagerFactory.cs index cba66ff69a..140b79f03c 100644 --- a/src/Tgstation.Server.Host/Components/Repository/RepostoryManagerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Repository/RepostoryManagerFactory.cs @@ -9,6 +9,8 @@ using Tgstation.Server.Host.Components.Events; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Repository/TestMergeResult.cs b/src/Tgstation.Server.Host/Components/Repository/TestMergeResult.cs index 387a6baad1..c722590e30 100644 --- a/src/Tgstation.Server.Host/Components/Repository/TestMergeResult.cs +++ b/src/Tgstation.Server.Host/Components/Repository/TestMergeResult.cs @@ -2,6 +2,8 @@ using LibGit2Sharp; +#nullable disable + namespace Tgstation.Server.Host.Components.Repository { /// diff --git a/src/Tgstation.Server.Host/Components/Session/CombinedTopicResponse.cs b/src/Tgstation.Server.Host/Components/Session/CombinedTopicResponse.cs index 417934f04a..2b7a09b174 100644 --- a/src/Tgstation.Server.Host/Components/Session/CombinedTopicResponse.cs +++ b/src/Tgstation.Server.Host/Components/Session/CombinedTopicResponse.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Components.Interop.Topic; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/ISessionController.cs b/src/Tgstation.Server.Host/Components/Session/ISessionController.cs index 2769aafa60..d42190c78f 100644 --- a/src/Tgstation.Server.Host/Components/Session/ISessionController.cs +++ b/src/Tgstation.Server.Host/Components/Session/ISessionController.cs @@ -7,6 +7,8 @@ using Tgstation.Server.Host.Components.Deployment; using Tgstation.Server.Host.Components.Interop.Topic; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/ISessionControllerFactory.cs b/src/Tgstation.Server.Host/Components/Session/ISessionControllerFactory.cs index 26cc5e4a63..34f58c8cc0 100644 --- a/src/Tgstation.Server.Host/Components/Session/ISessionControllerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Session/ISessionControllerFactory.cs @@ -5,6 +5,8 @@ using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Deployment; using Tgstation.Server.Host.Components.Engine; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/ISessionPersistor.cs b/src/Tgstation.Server.Host/Components/Session/ISessionPersistor.cs index 5b1f1d7200..597208530e 100644 --- a/src/Tgstation.Server.Host/Components/Session/ISessionPersistor.cs +++ b/src/Tgstation.Server.Host/Components/Session/ISessionPersistor.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/ITopicClientFactory.cs b/src/Tgstation.Server.Host/Components/Session/ITopicClientFactory.cs index c4be5235a1..7f60ace9d0 100644 --- a/src/Tgstation.Server.Host/Components/Session/ITopicClientFactory.cs +++ b/src/Tgstation.Server.Host/Components/Session/ITopicClientFactory.cs @@ -2,6 +2,8 @@ using Byond.TopicSender; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/LaunchResult.cs b/src/Tgstation.Server.Host/Components/Session/LaunchResult.cs index fd5785fd41..de536ce83e 100644 --- a/src/Tgstation.Server.Host/Components/Session/LaunchResult.cs +++ b/src/Tgstation.Server.Host/Components/Session/LaunchResult.cs @@ -1,6 +1,8 @@ using System; using System.Globalization; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/ReattachInformation.cs b/src/Tgstation.Server.Host/Components/Session/ReattachInformation.cs index 6c429d2d0a..3ddeff51d7 100644 --- a/src/Tgstation.Server.Host/Components/Session/ReattachInformation.cs +++ b/src/Tgstation.Server.Host/Components/Session/ReattachInformation.cs @@ -5,6 +5,8 @@ using Tgstation.Server.Host.Components.Interop.Bridge; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/SessionController.cs b/src/Tgstation.Server.Host/Components/Session/SessionController.cs index d3feab14a6..0b191289cb 100644 --- a/src/Tgstation.Server.Host/Components/Session/SessionController.cs +++ b/src/Tgstation.Server.Host/Components/Session/SessionController.cs @@ -25,6 +25,8 @@ using Tgstation.Server.Host.Components.Interop.Topic; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs b/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs index a54f9f8874..79abda99a8 100644 --- a/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs +++ b/src/Tgstation.Server.Host/Components/Session/SessionControllerFactory.cs @@ -26,6 +26,8 @@ using Tgstation.Server.Host.Security; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/SessionPersistor.cs b/src/Tgstation.Server.Host/Components/Session/SessionPersistor.cs index e932fa6ec7..7eebd9a2af 100644 --- a/src/Tgstation.Server.Host/Components/Session/SessionPersistor.cs +++ b/src/Tgstation.Server.Host/Components/Session/SessionPersistor.cs @@ -12,6 +12,8 @@ using Tgstation.Server.Host.System; using Z.EntityFramework.Plus; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/Session/TopicClientFactory.cs b/src/Tgstation.Server.Host/Components/Session/TopicClientFactory.cs index 40605e5de8..e319b53ec5 100644 --- a/src/Tgstation.Server.Host/Components/Session/TopicClientFactory.cs +++ b/src/Tgstation.Server.Host/Components/Session/TopicClientFactory.cs @@ -3,6 +3,8 @@ using Byond.TopicSender; using Microsoft.Extensions.Logging; +#nullable disable + namespace Tgstation.Server.Host.Components.Session { /// diff --git a/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs b/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs index f42b4cc7e2..5208567047 100644 --- a/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs +++ b/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs @@ -23,6 +23,8 @@ using Tgstation.Server.Host.System; using Tgstation.Server.Host.Transfer; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.StaticFiles { /// diff --git a/src/Tgstation.Server.Host/Components/StaticFiles/IConfiguration.cs b/src/Tgstation.Server.Host/Components/StaticFiles/IConfiguration.cs index 59546a044e..63b940d646 100644 --- a/src/Tgstation.Server.Host/Components/StaticFiles/IConfiguration.cs +++ b/src/Tgstation.Server.Host/Components/StaticFiles/IConfiguration.cs @@ -8,6 +8,8 @@ using Tgstation.Server.Api.Models.Response; using Tgstation.Server.Host.Components.Events; using Tgstation.Server.Host.Security; +#nullable disable + namespace Tgstation.Server.Host.Components.StaticFiles { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/AdvancedWatchdog.cs b/src/Tgstation.Server.Host/Components/Watchdog/AdvancedWatchdog.cs index 33140b9e57..ed3c507317 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/AdvancedWatchdog.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/AdvancedWatchdog.cs @@ -18,6 +18,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/BasicWatchdog.cs b/src/Tgstation.Server.Host/Components/Watchdog/BasicWatchdog.cs index 5beaab473c..d9f37a6f55 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/BasicWatchdog.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/BasicWatchdog.cs @@ -17,6 +17,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/IWatchdog.cs b/src/Tgstation.Server.Host/Components/Watchdog/IWatchdog.cs index a54cde8e83..cd88606600 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/IWatchdog.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/IWatchdog.cs @@ -7,6 +7,8 @@ using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Host.Components.Events; using Tgstation.Server.Host.Components.Session; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/IWatchdogFactory.cs b/src/Tgstation.Server.Host/Components/Watchdog/IWatchdogFactory.cs index 308cd3db54..eff60cf711 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/IWatchdogFactory.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/IWatchdogFactory.cs @@ -6,6 +6,8 @@ using Tgstation.Server.Host.Components.Events; using Tgstation.Server.Host.Components.Session; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/PosixWatchdog.cs b/src/Tgstation.Server.Host/Components/Watchdog/PosixWatchdog.cs index 27874178af..7b142d6b54 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/PosixWatchdog.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/PosixWatchdog.cs @@ -17,6 +17,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/PosixWatchdogFactory.cs b/src/Tgstation.Server.Host/Components/Watchdog/PosixWatchdogFactory.cs index 1d0d140bc0..491f0ff362 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/PosixWatchdogFactory.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/PosixWatchdogFactory.cs @@ -16,6 +16,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/WatchdogBase.cs b/src/Tgstation.Server.Host/Components/Watchdog/WatchdogBase.cs index 33b5ca0720..e9bca68ee9 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/WatchdogBase.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/WatchdogBase.cs @@ -27,6 +27,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/WatchdogFactory.cs b/src/Tgstation.Server.Host/Components/Watchdog/WatchdogFactory.cs index e9a37ecb2b..868155d3dc 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/WatchdogFactory.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/WatchdogFactory.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/WindowsWatchdog.cs b/src/Tgstation.Server.Host/Components/Watchdog/WindowsWatchdog.cs index cd8f0b4525..98a8d0da46 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/WindowsWatchdog.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/WindowsWatchdog.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Components/Watchdog/WindowsWatchdogFactory.cs b/src/Tgstation.Server.Host/Components/Watchdog/WindowsWatchdogFactory.cs index 89ed6b145d..cd78148c37 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/WindowsWatchdogFactory.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/WindowsWatchdogFactory.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Components.Watchdog { /// diff --git a/src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs b/src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs index 19dfa9cace..437a420495 100644 --- a/src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/DatabaseConfiguration.cs b/src/Tgstation.Server.Host/Configuration/DatabaseConfiguration.cs index d5adce7577..51e78a2494 100644 --- a/src/Tgstation.Server.Host/Configuration/DatabaseConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/DatabaseConfiguration.cs @@ -1,6 +1,8 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/ElasticsearchConfiguration.cs b/src/Tgstation.Server.Host/Configuration/ElasticsearchConfiguration.cs index 8c45f2e9f5..424d746a67 100644 --- a/src/Tgstation.Server.Host/Configuration/ElasticsearchConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/ElasticsearchConfiguration.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs b/src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs index aa798cfed3..6d73d95ad9 100644 --- a/src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs @@ -7,6 +7,8 @@ using Newtonsoft.Json.Converters; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/GeneralConfiguration.cs b/src/Tgstation.Server.Host/Configuration/GeneralConfiguration.cs index f33ef79b11..a21f796dc7 100644 --- a/src/Tgstation.Server.Host/Configuration/GeneralConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/GeneralConfiguration.cs @@ -11,6 +11,8 @@ using Tgstation.Server.Host.Setup; using YamlDotNet.Serialization; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/InternalConfiguration.cs b/src/Tgstation.Server.Host/Configuration/InternalConfiguration.cs index 6bf30bafdc..315cdad35c 100644 --- a/src/Tgstation.Server.Host/Configuration/InternalConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/InternalConfiguration.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Configuration +#nullable disable + +namespace Tgstation.Server.Host.Configuration { /// /// Unstable configuration options used internally by TGS. diff --git a/src/Tgstation.Server.Host/Configuration/OAuthConfiguration.cs b/src/Tgstation.Server.Host/Configuration/OAuthConfiguration.cs index 1818a15d8b..ae1005b00e 100644 --- a/src/Tgstation.Server.Host/Configuration/OAuthConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/OAuthConfiguration.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/OAuthConfigurationBase.cs b/src/Tgstation.Server.Host/Configuration/OAuthConfigurationBase.cs index d2d7668072..ab77c0fcbc 100644 --- a/src/Tgstation.Server.Host/Configuration/OAuthConfigurationBase.cs +++ b/src/Tgstation.Server.Host/Configuration/OAuthConfigurationBase.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/SecurityConfiguration.cs b/src/Tgstation.Server.Host/Configuration/SecurityConfiguration.cs index a6073538cd..f6df85278c 100644 --- a/src/Tgstation.Server.Host/Configuration/SecurityConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/SecurityConfiguration.cs @@ -5,6 +5,8 @@ using Swashbuckle.AspNetCore.SwaggerGen; using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/SwarmConfiguration.cs b/src/Tgstation.Server.Host/Configuration/SwarmConfiguration.cs index 38c709ec39..417203bd1b 100644 --- a/src/Tgstation.Server.Host/Configuration/SwarmConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/SwarmConfiguration.cs @@ -3,6 +3,8 @@ using Tgstation.Server.Api.Models.Internal; using YamlDotNet.Serialization; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Configuration/UpdatesConfiguration.cs b/src/Tgstation.Server.Host/Configuration/UpdatesConfiguration.cs index 1e340c84ca..a8a4b6c932 100644 --- a/src/Tgstation.Server.Host/Configuration/UpdatesConfiguration.cs +++ b/src/Tgstation.Server.Host/Configuration/UpdatesConfiguration.cs @@ -1,5 +1,7 @@ using Tgstation.Server.Common; +#nullable disable + namespace Tgstation.Server.Host.Configuration { /// diff --git a/src/Tgstation.Server.Host/Controllers/AdministrationController.cs b/src/Tgstation.Server.Host/Controllers/AdministrationController.cs index c1da69a69d..f90a842a5c 100644 --- a/src/Tgstation.Server.Host/Controllers/AdministrationController.cs +++ b/src/Tgstation.Server.Host/Controllers/AdministrationController.cs @@ -29,6 +29,8 @@ using Tgstation.Server.Host.Transfer; using Tgstation.Server.Host.Utils; using Tgstation.Server.Host.Utils.GitHub; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/ApiController.cs b/src/Tgstation.Server.Host/Controllers/ApiController.cs index ffa4e84960..561bde364b 100644 --- a/src/Tgstation.Server.Host/Controllers/ApiController.cs +++ b/src/Tgstation.Server.Host/Controllers/ApiController.cs @@ -28,6 +28,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/ApiControllerBase.cs b/src/Tgstation.Server.Host/Controllers/ApiControllerBase.cs index 9a8b119808..8e313397f1 100644 --- a/src/Tgstation.Server.Host/Controllers/ApiControllerBase.cs +++ b/src/Tgstation.Server.Host/Controllers/ApiControllerBase.cs @@ -8,6 +8,8 @@ using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/ApiRootController.cs b/src/Tgstation.Server.Host/Controllers/ApiRootController.cs index fbfc1d4465..5480c689d2 100644 --- a/src/Tgstation.Server.Host/Controllers/ApiRootController.cs +++ b/src/Tgstation.Server.Host/Controllers/ApiRootController.cs @@ -27,6 +27,8 @@ using Tgstation.Server.Host.Swarm; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/BridgeController.cs b/src/Tgstation.Server.Host/Controllers/BridgeController.cs index a1acb954a9..96c44f5085 100644 --- a/src/Tgstation.Server.Host/Controllers/BridgeController.cs +++ b/src/Tgstation.Server.Host/Controllers/BridgeController.cs @@ -18,6 +18,8 @@ using Tgstation.Server.Host.Components.Interop; using Tgstation.Server.Host.Components.Interop.Bridge; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/ChatController.cs b/src/Tgstation.Server.Host/Controllers/ChatController.cs index 967971eb24..551d03d943 100644 --- a/src/Tgstation.Server.Host/Controllers/ChatController.cs +++ b/src/Tgstation.Server.Host/Controllers/ChatController.cs @@ -27,6 +27,8 @@ using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; using Z.EntityFramework.Plus; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/ComponentInterfacingController.cs b/src/Tgstation.Server.Host/Controllers/ComponentInterfacingController.cs index eef1af8b18..c830a45d17 100644 --- a/src/Tgstation.Server.Host/Controllers/ComponentInterfacingController.cs +++ b/src/Tgstation.Server.Host/Controllers/ComponentInterfacingController.cs @@ -13,6 +13,8 @@ using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/ConfigurationController.cs b/src/Tgstation.Server.Host/Controllers/ConfigurationController.cs index 37b7e89ed1..2b95796ef7 100644 --- a/src/Tgstation.Server.Host/Controllers/ConfigurationController.cs +++ b/src/Tgstation.Server.Host/Controllers/ConfigurationController.cs @@ -19,6 +19,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/ControlPanelController.cs b/src/Tgstation.Server.Host/Controllers/ControlPanelController.cs index 08d8f74dad..1d2d1274b8 100644 --- a/src/Tgstation.Server.Host/Controllers/ControlPanelController.cs +++ b/src/Tgstation.Server.Host/Controllers/ControlPanelController.cs @@ -16,6 +16,8 @@ using Microsoft.Net.Http.Headers; using Tgstation.Server.Api; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/DreamDaemonController.cs b/src/Tgstation.Server.Host/Controllers/DreamDaemonController.cs index 5a3ff51f0e..2ccd942edb 100644 --- a/src/Tgstation.Server.Host/Controllers/DreamDaemonController.cs +++ b/src/Tgstation.Server.Host/Controllers/DreamDaemonController.cs @@ -25,6 +25,8 @@ using Tgstation.Server.Host.Utils; #pragma warning disable API1001 // Action method returns a success result without a corresponding ProducesResponseType. Somehow this happens ONLY IN THIS CONTROLLER??? +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/DreamMakerController.cs b/src/Tgstation.Server.Host/Controllers/DreamMakerController.cs index 714713763f..9401f646d9 100644 --- a/src/Tgstation.Server.Host/Controllers/DreamMakerController.cs +++ b/src/Tgstation.Server.Host/Controllers/DreamMakerController.cs @@ -21,6 +21,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/EngineController.cs b/src/Tgstation.Server.Host/Controllers/EngineController.cs index 75c7ef289b..a65ac97455 100644 --- a/src/Tgstation.Server.Host/Controllers/EngineController.cs +++ b/src/Tgstation.Server.Host/Controllers/EngineController.cs @@ -23,6 +23,8 @@ using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Transfer; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/InstanceController.cs b/src/Tgstation.Server.Host/Controllers/InstanceController.cs index d63396daf9..471a0fd006 100644 --- a/src/Tgstation.Server.Host/Controllers/InstanceController.cs +++ b/src/Tgstation.Server.Host/Controllers/InstanceController.cs @@ -29,6 +29,8 @@ using Tgstation.Server.Host.Security; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/InstancePermissionSetController.cs b/src/Tgstation.Server.Host/Controllers/InstancePermissionSetController.cs index 13defd8048..d5d4a0fb79 100644 --- a/src/Tgstation.Server.Host/Controllers/InstancePermissionSetController.cs +++ b/src/Tgstation.Server.Host/Controllers/InstancePermissionSetController.cs @@ -22,6 +22,8 @@ using Tgstation.Server.Host.Utils; using Z.EntityFramework.Plus; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/InstanceRequiredController.cs b/src/Tgstation.Server.Host/Controllers/InstanceRequiredController.cs index cdf3f0e139..6ee1fe4963 100644 --- a/src/Tgstation.Server.Host/Controllers/InstanceRequiredController.cs +++ b/src/Tgstation.Server.Host/Controllers/InstanceRequiredController.cs @@ -5,6 +5,8 @@ using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/JobController.cs b/src/Tgstation.Server.Host/Controllers/JobController.cs index 521a560a0b..6019223426 100644 --- a/src/Tgstation.Server.Host/Controllers/JobController.cs +++ b/src/Tgstation.Server.Host/Controllers/JobController.cs @@ -19,6 +19,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/RepositoryController.cs b/src/Tgstation.Server.Host/Controllers/RepositoryController.cs index 6bc447a044..dbf80a4171 100644 --- a/src/Tgstation.Server.Host/Controllers/RepositoryController.cs +++ b/src/Tgstation.Server.Host/Controllers/RepositoryController.cs @@ -24,6 +24,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/Results/LimitedStreamResult.cs b/src/Tgstation.Server.Host/Controllers/Results/LimitedStreamResult.cs index 998f5779c5..10b0e08909 100644 --- a/src/Tgstation.Server.Host/Controllers/Results/LimitedStreamResult.cs +++ b/src/Tgstation.Server.Host/Controllers/Results/LimitedStreamResult.cs @@ -10,6 +10,8 @@ using Microsoft.Extensions.DependencyInjection; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Controllers.Results { /// diff --git a/src/Tgstation.Server.Host/Controllers/Results/LimitedStreamResultExecutor.cs b/src/Tgstation.Server.Host/Controllers/Results/LimitedStreamResultExecutor.cs index 3178db355b..2a7bc72279 100644 --- a/src/Tgstation.Server.Host/Controllers/Results/LimitedStreamResultExecutor.cs +++ b/src/Tgstation.Server.Host/Controllers/Results/LimitedStreamResultExecutor.cs @@ -7,6 +7,8 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.Logging; +#nullable disable + namespace Tgstation.Server.Host.Controllers.Results { /// diff --git a/src/Tgstation.Server.Host/Controllers/Results/PaginatableResult.cs b/src/Tgstation.Server.Host/Controllers/Results/PaginatableResult.cs index b936d0f3e6..7be3c27aa1 100644 --- a/src/Tgstation.Server.Host/Controllers/Results/PaginatableResult.cs +++ b/src/Tgstation.Server.Host/Controllers/Results/PaginatableResult.cs @@ -3,6 +3,8 @@ using System.Linq; using Microsoft.AspNetCore.Mvc; +#nullable disable + namespace Tgstation.Server.Host.Controllers.Results { /// diff --git a/src/Tgstation.Server.Host/Controllers/RootController.cs b/src/Tgstation.Server.Host/Controllers/RootController.cs index 850785d612..c063984cc1 100644 --- a/src/Tgstation.Server.Host/Controllers/RootController.cs +++ b/src/Tgstation.Server.Host/Controllers/RootController.cs @@ -9,6 +9,8 @@ using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/SwarmController.cs b/src/Tgstation.Server.Host/Controllers/SwarmController.cs index 2512eda8dd..c56cfaa5c8 100644 --- a/src/Tgstation.Server.Host/Controllers/SwarmController.cs +++ b/src/Tgstation.Server.Host/Controllers/SwarmController.cs @@ -19,6 +19,8 @@ using Tgstation.Server.Host.System; using Tgstation.Server.Host.Transfer; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/TransferController.cs b/src/Tgstation.Server.Host/Controllers/TransferController.cs index 8a0a2ebcd3..07feea08a0 100644 --- a/src/Tgstation.Server.Host/Controllers/TransferController.cs +++ b/src/Tgstation.Server.Host/Controllers/TransferController.cs @@ -16,6 +16,8 @@ using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Transfer; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/UserController.cs b/src/Tgstation.Server.Host/Controllers/UserController.cs index 08c61e05fe..8eed28d3f5 100644 --- a/src/Tgstation.Server.Host/Controllers/UserController.cs +++ b/src/Tgstation.Server.Host/Controllers/UserController.cs @@ -22,6 +22,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Controllers/UserGroupController.cs b/src/Tgstation.Server.Host/Controllers/UserGroupController.cs index 3f2c5ea3a2..d50bc8e9c5 100644 --- a/src/Tgstation.Server.Host/Controllers/UserGroupController.cs +++ b/src/Tgstation.Server.Host/Controllers/UserGroupController.cs @@ -23,6 +23,8 @@ using Tgstation.Server.Host.Utils; using Z.EntityFramework.Plus; +#nullable disable + namespace Tgstation.Server.Host.Controllers { /// diff --git a/src/Tgstation.Server.Host/Core/Application.cs b/src/Tgstation.Server.Host/Core/Application.cs index 3ce52f39be..404655f379 100644 --- a/src/Tgstation.Server.Host/Core/Application.cs +++ b/src/Tgstation.Server.Host/Core/Application.cs @@ -63,6 +63,8 @@ using Tgstation.Server.Host.System; using Tgstation.Server.Host.Transfer; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/CommandPipeManager.cs b/src/Tgstation.Server.Host/Core/CommandPipeManager.cs index cd06a7a073..798b7db57c 100644 --- a/src/Tgstation.Server.Host/Core/CommandPipeManager.cs +++ b/src/Tgstation.Server.Host/Core/CommandPipeManager.cs @@ -13,6 +13,8 @@ using Tgstation.Server.Host.Common; using Tgstation.Server.Host.Components; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/IRestartHandler.cs b/src/Tgstation.Server.Host/Core/IRestartHandler.cs index e1c8a771ef..4db9ad18c3 100644 --- a/src/Tgstation.Server.Host/Core/IRestartHandler.cs +++ b/src/Tgstation.Server.Host/Core/IRestartHandler.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/IRestartRegistration.cs b/src/Tgstation.Server.Host/Core/IRestartRegistration.cs index 586d73f004..ee2ddc7ddf 100644 --- a/src/Tgstation.Server.Host/Core/IRestartRegistration.cs +++ b/src/Tgstation.Server.Host/Core/IRestartRegistration.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/IServerControl.cs b/src/Tgstation.Server.Host/Core/IServerControl.cs index d864080db6..8eca773ecb 100644 --- a/src/Tgstation.Server.Host/Core/IServerControl.cs +++ b/src/Tgstation.Server.Host/Core/IServerControl.cs @@ -1,6 +1,8 @@ using System; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/IServerUpdateExecutor.cs b/src/Tgstation.Server.Host/Core/IServerUpdateExecutor.cs index c2bf6f2090..9a1ea2d011 100644 --- a/src/Tgstation.Server.Host/Core/IServerUpdateExecutor.cs +++ b/src/Tgstation.Server.Host/Core/IServerUpdateExecutor.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/IServerUpdateInitiator.cs b/src/Tgstation.Server.Host/Core/IServerUpdateInitiator.cs index 8b290bdcd2..f9af6f34de 100644 --- a/src/Tgstation.Server.Host/Core/IServerUpdateInitiator.cs +++ b/src/Tgstation.Server.Host/Core/IServerUpdateInitiator.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/IServerUpdater.cs b/src/Tgstation.Server.Host/Core/IServerUpdater.cs index 6485ed4713..de0e38b67d 100644 --- a/src/Tgstation.Server.Host/Core/IServerUpdater.cs +++ b/src/Tgstation.Server.Host/Core/IServerUpdater.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Swarm; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/RestartRegistration.cs b/src/Tgstation.Server.Host/Core/RestartRegistration.cs index 025c274e07..d685fe590b 100644 --- a/src/Tgstation.Server.Host/Core/RestartRegistration.cs +++ b/src/Tgstation.Server.Host/Core/RestartRegistration.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/ServerPortProivder.cs b/src/Tgstation.Server.Host/Core/ServerPortProivder.cs index e4c4927c53..0b97105c43 100644 --- a/src/Tgstation.Server.Host/Core/ServerPortProivder.cs +++ b/src/Tgstation.Server.Host/Core/ServerPortProivder.cs @@ -7,6 +7,8 @@ using Microsoft.Extensions.Options; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/ServerUpdateInitiator.cs b/src/Tgstation.Server.Host/Core/ServerUpdateInitiator.cs index f7fad73122..0819b4ddd5 100644 --- a/src/Tgstation.Server.Host/Core/ServerUpdateInitiator.cs +++ b/src/Tgstation.Server.Host/Core/ServerUpdateInitiator.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Swarm; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/ServerUpdateOperation.cs b/src/Tgstation.Server.Host/Core/ServerUpdateOperation.cs index f14d85ec75..1e673f8239 100644 --- a/src/Tgstation.Server.Host/Core/ServerUpdateOperation.cs +++ b/src/Tgstation.Server.Host/Core/ServerUpdateOperation.cs @@ -3,6 +3,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Swarm; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Core/ServerUpdater.cs b/src/Tgstation.Server.Host/Core/ServerUpdater.cs index aacf44fd19..be3b9f033c 100644 --- a/src/Tgstation.Server.Host/Core/ServerUpdater.cs +++ b/src/Tgstation.Server.Host/Core/ServerUpdater.cs @@ -11,6 +11,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Swarm; using Tgstation.Server.Host.Utils.GitHub; +#nullable disable + namespace Tgstation.Server.Host.Core { /// diff --git a/src/Tgstation.Server.Host/Database/DatabaseCollection.cs b/src/Tgstation.Server.Host/Database/DatabaseCollection.cs index b2dafa719d..831772335b 100644 --- a/src/Tgstation.Server.Host/Database/DatabaseCollection.cs +++ b/src/Tgstation.Server.Host/Database/DatabaseCollection.cs @@ -7,6 +7,8 @@ using System.Threading; using Microsoft.EntityFrameworkCore; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/DatabaseConnectionFactory.cs b/src/Tgstation.Server.Host/Database/DatabaseConnectionFactory.cs index b118f346db..7cc0e2e5ed 100644 --- a/src/Tgstation.Server.Host/Database/DatabaseConnectionFactory.cs +++ b/src/Tgstation.Server.Host/Database/DatabaseConnectionFactory.cs @@ -10,6 +10,8 @@ using Npgsql; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/DatabaseContext.cs b/src/Tgstation.Server.Host/Database/DatabaseContext.cs index cca6313b53..6b1ce65d23 100644 --- a/src/Tgstation.Server.Host/Database/DatabaseContext.cs +++ b/src/Tgstation.Server.Host/Database/DatabaseContext.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.Database.Migrations; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/DatabaseContextFactory.cs b/src/Tgstation.Server.Host/Database/DatabaseContextFactory.cs index b04e32858b..854bc6ea65 100644 --- a/src/Tgstation.Server.Host/Database/DatabaseContextFactory.cs +++ b/src/Tgstation.Server.Host/Database/DatabaseContextFactory.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/DatabaseSeeder.cs b/src/Tgstation.Server.Host/Database/DatabaseSeeder.cs index 19efc59b47..51bf71bc6d 100644 --- a/src/Tgstation.Server.Host/Database/DatabaseSeeder.cs +++ b/src/Tgstation.Server.Host/Database/DatabaseSeeder.cs @@ -16,6 +16,8 @@ using Tgstation.Server.Host.System; using Z.EntityFramework.Plus; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/Design/DesignTimeDbContextFactoryHelpers.cs b/src/Tgstation.Server.Host/Database/Design/DesignTimeDbContextFactoryHelpers.cs index 54d79bddc3..b8527648bb 100644 --- a/src/Tgstation.Server.Host/Database/Design/DesignTimeDbContextFactoryHelpers.cs +++ b/src/Tgstation.Server.Host/Database/Design/DesignTimeDbContextFactoryHelpers.cs @@ -3,6 +3,8 @@ using Microsoft.Extensions.Options; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database.Design { /// diff --git a/src/Tgstation.Server.Host/Database/Design/MySqlDesignTimeDbContextFactory.cs b/src/Tgstation.Server.Host/Database/Design/MySqlDesignTimeDbContextFactory.cs index f67028efff..86efd5568f 100644 --- a/src/Tgstation.Server.Host/Database/Design/MySqlDesignTimeDbContextFactory.cs +++ b/src/Tgstation.Server.Host/Database/Design/MySqlDesignTimeDbContextFactory.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database.Design { /// diff --git a/src/Tgstation.Server.Host/Database/Design/PostgresSqlDesignTimeDbContextFactory.cs b/src/Tgstation.Server.Host/Database/Design/PostgresSqlDesignTimeDbContextFactory.cs index 965eade13e..11151e5e58 100644 --- a/src/Tgstation.Server.Host/Database/Design/PostgresSqlDesignTimeDbContextFactory.cs +++ b/src/Tgstation.Server.Host/Database/Design/PostgresSqlDesignTimeDbContextFactory.cs @@ -3,6 +3,8 @@ using Tgstation.Server.Common; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database.Design { /// diff --git a/src/Tgstation.Server.Host/Database/Design/SqlServerDesignTimeDbContextFactory.cs b/src/Tgstation.Server.Host/Database/Design/SqlServerDesignTimeDbContextFactory.cs index 9b5623725e..ac0704df2a 100644 --- a/src/Tgstation.Server.Host/Database/Design/SqlServerDesignTimeDbContextFactory.cs +++ b/src/Tgstation.Server.Host/Database/Design/SqlServerDesignTimeDbContextFactory.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database.Design { /// diff --git a/src/Tgstation.Server.Host/Database/Design/SqliteDesignTimeDbContextFactory.cs b/src/Tgstation.Server.Host/Database/Design/SqliteDesignTimeDbContextFactory.cs index 924d8934f9..f4c36cb31f 100644 --- a/src/Tgstation.Server.Host/Database/Design/SqliteDesignTimeDbContextFactory.cs +++ b/src/Tgstation.Server.Host/Database/Design/SqliteDesignTimeDbContextFactory.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database.Design { /// diff --git a/src/Tgstation.Server.Host/Database/IDatabaseCollection.cs b/src/Tgstation.Server.Host/Database/IDatabaseCollection.cs index a9e1fe0e03..08df6330f9 100644 --- a/src/Tgstation.Server.Host/Database/IDatabaseCollection.cs +++ b/src/Tgstation.Server.Host/Database/IDatabaseCollection.cs @@ -1,6 +1,8 @@ using System.Collections.Generic; using System.Linq; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/IDatabaseConnectionFactory.cs b/src/Tgstation.Server.Host/Database/IDatabaseConnectionFactory.cs index abea5f1702..7ce5ba0f5f 100644 --- a/src/Tgstation.Server.Host/Database/IDatabaseConnectionFactory.cs +++ b/src/Tgstation.Server.Host/Database/IDatabaseConnectionFactory.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/IDatabaseContext.cs b/src/Tgstation.Server.Host/Database/IDatabaseContext.cs index 00b90298c6..dc276cf371 100644 --- a/src/Tgstation.Server.Host/Database/IDatabaseContext.cs +++ b/src/Tgstation.Server.Host/Database/IDatabaseContext.cs @@ -8,6 +8,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/IDatabaseContextFactory.cs b/src/Tgstation.Server.Host/Database/IDatabaseContextFactory.cs index 4004c873c0..a51906ff40 100644 --- a/src/Tgstation.Server.Host/Database/IDatabaseContextFactory.cs +++ b/src/Tgstation.Server.Host/Database/IDatabaseContextFactory.cs @@ -1,6 +1,8 @@ using System; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/IDatabaseSeeder.cs b/src/Tgstation.Server.Host/Database/IDatabaseSeeder.cs index e888b0093a..76c0761fb9 100644 --- a/src/Tgstation.Server.Host/Database/IDatabaseSeeder.cs +++ b/src/Tgstation.Server.Host/Database/IDatabaseSeeder.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/MySqlDatabaseContext.cs b/src/Tgstation.Server.Host/Database/MySqlDatabaseContext.cs index 4bdcf9a066..68112d5fb2 100644 --- a/src/Tgstation.Server.Host/Database/MySqlDatabaseContext.cs +++ b/src/Tgstation.Server.Host/Database/MySqlDatabaseContext.cs @@ -8,6 +8,8 @@ using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.Extensions; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/PostgresSqlDatabaseContext.cs b/src/Tgstation.Server.Host/Database/PostgresSqlDatabaseContext.cs index d9157ab41a..952f515347 100644 --- a/src/Tgstation.Server.Host/Database/PostgresSqlDatabaseContext.cs +++ b/src/Tgstation.Server.Host/Database/PostgresSqlDatabaseContext.cs @@ -4,6 +4,8 @@ using Microsoft.EntityFrameworkCore; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/SqlServerDatabaseContext.cs b/src/Tgstation.Server.Host/Database/SqlServerDatabaseContext.cs index 3997e0a46b..10e1f6d16f 100644 --- a/src/Tgstation.Server.Host/Database/SqlServerDatabaseContext.cs +++ b/src/Tgstation.Server.Host/Database/SqlServerDatabaseContext.cs @@ -4,6 +4,8 @@ using Microsoft.EntityFrameworkCore; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Database/SqliteDatabaseContext.cs b/src/Tgstation.Server.Host/Database/SqliteDatabaseContext.cs index 98a58190d9..1a35d2e769 100644 --- a/src/Tgstation.Server.Host/Database/SqliteDatabaseContext.cs +++ b/src/Tgstation.Server.Host/Database/SqliteDatabaseContext.cs @@ -6,6 +6,8 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Database { /// diff --git a/src/Tgstation.Server.Host/Extensions/ApplicationBuilderExtensions.cs b/src/Tgstation.Server.Host/Extensions/ApplicationBuilderExtensions.cs index 637484f5bd..1e69a743f0 100644 --- a/src/Tgstation.Server.Host/Extensions/ApplicationBuilderExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/ApplicationBuilderExtensions.cs @@ -17,6 +17,8 @@ using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/ChatChannelExtensions.cs b/src/Tgstation.Server.Host/Extensions/ChatChannelExtensions.cs index edfb7bb426..e4bb8948e3 100644 --- a/src/Tgstation.Server.Host/Extensions/ChatChannelExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/ChatChannelExtensions.cs @@ -4,6 +4,8 @@ using System.Linq; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/ControllerBaseExtensions.cs b/src/Tgstation.Server.Host/Extensions/ControllerBaseExtensions.cs index 9ab3b1cc87..73f87308c7 100644 --- a/src/Tgstation.Server.Host/Extensions/ControllerBaseExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/ControllerBaseExtensions.cs @@ -6,6 +6,8 @@ using Microsoft.AspNetCore.Mvc; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/Converters/BoolConverter.cs b/src/Tgstation.Server.Host/Extensions/Converters/BoolConverter.cs index ece3052282..502980a212 100644 --- a/src/Tgstation.Server.Host/Extensions/Converters/BoolConverter.cs +++ b/src/Tgstation.Server.Host/Extensions/Converters/BoolConverter.cs @@ -2,6 +2,8 @@ using Newtonsoft.Json; +#nullable disable + namespace Tgstation.Server.Host.Extensions.Converters { /// diff --git a/src/Tgstation.Server.Host/Extensions/Converters/VersionConverter.cs b/src/Tgstation.Server.Host/Extensions/Converters/VersionConverter.cs index 0373dc5e20..e1bf992cab 100644 --- a/src/Tgstation.Server.Host/Extensions/Converters/VersionConverter.cs +++ b/src/Tgstation.Server.Host/Extensions/Converters/VersionConverter.cs @@ -8,6 +8,8 @@ using YamlDotNet.Core; using YamlDotNet.Core.Events; using YamlDotNet.Serialization; +#nullable disable + namespace Tgstation.Server.Host.Extensions.Converters { /// diff --git a/src/Tgstation.Server.Host/Extensions/DatabaseCollectionExtensions.cs b/src/Tgstation.Server.Host/Extensions/DatabaseCollectionExtensions.cs index ea50a7af17..40f005609c 100644 --- a/src/Tgstation.Server.Host/Extensions/DatabaseCollectionExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/DatabaseCollectionExtensions.cs @@ -9,6 +9,8 @@ using Microsoft.EntityFrameworkCore; using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/DateTimeOffsetExtensions.cs b/src/Tgstation.Server.Host/Extensions/DateTimeOffsetExtensions.cs index 44b0669314..1d3a864cf9 100644 --- a/src/Tgstation.Server.Host/Extensions/DateTimeOffsetExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/DateTimeOffsetExtensions.cs @@ -1,6 +1,8 @@ using System; using System.Globalization; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/FileTransferStreamHandlerExtensions.cs b/src/Tgstation.Server.Host/Extensions/FileTransferStreamHandlerExtensions.cs index a7e84abac1..632bd0bd72 100644 --- a/src/Tgstation.Server.Host/Extensions/FileTransferStreamHandlerExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/FileTransferStreamHandlerExtensions.cs @@ -14,6 +14,8 @@ using Tgstation.Server.Api.Models.Response; using Tgstation.Server.Host.Controllers.Results; using Tgstation.Server.Host.Transfer; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/GeneralConfigurationExtensions.cs b/src/Tgstation.Server.Host/Extensions/GeneralConfigurationExtensions.cs index 0a2a5fc8d8..5214ed0085 100644 --- a/src/Tgstation.Server.Host/Extensions/GeneralConfigurationExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/GeneralConfigurationExtensions.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/HostBuilderExtensions.cs b/src/Tgstation.Server.Host/Extensions/HostBuilderExtensions.cs index 6bfc4cb528..160293e744 100644 --- a/src/Tgstation.Server.Host/Extensions/HostBuilderExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/HostBuilderExtensions.cs @@ -6,6 +6,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Setup; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/ModelBuilderExtensions.cs b/src/Tgstation.Server.Host/Extensions/ModelBuilderExtensions.cs index f503f2c717..8ecf17c600 100644 --- a/src/Tgstation.Server.Host/Extensions/ModelBuilderExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/ModelBuilderExtensions.cs @@ -7,6 +7,8 @@ using Microsoft.EntityFrameworkCore; using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/ResultExtensions.cs b/src/Tgstation.Server.Host/Extensions/ResultExtensions.cs index 5d4370734f..4f7d3bc4a4 100644 --- a/src/Tgstation.Server.Host/Extensions/ResultExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/ResultExtensions.cs @@ -7,6 +7,8 @@ using Remora.Discord.API.Objects; using Remora.Rest.Results; using Remora.Results; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/ServiceCollectionExtensions.cs b/src/Tgstation.Server.Host/Extensions/ServiceCollectionExtensions.cs index c90433f1ff..f32d2a675d 100644 --- a/src/Tgstation.Server.Host/Extensions/ServiceCollectionExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/ServiceCollectionExtensions.cs @@ -18,6 +18,8 @@ using Tgstation.Server.Host.Utils; using Tgstation.Server.Host.Utils.GitHub; using Tgstation.Server.Host.Utils.SignalR; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/SocketExtensions.cs b/src/Tgstation.Server.Host/Extensions/SocketExtensions.cs index 6c1a695025..1c74a95a50 100644 --- a/src/Tgstation.Server.Host/Extensions/SocketExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/SocketExtensions.cs @@ -4,6 +4,8 @@ using System.Net.Sockets; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/TaskExtensions.cs b/src/Tgstation.Server.Host/Extensions/TaskExtensions.cs index 55b6701dbb..b2e5eaaf9e 100644 --- a/src/Tgstation.Server.Host/Extensions/TaskExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/TaskExtensions.cs @@ -1,5 +1,7 @@ using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/Extensions/WebHostBuilderExtensions.cs b/src/Tgstation.Server.Host/Extensions/WebHostBuilderExtensions.cs index e6815cd7a0..c2f430e172 100644 --- a/src/Tgstation.Server.Host/Extensions/WebHostBuilderExtensions.cs +++ b/src/Tgstation.Server.Host/Extensions/WebHostBuilderExtensions.cs @@ -13,6 +13,8 @@ using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Setup; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Extensions { /// diff --git a/src/Tgstation.Server.Host/IO/BufferedFileStreamProvider.cs b/src/Tgstation.Server.Host/IO/BufferedFileStreamProvider.cs index c324869860..e4a8fcd139 100644 --- a/src/Tgstation.Server.Host/IO/BufferedFileStreamProvider.cs +++ b/src/Tgstation.Server.Host/IO/BufferedFileStreamProvider.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/Console.cs b/src/Tgstation.Server.Host/IO/Console.cs index fdf06eea52..ae6efa4ed7 100644 --- a/src/Tgstation.Server.Host/IO/Console.cs +++ b/src/Tgstation.Server.Host/IO/Console.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/DefaultIOManager.cs b/src/Tgstation.Server.Host/IO/DefaultIOManager.cs index 4841980dd3..321271faf9 100644 --- a/src/Tgstation.Server.Host/IO/DefaultIOManager.cs +++ b/src/Tgstation.Server.Host/IO/DefaultIOManager.cs @@ -8,6 +8,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/FileDownloader.cs b/src/Tgstation.Server.Host/IO/FileDownloader.cs index 1aa554e647..1b133e9647 100644 --- a/src/Tgstation.Server.Host/IO/FileDownloader.cs +++ b/src/Tgstation.Server.Host/IO/FileDownloader.cs @@ -7,6 +7,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Api; using Tgstation.Server.Common.Http; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/IConsole.cs b/src/Tgstation.Server.Host/IO/IConsole.cs index 605f3e421d..cc71295c55 100644 --- a/src/Tgstation.Server.Host/IO/IConsole.cs +++ b/src/Tgstation.Server.Host/IO/IConsole.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/IFileDownloader.cs b/src/Tgstation.Server.Host/IO/IFileDownloader.cs index 5a2c989170..6cc9baad86 100644 --- a/src/Tgstation.Server.Host/IO/IFileDownloader.cs +++ b/src/Tgstation.Server.Host/IO/IFileDownloader.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/IFileStreamProvider.cs b/src/Tgstation.Server.Host/IO/IFileStreamProvider.cs index e27f779314..47a2caca10 100644 --- a/src/Tgstation.Server.Host/IO/IFileStreamProvider.cs +++ b/src/Tgstation.Server.Host/IO/IFileStreamProvider.cs @@ -3,6 +3,8 @@ using System.IO; using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/IFilesystemLinkFactory.cs b/src/Tgstation.Server.Host/IO/IFilesystemLinkFactory.cs index 3cf0622801..36ea58a9df 100644 --- a/src/Tgstation.Server.Host/IO/IFilesystemLinkFactory.cs +++ b/src/Tgstation.Server.Host/IO/IFilesystemLinkFactory.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/IIOManager.cs b/src/Tgstation.Server.Host/IO/IIOManager.cs index 0b249b23a2..b66bd6f0fa 100644 --- a/src/Tgstation.Server.Host/IO/IIOManager.cs +++ b/src/Tgstation.Server.Host/IO/IIOManager.cs @@ -4,6 +4,8 @@ using System.IO; using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/ISeekableFileStreamProvider.cs b/src/Tgstation.Server.Host/IO/ISeekableFileStreamProvider.cs index 7a6b76eb0d..f34e28745d 100644 --- a/src/Tgstation.Server.Host/IO/ISeekableFileStreamProvider.cs +++ b/src/Tgstation.Server.Host/IO/ISeekableFileStreamProvider.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs b/src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs index 36f90140aa..df87b894c6 100644 --- a/src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs +++ b/src/Tgstation.Server.Host/IO/ISynchronousIOManager.cs @@ -2,6 +2,8 @@ using System.IO; using System.Threading; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/PosixFilesystemLinkFactory.cs b/src/Tgstation.Server.Host/IO/PosixFilesystemLinkFactory.cs index b80af9e122..b5355d9aad 100644 --- a/src/Tgstation.Server.Host/IO/PosixFilesystemLinkFactory.cs +++ b/src/Tgstation.Server.Host/IO/PosixFilesystemLinkFactory.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Mono.Unix; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/PosixPostWriteHandler.cs b/src/Tgstation.Server.Host/IO/PosixPostWriteHandler.cs index a0f4f5a4c8..ec441813b1 100644 --- a/src/Tgstation.Server.Host/IO/PosixPostWriteHandler.cs +++ b/src/Tgstation.Server.Host/IO/PosixPostWriteHandler.cs @@ -4,6 +4,8 @@ using Microsoft.Extensions.Logging; using Mono.Unix; using Mono.Unix.Native; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/RequestFileStreamProvider.cs b/src/Tgstation.Server.Host/IO/RequestFileStreamProvider.cs index c0c100cfcf..ef4ddb0d14 100644 --- a/src/Tgstation.Server.Host/IO/RequestFileStreamProvider.cs +++ b/src/Tgstation.Server.Host/IO/RequestFileStreamProvider.cs @@ -6,6 +6,8 @@ using System.Threading.Tasks; using Tgstation.Server.Common.Http; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/ResolvingIOManager.cs b/src/Tgstation.Server.Host/IO/ResolvingIOManager.cs index 3b86b92c36..665a5b6bc4 100644 --- a/src/Tgstation.Server.Host/IO/ResolvingIOManager.cs +++ b/src/Tgstation.Server.Host/IO/ResolvingIOManager.cs @@ -1,6 +1,8 @@ using System; using System.IO; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/SynchronousIOManager.cs b/src/Tgstation.Server.Host/IO/SynchronousIOManager.cs index a629ddcff4..590cbfbb6f 100644 --- a/src/Tgstation.Server.Host/IO/SynchronousIOManager.cs +++ b/src/Tgstation.Server.Host/IO/SynchronousIOManager.cs @@ -6,6 +6,8 @@ using System.Linq; using System.Security.Cryptography; using System.Threading; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/WindowsFilesystemLinkFactory.cs b/src/Tgstation.Server.Host/IO/WindowsFilesystemLinkFactory.cs index 1513f4e166..5a410ab3d7 100644 --- a/src/Tgstation.Server.Host/IO/WindowsFilesystemLinkFactory.cs +++ b/src/Tgstation.Server.Host/IO/WindowsFilesystemLinkFactory.cs @@ -6,6 +6,8 @@ using System.Threading.Tasks; using BetterWin32Errors; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IO/WindowsPostWriteHandler.cs b/src/Tgstation.Server.Host/IO/WindowsPostWriteHandler.cs index 2a94e42a2f..a2b6b0d4ae 100644 --- a/src/Tgstation.Server.Host/IO/WindowsPostWriteHandler.cs +++ b/src/Tgstation.Server.Host/IO/WindowsPostWriteHandler.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.IO { /// diff --git a/src/Tgstation.Server.Host/IServer.cs b/src/Tgstation.Server.Host/IServer.cs index e13364831f..105b14f773 100644 --- a/src/Tgstation.Server.Host/IServer.cs +++ b/src/Tgstation.Server.Host/IServer.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host { /// diff --git a/src/Tgstation.Server.Host/IServerFactory.cs b/src/Tgstation.Server.Host/IServerFactory.cs index 46f9510523..937fee7184 100644 --- a/src/Tgstation.Server.Host/IServerFactory.cs +++ b/src/Tgstation.Server.Host/IServerFactory.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host { /// diff --git a/src/Tgstation.Server.Host/Jobs/IJobManager.cs b/src/Tgstation.Server.Host/Jobs/IJobManager.cs index 80ef200859..e8d0a83baf 100644 --- a/src/Tgstation.Server.Host/Jobs/IJobManager.cs +++ b/src/Tgstation.Server.Host/Jobs/IJobManager.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models.Response; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Jobs/IJobService.cs b/src/Tgstation.Server.Host/Jobs/IJobService.cs index e92ead5e6a..847adff98c 100644 --- a/src/Tgstation.Server.Host/Jobs/IJobService.cs +++ b/src/Tgstation.Server.Host/Jobs/IJobService.cs @@ -1,5 +1,7 @@ using Tgstation.Server.Host.Components; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Jobs/JobEntrypoint.cs b/src/Tgstation.Server.Host/Jobs/JobEntrypoint.cs index 79e71b5048..1a27215306 100644 --- a/src/Tgstation.Server.Host/Jobs/JobEntrypoint.cs +++ b/src/Tgstation.Server.Host/Jobs/JobEntrypoint.cs @@ -5,6 +5,8 @@ using Tgstation.Server.Host.Components; using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Jobs/JobException.cs b/src/Tgstation.Server.Host/Jobs/JobException.cs index 0eb62f2e29..d29697252f 100644 --- a/src/Tgstation.Server.Host/Jobs/JobException.cs +++ b/src/Tgstation.Server.Host/Jobs/JobException.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Jobs/JobHandler.cs b/src/Tgstation.Server.Host/Jobs/JobHandler.cs index 9d9c692c07..3a290d48ce 100644 --- a/src/Tgstation.Server.Host/Jobs/JobHandler.cs +++ b/src/Tgstation.Server.Host/Jobs/JobHandler.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Jobs/JobProgressReporter.cs b/src/Tgstation.Server.Host/Jobs/JobProgressReporter.cs index 4d23385e63..37b7ae03e2 100644 --- a/src/Tgstation.Server.Host/Jobs/JobProgressReporter.cs +++ b/src/Tgstation.Server.Host/Jobs/JobProgressReporter.cs @@ -4,6 +4,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Jobs/JobService.cs b/src/Tgstation.Server.Host/Jobs/JobService.cs index 87387c60a9..e383bf1746 100644 --- a/src/Tgstation.Server.Host/Jobs/JobService.cs +++ b/src/Tgstation.Server.Host/Jobs/JobService.cs @@ -21,6 +21,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Utils; using Tgstation.Server.Host.Utils.SignalR; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Jobs/JobsHub.cs b/src/Tgstation.Server.Host/Jobs/JobsHub.cs index b74e19d22b..373fcc5af7 100644 --- a/src/Tgstation.Server.Host/Jobs/JobsHub.cs +++ b/src/Tgstation.Server.Host/Jobs/JobsHub.cs @@ -7,6 +7,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils.SignalR; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Jobs/JobsHubGroupMapper.cs b/src/Tgstation.Server.Host/Jobs/JobsHubGroupMapper.cs index 2e2a5da93d..4fe5c71012 100644 --- a/src/Tgstation.Server.Host/Jobs/JobsHubGroupMapper.cs +++ b/src/Tgstation.Server.Host/Jobs/JobsHubGroupMapper.cs @@ -15,6 +15,8 @@ using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils.SignalR; +#nullable disable + namespace Tgstation.Server.Host.Jobs { /// diff --git a/src/Tgstation.Server.Host/Models/ChatBot.cs b/src/Tgstation.Server.Host/Models/ChatBot.cs index f98f4a43c3..8b5fe59f7d 100644 --- a/src/Tgstation.Server.Host/Models/ChatBot.cs +++ b/src/Tgstation.Server.Host/Models/ChatBot.cs @@ -4,6 +4,8 @@ using System.Linq; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/ChatChannel.cs b/src/Tgstation.Server.Host/Models/ChatChannel.cs index a4cbea0952..85823089cf 100644 --- a/src/Tgstation.Server.Host/Models/ChatChannel.cs +++ b/src/Tgstation.Server.Host/Models/ChatChannel.cs @@ -4,6 +4,8 @@ using System.Globalization; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Internal; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/CompileJob.cs b/src/Tgstation.Server.Host/Models/CompileJob.cs index 59bc7c4d01..5883302c59 100644 --- a/src/Tgstation.Server.Host/Models/CompileJob.cs +++ b/src/Tgstation.Server.Host/Models/CompileJob.cs @@ -4,6 +4,8 @@ using System.ComponentModel.DataAnnotations; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/DreamDaemonSettings.cs b/src/Tgstation.Server.Host/Models/DreamDaemonSettings.cs index 5a26391015..c58642fd95 100644 --- a/src/Tgstation.Server.Host/Models/DreamDaemonSettings.cs +++ b/src/Tgstation.Server.Host/Models/DreamDaemonSettings.cs @@ -1,5 +1,7 @@ using System.ComponentModel.DataAnnotations; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/DreamMakerSettings.cs b/src/Tgstation.Server.Host/Models/DreamMakerSettings.cs index 3a55c433d0..88bfe61344 100644 --- a/src/Tgstation.Server.Host/Models/DreamMakerSettings.cs +++ b/src/Tgstation.Server.Host/Models/DreamMakerSettings.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/Instance.cs b/src/Tgstation.Server.Host/Models/Instance.cs index 82cfd5c707..d098b60e70 100644 --- a/src/Tgstation.Server.Host/Models/Instance.cs +++ b/src/Tgstation.Server.Host/Models/Instance.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/InstancePermissionSet.cs b/src/Tgstation.Server.Host/Models/InstancePermissionSet.cs index 623e920734..01bc99ae42 100644 --- a/src/Tgstation.Server.Host/Models/InstancePermissionSet.cs +++ b/src/Tgstation.Server.Host/Models/InstancePermissionSet.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/Job.cs b/src/Tgstation.Server.Host/Models/Job.cs index 674330ee15..c9af1ffa50 100644 --- a/src/Tgstation.Server.Host/Models/Job.cs +++ b/src/Tgstation.Server.Host/Models/Job.cs @@ -7,6 +7,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Response; using Tgstation.Server.Api.Rights; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/OAuthConnection.cs b/src/Tgstation.Server.Host/Models/OAuthConnection.cs index e72476c134..df9a15732e 100644 --- a/src/Tgstation.Server.Host/Models/OAuthConnection.cs +++ b/src/Tgstation.Server.Host/Models/OAuthConnection.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.Models +#nullable disable + +namespace Tgstation.Server.Host.Models { /// public sealed class OAuthConnection : Api.Models.OAuthConnection, IApiTransformable diff --git a/src/Tgstation.Server.Host/Models/PermissionSet.cs b/src/Tgstation.Server.Host/Models/PermissionSet.cs index 021a8239f2..704412c174 100644 --- a/src/Tgstation.Server.Host/Models/PermissionSet.cs +++ b/src/Tgstation.Server.Host/Models/PermissionSet.cs @@ -1,5 +1,7 @@ using System.Collections.Generic; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/ReattachInformation.cs b/src/Tgstation.Server.Host/Models/ReattachInformation.cs index d4d1520d08..80137b5004 100644 --- a/src/Tgstation.Server.Host/Models/ReattachInformation.cs +++ b/src/Tgstation.Server.Host/Models/ReattachInformation.cs @@ -1,5 +1,7 @@ using System.ComponentModel.DataAnnotations; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/ReattachInformationBase.cs b/src/Tgstation.Server.Host/Models/ReattachInformationBase.cs index b233f0c017..0f8106aa7b 100644 --- a/src/Tgstation.Server.Host/Models/ReattachInformationBase.cs +++ b/src/Tgstation.Server.Host/Models/ReattachInformationBase.cs @@ -4,6 +4,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Components.Interop; using Tgstation.Server.Host.Components.Session; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/RepositorySettings.cs b/src/Tgstation.Server.Host/Models/RepositorySettings.cs index b62f235d5e..c5e1d904c2 100644 --- a/src/Tgstation.Server.Host/Models/RepositorySettings.cs +++ b/src/Tgstation.Server.Host/Models/RepositorySettings.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/RevInfoTestMerge.cs b/src/Tgstation.Server.Host/Models/RevInfoTestMerge.cs index 4328910d0c..64b088343a 100644 --- a/src/Tgstation.Server.Host/Models/RevInfoTestMerge.cs +++ b/src/Tgstation.Server.Host/Models/RevInfoTestMerge.cs @@ -1,5 +1,7 @@ using System.ComponentModel.DataAnnotations; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/RevisionInformation.cs b/src/Tgstation.Server.Host/Models/RevisionInformation.cs index 290e118ae9..8813e4c5bc 100644 --- a/src/Tgstation.Server.Host/Models/RevisionInformation.cs +++ b/src/Tgstation.Server.Host/Models/RevisionInformation.cs @@ -2,6 +2,8 @@ using System.ComponentModel.DataAnnotations; using System.Linq; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/TestMerge.cs b/src/Tgstation.Server.Host/Models/TestMerge.cs index 43d7f35b28..3733ca62fc 100644 --- a/src/Tgstation.Server.Host/Models/TestMerge.cs +++ b/src/Tgstation.Server.Host/Models/TestMerge.cs @@ -1,6 +1,8 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/User.cs b/src/Tgstation.Server.Host/Models/User.cs index 0d275c7d18..4c4e2c03b0 100644 --- a/src/Tgstation.Server.Host/Models/User.cs +++ b/src/Tgstation.Server.Host/Models/User.cs @@ -6,6 +6,8 @@ using System.Linq; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Models/UserGroup.cs b/src/Tgstation.Server.Host/Models/UserGroup.cs index 63f351c329..65c18474fa 100644 --- a/src/Tgstation.Server.Host/Models/UserGroup.cs +++ b/src/Tgstation.Server.Host/Models/UserGroup.cs @@ -5,6 +5,8 @@ using System.Linq; using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Models { /// diff --git a/src/Tgstation.Server.Host/Program.cs b/src/Tgstation.Server.Host/Program.cs index e372c0563d..fb5cf8a1c0 100644 --- a/src/Tgstation.Server.Host/Program.cs +++ b/src/Tgstation.Server.Host/Program.cs @@ -11,6 +11,8 @@ using Tgstation.Server.Host.Core; using Tgstation.Server.Host.Properties; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host { /// diff --git a/src/Tgstation.Server.Host/Properties/MasterVersionsAttribute.cs b/src/Tgstation.Server.Host/Properties/MasterVersionsAttribute.cs index d6461713bb..042b679202 100644 --- a/src/Tgstation.Server.Host/Properties/MasterVersionsAttribute.cs +++ b/src/Tgstation.Server.Host/Properties/MasterVersionsAttribute.cs @@ -1,6 +1,8 @@ using System; using System.Reflection; +#nullable disable + namespace Tgstation.Server.Host.Properties { /// diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContext.cs b/src/Tgstation.Server.Host/Security/AuthenticationContext.cs index 5ed4dafe3f..b8719d5cc8 100644 --- a/src/Tgstation.Server.Host/Security/AuthenticationContext.cs +++ b/src/Tgstation.Server.Host/Security/AuthenticationContext.cs @@ -4,6 +4,8 @@ using System.Linq; using Tgstation.Server.Api.Rights; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContextAuthorizationFilter.cs b/src/Tgstation.Server.Host/Security/AuthenticationContextAuthorizationFilter.cs index 562f49f443..a3191770e4 100644 --- a/src/Tgstation.Server.Host/Security/AuthenticationContextAuthorizationFilter.cs +++ b/src/Tgstation.Server.Host/Security/AuthenticationContextAuthorizationFilter.cs @@ -5,6 +5,8 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Logging; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContextClaimsTransformation.cs b/src/Tgstation.Server.Host/Security/AuthenticationContextClaimsTransformation.cs index 4f02bb0b0d..9cf5de9de7 100644 --- a/src/Tgstation.Server.Host/Security/AuthenticationContextClaimsTransformation.cs +++ b/src/Tgstation.Server.Host/Security/AuthenticationContextClaimsTransformation.cs @@ -13,6 +13,8 @@ using Tgstation.Server.Api; using Tgstation.Server.Api.Rights; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs index f39daaa989..3be3bc8061 100644 --- a/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs +++ b/src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs @@ -11,6 +11,8 @@ using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/AuthorizationContextHubFilter.cs b/src/Tgstation.Server.Host/Security/AuthorizationContextHubFilter.cs index 38360cab9b..a64f3d4cdb 100644 --- a/src/Tgstation.Server.Host/Security/AuthorizationContextHubFilter.cs +++ b/src/Tgstation.Server.Host/Security/AuthorizationContextHubFilter.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR; using Microsoft.Extensions.Logging; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/CryptographySuite.cs b/src/Tgstation.Server.Host/Security/CryptographySuite.cs index d98e61c303..8d2f6eeca5 100644 --- a/src/Tgstation.Server.Host/Security/CryptographySuite.cs +++ b/src/Tgstation.Server.Host/Security/CryptographySuite.cs @@ -6,6 +6,8 @@ using Microsoft.AspNetCore.Identity; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/IAuthenticationContext.cs b/src/Tgstation.Server.Host/Security/IAuthenticationContext.cs index 36abee2b2c..39da97b00e 100644 --- a/src/Tgstation.Server.Host/Security/IAuthenticationContext.cs +++ b/src/Tgstation.Server.Host/Security/IAuthenticationContext.cs @@ -1,6 +1,8 @@ using Tgstation.Server.Api.Rights; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/IAuthenticationContextFactory.cs b/src/Tgstation.Server.Host/Security/IAuthenticationContextFactory.cs index cb70a50b18..945b4e09ad 100644 --- a/src/Tgstation.Server.Host/Security/IAuthenticationContextFactory.cs +++ b/src/Tgstation.Server.Host/Security/IAuthenticationContextFactory.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/ICryptographySuite.cs b/src/Tgstation.Server.Host/Security/ICryptographySuite.cs index 257a78f4d1..955fdac6ae 100644 --- a/src/Tgstation.Server.Host/Security/ICryptographySuite.cs +++ b/src/Tgstation.Server.Host/Security/ICryptographySuite.cs @@ -1,5 +1,7 @@ using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/IIdentityCache.cs b/src/Tgstation.Server.Host/Security/IIdentityCache.cs index 0832189f83..64fd3f39a9 100644 --- a/src/Tgstation.Server.Host/Security/IIdentityCache.cs +++ b/src/Tgstation.Server.Host/Security/IIdentityCache.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/IPermissionsUpdateNotifyee.cs b/src/Tgstation.Server.Host/Security/IPermissionsUpdateNotifyee.cs index 7a95f7f076..dd313adc86 100644 --- a/src/Tgstation.Server.Host/Security/IPermissionsUpdateNotifyee.cs +++ b/src/Tgstation.Server.Host/Security/IPermissionsUpdateNotifyee.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/ISystemIdentity.cs b/src/Tgstation.Server.Host/Security/ISystemIdentity.cs index bd63d784de..e865b0345b 100644 --- a/src/Tgstation.Server.Host/Security/ISystemIdentity.cs +++ b/src/Tgstation.Server.Host/Security/ISystemIdentity.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/ISystemIdentityFactory.cs b/src/Tgstation.Server.Host/Security/ISystemIdentityFactory.cs index 2568861e53..de6e58d431 100644 --- a/src/Tgstation.Server.Host/Security/ISystemIdentityFactory.cs +++ b/src/Tgstation.Server.Host/Security/ISystemIdentityFactory.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/ITokenFactory.cs b/src/Tgstation.Server.Host/Security/ITokenFactory.cs index bf9a70fab1..107965394c 100644 --- a/src/Tgstation.Server.Host/Security/ITokenFactory.cs +++ b/src/Tgstation.Server.Host/Security/ITokenFactory.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/IdentityCache.cs b/src/Tgstation.Server.Host/Security/IdentityCache.cs index 0db031aba2..6c2a98b200 100644 --- a/src/Tgstation.Server.Host/Security/IdentityCache.cs +++ b/src/Tgstation.Server.Host/Security/IdentityCache.cs @@ -7,6 +7,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/IdentityCacheObject.cs b/src/Tgstation.Server.Host/Security/IdentityCacheObject.cs index 7cc10664e5..d7125b877f 100644 --- a/src/Tgstation.Server.Host/Security/IdentityCacheObject.cs +++ b/src/Tgstation.Server.Host/Security/IdentityCacheObject.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/DiscordOAuthValidator.cs b/src/Tgstation.Server.Host/Security/OAuth/DiscordOAuthValidator.cs index 3195ec9dcf..166ff85f27 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/DiscordOAuthValidator.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/DiscordOAuthValidator.cs @@ -6,6 +6,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Common.Http; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/GenericOAuthValidator.cs b/src/Tgstation.Server.Host/Security/OAuth/GenericOAuthValidator.cs index 668a96240f..0885546d11 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/GenericOAuthValidator.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/GenericOAuthValidator.cs @@ -16,6 +16,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Common.Http; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/GitHubOAuthValidator.cs b/src/Tgstation.Server.Host/Security/OAuth/GitHubOAuthValidator.cs index 567887b06f..d6ed38808b 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/GitHubOAuthValidator.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/GitHubOAuthValidator.cs @@ -10,6 +10,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.Utils.GitHub; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/IOAuthProviders.cs b/src/Tgstation.Server.Host/Security/OAuth/IOAuthProviders.cs index c8b8a7b161..c7e9a06274 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/IOAuthProviders.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/IOAuthProviders.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/IOAuthValidator.cs b/src/Tgstation.Server.Host/Security/OAuth/IOAuthValidator.cs index 7f3ca57287..402fb5efe7 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/IOAuthValidator.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/IOAuthValidator.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/InvisionCommunityOAuthValidator.cs b/src/Tgstation.Server.Host/Security/OAuth/InvisionCommunityOAuthValidator.cs index a0c8cdd0e2..14382d5838 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/InvisionCommunityOAuthValidator.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/InvisionCommunityOAuthValidator.cs @@ -6,6 +6,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Common.Http; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/KeycloakOAuthValidator.cs b/src/Tgstation.Server.Host/Security/OAuth/KeycloakOAuthValidator.cs index f4e61b4b5c..1152398d6a 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/KeycloakOAuthValidator.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/KeycloakOAuthValidator.cs @@ -6,6 +6,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Common.Http; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/OAuthProviders.cs b/src/Tgstation.Server.Host/Security/OAuth/OAuthProviders.cs index 7a562668ee..7e0e1a308c 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/OAuthProviders.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/OAuthProviders.cs @@ -10,6 +10,8 @@ using Tgstation.Server.Common.Http; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.Utils.GitHub; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/OAuthTokenRequest.cs b/src/Tgstation.Server.Host/Security/OAuth/OAuthTokenRequest.cs index 9256092f10..2c7721f4af 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/OAuthTokenRequest.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/OAuthTokenRequest.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/OAuth/TGForumsOAuthValidator.cs b/src/Tgstation.Server.Host/Security/OAuth/TGForumsOAuthValidator.cs index c81a54ec73..36b213b6d9 100644 --- a/src/Tgstation.Server.Host/Security/OAuth/TGForumsOAuthValidator.cs +++ b/src/Tgstation.Server.Host/Security/OAuth/TGForumsOAuthValidator.cs @@ -6,6 +6,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Common.Http; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Security.OAuth { /// diff --git a/src/Tgstation.Server.Host/Security/PosixSystemIdentity.cs b/src/Tgstation.Server.Host/Security/PosixSystemIdentity.cs index 67f0e3ac83..4f978e76d1 100644 --- a/src/Tgstation.Server.Host/Security/PosixSystemIdentity.cs +++ b/src/Tgstation.Server.Host/Security/PosixSystemIdentity.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/PosixSystemIdentityFactory.cs b/src/Tgstation.Server.Host/Security/PosixSystemIdentityFactory.cs index e85882665b..876cca613e 100644 --- a/src/Tgstation.Server.Host/Security/PosixSystemIdentityFactory.cs +++ b/src/Tgstation.Server.Host/Security/PosixSystemIdentityFactory.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Models; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/TgsAuthorizeAttribute.cs b/src/Tgstation.Server.Host/Security/TgsAuthorizeAttribute.cs index 0fc4c11c1a..a80205bb6e 100644 --- a/src/Tgstation.Server.Host/Security/TgsAuthorizeAttribute.cs +++ b/src/Tgstation.Server.Host/Security/TgsAuthorizeAttribute.cs @@ -4,6 +4,8 @@ using Microsoft.AspNetCore.Authorization; using Tgstation.Server.Api.Rights; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/TokenFactory.cs b/src/Tgstation.Server.Host/Security/TokenFactory.cs index cc18c3298a..3a17f2ac86 100644 --- a/src/Tgstation.Server.Host/Security/TokenFactory.cs +++ b/src/Tgstation.Server.Host/Security/TokenFactory.cs @@ -12,6 +12,8 @@ using Tgstation.Server.Api.Models.Response; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs b/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs index 28b6bbcec7..f4ac20da19 100644 --- a/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs +++ b/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs @@ -7,6 +7,8 @@ using System.Threading.Tasks; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs b/src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs index b677a56413..56b0435651 100644 --- a/src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs +++ b/src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs @@ -12,6 +12,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Security { /// diff --git a/src/Tgstation.Server.Host/Server.cs b/src/Tgstation.Server.Host/Server.cs index e6ea8c04b1..b57045078d 100644 --- a/src/Tgstation.Server.Host/Server.cs +++ b/src/Tgstation.Server.Host/Server.cs @@ -14,6 +14,8 @@ using Tgstation.Server.Common.Extensions; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.Core; +#nullable disable + namespace Tgstation.Server.Host { /// diff --git a/src/Tgstation.Server.Host/ServerFactory.cs b/src/Tgstation.Server.Host/ServerFactory.cs index a466a97fb5..4b25e07fea 100644 --- a/src/Tgstation.Server.Host/ServerFactory.cs +++ b/src/Tgstation.Server.Host/ServerFactory.cs @@ -17,6 +17,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Setup; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host { /// diff --git a/src/Tgstation.Server.Host/Setup/IPostSetupServices.cs b/src/Tgstation.Server.Host/Setup/IPostSetupServices.cs index 21264d9277..aaa785f413 100644 --- a/src/Tgstation.Server.Host/Setup/IPostSetupServices.cs +++ b/src/Tgstation.Server.Host/Setup/IPostSetupServices.cs @@ -1,6 +1,8 @@ using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Setup { /// diff --git a/src/Tgstation.Server.Host/Setup/IPostSetupServices{TLoggerType}.cs b/src/Tgstation.Server.Host/Setup/IPostSetupServices{TLoggerType}.cs index f36d9526e7..25024af43d 100644 --- a/src/Tgstation.Server.Host/Setup/IPostSetupServices{TLoggerType}.cs +++ b/src/Tgstation.Server.Host/Setup/IPostSetupServices{TLoggerType}.cs @@ -1,5 +1,7 @@ using Microsoft.Extensions.Logging; +#nullable disable + namespace Tgstation.Server.Host.Setup { /// diff --git a/src/Tgstation.Server.Host/Setup/PostSetupServices.cs b/src/Tgstation.Server.Host/Setup/PostSetupServices.cs index c1ace340ec..4fce4e6075 100644 --- a/src/Tgstation.Server.Host/Setup/PostSetupServices.cs +++ b/src/Tgstation.Server.Host/Setup/PostSetupServices.cs @@ -6,6 +6,8 @@ using Microsoft.Extensions.Options; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Setup { /// diff --git a/src/Tgstation.Server.Host/Setup/SetupApplication.cs b/src/Tgstation.Server.Host/Setup/SetupApplication.cs index 56c590ce7d..ca4b64be58 100644 --- a/src/Tgstation.Server.Host/Setup/SetupApplication.cs +++ b/src/Tgstation.Server.Host/Setup/SetupApplication.cs @@ -12,6 +12,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.System; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Setup { /// diff --git a/src/Tgstation.Server.Host/Setup/SetupWizard.cs b/src/Tgstation.Server.Host/Setup/SetupWizard.cs index b9671572b2..d4611f4465 100644 --- a/src/Tgstation.Server.Host/Setup/SetupWizard.cs +++ b/src/Tgstation.Server.Host/Setup/SetupWizard.cs @@ -31,6 +31,8 @@ using Tgstation.Server.Host.Utils; using YamlDotNet.Serialization; +#nullable disable + namespace Tgstation.Server.Host.Setup { /// diff --git a/src/Tgstation.Server.Host/Swarm/ISwarmOperations.cs b/src/Tgstation.Server.Host/Swarm/ISwarmOperations.cs index dd9c01b783..8d3e198006 100644 --- a/src/Tgstation.Server.Host/Swarm/ISwarmOperations.cs +++ b/src/Tgstation.Server.Host/Swarm/ISwarmOperations.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/ISwarmService.cs b/src/Tgstation.Server.Host/Swarm/ISwarmService.cs index 9b86389540..c9e29bd052 100644 --- a/src/Tgstation.Server.Host/Swarm/ISwarmService.cs +++ b/src/Tgstation.Server.Host/Swarm/ISwarmService.cs @@ -6,6 +6,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models.Response; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/ISwarmServiceController.cs b/src/Tgstation.Server.Host/Swarm/ISwarmServiceController.cs index 34babd945b..9f875ce05b 100644 --- a/src/Tgstation.Server.Host/Swarm/ISwarmServiceController.cs +++ b/src/Tgstation.Server.Host/Swarm/ISwarmServiceController.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/ISwarmUpdateAborter.cs b/src/Tgstation.Server.Host/Swarm/ISwarmUpdateAborter.cs index 8d69505f27..6cd79b9956 100644 --- a/src/Tgstation.Server.Host/Swarm/ISwarmUpdateAborter.cs +++ b/src/Tgstation.Server.Host/Swarm/ISwarmUpdateAborter.cs @@ -1,5 +1,7 @@ using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/SwarmConstants.cs b/src/Tgstation.Server.Host/Swarm/SwarmConstants.cs index 988c60243e..ec61a982bb 100644 --- a/src/Tgstation.Server.Host/Swarm/SwarmConstants.cs +++ b/src/Tgstation.Server.Host/Swarm/SwarmConstants.cs @@ -4,6 +4,8 @@ using Newtonsoft.Json.Serialization; using Tgstation.Server.Api; using Tgstation.Server.Host.Extensions.Converters; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/SwarmRegistrationRequest.cs b/src/Tgstation.Server.Host/Swarm/SwarmRegistrationRequest.cs index cad1cebe27..93f5ed92db 100644 --- a/src/Tgstation.Server.Host/Swarm/SwarmRegistrationRequest.cs +++ b/src/Tgstation.Server.Host/Swarm/SwarmRegistrationRequest.cs @@ -3,6 +3,8 @@ using System.ComponentModel.DataAnnotations; using Tgstation.Server.Api.Models.Internal; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/SwarmServersUpdateRequest.cs b/src/Tgstation.Server.Host/Swarm/SwarmServersUpdateRequest.cs index 61b60cc024..2b3cdeaa23 100644 --- a/src/Tgstation.Server.Host/Swarm/SwarmServersUpdateRequest.cs +++ b/src/Tgstation.Server.Host/Swarm/SwarmServersUpdateRequest.cs @@ -3,6 +3,8 @@ using System.ComponentModel.DataAnnotations; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/SwarmService.cs b/src/Tgstation.Server.Host/Swarm/SwarmService.cs index dc4dfa2251..d081050754 100644 --- a/src/Tgstation.Server.Host/Swarm/SwarmService.cs +++ b/src/Tgstation.Server.Host/Swarm/SwarmService.cs @@ -26,6 +26,8 @@ using Tgstation.Server.Host.System; using Tgstation.Server.Host.Transfer; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/SwarmUpdateOperation.cs b/src/Tgstation.Server.Host/Swarm/SwarmUpdateOperation.cs index 01b9f28d18..3ebe8576e2 100644 --- a/src/Tgstation.Server.Host/Swarm/SwarmUpdateOperation.cs +++ b/src/Tgstation.Server.Host/Swarm/SwarmUpdateOperation.cs @@ -6,6 +6,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models.Internal; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/Swarm/SwarmUpdateRequest.cs b/src/Tgstation.Server.Host/Swarm/SwarmUpdateRequest.cs index 1da49cea3c..a0d7b0fe5c 100644 --- a/src/Tgstation.Server.Host/Swarm/SwarmUpdateRequest.cs +++ b/src/Tgstation.Server.Host/Swarm/SwarmUpdateRequest.cs @@ -4,6 +4,8 @@ using System.ComponentModel.DataAnnotations; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Swarm { /// diff --git a/src/Tgstation.Server.Host/System/AssemblyInformationProvider.cs b/src/Tgstation.Server.Host/System/AssemblyInformationProvider.cs index 88d1a3a627..4d072772e5 100644 --- a/src/Tgstation.Server.Host/System/AssemblyInformationProvider.cs +++ b/src/Tgstation.Server.Host/System/AssemblyInformationProvider.cs @@ -5,6 +5,8 @@ using System.Reflection; using Tgstation.Server.Common; using Tgstation.Server.Common.Extensions; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/IAssemblyInformationProvider.cs b/src/Tgstation.Server.Host/System/IAssemblyInformationProvider.cs index 184dd9f60a..7b092f8aea 100644 --- a/src/Tgstation.Server.Host/System/IAssemblyInformationProvider.cs +++ b/src/Tgstation.Server.Host/System/IAssemblyInformationProvider.cs @@ -2,6 +2,8 @@ using System.Net.Http.Headers; using System.Reflection; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/IPlatformIdentifier.cs b/src/Tgstation.Server.Host/System/IPlatformIdentifier.cs index 805b93b97d..104bb0dc32 100644 --- a/src/Tgstation.Server.Host/System/IPlatformIdentifier.cs +++ b/src/Tgstation.Server.Host/System/IPlatformIdentifier.cs @@ -1,5 +1,7 @@ using System.Runtime.Versioning; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/IProcess.cs b/src/Tgstation.Server.Host/System/IProcess.cs index 8df102b2b2..7b033f3e9d 100644 --- a/src/Tgstation.Server.Host/System/IProcess.cs +++ b/src/Tgstation.Server.Host/System/IProcess.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/IProcessBase.cs b/src/Tgstation.Server.Host/System/IProcessBase.cs index 8fc0bd4484..91feee546e 100644 --- a/src/Tgstation.Server.Host/System/IProcessBase.cs +++ b/src/Tgstation.Server.Host/System/IProcessBase.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/IProcessExecutor.cs b/src/Tgstation.Server.Host/System/IProcessExecutor.cs index 81593dbe37..a0418aea0d 100644 --- a/src/Tgstation.Server.Host/System/IProcessExecutor.cs +++ b/src/Tgstation.Server.Host/System/IProcessExecutor.cs @@ -1,4 +1,6 @@ -namespace Tgstation.Server.Host.System +#nullable disable + +namespace Tgstation.Server.Host.System { /// /// For launching '. diff --git a/src/Tgstation.Server.Host/System/IProcessFeatures.cs b/src/Tgstation.Server.Host/System/IProcessFeatures.cs index abfaca6b7b..8d4a9258c6 100644 --- a/src/Tgstation.Server.Host/System/IProcessFeatures.cs +++ b/src/Tgstation.Server.Host/System/IProcessFeatures.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/NativeMethods.cs b/src/Tgstation.Server.Host/System/NativeMethods.cs index dc5046d133..11f465fb13 100644 --- a/src/Tgstation.Server.Host/System/NativeMethods.cs +++ b/src/Tgstation.Server.Host/System/NativeMethods.cs @@ -2,6 +2,8 @@ using System.Runtime.InteropServices; using System.Text; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/PlatformIdentifier.cs b/src/Tgstation.Server.Host/System/PlatformIdentifier.cs index 22931b97ce..6391932f1c 100644 --- a/src/Tgstation.Server.Host/System/PlatformIdentifier.cs +++ b/src/Tgstation.Server.Host/System/PlatformIdentifier.cs @@ -1,6 +1,8 @@ using System.Runtime.InteropServices; using System.Runtime.Versioning; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/PosixProcessFeatures.cs b/src/Tgstation.Server.Host/System/PosixProcessFeatures.cs index b45c845fa4..c1999c4545 100644 --- a/src/Tgstation.Server.Host/System/PosixProcessFeatures.cs +++ b/src/Tgstation.Server.Host/System/PosixProcessFeatures.cs @@ -10,6 +10,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/PosixSignalHandler.cs b/src/Tgstation.Server.Host/System/PosixSignalHandler.cs index 693324d679..5342f68d39 100644 --- a/src/Tgstation.Server.Host/System/PosixSignalHandler.cs +++ b/src/Tgstation.Server.Host/System/PosixSignalHandler.cs @@ -10,6 +10,8 @@ using Mono.Unix.Native; using Tgstation.Server.Host.Core; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/Process.cs b/src/Tgstation.Server.Host/System/Process.cs index 003f3b12e4..a505cee878 100644 --- a/src/Tgstation.Server.Host/System/Process.cs +++ b/src/Tgstation.Server.Host/System/Process.cs @@ -9,6 +9,8 @@ using Microsoft.Win32.SafeHandles; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/ProcessExecutor.cs b/src/Tgstation.Server.Host/System/ProcessExecutor.cs index 7a00b31d10..94e4af31b7 100644 --- a/src/Tgstation.Server.Host/System/ProcessExecutor.cs +++ b/src/Tgstation.Server.Host/System/ProcessExecutor.cs @@ -9,6 +9,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/ProgramShutdownTokenSource.cs b/src/Tgstation.Server.Host/System/ProgramShutdownTokenSource.cs index fb68be4ac9..0f0dfb13b1 100644 --- a/src/Tgstation.Server.Host/System/ProgramShutdownTokenSource.cs +++ b/src/Tgstation.Server.Host/System/ProgramShutdownTokenSource.cs @@ -1,6 +1,8 @@ using System; using System.Threading; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/SystemDManager.cs b/src/Tgstation.Server.Host/System/SystemDManager.cs index 28fb4e4d25..4e3b86972c 100644 --- a/src/Tgstation.Server.Host/System/SystemDManager.cs +++ b/src/Tgstation.Server.Host/System/SystemDManager.cs @@ -11,6 +11,8 @@ using Mono.Unix; using Tgstation.Server.Host.Components; using Tgstation.Server.Host.Core; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/WindowsFirewallHelper.cs b/src/Tgstation.Server.Host/System/WindowsFirewallHelper.cs index 74964a5569..7a5e82742f 100644 --- a/src/Tgstation.Server.Host/System/WindowsFirewallHelper.cs +++ b/src/Tgstation.Server.Host/System/WindowsFirewallHelper.cs @@ -4,6 +4,8 @@ using System.Threading.Tasks; using Microsoft.Extensions.Logging; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/WindowsNetworkPromptReaper.cs b/src/Tgstation.Server.Host/System/WindowsNetworkPromptReaper.cs index 4892415571..c30bbb0359 100644 --- a/src/Tgstation.Server.Host/System/WindowsNetworkPromptReaper.cs +++ b/src/Tgstation.Server.Host/System/WindowsNetworkPromptReaper.cs @@ -13,6 +13,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/System/WindowsProcessFeatures.cs b/src/Tgstation.Server.Host/System/WindowsProcessFeatures.cs index 41789aec8c..c3a3b31d9b 100644 --- a/src/Tgstation.Server.Host/System/WindowsProcessFeatures.cs +++ b/src/Tgstation.Server.Host/System/WindowsProcessFeatures.cs @@ -14,6 +14,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Jobs; +#nullable disable + namespace Tgstation.Server.Host.System { /// diff --git a/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj b/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj index 9890be89d0..e293d81025 100644 --- a/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj +++ b/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj @@ -9,6 +9,7 @@ API1000;ASP0019 ClientApp/node_modules ClientApp/node_modules/.install-stamp + enable Linux ..\.. ../../build/uac_elevation_manifest.xml diff --git a/src/Tgstation.Server.Host/Transfer/FileDownloadProvider.cs b/src/Tgstation.Server.Host/Transfer/FileDownloadProvider.cs index 603e099c07..eee92cce02 100644 --- a/src/Tgstation.Server.Host/Transfer/FileDownloadProvider.cs +++ b/src/Tgstation.Server.Host/Transfer/FileDownloadProvider.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models; +#nullable disable + namespace Tgstation.Server.Host.Transfer { /// diff --git a/src/Tgstation.Server.Host/Transfer/FileTransferService.cs b/src/Tgstation.Server.Host/Transfer/FileTransferService.cs index fc0201b48d..cbdc528480 100644 --- a/src/Tgstation.Server.Host/Transfer/FileTransferService.cs +++ b/src/Tgstation.Server.Host/Transfer/FileTransferService.cs @@ -12,6 +12,8 @@ using Tgstation.Server.Host.IO; using Tgstation.Server.Host.Security; using Tgstation.Server.Host.Utils; +#nullable disable + namespace Tgstation.Server.Host.Transfer { /// diff --git a/src/Tgstation.Server.Host/Transfer/FileUploadProvider.cs b/src/Tgstation.Server.Host/Transfer/FileUploadProvider.cs index 9fe8250da5..31a691b36a 100644 --- a/src/Tgstation.Server.Host/Transfer/FileUploadProvider.cs +++ b/src/Tgstation.Server.Host/Transfer/FileUploadProvider.cs @@ -9,6 +9,8 @@ using Tgstation.Server.Api.Models; using Tgstation.Server.Api.Models.Response; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Transfer { /// diff --git a/src/Tgstation.Server.Host/Transfer/IFileTransferStreamHandler.cs b/src/Tgstation.Server.Host/Transfer/IFileTransferStreamHandler.cs index 75603c8684..f0ba7a396d 100644 --- a/src/Tgstation.Server.Host/Transfer/IFileTransferStreamHandler.cs +++ b/src/Tgstation.Server.Host/Transfer/IFileTransferStreamHandler.cs @@ -5,6 +5,8 @@ using System.Threading.Tasks; using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Transfer { /// diff --git a/src/Tgstation.Server.Host/Transfer/IFileTransferTicketProvider.cs b/src/Tgstation.Server.Host/Transfer/IFileTransferTicketProvider.cs index 1a13cb9f87..98a2bfd913 100644 --- a/src/Tgstation.Server.Host/Transfer/IFileTransferTicketProvider.cs +++ b/src/Tgstation.Server.Host/Transfer/IFileTransferTicketProvider.cs @@ -1,5 +1,7 @@ using Tgstation.Server.Api.Models.Response; +#nullable disable + namespace Tgstation.Server.Host.Transfer { /// diff --git a/src/Tgstation.Server.Host/Transfer/IFileUploadTicket.cs b/src/Tgstation.Server.Host/Transfer/IFileUploadTicket.cs index c1bd6e5725..260be9573f 100644 --- a/src/Tgstation.Server.Host/Transfer/IFileUploadTicket.cs +++ b/src/Tgstation.Server.Host/Transfer/IFileUploadTicket.cs @@ -2,6 +2,8 @@ using Tgstation.Server.Api.Models.Response; using Tgstation.Server.Host.IO; +#nullable disable + namespace Tgstation.Server.Host.Transfer { /// diff --git a/src/Tgstation.Server.Host/Utils/AbstractHttpClientFactory.cs b/src/Tgstation.Server.Host/Utils/AbstractHttpClientFactory.cs index 973551e1d4..0bb43edf28 100644 --- a/src/Tgstation.Server.Host/Utils/AbstractHttpClientFactory.cs +++ b/src/Tgstation.Server.Host/Utils/AbstractHttpClientFactory.cs @@ -6,6 +6,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Common.Http; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/ApiHeadersProvider.cs b/src/Tgstation.Server.Host/Utils/ApiHeadersProvider.cs index 56aa288619..95190dc500 100644 --- a/src/Tgstation.Server.Host/Utils/ApiHeadersProvider.cs +++ b/src/Tgstation.Server.Host/Utils/ApiHeadersProvider.cs @@ -4,6 +4,8 @@ using Microsoft.AspNetCore.Http; using Tgstation.Server.Api; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/AsyncDelayer.cs b/src/Tgstation.Server.Host/Utils/AsyncDelayer.cs index 79ffce1838..a435e38e9e 100644 --- a/src/Tgstation.Server.Host/Utils/AsyncDelayer.cs +++ b/src/Tgstation.Server.Host/Utils/AsyncDelayer.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/FifoSemaphore.cs b/src/Tgstation.Server.Host/Utils/FifoSemaphore.cs index 7a4e200c9c..099eea7d37 100644 --- a/src/Tgstation.Server.Host/Utils/FifoSemaphore.cs +++ b/src/Tgstation.Server.Host/Utils/FifoSemaphore.cs @@ -3,6 +3,8 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/GitHub/GitHubClientFactory.cs b/src/Tgstation.Server.Host/Utils/GitHub/GitHubClientFactory.cs index 38fb72ffd6..40f76ecb57 100644 --- a/src/Tgstation.Server.Host/Utils/GitHub/GitHubClientFactory.cs +++ b/src/Tgstation.Server.Host/Utils/GitHub/GitHubClientFactory.cs @@ -9,6 +9,8 @@ using Octokit; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Utils.GitHub { /// diff --git a/src/Tgstation.Server.Host/Utils/GitHub/GitHubService.cs b/src/Tgstation.Server.Host/Utils/GitHub/GitHubService.cs index 7429112712..4e95f01820 100644 --- a/src/Tgstation.Server.Host/Utils/GitHub/GitHubService.cs +++ b/src/Tgstation.Server.Host/Utils/GitHub/GitHubService.cs @@ -10,6 +10,8 @@ using Octokit; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Utils.GitHub { /// diff --git a/src/Tgstation.Server.Host/Utils/GitHub/GitHubServiceFactory.cs b/src/Tgstation.Server.Host/Utils/GitHub/GitHubServiceFactory.cs index efa08d13bb..adb8d32c47 100644 --- a/src/Tgstation.Server.Host/Utils/GitHub/GitHubServiceFactory.cs +++ b/src/Tgstation.Server.Host/Utils/GitHub/GitHubServiceFactory.cs @@ -7,6 +7,8 @@ using Octokit; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Utils.GitHub { /// diff --git a/src/Tgstation.Server.Host/Utils/GitHub/IAuthenticatedGitHubService.cs b/src/Tgstation.Server.Host/Utils/GitHub/IAuthenticatedGitHubService.cs index 619bcead20..046ef67e77 100644 --- a/src/Tgstation.Server.Host/Utils/GitHub/IAuthenticatedGitHubService.cs +++ b/src/Tgstation.Server.Host/Utils/GitHub/IAuthenticatedGitHubService.cs @@ -3,6 +3,8 @@ using System.Threading.Tasks; using Octokit; +#nullable disable + namespace Tgstation.Server.Host.Utils.GitHub { /// diff --git a/src/Tgstation.Server.Host/Utils/GitHub/IGitHubClientFactory.cs b/src/Tgstation.Server.Host/Utils/GitHub/IGitHubClientFactory.cs index ec95fd16ab..8ffea0fbd2 100644 --- a/src/Tgstation.Server.Host/Utils/GitHub/IGitHubClientFactory.cs +++ b/src/Tgstation.Server.Host/Utils/GitHub/IGitHubClientFactory.cs @@ -1,5 +1,7 @@ using Octokit; +#nullable disable + namespace Tgstation.Server.Host.Utils.GitHub { /// diff --git a/src/Tgstation.Server.Host/Utils/GitHub/IGitHubService.cs b/src/Tgstation.Server.Host/Utils/GitHub/IGitHubService.cs index e2f338d77a..b7bda78b31 100644 --- a/src/Tgstation.Server.Host/Utils/GitHub/IGitHubService.cs +++ b/src/Tgstation.Server.Host/Utils/GitHub/IGitHubService.cs @@ -7,6 +7,8 @@ using Octokit; using Tgstation.Server.Host.Configuration; +#nullable disable + namespace Tgstation.Server.Host.Utils.GitHub { /// diff --git a/src/Tgstation.Server.Host/Utils/IApiHeadersProvider.cs b/src/Tgstation.Server.Host/Utils/IApiHeadersProvider.cs index 7de65834d3..ea58c98199 100644 --- a/src/Tgstation.Server.Host/Utils/IApiHeadersProvider.cs +++ b/src/Tgstation.Server.Host/Utils/IApiHeadersProvider.cs @@ -1,5 +1,7 @@ using Tgstation.Server.Api; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/IAsyncDelayer.cs b/src/Tgstation.Server.Host/Utils/IAsyncDelayer.cs index d47c5cbc62..38e738f5a2 100644 --- a/src/Tgstation.Server.Host/Utils/IAsyncDelayer.cs +++ b/src/Tgstation.Server.Host/Utils/IAsyncDelayer.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/IPortAllocator.cs b/src/Tgstation.Server.Host/Utils/IPortAllocator.cs index 29d234ec62..92a0f480b2 100644 --- a/src/Tgstation.Server.Host/Utils/IPortAllocator.cs +++ b/src/Tgstation.Server.Host/Utils/IPortAllocator.cs @@ -1,6 +1,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/OpenApiEnumVarNamesExtension.cs b/src/Tgstation.Server.Host/Utils/OpenApiEnumVarNamesExtension.cs index a81beb8339..75c71c7561 100644 --- a/src/Tgstation.Server.Host/Utils/OpenApiEnumVarNamesExtension.cs +++ b/src/Tgstation.Server.Host/Utils/OpenApiEnumVarNamesExtension.cs @@ -5,6 +5,8 @@ using Microsoft.OpenApi.Interfaces; using Microsoft.OpenApi.Models; using Microsoft.OpenApi.Writers; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/PortAllocator.cs b/src/Tgstation.Server.Host/Utils/PortAllocator.cs index 310cfbfe3d..546668e8d2 100644 --- a/src/Tgstation.Server.Host/Utils/PortAllocator.cs +++ b/src/Tgstation.Server.Host/Utils/PortAllocator.cs @@ -14,6 +14,8 @@ using Tgstation.Server.Host.Database; using Tgstation.Server.Host.Extensions; using Tgstation.Server.Host.System; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/ReferenceCounter.cs b/src/Tgstation.Server.Host/Utils/ReferenceCounter.cs index 4351c65db6..19f8408eed 100644 --- a/src/Tgstation.Server.Host/Utils/ReferenceCounter.cs +++ b/src/Tgstation.Server.Host/Utils/ReferenceCounter.cs @@ -1,5 +1,7 @@ using System; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/ReferenceCountingContainer.cs b/src/Tgstation.Server.Host/Utils/ReferenceCountingContainer.cs index 121411bd1d..2389435a6f 100644 --- a/src/Tgstation.Server.Host/Utils/ReferenceCountingContainer.cs +++ b/src/Tgstation.Server.Host/Utils/ReferenceCountingContainer.cs @@ -1,6 +1,8 @@ using System; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs b/src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs index 25f070cc4b..4339515859 100644 --- a/src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs +++ b/src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs @@ -2,6 +2,8 @@ using System.Threading; using System.Threading.Tasks; +#nullable disable + namespace Tgstation.Server.Host.Utils { /// diff --git a/src/Tgstation.Server.Host/Utils/SignalR/ComprehensiveHubContext.cs b/src/Tgstation.Server.Host/Utils/SignalR/ComprehensiveHubContext.cs index 1f09be3571..27d842c3e1 100644 --- a/src/Tgstation.Server.Host/Utils/SignalR/ComprehensiveHubContext.cs +++ b/src/Tgstation.Server.Host/Utils/SignalR/ComprehensiveHubContext.cs @@ -11,6 +11,8 @@ using Microsoft.Extensions.Logging; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; +#nullable disable + namespace Tgstation.Server.Host.Utils.SignalR { /// diff --git a/src/Tgstation.Server.Host/Utils/SignalR/ConnectionMappingHub.cs b/src/Tgstation.Server.Host/Utils/SignalR/ConnectionMappingHub.cs index 05e2eb8742..8684901820 100644 --- a/src/Tgstation.Server.Host/Utils/SignalR/ConnectionMappingHub.cs +++ b/src/Tgstation.Server.Host/Utils/SignalR/ConnectionMappingHub.cs @@ -6,6 +6,8 @@ using Microsoft.AspNetCore.SignalR; using Tgstation.Server.Host.Security; +#nullable disable + namespace Tgstation.Server.Host.Utils.SignalR { /// diff --git a/src/Tgstation.Server.Host/Utils/SignalR/IConnectionMappedHubContext.cs b/src/Tgstation.Server.Host/Utils/SignalR/IConnectionMappedHubContext.cs index 101e8e599e..bdf89de277 100644 --- a/src/Tgstation.Server.Host/Utils/SignalR/IConnectionMappedHubContext.cs +++ b/src/Tgstation.Server.Host/Utils/SignalR/IConnectionMappedHubContext.cs @@ -8,6 +8,8 @@ using Microsoft.AspNetCore.SignalR; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; +#nullable disable + namespace Tgstation.Server.Host.Utils.SignalR { /// diff --git a/src/Tgstation.Server.Host/Utils/SignalR/IHubConnectionMapper.cs b/src/Tgstation.Server.Host/Utils/SignalR/IHubConnectionMapper.cs index 4521c87fcc..8163a737e4 100644 --- a/src/Tgstation.Server.Host/Utils/SignalR/IHubConnectionMapper.cs +++ b/src/Tgstation.Server.Host/Utils/SignalR/IHubConnectionMapper.cs @@ -6,6 +6,8 @@ using Microsoft.AspNetCore.SignalR; using Tgstation.Server.Host.Models; using Tgstation.Server.Host.Security; +#nullable disable + namespace Tgstation.Server.Host.Utils.SignalR { /// diff --git a/src/Tgstation.Server.Host/Utils/SwaggerConfiguration.cs b/src/Tgstation.Server.Host/Utils/SwaggerConfiguration.cs index 8f8b0195bd..aeaa86db10 100644 --- a/src/Tgstation.Server.Host/Utils/SwaggerConfiguration.cs +++ b/src/Tgstation.Server.Host/Utils/SwaggerConfiguration.cs @@ -20,6 +20,8 @@ using Tgstation.Server.Common.Extensions; using Tgstation.Server.Host.Controllers; using Tgstation.Server.Host.Security; +#nullable disable + namespace Tgstation.Server.Host.Utils { ///