diff --git a/_administration_authority_8cs.html b/_administration_authority_8cs.html new file mode 100644 index 0000000000..f03128a5f7 --- /dev/null +++ b/_administration_authority_8cs.html @@ -0,0 +1,108 @@ + + +
+ + + + +|
+ tgstation-server 6.11.1
+
+ The /tg/station 13 server suite
+ |
+
Go to the source code of this file.
++Classes | |
| class | Tgstation.Server.Host.Authority.AdministrationAuthority |
+Namespaces | |
| namespace | Tgstation |
| namespace | Tgstation.Server |
| namespace | Tgstation.Server.Host |
| namespace | Tgstation.Server.Host.Authority |
|
+ tgstation-server 6.11.1
+
+ The /tg/station 13 server suite
+ |
+
|
+ tgstation-server 6.11.1
+
+ The /tg/station 13 server suite
+ |
+
Go to the source code of this file.
++Classes | |
| class | Tgstation.Server.Host.GraphQL.Mutations.AdministrationMutations |
| IAdministrationAuthority related Mutations. More... | |
+Namespaces | |
| namespace | Tgstation |
| namespace | Tgstation.Server |
| namespace | Tgstation.Server.Host |
| namespace | Tgstation.Server.Host.GraphQL |
| namespace | Tgstation.Server.Host.GraphQL.Mutations |
|
+ tgstation-server 6.11.1
+
+ The /tg/station 13 server suite
+ |
+
|
+ tgstation-server 6.11.1
+
+ The /tg/station 13 server suite
+ |
+
Go to the source code of this file.
++Classes | |
| class | Tgstation.Server.Host.GraphQL.Scalars.FileUploadTicketType |
| A StringScalarType for upload Api.Models.Response.FileTicketResponses. More... | |
+Namespaces | |
| namespace | Tgstation |
| namespace | Tgstation.Server |
| namespace | Tgstation.Server.Host |
| namespace | Tgstation.Server.Host.GraphQL |
| namespace | Tgstation.Server.Host.GraphQL.Scalars |
|
+ tgstation-server 6.11.1
+
+ The /tg/station 13 server suite
+ |
+
|
+ tgstation-server 6.11.1
+
+ The /tg/station 13 server suite
+ |
+
Go to the source code of this file.
++Classes | |
| interface | Tgstation.Server.Host.Authority.IAdministrationAuthority |
| IAuthority for administrative server operations. More... | |
+Namespaces | |
| namespace | Tgstation |
| namespace | Tgstation.Server |
| namespace | Tgstation.Server.Host |
| namespace | Tgstation.Server.Host.Authority |
|
+ tgstation-server 6.11.1
+
+ The /tg/station 13 server suite
+ |
+
diff --git a/_jwt_type_8cs_source.html b/_jwt_type_8cs_source.html
index beaebb755b..a02c235f85 100644
--- a/_jwt_type_8cs_source.html
+++ b/_jwt_type_8cs_source.html
@@ -84,48 +84,26 @@ $(document).ready(function() { init_codefold(0); });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
+
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-A ScalarType<TRuntimeType, TLiteral> for encoded JSON Web Tokens. Definition JwtType.cs:12 override string ParseLiteral(StringValueNode valueSyntax) Definition JwtType.cs:28 override IValueNode ParseResult(object? resultValue) override StringValueNode ParseValue(string runtimeValue) A StringScalarType for encoded JSON Web Tokens. Definition JwtType.cs:9 A ScalarType<TRuntimeType, TLiteral> for specialized string types. Definition StringScalarType.cs:12 diff --git a/_login_authority_8cs_source.html b/_login_authority_8cs_source.html index d617d6c8fb..8e63e5d339 100644 --- a/_login_authority_8cs_source.html +++ b/_login_authority_8cs_source.html @@ -400,7 +400,7 @@ $(document).ready(function() { init_codefold(0); }); HttpFailureResponse Indicates the type of HTTP status code an failing AuthorityResponse should generate. Definition HttpFailureResponse.cs:7 @ Id Lookup the Api.Models.EntityId.Id of the Models.PermissionSet.
-
+
diff --git a/_mutation_8cs_source.html b/_mutation_8cs_source.html
index 5405b163ec..0ff5d6fa71 100644
--- a/_mutation_8cs_source.html
+++ b/_mutation_8cs_source.html
@@ -121,7 +121,7 @@ $(document).ready(function() { init_codefold(0); });
@@ -120,7 +120,7 @@ $(document).ready(function() { init_codefold(0); });
Represents a host-side model that may be transformed into a TApiModel . Definition ILegacyApiTransformable{TApiModel}.cs:8 Definition ChatBot.cs:9 ValueTask< LoginResult > Login([Service] IGraphQLAuthorityInvoker< ILoginAuthority > loginAuthority, CancellationToken cancellationToken) Generate a JWT for authenticating with server. This is the only operation that accepts and required b... Definition Mutation.cs:32 Success response for a login attempt. Definition LoginResult.cs:12 Invokes TAuthority s from GraphQL endpoints. Definition IGraphQLAuthorityInvoker{TAuthority}.cs:15 @ Id Lookup the Api.Models.EntityId.Id of the Models.PermissionSet. @ UserId Lookup the Api.Models.EntityId.Id of the Models.PermissionSet.User. Represents a tgstation-server swarm. Definition ServerSwarm.cs:22 Represents a tgstation-server swarm. Definition ServerSwarm.cs:21 @ Api The ApiHeaders.ApiVersionHeader header is missing or invalid. Definition IJobManager.cs:8
-
diff --git a/_root_controller_8cs_source.html b/_root_controller_8cs_source.html
index 3f0f7b6923..ce4d1d2e2b 100644
--- a/_root_controller_8cs_source.html
+++ b/_root_controller_8cs_source.html
@@ -269,7 +269,7 @@ $(document).ready(function() { init_codefold(0); });
82 async ValueTask<IActionResult> IRestAuthorityInvoker<TAuthority>.Invoke(ApiController controller, Func<TAuthority, ValueTask<AuthorityResponse>> authorityInvoker)
-
-
-
-
-
-
-
+
+
+
-
- 83 async ValueTask<IActionResult> IRestAuthorityInvoker<TAuthority>.Invoke(ApiController controller, Func<TAuthority, ValueTask<AuthorityResponse>> authorityInvoker)
+
+
+
+
+
+
+
- 92 async ValueTask<IActionResult> IRestAuthorityInvoker<TAuthority>.Invoke<TResult, TApiModel>(ApiController controller, Func<TAuthority, ValueTask<AuthorityResponse<TResult>>> authorityInvoker)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
- 93 async ValueTask<IActionResult> IRestAuthorityInvoker<TAuthority>.Invoke<TResult, TApiModel>(ApiController controller, Func<TAuthority, ValueTask<AuthorityResponse<TResult>>> authorityInvoker)
+
+
+
+
+
+
+
+
+
+
+
-
-
+
106 async ValueTask<IActionResult> IRestAuthorityInvoker<TAuthority>.InvokeTransformable<TResult, TApiModel>(ApiController controller, Func<TAuthority, ValueTask<AuthorityResponse<TResult>>> authorityInvoker)
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+
107 async ValueTask<IActionResult> IRestAuthorityInvoker<TAuthority>.InvokeTransformable<TResult, TApiModel>(ApiController controller, Func<TAuthority, ValueTask<AuthorityResponse<TResult>>> authorityInvoker)
+
+
+
+
+
+
+
+
+
+
+
Definition AuthorityInvokerBase{TAuthority}.cs:11 Represents a response from an authority. Definition AuthorityResponse{TResult}.cs:14 Definition RestAuthorityInvoker{TAuthority}.cs:15 static ? IActionResult CreateErroredActionResult(ApiController controller, AuthorityResponse authorityResponse) Create an IActionResult for a given authorityResponse if it is erroring. Definition RestAuthorityInvoker{TAuthority}.cs:48 static IActionResult CreateSuccessfulActionResult< TResult, TApiModel >(ApiController controller, Func< TResult, TApiModel > resultTransformer, AuthorityResponse< TResult > authorityResponse) Create an IActionResult for a given successfulyauthorityResponse . Definition RestAuthorityInvoker{TAuthority}.cs:25 RestAuthorityInvoker(TAuthority authority) Initializes a new instance of the RestAuthorityInvoker<TAuthority> class. Definition RestAuthorityInvoker{TAuthority}.cs:76 RestAuthorityInvoker(TAuthority authority) Initializes a new instance of the RestAuthorityInvoker<TAuthority> class. Definition RestAuthorityInvoker{TAuthority}.cs:77 Base Controller for API functions. Definition ApiController.cs:37 new NotFoundObjectResult NotFound() Generic 404 response. StatusCodeResult StatusCode(HttpStatusCode statusCode) Strongly type calls to ControllerBase.StatusCode(int). Invokes TAuthority methods and generates IActionResult responses. Definition IRestAuthorityInvoker{TAuthority}.cs:18 ValueTask< IActionResult > Invoke(ApiController controller, Func< TAuthority, ValueTask< AuthorityResponse > > authorityInvoker) Invoke a TAuthority method with no success result. Definition ApiHeaders.cs:20
+
+
+
+
+
-
+
override bool TryDeserialize(object? resultValue, out object? runtimeValue) Definition SemverType.cs:29 override Version ParseLiteral(StringValueNode valueSyntax) Definition SemverType.cs:56 override bool IsInstanceOfType(Version runtimeValue) Definition SemverType.cs:74 override bool TrySerialize(object? runtimeValue, out object? resultValue) Definition SemverType.cs:43
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/_swarm_controller_8cs_source.html b/_swarm_controller_8cs_source.html
index b3eebf8d2c..fd2129203d 100644
--- a/_swarm_controller_8cs_source.html
+++ b/_swarm_controller_8cs_source.html
@@ -340,7 +340,7 @@ $(document).ready(function() { init_codefold(0); });
+
+
+
+ 26 public int ProtocolMajorVersion => Version.Parse(MasterVersionsAttribute.Instance.RawSwarmProtocolVersion).Major;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- 52 return (IServerNode?)SwarmNode.GetSwarmNode(ourIdentifier, swarmService) ?? new StandaloneNode();
+
40 public int ProtocolMajorVersion => Version.Parse(MasterVersionsAttribute.Instance.RawSwarmProtocolVersion).Major;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 66 return (IServerNode?)SwarmNode.GetSwarmNode(ourIdentifier, swarmService) ?? new StandaloneNode();
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-Represents a tgstation-server swarm. Definition ServerSwarm.cs:22 List< SwarmNode >? Nodes([Service] ISwarmService swarmService) Gets all SwarmNode servers in the swarm. Definition ServerSwarm.cs:75 Represents a tgstation-server swarm. Definition ServerSwarm.cs:21 List< SwarmNode >? Nodes([Service] ISwarmService swarmService) Gets all SwarmNode servers in the swarm. Definition ServerSwarm.cs:61 bool UpdateInProgress([Service] IServerControl serverControl) If there is a swarm update in progress. Definition ServerSwarm.cs:29 IServerNode CurrentNode([Service] IOptionsSnapshot< SwarmConfiguration > swarmConfigurationOptions, [Service] ISwarmService swarmService) Gets the connected SwarmNode server. Definition ServerSwarm.cs:55 UpdateInformation UpdateInformation() Gets the Types.UpdateInformation for the swarm. IServerNode CurrentNode([Service] IOptionsSnapshot< SwarmConfiguration > swarmConfigurationOptions, [Service] ISwarmService swarmService) Gets the connected SwarmNode server. Definition ServerSwarm.cs:41 A IServerNode not running as part of a larger ServerSwarm. Definition StandaloneNode.cs:14 Represents a node server in a swarm. Definition SwarmNode.cs:23 static ? SwarmNode GetSwarmNode(string identifier, [Service] ISwarmService swarmService) Node resolver for SwarmNodes. Definition SwarmNode.cs:57 Gets information about updates for the ServerSwarm. Definition UpdateInformation.cs:18 Attribute for bringing in the master versions list from MSBuild that aren't embedded into assemblies ... Definition MasterVersionsAttribute.cs:11 string RawSwarmProtocolVersion The Version string of the TGS swarm protocol. Definition MasterVersionsAttribute.cs:47 static MasterVersionsAttribute Instance Return the Assembly's instance of the MasterVersionsAttribute. Definition MasterVersionsAttribute.cs:15 Represents a service that may take an updated Host assembly and run it, stopping the current assembly... Definition IServerControl.cs:10 Represents a tgstation-server installation. Definition IServerNode.cs:13 Used for swarm operations. Functions may be no-op based on configuration. Definition ISwarmService.cs:15 Definition Application.cs:77
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+
+Classes |
+Namespaces
+ StringScalarType.cs File Reference
+
+
+
+Go to the source code of this file. +
+Generated by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+StringScalarType.cs
+Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+A ScalarType<TRuntimeType, TLiteral> for specialized string types. Definition StringScalarType.cs:12 override IValueNode ParseResult(object? resultValue) StringScalarType(string name) Initializes a new instance of the StringScalarType class. Definition StringScalarType.cs:17 override string ParseLiteral(StringValueNode valueSyntax) Definition StringScalarType.cs:27 override StringValueNode ParseValue(string runtimeValue) +Generated by Definition ApiHeaders.cs:20 ValueTask AbortUpdate() Attempt to abort an uncommitted update. Reads and writes to Streams associated with FileTicketResponses. Definition IFileTransferStreamHandler.cs:14 Go to the source code of this file. +Go to the source code of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+
+Classes |
+Namespaces
+ UpdateInformation.cs File Reference
+
+
+
+Go to the source code of this file. +
+Generated by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+UpdateInformation.cs
+Go to the documentation of this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 64 => (await GetAdministrationResponseSafe(forceFresh, administrationAuthority, cancellationToken)).TrackedRepositoryUrl;
+
+
+
+
+ 75 => (await GetAdministrationResponseSafe(false, administrationAuthority, cancellationToken)).GeneratedAt;
+
+
+
+
+
+ 88 => (await GetAdministrationResponseSafe(forceFresh, administrationAuthority, cancellationToken)).LatestVersion;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 110 var response = await administrationAuthority.Invoke<AdministrationResponse, AdministrationResponse>(
+
+
+
+
+
+Represents administrative server information. Definition AdministrationResponse.cs:11 Gets information about updates for the ServerSwarm. Definition UpdateInformation.cs:18 async ValueTask< Version?> LatestVersion(bool forceFresh, [Service] IGraphQLAuthorityInvoker< IAdministrationAuthority > administrationAuthority, CancellationToken cancellationToken) Gets the latest Version of tgstation-server available on the GitHub repository updates are sourced fr... bool UpdateInProgress([Service] IServerControl serverControl) If there is a swarm update in progress. This is not affected by GeneratedAt(IGraphQLAuthorityInvoker<... Definition UpdateInformation.cs:46 async ValueTask< DateTimeOffset?> GeneratedAt([Service] IGraphQLAuthorityInvoker< IAdministrationAuthority > administrationAuthority, CancellationToken cancellationToken) Gets the time the UpdateInformation was generated. async ValueTask< AdministrationResponse > GetAdministrationResponseSafe(bool forceFresh, IGraphQLAuthorityInvoker< IAdministrationAuthority > administrationAuthority, CancellationToken cancellationToken) Safely retrieve the AdministrationResponse from a given administrationAuthority without generating t... Definition UpdateInformation.cs:97 UpdateInformation() Initializes a new instance of the UpdateInformation class. Definition UpdateInformation.cs:32 bool cacheForceGenerated If the cache was already force generated this query. Definition UpdateInformation.cs:27 readonly SemaphoreSlim cacheReadSemaphore SemaphoreSlim to prevent duplicate cache generations in one query. Definition UpdateInformation.cs:22 async ValueTask< Uri?> TrackedRepositoryUrl(bool forceFresh, [Service] IGraphQLAuthorityInvoker< IAdministrationAuthority > administrationAuthority, CancellationToken cancellationToken) Gets the Uri of the GitHub repository updates are sourced from. Async lock context helper. Definition SemaphoreSlimContext.cs:11 static async ValueTask< SemaphoreSlimContext > Lock(SemaphoreSlim semaphore, CancellationToken cancellationToken) Asyncronously locks a semaphore . Definition SemaphoreSlimContext.cs:18 Invokes TAuthority s from GraphQL endpoints. Definition IGraphQLAuthorityInvoker{TAuthority}.cs:15 ValueTask Invoke(Func< TAuthority, ValueTask< AuthorityResponse > > authorityInvoker) Invoke a TAuthority method with no success result. Represents a service that may take an updated Host assembly and run it, stopping the current assembly... Definition IServerControl.cs:10 Definition Application.cs:77 +Generated by Invokes TAuthority s from GraphQL endpoints. Definition IGraphQLAuthorityInvoker{TAuthority}.cs:15 IAuthority for managing Users. Definition IUserAuthority.cs:18 IQueryable< User > Queryable(bool includeJoins) Gets all registered Users. PermissionSetLookupType Indicates the type of Api.Models.EntityId.Id to lookup on a Models.PermissionSet. Definition PermissionSetLookupType.cs:7 ITransformer<TInput, TOutput> for GraphQL.Types.UserNames. Definition UserNameGraphQLTransformer.cs:7 Invokes TAuthority s from GraphQL endpoints. Definition IGraphQLAuthorityInvoker{TAuthority}.cs:15 A lightly scoped Types.User. Definition IUserName.cs:9 @ Required DMAPI validation must suceed for the deployment to succeed. Definition ApiHeaders.cs:20 HttpFailureResponse Indicates the type of HTTP status code an failing AuthorityResponse should generate. Definition HttpFailureResponse.cs:7 HttpSuccessResponse Indicates the type of HTTP status code a successful AuthorityResponse<TResult> should generate. Definition HttpSuccessResponse.cs:7 Definition ApiHeaders.cs:20 Definition ChatBot.cs:9 HttpFailureResponse Indicates the type of HTTP status code an failing AuthorityResponse should generate. Definition HttpFailureResponse.cs:7 HttpSuccessResponse Indicates the type of HTTP status code a successful AuthorityResponse<TResult> should generate. Definition HttpSuccessResponse.cs:7 Definition ChatBot.cs:9 Definition ApiHeaders.cs:20 @ Api The ApiHeaders.ApiVersionHeader header is missing or invalid. Definition ChatBot.cs:9 ValueTask< AuthorityResponse< UserGroup > > Update(long id, string? newName, PermissionSet? newPermissionSet, CancellationToken cancellationToken) Updates a UserGroup. ValueTask< AuthorityResponse< UserGroup > > Create(string name, PermissionSet? permissionSet, CancellationToken cancellationToken) Create a UserGroup. ValueTask< AuthorityResponse > DeleteEmpty(long id, CancellationToken cancellationToken) Deletes an empty UserGroup. IAuthority for managing UserGroups. Definition IUserGroupAuthority.cs:16 ValueTask< AuthorityResponse< UserGroup > > GetId(long id, bool includeJoins, CancellationToken cancellationToken) Gets the UserGroup with a given id . IQueryable< UserGroup > Queryable(bool includeJoins) Gets all registered UserGroups. @ List User may list files if the Models.Instance allows it. @ Id Lookup the Api.Models.EntityId.Id of the Models.PermissionSet. IQueryable< User > Queryable(bool includeJoins) Gets all registered Users. ValueTask< AuthorityResponse< User > > GetId(long id, bool includeJoins, bool allowSystemUser, CancellationToken cancellationToken) Gets the User with a given id . ValueTask< AuthorityResponse< User > > Read(CancellationToken cancellationToken) Gets the currently authenticated user. ![]() The documentation for this class was generated from the following file:
![]() The documentation for this class was generated from the following file:
Detailed DescriptionIndicates data from the TGS update source. -Definition at line 8 of file UpdateInformation.cs. +Definition at line 8 of file UpdateInformation.cs. Property Documentation◆ GeneratedAt@@ -130,7 +130,7 @@ PropertiesThis response is cached. This field indicates the DateTimeOffset the UpdateInformation was generated. -Definition at line 18 of file UpdateInformation.cs. +Definition at line 18 of file UpdateInformation.cs. 18{ get; set; }
The latest available version of the Tgstation.Server.Host assembly from the upstream repository. If Version.Major is less than 4 the update cannot be applied due to API changes. -Definition at line 13 of file UpdateInformation.cs. +Definition at line 13 of file UpdateInformation.cs. 13{ get; set; }
The documentation for this class was generated from the following file:
Definition at line 24 of file PermissionSet.cs. 24{ get; set; }
Referenced by Tgstation.Server.Host.Authority.UserGroupAuthority.Create(), Tgstation.Server.Host.Authority.UserAuthority.CreateNewUserFromModel(), Tgstation.Server.Host.Models.PermissionSet.ToApi(), and Tgstation.Server.Host.Controllers.AdministrationController.Update(). +Referenced by Tgstation.Server.Host.Authority.UserGroupAuthority.Create(), Tgstation.Server.Host.Authority.UserAuthority.CreateNewUserFromModel(), Tgstation.Server.Host.Models.PermissionSet.ToApi(), and Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange(). diff --git a/class_tgstation_1_1_server_1_1_api_1_1_routes.html b/class_tgstation_1_1_server_1_1_api_1_1_routes.html index 14f961ea4d..313372d8bf 100644 --- a/class_tgstation_1_1_server_1_1_api_1_1_routes.html +++ b/class_tgstation_1_1_server_1_1_api_1_1_routes.html @@ -615,7 +615,7 @@ Here is the caller graph for this function:Definition at line 18 of file Routes.cs. -Referenced by Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Controllers.RootController.Index(), and Tgstation.Server.Client.GraphQL.GraphQLServerClientFactory.SetupServiceProvider(). +Referenced by Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Controllers.RootController.Index(), and Tgstation.Server.Client.GraphQL.GraphQLServerClientFactory.SetupServiceProvider(). @@ -643,7 +643,7 @@ Here is the caller graph for this function:Definition at line 23 of file Routes.cs. -Referenced by Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline(). +Referenced by Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline(). @@ -749,7 +749,7 @@ Here is the caller graph for this function:Definition at line 118 of file Routes.cs. -Referenced by Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Client.ApiClient.CreateHubConnection< THubImplementation >(). +Referenced by Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Client.ApiClient.CreateHubConnection< THubImplementation >(). diff --git a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_administration_authority-members.html b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_administration_authority-members.html new file mode 100644 index 0000000000..b623187ce4 --- /dev/null +++ b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_administration_authority-members.html @@ -0,0 +1,111 @@ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+Tgstation.Server.Host.Authority.AdministrationAuthority Member List
+
+
+
+This is the complete list of members for Tgstation.Server.Host.Authority.AdministrationAuthority, including all inherited members. +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+
+Tgstation.Server.Host.Authority.AdministrationAuthority Class Referencesealed
+
+
+
++ More... +
+Inheritance diagram for Tgstation.Server.Host.Authority.AdministrationAuthority:
+
+
+![]()
+Collaboration diagram for Tgstation.Server.Host.Authority.AdministrationAuthority:
+
+
+![]()
Detailed Description+
+ Definition at line 23 of file AdministrationAuthority.cs. +Constructor & Destructor Documentation+ +◆ AdministrationAuthority()+ +
+
+
+
+
+
+Initializes a new instance of the AdministrationAuthority class. +
Definition at line 71 of file AdministrationAuthority.cs. + 80 : base(
+ 81 authenticationContext,
+ 82 databaseContext,
+ 83 logger)
+ 84 {
+ 85 this.gitHubServiceFactory = gitHubServiceFactory ?? throw new ArgumentNullException(nameof(gitHubServiceFactory));
+
+ 87 this.serverUpdateInitiator = serverUpdateInitiator ?? throw new ArgumentNullException(nameof(serverUpdateInitiator));
+ 88 this.fileTransferService = fileTransferService ?? throw new ArgumentNullException(nameof(fileTransferService));
+
+ 90 }
+readonly IFileTransferTicketProvider fileTransferService The IFileTransferTicketProvider for the AdministrationAuthority. Definition AdministrationAuthority.cs:53 readonly IServerControl serverControl The IServerControl for the AdministrationAuthority. Definition AdministrationAuthority.cs:43 readonly IMemoryCache cacheService The IMemoryCache for the AdministrationAuthority. Definition AdministrationAuthority.cs:58 readonly IServerUpdateInitiator serverUpdateInitiator The IServerUpdateInitiator for the AdministrationAuthority. Definition AdministrationAuthority.cs:48 readonly IGitHubServiceFactory gitHubServiceFactory The IGitHubServiceFactory for the AdministrationAuthority. Definition AdministrationAuthority.cs:38 @ List User may list files if the Models.Instance allows it. References Tgstation.Server.Host.Authority.AdministrationAuthority.cacheService, Tgstation.Server.Host.Authority.AdministrationAuthority.fileTransferService, Tgstation.Server.Host.Authority.AdministrationAuthority.gitHubServiceFactory, Tgstation.Server.Api.Rights.List, Tgstation.Server.Host.Authority.AdministrationAuthority.serverControl, and Tgstation.Server.Host.Authority.AdministrationAuthority.serverUpdateInitiator. + +Member Function Documentation+ +◆ GetUpdateInformation()+ +
+
+
+
+
+
+
+Gets the AdministrationResponse containing server update information.
Implements Tgstation.Server.Host.Authority.IAdministrationAuthority. + +Definition at line 93 of file AdministrationAuthority.cs. + 94 {
+ 95 try
+ 96 {
+
+ 98 {
+
+
+ 101 try
+ 102 {
+
+
+
+ 106
+
+ 108 {
+
+
+
+
+
+ 114 }
+ 115
+
+ 117 }
+
+ 119 {
+
+ 121 }
+ 122
+
+ 124 {
+ 125 LatestVersion = greatestVersion,
+ 126 TrackedRepositoryUrl = repoUrl,
+ 127 GeneratedAt = DateTimeOffset.UtcNow,
+ 128 };
+ 129 }
+ 130
+
+ 132 Task<AdministrationResponse> task;
+
+ 134 {
+
+
+
+ 138 }
+ 139 else
+
+ 141
+
+ 143 }
+
+ 145 {
+
+ 147 }
+
+ 149 {
+
+
+
+ 153 {
+ 154 AdditionalData = e.Message,
+ 155 },
+ 156 HttpFailureResponse.FailedDependency);
+ 157 }
+ 158 }
+Represents administrative server information. Definition AdministrationResponse.cs:11 Represents an error message returned by the server. Definition ErrorMessageResponse.cs:12 const string OctokitException Default Exception.Message for ApiExceptions. Definition AdministrationAuthority.cs:28 static readonly object ReadCacheKey The IMemoryCache key for GetUpdateInformation(bool, CancellationToken). Definition AdministrationAuthority.cs:33 ILogger< AuthorityBase > Logger Gets the ILogger for the AuthorityBase. Definition AuthorityBase.cs:33 ValueTask< IGitHubService > CreateService(CancellationToken cancellationToken) Create a IGitHubService. HttpFailureResponse Indicates the type of HTTP status code an failing AuthorityResponse should generate. Definition HttpFailureResponse.cs:7 References Tgstation.Server.Host.Authority.AdministrationAuthority.cacheService, Tgstation.Server.Host.Utils.GitHub.IGitHubServiceFactory.CreateService(), Tgstation.Server.Host.Authority.AdministrationAuthority.gitHubServiceFactory, Tgstation.Server.Api.Rights.List, Tgstation.Server.Host.Authority.Core.AuthorityBase.Logger, Tgstation.Server.Host.Authority.AdministrationAuthority.OctokitException, and Tgstation.Server.Host.Authority.AdministrationAuthority.ReadCacheKey. +
+Here is the call graph for this function:
+
+
+
+![]() ◆ TriggerServerRestart()+ +
+
+
+
+
+
+
+Triggers a restart of tgstation-server without terminating running game instances.
Implements Tgstation.Server.Host.Authority.IAdministrationAuthority. + +Definition at line 227 of file AdministrationAuthority.cs. + 228 {
+
+ 230 {
+
+
+
+ 234 HttpFailureResponse.UnprocessableEntity);
+ 235 }
+ 236
+
+
+ 239 }
+Represents a response from an authority. Definition AuthorityResponse{TResult}.cs:14 bool WatchdogPresent true if live updates are supported, false. TryStartUpdate(IServerUpdateExecutor, Version) and Restart... Definition IServerControl.cs:14 References Tgstation.Server.Api.Rights.List, Tgstation.Server.Host.Authority.Core.AuthorityBase.Logger, Tgstation.Server.Host.Core.IServerControl.Restart(), Tgstation.Server.Host.Authority.AdministrationAuthority.serverControl, and Tgstation.Server.Host.Core.IServerControl.WatchdogPresent. +
+Here is the call graph for this function:
+
+
+
+![]() ◆ TriggerServerVersionChange()+ +
+
+
+
+
+
+Triggers a restart of tgstation-server without terminating running game instances, setting its version to a given targetVersion .
Implements Tgstation.Server.Host.Authority.IAdministrationAuthority. + +Definition at line 161 of file AdministrationAuthority.cs. + 162 {
+
+
+ 165 {
+ 166 if (!AuthenticationContext.PermissionSet.AdministrationRights!.Value.HasFlag(AdministrationRights.UploadVersion))
+
+ 168 }
+ 169 else if (!AuthenticationContext.PermissionSet.AdministrationRights!.Value.HasFlag(AdministrationRights.ChangeVersion))
+
+ 171
+
+
+ 174
+
+
+
+ 178 HttpFailureResponse.UnprocessableEntity);
+ 179
+
+
+ 182 : null;
+ 183
+
+ 185 try
+ 186 {
+ 187 try
+ 188 {
+ 189 updateResult = await serverUpdateInitiator.InitiateUpdate(uploadTicket, targetVersion, cancellationToken);
+ 190 }
+ 191 catch
+ 192 {
+
+
+ 195
+ 196 throw;
+ 197 }
+ 198 }
+
+ 200 {
+
+ 202 }
+
+ 204 {
+
+
+
+ 208 {
+ 209 AdditionalData = e.Message,
+ 210 },
+ 211 HttpFailureResponse.FailedDependency);
+ 212 }
+ 213
+
+ 215 {
+ 216 ServerUpdateResult.Started => new AuthorityResponse<ServerUpdateResponse>(new ServerUpdateResponse(targetVersion, uploadTicket?.Ticket.FileTicket), HttpSuccessResponse.Accepted),
+
+ 218 ServerUpdateResult.UpdateInProgress => BadRequest<ServerUpdateResponse>(ErrorCode.ServerUpdateInProgress),
+
+
+ 221 HttpFailureResponse.FailedDependency),
+
+ 223 };
+ 224 }
+AdministrationRights? AdministrationRights The Rights.AdministrationRights for the user. Definition PermissionSet.cs:24 A response to a Request.ServerUpdateRequest. Definition ServerUpdateResponse.cs:11 PermissionSet PermissionSet The User's effective PermissionSet. Definition AuthenticationContext.cs:19 ValueTask< ServerUpdateResult > InitiateUpdate(IFileStreamProvider? fileStreamProvider, Version version, CancellationToken cancellationToken) Start the process of downloading and applying an update to a new server version . IFileUploadTicket CreateUpload(FileUploadStreamKind streamKind) Create a IFileUploadTicket. A FileTicketResponse that waits for a pending upload. Definition IFileUploadTicket.cs:15 HttpSuccessResponse Indicates the type of HTTP status code a successful AuthorityResponse<TResult> should generate. Definition HttpSuccessResponse.cs:7 FileUploadStreamKind Determines the type of global::System.IO.Stream returned from IFileUploadTicket's created from IFileT... Definition FileUploadStreamKind.cs:7 References Tgstation.Server.Api.Models.PermissionSet.AdministrationRights, Tgstation.Server.Host.Transfer.IFileTransferTicketProvider.CreateUpload(), Tgstation.Server.Host.Authority.AdministrationAuthority.fileTransferService, Tgstation.Server.Host.Core.IServerUpdateInitiator.InitiateUpdate(), Tgstation.Server.Api.Rights.List, Tgstation.Server.Host.Authority.Core.AuthorityBase.Logger, Tgstation.Server.Host.Authority.AdministrationAuthority.OctokitException, Tgstation.Server.Host.Security.AuthenticationContext.PermissionSet, Tgstation.Server.Host.Authority.AdministrationAuthority.serverControl, Tgstation.Server.Host.Authority.AdministrationAuthority.serverUpdateInitiator, and Tgstation.Server.Host.Core.IServerControl.WatchdogPresent. +
+Here is the call graph for this function:
+
+
+
+![]() Member Data Documentation+ +◆ cacheService+ +
+
+
+
+
+
+
+The IMemoryCache for the AdministrationAuthority. + +Definition at line 58 of file AdministrationAuthority.cs. + +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.AdministrationAuthority(), and Tgstation.Server.Host.Authority.AdministrationAuthority.GetUpdateInformation(). + +◆ fileTransferService+ +
+
+
+
+
+
+
+The IFileTransferTicketProvider for the AdministrationAuthority. + +Definition at line 53 of file AdministrationAuthority.cs. + +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.AdministrationAuthority(), and Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange(). + +◆ gitHubServiceFactory+ +
+
+
+
+
+
+
+The IGitHubServiceFactory for the AdministrationAuthority. + +Definition at line 38 of file AdministrationAuthority.cs. + +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.AdministrationAuthority(), and Tgstation.Server.Host.Authority.AdministrationAuthority.GetUpdateInformation(). + +◆ OctokitException+ +
+
+
+
+
+
+
+Default Exception.Message for ApiExceptions. + +Definition at line 28 of file AdministrationAuthority.cs. + +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.GetUpdateInformation(), and Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange(). + +◆ ReadCacheKey+ +
+
+
+
+
+
+
+The IMemoryCache key for GetUpdateInformation(bool, CancellationToken). + +Definition at line 33 of file AdministrationAuthority.cs. + +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.GetUpdateInformation(). + +◆ serverControl+ +
+
+
+
+
+
+
+The IServerControl for the AdministrationAuthority. + +Definition at line 43 of file AdministrationAuthority.cs. + +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.AdministrationAuthority(), Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerRestart(), and Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange(). + +◆ serverUpdateInitiator+ +
+
+
+
+
+
+The IServerUpdateInitiator for the AdministrationAuthority. + +Definition at line 48 of file AdministrationAuthority.cs. + +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.AdministrationAuthority(), and Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange(). + +The documentation for this class was generated from the following file:
+Generated by ![]()
@@ -582,7 +584,7 @@ Properties
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.map b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.map
index 5af77d1277..ce54c63c32 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.map
+++ b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.map
@@ -1,13 +1,15 @@
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.md5
index b38859a81e..01f52d6a02 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.md5
+++ b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.md5
@@ -1 +1 @@
-e3e67f5aba51b4dfbac3e45d6a10200e
\ No newline at end of file
+84b3e5e5df07ac5445110071fd234a98
\ No newline at end of file
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.png b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.png
index 4ae13d15cd..95950280c5 100644
Binary files a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.png and b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_base__inherit__graph.png differ
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_invoker_base.html b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_invoker_base.html
index 329c822044..ecf5ca0176 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_invoker_base.html
+++ b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_authority_invoker_base.html
@@ -342,7 +342,7 @@ Private Member Functions
Definition at line 33 of file AuthorityBase.cs. 33{ get; }
Referenced by Tgstation.Server.Host.Authority.LoginAuthority.AttemptLogin(), Tgstation.Server.Host.Authority.Core.AuthorityBase.AuthorityBase(), Tgstation.Server.Host.Authority.UserGroupAuthority.Create(), Tgstation.Server.Host.Authority.UserAuthority.Create(), Tgstation.Server.Host.Authority.Core.AuthorityBase.RateLimit< TResult >(), and Tgstation.Server.Host.Authority.UserAuthority.Update(). +Referenced by Tgstation.Server.Host.Authority.LoginAuthority.AttemptLogin(), Tgstation.Server.Host.Authority.Core.AuthorityBase.AuthorityBase(), Tgstation.Server.Host.Authority.UserGroupAuthority.Create(), Tgstation.Server.Host.Authority.UserAuthority.Create(), Tgstation.Server.Host.Authority.AdministrationAuthority.GetUpdateInformation(), Tgstation.Server.Host.Authority.Core.AuthorityBase.RateLimit< TResult >(), Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerRestart(), Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange(), and Tgstation.Server.Host.Authority.UserAuthority.Update(). Definition at line 15 of file AuthorityInvokerBase{TAuthority}.cs. 15{ get; }
Referenced by Tgstation.Server.Host.Authority.Core.AuthorityInvokerBase< TAuthority >.AuthorityInvokerBase(), Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.Invoke(), Tgstation.Server.Host.Authority.Core.GraphQLAuthorityInvoker< TAuthority >.Invoke(), Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.Invoke< TResult, TApiModel >(), Tgstation.Server.Host.Authority.Core.GraphQLAuthorityInvoker< TAuthority >.Invoke< TResult, TApiModel >(), Tgstation.Server.Host.Authority.Core.GraphQLAuthorityInvoker< TAuthority >.InvokeAllowMissing< TResult, TApiModel >(), and Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.InvokeTransformable< TResult, TApiModel >(). +Referenced by Tgstation.Server.Host.Authority.Core.AuthorityInvokerBase< TAuthority >.AuthorityInvokerBase(), Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.Invoke(), Tgstation.Server.Host.Authority.Core.GraphQLAuthorityInvoker< TAuthority >.Invoke(), Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.Invoke< TResult, TApiModel >(), Tgstation.Server.Host.Authority.Core.GraphQLAuthorityInvoker< TAuthority >.Invoke< TResult, TApiModel >(), Tgstation.Server.Host.Authority.Core.GraphQLAuthorityInvoker< TAuthority >.InvokeAllowMissing< TResult, TApiModel >(), and Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.InvokeTransformable< TResult, TApiModel >(). diff --git a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_rest_authority_invoker.html b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_rest_authority_invoker.html index 70279b2f9d..f72c423f80 100644 --- a/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_rest_authority_invoker.html +++ b/class_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_1_1_rest_authority_invoker.html @@ -228,10 +228,10 @@ Additional Inherited Members -Definition at line 76 of file RestAuthorityInvoker{TAuthority}.cs. - 77 : base(authority)
- 78 {
- 79 }
+Definition at line 77 of file RestAuthorityInvoker{TAuthority}.cs. + 78 : base(authority)
+ 79 {
+ 80 }
55 return failureResponse switch
56 {
57 HttpFailureResponse.BadRequest => controller.BadRequest(errorMessage),
- 58 HttpFailureResponse.Unauthorized => controller.Unauthorized(errorMessage),
+ 58 HttpFailureResponse.Unauthorized => controller.Unauthorized(),
59 HttpFailureResponse.Forbidden => controller.Forbid(),
60 HttpFailureResponse.NotFound => controller.NotFound(errorMessage),
61 HttpFailureResponse.NotAcceptable => controller.StatusCode(HttpStatusCode.NotAcceptable, errorMessage),
@@ -300,15 +300,16 @@ Additional Inherited Members
65 HttpFailureResponse.FailedDependency => controller.StatusCode(HttpStatusCode.FailedDependency, errorMessage),
66 HttpFailureResponse.RateLimited => controller.StatusCode(HttpStatusCode.TooManyRequests, errorMessage),
67 HttpFailureResponse.NotImplemented => controller.StatusCode(HttpStatusCode.NotImplemented, errorMessage),
- 68 _ => throw new InvalidOperationException($"Invalid {nameof(HttpFailureResponse)}: {failureResponse}"),
- 69 };
- 70 }
+ 68 HttpFailureResponse.ServiceUnavailable => controller.StatusCode(HttpStatusCode.ServiceUnavailable, errorMessage),
+ 69 _ => throw new InvalidOperationException($"Invalid {nameof(HttpFailureResponse)}: {failureResponse}"),
+ 70 };
+ 71 }
new NotFoundObjectResult NotFound() Generic 404 response. StatusCodeResult StatusCode(HttpStatusCode statusCode) Strongly type calls to ControllerBase.StatusCode(int). References Tgstation.Server.Host.Authority.Core.AuthorityResponse< TResult >.ErrorMessage, Tgstation.Server.Host.Authority.Core.AuthorityResponse< TResult >.FailureResponse, Tgstation.Server.Host.Controllers.ApiController.NotFound(), Tgstation.Server.Host.Controllers.ApiController.StatusCode(), and Tgstation.Server.Host.Authority.Core.AuthorityResponse< TResult >.Success. -Referenced by Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.Invoke(), Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.Invoke< TResult, TApiModel >(), and Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.InvokeTransformable< TResult, TApiModel >(). +Referenced by Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.Invoke(), Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.Invoke< TResult, TApiModel >(), and Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.InvokeTransformable< TResult, TApiModel >().
Here is the call graph for this function:
@@ -469,14 +470,14 @@ Here is the caller graph for this function:
Implements Tgstation.Server.Host.Authority.IRestAuthorityInvoker< TAuthority >. -Definition at line 82 of file RestAuthorityInvoker{TAuthority}.cs. - 83 {
- 84 ArgumentNullException.ThrowIfNull(controller);
- 85 ArgumentNullException.ThrowIfNull(authorityInvoker);
- 86
- 87 var authorityResponse = await authorityInvoker(Authority);
-
- 89 }
+Definition at line 83 of file RestAuthorityInvoker{TAuthority}.cs. + 84 {
+ 85 ArgumentNullException.ThrowIfNull(controller);
+ 86 ArgumentNullException.ThrowIfNull(authorityInvoker);
+ 87
+ 88 var authorityResponse = await authorityInvoker(Authority);
+
+ 90 }
static ? IActionResult CreateErroredActionResult(ApiController controller, AuthorityResponse authorityResponse) Create an IActionResult for a given authorityResponse if it is erroring. Definition RestAuthorityInvoker{TAuthority}.cs:48 Implements Tgstation.Server.Host.Authority.IRestAuthorityInvoker< TAuthority >. -Definition at line 92 of file RestAuthorityInvoker{TAuthority}.cs. - 93 {
- 94 ArgumentNullException.ThrowIfNull(controller);
- 95 ArgumentNullException.ThrowIfNull(authorityInvoker);
- 96
- 97 var authorityResponse = await authorityInvoker(Authority);
- 98 var erroredResult = CreateErroredActionResult(controller, authorityResponse);
- 99 if (erroredResult != null)
- 100 return erroredResult;
- 101
- 102 return CreateSuccessfulActionResult(controller, result => result, authorityResponse);
- 103 }
+Definition at line 93 of file RestAuthorityInvoker{TAuthority}.cs. + 94 {
+ 95 ArgumentNullException.ThrowIfNull(controller);
+ 96 ArgumentNullException.ThrowIfNull(authorityInvoker);
+ 97
+ 98 var authorityResponse = await authorityInvoker(Authority);
+ 99 var erroredResult = CreateErroredActionResult(controller, authorityResponse);
+ 100 if (erroredResult != null)
+ 101 return erroredResult;
+ 102
+ 103 return CreateSuccessfulActionResult(controller, result => result, authorityResponse);
+ 104 }
References Tgstation.Server.Host.Authority.Core.AuthorityInvokerBase< TAuthority >.Authority, and Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.CreateErroredActionResult().
@@ -635,18 +636,18 @@ Here is the call graph for this function:
Implements Tgstation.Server.Host.Authority.IRestAuthorityInvoker< TAuthority >. -Definition at line 106 of file RestAuthorityInvoker{TAuthority}.cs. - 107 {
- 108 ArgumentNullException.ThrowIfNull(controller);
- 109 ArgumentNullException.ThrowIfNull(authorityInvoker);
- 110
- 111 var authorityResponse = await authorityInvoker(Authority);
- 112 var erroredResult = CreateErroredActionResult(controller, authorityResponse);
- 113 if (erroredResult != null)
- 114 return erroredResult;
- 115
- 116 return CreateSuccessfulActionResult(controller, result => result.ToApi(), authorityResponse);
- 117 }
+Definition at line 107 of file RestAuthorityInvoker{TAuthority}.cs. + 108 {
+ 109 ArgumentNullException.ThrowIfNull(controller);
+ 110 ArgumentNullException.ThrowIfNull(authorityInvoker);
+ 111
+ 112 var authorityResponse = await authorityInvoker(Authority);
+ 113 var erroredResult = CreateErroredActionResult(controller, authorityResponse);
+ 114 if (erroredResult != null)
+ 115 return erroredResult;
+ 116
+ 117 return CreateSuccessfulActionResult(controller, result => result.ToApi(), authorityResponse);
+ 118 }
References Tgstation.Server.Host.Authority.Core.AuthorityInvokerBase< TAuthority >.Authority, and Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.CreateErroredActionResult().
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_components_1_1_interop_1_1_d_m_api_constants.html b/class_tgstation_1_1_server_1_1_host_1_1_components_1_1_interop_1_1_d_m_api_constants.html
index d6f608b1d7..42cacd69e1 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_components_1_1_interop_1_1_d_m_api_constants.html
+++ b/class_tgstation_1_1_server_1_1_host_1_1_components_1_1_interop_1_1_d_m_api_constants.html
@@ -159,7 +159,7 @@ Static Public Attributes
Definition at line 56 of file DMApiConstants.cs. -Referenced by Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Components.Session.SessionControllerFactory.CreateGameServerProcess(), Tgstation.Server.Host.Components.Session.SessionController.ProcessBridgeCommand(), and Tgstation.Server.Host.Controllers.ApiRootController.ServerInfo(). +Referenced by Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Components.Session.SessionControllerFactory.CreateGameServerProcess(), Tgstation.Server.Host.Components.Session.SessionController.ProcessBridgeCommand(), and Tgstation.Server.Host.Controllers.ApiRootController.ServerInfo(). References Tgstation.Server.Host.IO.IIOManager.ConcatPath(), Tgstation.Server.Host.Configuration.FileLoggingConfiguration.Directory, and Tgstation.Server.Host.System.IAssemblyInformationProvider.VersionPrefix. -Referenced by Tgstation.Server.Host.Core.Application.ConfigureServices(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). +Referenced by Tgstation.Server.Host.Core.Application.ConfigureServices(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs().
Here is the call graph for this function:
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_configuration_1_1_general_configuration.html b/class_tgstation_1_1_server_1_1_host_1_1_configuration_1_1_general_configuration.html
index 7e165a6736..54b7da553b 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_configuration_1_1_general_configuration.html
+++ b/class_tgstation_1_1_server_1_1_host_1_1_configuration_1_1_general_configuration.html
@@ -370,7 +370,7 @@ Here is the caller graph for this function:
Definition at line 79 of file GeneralConfiguration.cs. -Referenced by Tgstation.Server.Host.Configuration.GeneralConfiguration.CheckCompatibility(), Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Host.Setup.SetupWizard.SaveConfiguration(). +Referenced by Tgstation.Server.Host.Configuration.GeneralConfiguration.CheckCompatibility(), Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Host.Setup.SetupWizard.SaveConfiguration(). diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller-members.html b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller-members.html index 9a82a8426e..bccc1c9740 100644 --- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller-members.html +++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller-members.html @@ -80,44 +80,39 @@ $(function() {This is the complete list of members for Tgstation.Server.Host.Controllers.AdministrationController, including all inherited members. diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller.html b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller.html index fa533cb29d..2bd1a8c47f 100644 --- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller.html +++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller.html @@ -78,7 +78,6 @@ $(function() { Public Member Functions | Private Member Functions | Private Attributes | -Static Private Attributes | List of all members Tgstation.Server.Host.Controllers.AdministrationController Class Referencesealed ![]()
Definition at line 112 of file AdministrationController.cs. - 126 : base(
- 127 databaseContext,
- 128 authenticationContext,
- 129 apiHeadersProvider,
- 130 logger,
- 131 true)
- 132 {
- 133 this.gitHubServiceFactory = gitHubServiceFactory ?? throw new ArgumentNullException(nameof(gitHubServiceFactory));
-
- 135 this.serverUpdateInitiator = serverUpdateInitiator ?? throw new ArgumentNullException(nameof(serverUpdateInitiator));
- 136 this.assemblyInformationProvider = assemblyInformationProvider ?? throw new ArgumentNullException(nameof(assemblyInformationProvider));
-
- 138 this.platformIdentifier = platformIdentifier ?? throw new ArgumentNullException(nameof(platformIdentifier));
- 139 this.fileTransferService = fileTransferService ?? throw new ArgumentNullException(nameof(fileTransferService));
-
- 141 fileLoggingConfiguration = fileLoggingConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(fileLoggingConfigurationOptions));
- 142 }
-readonly FileLoggingConfiguration fileLoggingConfiguration The FileLoggingConfiguration for the AdministrationController. Definition AdministrationController.cs:94 readonly IMemoryCache cacheService The IMemoryCache for the AdministrationController. Definition AdministrationController.cs:89 readonly IAssemblyInformationProvider assemblyInformationProvider The IAssemblyInformationProvider for the AdministrationController. Definition AdministrationController.cs:69 readonly IFileTransferTicketProvider fileTransferService The IFileTransferTicketProvider for the AdministrationController. Definition AdministrationController.cs:84 readonly IPlatformIdentifier platformIdentifier The IPlatformIdentifier for the AdministrationController. Definition AdministrationController.cs:79 readonly IGitHubServiceFactory gitHubServiceFactory The IGitHubServiceFactory for the AdministrationController. Definition AdministrationController.cs:54 readonly IIOManager ioManager The IIOManager for the AdministrationController. Definition AdministrationController.cs:74 readonly IServerUpdateInitiator serverUpdateInitiator The IServerUpdateInitiator for the AdministrationController. Definition AdministrationController.cs:64 readonly IServerControl serverControl The IServerControl for the AdministrationController. Definition AdministrationController.cs:59 Definition at line 78 of file AdministrationController.cs. + 89 : base(
+ 90 databaseContext,
+ 91 authenticationContext,
+ 92 apiHeadersProvider,
+ 93 logger,
+ 94 true)
+ 95 {
+ 96 this.administrationAuthority = administrationAuthority ?? throw new ArgumentNullException(nameof(administrationAuthority));
+ 97 this.assemblyInformationProvider = assemblyInformationProvider ?? throw new ArgumentNullException(nameof(assemblyInformationProvider));
+
+ 99 this.platformIdentifier = platformIdentifier ?? throw new ArgumentNullException(nameof(platformIdentifier));
+ 100 this.fileTransferService = fileTransferService ?? throw new ArgumentNullException(nameof(fileTransferService));
+ 101 fileLoggingConfiguration = fileLoggingConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(fileLoggingConfigurationOptions));
+ 102 }
+readonly IRestAuthorityInvoker< IAdministrationAuthority > administrationAuthority The IRestAuthorityInvoker<TAuthority> for the IAdministrationAuthority. Definition AdministrationController.cs:38 readonly FileLoggingConfiguration fileLoggingConfiguration The FileLoggingConfiguration for the AdministrationController. Definition AdministrationController.cs:63 readonly IAssemblyInformationProvider assemblyInformationProvider The IAssemblyInformationProvider for the AdministrationController. Definition AdministrationController.cs:43 readonly IFileTransferTicketProvider fileTransferService The IFileTransferTicketProvider for the AdministrationController. Definition AdministrationController.cs:58 readonly IPlatformIdentifier platformIdentifier The IPlatformIdentifier for the AdministrationController. Definition AdministrationController.cs:53 readonly IIOManager ioManager The IIOManager for the AdministrationController. Definition AdministrationController.cs:48 @ List User may list files if the Models.Instance allows it. References Tgstation.Server.Host.Controllers.AdministrationController.assemblyInformationProvider, Tgstation.Server.Host.Controllers.AdministrationController.cacheService, Tgstation.Server.Host.Controllers.AdministrationController.fileLoggingConfiguration, Tgstation.Server.Host.Controllers.AdministrationController.fileTransferService, Tgstation.Server.Host.Controllers.AdministrationController.gitHubServiceFactory, Tgstation.Server.Host.Controllers.AdministrationController.ioManager, Tgstation.Server.Api.Rights.List, Tgstation.Server.Host.Controllers.AdministrationController.platformIdentifier, Tgstation.Server.Host.Controllers.AdministrationController.serverControl, and Tgstation.Server.Host.Controllers.AdministrationController.serverUpdateInitiator. +References Tgstation.Server.Host.Controllers.AdministrationController.administrationAuthority, Tgstation.Server.Host.Controllers.AdministrationController.assemblyInformationProvider, Tgstation.Server.Host.Controllers.AdministrationController.fileLoggingConfiguration, Tgstation.Server.Host.Controllers.AdministrationController.fileTransferService, Tgstation.Server.Host.Controllers.AdministrationController.ioManager, Tgstation.Server.Api.Rights.List, and Tgstation.Server.Host.Controllers.AdministrationController.platformIdentifier. Member Function Documentation- -◆ AttemptInitiateUpdate()+ +◆ AdministrationResponse()
@@ -437,22 +381,22 @@ Additional Inherited Members
|
-
-
-Attempt to initiate an update. -
Definition at line 410 of file AdministrationController.cs. - 411 {
-
-
- 414 : null;
- 415
-
- 417 try
- 418 {
- 419 try
- 420 {
- 421 updateResult = await serverUpdateInitiator.InitiateUpdate(uploadTicket, newVersion, cancellationToken);
- 422 }
- 423 catch
- 424 {
-
-
- 427
- 428 throw;
- 429 }
- 430 }
-
- 432 {
-
- 434 }
-
- 436 {
-
- 438 return this.StatusCode(HttpStatusCode.FailedDependency, new ErrorMessageResponse(ErrorCode.RemoteApiError)
- 439 {
- 440 AdditionalData = e.Message,
- 441 });
- 442 }
- 443
-
- 445 {
- 446 ServerUpdateResult.Started => Accepted(new ServerUpdateResponse(newVersion, uploadTicket?.Ticket.FileTicket)),
-
- 448 ServerUpdateResult.UpdateInProgress => BadRequest(new ErrorMessageResponse(ErrorCode.ServerUpdateInProgress)),
- 449 ServerUpdateResult.SwarmIntegrityCheckFailed => this.StatusCode(HttpStatusCode.FailedDependency, new ErrorMessageResponse(ErrorCode.SwarmIntegrityCheckFailed)),
-
- 451 };
- 452 }
-Represents an error message returned by the server. Definition ErrorMessageResponse.cs:12 A response to a Request.ServerUpdateRequest. Definition ServerUpdateResponse.cs:11 const string OctokitException Default Exception.Message for ApiExceptions. Definition AdministrationController.cs:44 StatusCodeResult StatusCode(HttpStatusCode statusCode) Strongly type calls to ControllerBase.StatusCode(int). ObjectResult RateLimit(RateLimitExceededException rateLimitException) 429 response for a given rateLimitException . Definition ApiController.cs:201 ValueTask< ServerUpdateResult > InitiateUpdate(IFileStreamProvider? fileStreamProvider, Version version, CancellationToken cancellationToken) Start the process of downloading and applying an update to a new server version . IFileUploadTicket CreateUpload(FileUploadStreamKind streamKind) Create a IFileUploadTicket. A FileTicketResponse that waits for a pending upload. Definition IFileUploadTicket.cs:15 FileUploadStreamKind Determines the type of global::System.IO.Stream returned from IFileUploadTicket's created from IFileT... Definition FileUploadStreamKind.cs:7 References Tgstation.Server.Host.Transfer.IFileTransferTicketProvider.CreateUpload(), Tgstation.Server.Host.Controllers.AdministrationController.fileTransferService, Tgstation.Server.Host.Core.IServerUpdateInitiator.InitiateUpdate(), Tgstation.Server.Api.Rights.List, Tgstation.Server.Host.Controllers.ApiController.Logger, Tgstation.Server.Host.Controllers.AdministrationController.OctokitException, Tgstation.Server.Host.Controllers.ApiController.RateLimit(), Tgstation.Server.Host.Controllers.AdministrationController.serverUpdateInitiator, and Tgstation.Server.Host.Controllers.ApiController.StatusCode(). - -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.Update(). -
-Here is the call graph for this function:
-
-
-![]()
-Here is the caller graph for this function:
-
-
-
![]() ◆ Delete()+ +◆ Delete()
+
+
+The IRestAuthorityInvoker<TAuthority> for the IAdministrationAuthority. + +Definition at line 38 of file AdministrationController.cs. + +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), and Tgstation.Server.Host.Controllers.AdministrationController.Update(). + +◆ assemblyInformationProvider@@ -1040,37 +768,9 @@ Here is the call graph for this function:The IAssemblyInformationProvider for the AdministrationController. -Definition at line 69 of file AdministrationController.cs. +Definition at line 43 of file AdministrationController.cs. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). - - - - -◆ cacheService- -
-
@@ -1096,9 +796,9 @@ Here is the call graph for this function:
-
-
-
The IMemoryCache for the AdministrationController. - -Definition at line 89 of file AdministrationController.cs. - -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), and Tgstation.Server.Host.Controllers.AdministrationController.Read(). +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). The FileLoggingConfiguration for the AdministrationController. -Definition at line 94 of file AdministrationController.cs. +Definition at line 63 of file AdministrationController.cs. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). @@ -1124,37 +824,9 @@ Here is the call graph for this function:The IFileTransferTicketProvider for the AdministrationController. -Definition at line 84 of file AdministrationController.cs. +Definition at line 58 of file AdministrationController.cs. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.AttemptInitiateUpdate(), and Tgstation.Server.Host.Controllers.AdministrationController.GetLog(). - - - - -◆ gitHubServiceFactory- -
-
@@ -1180,37 +852,9 @@ Here is the call graph for this function:
-
-
-
The IGitHubServiceFactory for the AdministrationController. - -Definition at line 54 of file AdministrationController.cs. - -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), and Tgstation.Server.Host.Controllers.AdministrationController.Read(). +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), and Tgstation.Server.Host.Controllers.AdministrationController.GetLog(). The IIOManager for the AdministrationController. -Definition at line 74 of file AdministrationController.cs. +Definition at line 48 of file AdministrationController.cs. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). - - - - -◆ OctokitException- -
-
@@ -1236,93 +880,9 @@ Here is the call graph for this function:
-
-
-
Default Exception.Message for ApiExceptions. - -Definition at line 44 of file AdministrationController.cs. - -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AttemptInitiateUpdate(), and Tgstation.Server.Host.Controllers.AdministrationController.Read(). +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). The IPlatformIdentifier for the AdministrationController. -Definition at line 79 of file AdministrationController.cs. +Definition at line 53 of file AdministrationController.cs. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). - - - - -◆ ReadCacheKey- -
-
-
-
-
-
-
-The IMemoryCache key for Read(bool?, CancellationToken). - -Definition at line 49 of file AdministrationController.cs. - -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.Read(). - -◆ serverControl- -
-
-
-
-
-
-
-The IServerControl for the AdministrationController. - -Definition at line 59 of file AdministrationController.cs. - -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.Delete(), and Tgstation.Server.Host.Controllers.AdministrationController.Update(). - -◆ serverUpdateInitiator- -
-
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.map b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.map
index 20e8c93525..60ecb337d7 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.map
+++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.map
@@ -1,36 +1,27 @@
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.md5
index b033eec8cb..1b2b316c64 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.md5
+++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.md5
@@ -1 +1 @@
-7073f1e635b1d4ab0b4ba76dbf23cf32
\ No newline at end of file
+456dcfd87700f2ea2ca56d70e5902e8d
\ No newline at end of file
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.png b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.png
index 9ea52e3b24..32be47578a 100644
Binary files a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.png and b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller__coll__graph.png differ
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.map b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.map
deleted file mode 100644
index d2ddc64132..0000000000
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.map
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.md5
deleted file mode 100644
index f66312fd88..0000000000
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.md5
+++ /dev/null
@@ -1 +0,0 @@
-837e65a1939186a7bbead74d2c9cbde2
\ No newline at end of file
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.png b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.png
deleted file mode 100644
index 2abdf28384..0000000000
Binary files a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a78ba36d622724a4e4740d4d792025c89_cgraph.png and /dev/null differ
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.map b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.map
index 3857056ee1..84dd46f612 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.map
+++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.map
@@ -1,14 +1,5 @@
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.md5
index 0a4c15a427..408427e8c7 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.md5
+++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.md5
@@ -1 +1 @@
-c69caab5557fe2c4e65c58e34a30d0dd
\ No newline at end of file
+2df640113d0c3eb26302abca74af131e
\ No newline at end of file
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.png b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.png
index a8f85704fe..6b0d13fd75 100644
Binary files a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.png and b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_a8ebab47feb25dc4b96387761e546740a_cgraph.png differ
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.map b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.map
deleted file mode 100644
index 2a0c8fb758..0000000000
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.map
+++ /dev/null
@@ -1,12 +0,0 @@
-
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.md5
deleted file mode 100644
index bad805484a..0000000000
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.md5
+++ /dev/null
@@ -1 +0,0 @@
-78b49b8f8214cc8d3950079acf4a4cc9
\ No newline at end of file
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.png b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.png
deleted file mode 100644
index 3f05164ec2..0000000000
Binary files a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_cgraph.png and /dev/null differ
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.md5
deleted file mode 100644
index fc2acb2be3..0000000000
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.md5
+++ /dev/null
@@ -1 +0,0 @@
-b410befbc06f899230a4cf5f692ab6ea
\ No newline at end of file
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.png b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.png
deleted file mode 100644
index 96a0a4d924..0000000000
Binary files a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.png and /dev/null differ
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.map b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.map
deleted file mode 100644
index 54f559fedb..0000000000
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.map
+++ /dev/null
@@ -1,7 +0,0 @@
-
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.md5
deleted file mode 100644
index c48a1a89cf..0000000000
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.md5
+++ /dev/null
@@ -1 +0,0 @@
-5c1ff4429ee57ca8d39ffe48d6c4159f
\ No newline at end of file
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.png b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.png
deleted file mode 100644
index 57f89cfea0..0000000000
Binary files a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_ae3e93234d44fcffb26c0a4ae7c057c43_cgraph.png and /dev/null differ
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller.html b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller.html
index 4cd56afbe7..ebb18c6830 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller.html
+++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller.html
@@ -967,8 +967,6 @@ Here is the caller graph for this function:
-
-
-
The IServerUpdateInitiator for the AdministrationController. - -Definition at line 64 of file AdministrationController.cs. - -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), and Tgstation.Server.Host.Controllers.AdministrationController.AttemptInitiateUpdate(). +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AdministrationController(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). 210 }
References Tgstation.Server.Host.Controllers.ApiController.Logger, and Tgstation.Server.Host.Controllers.ApiController.StatusCode(). - -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AttemptInitiateUpdate(), and Tgstation.Server.Host.Controllers.AdministrationController.Read().
Here is the call graph for this function:
@@ -979,20 +977,6 @@ Here is the call graph for this function:
-
-Here is the caller graph for this function:
-
-
@@ -1029,51 +1013,41 @@ Here is the caller graph for this function:
![]()
Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AttemptInitiateUpdate(), Tgstation.Server.Host.Controllers.ChatController.Create(), Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.CreateErroredActionResult(), Tgstation.Server.Host.Controllers.AdministrationController.Delete(), Tgstation.Server.Host.Controllers.ApiController.HeadersIssue(), Tgstation.Server.Host.Controllers.ApiController.RateLimit(), Tgstation.Server.Host.Controllers.AdministrationController.Read(), and Tgstation.Server.Host.Controllers.RepositoryController.ValidateCredentials(). +Referenced by Tgstation.Server.Host.Controllers.ChatController.Create(), Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >.CreateErroredActionResult(), Tgstation.Server.Host.Controllers.ApiController.HeadersIssue(), Tgstation.Server.Host.Controllers.ApiController.RateLimit(), and Tgstation.Server.Host.Controllers.RepositoryController.ValidateCredentials().
Here is the caller graph for this function:
![]() Definition at line 71 of file ApiController.cs. 71{ get; }
Referenced by Tgstation.Server.Host.Controllers.ApiController.ApiController(), Tgstation.Server.Host.Controllers.AdministrationController.AttemptInitiateUpdate(), Tgstation.Server.Host.Controllers.InstanceController.Create(), Tgstation.Server.Host.Controllers.ConfigurationController.CreateDirectory(), Tgstation.Server.Host.Controllers.AdministrationController.Delete(), Tgstation.Server.Host.Controllers.RepositoryController.Delete(), Tgstation.Server.Host.Controllers.ConfigurationController.DeleteDirectory(), Tgstation.Server.Host.Controllers.ConfigurationController.Directory(), Tgstation.Server.Host.Controllers.ConfigurationController.File(), Tgstation.Server.Host.Controllers.ApiController.HookExecuteAction(), Tgstation.Server.Host.Controllers.RepositoryController.PopulateApi(), Tgstation.Server.Host.Controllers.ApiController.RateLimit(), Tgstation.Server.Host.Controllers.AdministrationController.Read(), Tgstation.Server.Host.Controllers.RepositoryController.Reclone(), Tgstation.Server.Host.Controllers.ConfigurationController.Update(), Tgstation.Server.Host.Controllers.DreamDaemonController.Update(), Tgstation.Server.Host.Controllers.DreamMakerController.Update(), Tgstation.Server.Host.Controllers.EngineController.Update(), Tgstation.Server.Host.Controllers.InstanceController.Update(), Tgstation.Server.Host.Controllers.RepositoryController.ValidateCredentials(), and Tgstation.Server.Host.Controllers.ComponentInterfacingController.ValidateInstanceOnlineStatus(). +Referenced by Tgstation.Server.Host.Controllers.ApiController.ApiController(), Tgstation.Server.Host.Controllers.InstanceController.Create(), Tgstation.Server.Host.Controllers.ConfigurationController.CreateDirectory(), Tgstation.Server.Host.Controllers.RepositoryController.Delete(), Tgstation.Server.Host.Controllers.ConfigurationController.DeleteDirectory(), Tgstation.Server.Host.Controllers.ConfigurationController.Directory(), Tgstation.Server.Host.Controllers.ConfigurationController.File(), Tgstation.Server.Host.Controllers.ApiController.HookExecuteAction(), Tgstation.Server.Host.Controllers.RepositoryController.PopulateApi(), Tgstation.Server.Host.Controllers.ApiController.RateLimit(), Tgstation.Server.Host.Controllers.RepositoryController.Reclone(), Tgstation.Server.Host.Controllers.ConfigurationController.Update(), Tgstation.Server.Host.Controllers.DreamDaemonController.Update(), Tgstation.Server.Host.Controllers.DreamMakerController.Update(), Tgstation.Server.Host.Controllers.EngineController.Update(), Tgstation.Server.Host.Controllers.InstanceController.Update(), Tgstation.Server.Host.Controllers.RepositoryController.ValidateCredentials(), and Tgstation.Server.Host.Controllers.ComponentInterfacingController.ValidateInstanceOnlineStatus(). diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.map b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.map index 2bdc0120ed..268f588369 100644 --- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.map +++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.map @@ -1,41 +1,31 @@ diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.md5 index b936c53b38..4a673ccb4e 100644 --- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.md5 +++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.md5 @@ -1 +1 @@ -dd43c424650023301a10569b83157e84 \ No newline at end of file +0c33a83ba9442cba4e841eb8b960babf \ No newline at end of file diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.png b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.png index ba18037ce6..65751f35f5 100644 Binary files a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.png and b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_a978fe89eeaea424d7e034d2c7ab7b76e_icgraph.png differ diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.map b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.map deleted file mode 100644 index d19d7ac8ea..0000000000 --- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.map +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.md5 b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.md5 deleted file mode 100644 index dc3e430518..0000000000 --- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -b1cb408bb087ce331d1f4d2f6af92a5f \ No newline at end of file diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.png b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.png deleted file mode 100644 index ef23c1da5d..0000000000 Binary files a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_api_controller_adfc4e0e6f1d81ebc19a238527550f7a4_icgraph.png and /dev/null differ diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_control_panel_controller.html b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_control_panel_controller.html index 0da629bcfd..c2613e725a 100644 --- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_control_panel_controller.html +++ b/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_control_panel_controller.html @@ -477,7 +477,7 @@ Here is the caller graph for this function:Definition at line 31 of file ControlPanelController.cs. -Referenced by Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Host.Controllers.ControlPanelController.GetChannelJson(). +Referenced by Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Host.Controllers.ControlPanelController.GetChannelJson(). diff --git a/class_tgstation_1_1_server_1_1_host_1_1_core_1_1_application.html b/class_tgstation_1_1_server_1_1_host_1_1_core_1_1_application.html index 2cf13fb1f9..f3fd742312 100644 --- a/class_tgstation_1_1_server_1_1_host_1_1_core_1_1_application.html +++ b/class_tgstation_1_1_server_1_1_host_1_1_core_1_1_application.html @@ -394,165 +394,165 @@ Additional Inherited MembersDefinition at line 529 of file Application.cs. - 540 {
- 541 ArgumentNullException.ThrowIfNull(applicationBuilder);
- 542 ArgumentNullException.ThrowIfNull(serverControl);
- 543
-
- 545
- 546 ArgumentNullException.ThrowIfNull(serverPortProvider);
- 547 ArgumentNullException.ThrowIfNull(assemblyInformationProvider);
- 548
- 549 var controlPanelConfiguration = controlPanelConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(controlPanelConfigurationOptions));
- 550 var generalConfiguration = generalConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(generalConfigurationOptions));
- 551 var swarmConfiguration = swarmConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(swarmConfigurationOptions));
- 552 var internalConfiguration = internalConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(internalConfigurationOptions));
- 553
- 554 ArgumentNullException.ThrowIfNull(logger);
- 555
-
-
- 558
- 559 // setup the HTTP request pipeline
- 560 // Add additional logging context to the request
- 561 applicationBuilder.UseAdditionalRequestLoggingContext(swarmConfiguration);
- 562
- 563 // Wrap exceptions in a 500 (ErrorMessage) response
- 564 applicationBuilder.UseServerErrorHandling();
- 565
- 566 // Add the X-Powered-By response header
- 567 applicationBuilder.UseServerBranding(assemblyInformationProvider);
- 568
- 569 // Add the X-Accel-Buffering response header
- 570 applicationBuilder.UseDisabledNginxProxyBuffering();
- 571
- 572 // suppress OperationCancelledExceptions, they are just aborted HTTP requests
- 573 applicationBuilder.UseCancelledRequestSuppression();
- 574
- 575 // 503 requests made while the application is starting
- 576 applicationBuilder.UseAsyncInitialization<IInstanceManager>(
- 577 (instanceManager, cancellationToken) => instanceManager.Ready.WaitAsync(cancellationToken));
- 578
- 579 if (generalConfiguration.HostApiDocumentation)
- 580 {
- 581 var siteDocPath = Routes.ApiRoot + $"doc/{SwaggerConfiguration.DocumentName}.json";
- 582 if (!String.IsNullOrWhiteSpace(controlPanelConfiguration.PublicPath))
- 583 siteDocPath = controlPanelConfiguration.PublicPath.TrimEnd('/') + siteDocPath;
- 584
- 585 applicationBuilder.UseSwagger(options =>
- 586 {
- 587 options.RouteTemplate = Routes.ApiRoot + "doc/{documentName}.{json|yaml}";
- 588 });
- 589 applicationBuilder.UseSwaggerUI(options =>
- 590 {
-
- 592 options.SwaggerEndpoint(siteDocPath, "TGS API");
- 593 });
- 594 logger.LogTrace("Swagger API generation enabled");
- 595 }
- 596
- 597 // spa loading if necessary
- 598 if (controlPanelConfiguration.Enable)
- 599 {
- 600 logger.LogInformation("Web control panel enabled.");
- 601 applicationBuilder.UseFileServer(new FileServerOptions
- 602 {
-
- 604 EnableDefaultFiles = true,
- 605 EnableDirectoryBrowsing = false,
- 606 RedirectToAppendTrailingSlash = false,
- 607 });
- 608 }
- 609 else
- 610#if NO_WEBPANEL
- 611 logger.LogDebug("Web control panel was not included in TGS build!");
- 612#else
- 613 logger.LogTrace("Web control panel disabled!");
- 614#endif
- 615
- 616 // Enable endpoint routing
- 617 applicationBuilder.UseRouting();
- 618
- 619 // Set up CORS based on configuration if necessary
- 620 Action<CorsPolicyBuilder>? corsBuilder = null;
- 621 if (controlPanelConfiguration.AllowAnyOrigin)
- 622 {
- 623 logger.LogTrace("Access-Control-Allow-Origin: *");
- 624 corsBuilder = builder => builder.SetIsOriginAllowed(_ => true);
- 625 }
- 626 else if (controlPanelConfiguration.AllowedOrigins?.Count > 0)
- 627 {
- 628 logger.LogTrace("Access-Control-Allow-Origin: {allowedOrigins}", String.Join(',', controlPanelConfiguration.AllowedOrigins));
- 629 corsBuilder = builder => builder.WithOrigins([.. controlPanelConfiguration.AllowedOrigins]);
- 630 }
- 631
- 632 var originalBuilder = corsBuilder;
- 633 corsBuilder = builder =>
- 634 {
- 635 builder
- 636 .AllowAnyHeader()
- 637 .AllowAnyMethod()
- 638 .AllowCredentials()
- 639 .SetPreflightMaxAge(TimeSpan.FromDays(1));
- 640 originalBuilder?.Invoke(builder);
- 641 };
- 642 applicationBuilder.UseCors(corsBuilder);
- 643
- 644 // validate the API version
- 645 applicationBuilder.UseApiCompatibility();
- 646
- 647 // authenticate JWT tokens using our security pipeline if present, returns 401 if bad
- 648 applicationBuilder.UseAuthentication();
- 649
- 650 // enable authorization on endpoints
- 651 applicationBuilder.UseAuthorization();
- 652
- 653 // suppress and log database exceptions
- 654 applicationBuilder.UseDbConflictHandling();
- 655
- 656 // setup endpoints
- 657 applicationBuilder.UseEndpoints(endpoints =>
- 658 {
- 659 // access to the signalR jobs hub
- 660 endpoints.MapHub<JobsHub>(
-
- 662 options =>
- 663 {
- 664 options.Transports = HttpTransportType.ServerSentEvents;
- 665 options.CloseOnAuthenticationExpiration = true;
- 666 })
- 667 .RequireAuthorization()
- 668 .RequireCors(corsBuilder);
- 669
- 670 // majority of handling is done in the controllers
- 671 endpoints.MapControllers();
- 672
- 673 if (internalConfiguration.EnableGraphQL)
- 674 {
- 675 logger.LogWarning("Enabling GraphQL. This API is experimental and breaking changes may occur at any time!");
- 676 var gqlOptions = new GraphQLServerOptions
- 677 {
- 678 EnableBatching = true,
- 679 };
- 680
- 681 gqlOptions.Tool.Enable = generalConfiguration.HostApiDocumentation;
- 682
- 683 endpoints
-
- 685 .WithOptions(gqlOptions);
- 686 }
- 687 });
- 688
- 689 // 404 anything that gets this far
- 690 // End of request pipeline setup
- 691 logger.LogTrace("Configuration version: {configVersion}", GeneralConfiguration.CurrentConfigVersion);
-
- 693 if (controlPanelConfiguration.Enable)
- 694 logger.LogTrace("Webpanel version: {webCPVersion}", MasterVersionsAttribute.Instance.RawWebpanelVersion);
- 695
- 696 logger.LogDebug("Starting hosting on port {httpApiPort}...", serverPortProvider.HttpApiPort);
- 697 }
+Definition at line 530 of file Application.cs. + 541 {
+ 542 ArgumentNullException.ThrowIfNull(applicationBuilder);
+ 543 ArgumentNullException.ThrowIfNull(serverControl);
+ 544
+
+ 546
+ 547 ArgumentNullException.ThrowIfNull(serverPortProvider);
+ 548 ArgumentNullException.ThrowIfNull(assemblyInformationProvider);
+ 549
+ 550 var controlPanelConfiguration = controlPanelConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(controlPanelConfigurationOptions));
+ 551 var generalConfiguration = generalConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(generalConfigurationOptions));
+ 552 var swarmConfiguration = swarmConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(swarmConfigurationOptions));
+ 553 var internalConfiguration = internalConfigurationOptions?.Value ?? throw new ArgumentNullException(nameof(internalConfigurationOptions));
+ 554
+ 555 ArgumentNullException.ThrowIfNull(logger);
+ 556
+
+
+ 559
+ 560 // setup the HTTP request pipeline
+ 561 // Add additional logging context to the request
+ 562 applicationBuilder.UseAdditionalRequestLoggingContext(swarmConfiguration);
+ 563
+ 564 // Wrap exceptions in a 500 (ErrorMessage) response
+ 565 applicationBuilder.UseServerErrorHandling();
+ 566
+ 567 // Add the X-Powered-By response header
+ 568 applicationBuilder.UseServerBranding(assemblyInformationProvider);
+ 569
+ 570 // Add the X-Accel-Buffering response header
+ 571 applicationBuilder.UseDisabledNginxProxyBuffering();
+ 572
+ 573 // suppress OperationCancelledExceptions, they are just aborted HTTP requests
+ 574 applicationBuilder.UseCancelledRequestSuppression();
+ 575
+ 576 // 503 requests made while the application is starting
+ 577 applicationBuilder.UseAsyncInitialization<IInstanceManager>(
+ 578 (instanceManager, cancellationToken) => instanceManager.Ready.WaitAsync(cancellationToken));
+ 579
+ 580 if (generalConfiguration.HostApiDocumentation)
+ 581 {
+ 582 var siteDocPath = Routes.ApiRoot + $"doc/{SwaggerConfiguration.DocumentName}.json";
+ 583 if (!String.IsNullOrWhiteSpace(controlPanelConfiguration.PublicPath))
+ 584 siteDocPath = controlPanelConfiguration.PublicPath.TrimEnd('/') + siteDocPath;
+ 585
+ 586 applicationBuilder.UseSwagger(options =>
+ 587 {
+ 588 options.RouteTemplate = Routes.ApiRoot + "doc/{documentName}.{json|yaml}";
+ 589 });
+ 590 applicationBuilder.UseSwaggerUI(options =>
+ 591 {
+
+ 593 options.SwaggerEndpoint(siteDocPath, "TGS API");
+ 594 });
+ 595 logger.LogTrace("Swagger API generation enabled");
+ 596 }
+ 597
+ 598 // spa loading if necessary
+ 599 if (controlPanelConfiguration.Enable)
+ 600 {
+ 601 logger.LogInformation("Web control panel enabled.");
+ 602 applicationBuilder.UseFileServer(new FileServerOptions
+ 603 {
+
+ 605 EnableDefaultFiles = true,
+ 606 EnableDirectoryBrowsing = false,
+ 607 RedirectToAppendTrailingSlash = false,
+ 608 });
+ 609 }
+ 610 else
+ 611#if NO_WEBPANEL
+ 612 logger.LogDebug("Web control panel was not included in TGS build!");
+ 613#else
+ 614 logger.LogTrace("Web control panel disabled!");
+ 615#endif
+ 616
+ 617 // Enable endpoint routing
+ 618 applicationBuilder.UseRouting();
+ 619
+ 620 // Set up CORS based on configuration if necessary
+ 621 Action<CorsPolicyBuilder>? corsBuilder = null;
+ 622 if (controlPanelConfiguration.AllowAnyOrigin)
+ 623 {
+ 624 logger.LogTrace("Access-Control-Allow-Origin: *");
+ 625 corsBuilder = builder => builder.SetIsOriginAllowed(_ => true);
+ 626 }
+ 627 else if (controlPanelConfiguration.AllowedOrigins?.Count > 0)
+ 628 {
+ 629 logger.LogTrace("Access-Control-Allow-Origin: {allowedOrigins}", String.Join(',', controlPanelConfiguration.AllowedOrigins));
+ 630 corsBuilder = builder => builder.WithOrigins([.. controlPanelConfiguration.AllowedOrigins]);
+ 631 }
+ 632
+ 633 var originalBuilder = corsBuilder;
+ 634 corsBuilder = builder =>
+ 635 {
+ 636 builder
+ 637 .AllowAnyHeader()
+ 638 .AllowAnyMethod()
+ 639 .AllowCredentials()
+ 640 .SetPreflightMaxAge(TimeSpan.FromDays(1));
+ 641 originalBuilder?.Invoke(builder);
+ 642 };
+ 643 applicationBuilder.UseCors(corsBuilder);
+ 644
+ 645 // validate the API version
+ 646 applicationBuilder.UseApiCompatibility();
+ 647
+ 648 // authenticate JWT tokens using our security pipeline if present, returns 401 if bad
+ 649 applicationBuilder.UseAuthentication();
+ 650
+ 651 // enable authorization on endpoints
+ 652 applicationBuilder.UseAuthorization();
+ 653
+ 654 // suppress and log database exceptions
+ 655 applicationBuilder.UseDbConflictHandling();
+ 656
+ 657 // setup endpoints
+ 658 applicationBuilder.UseEndpoints(endpoints =>
+ 659 {
+ 660 // access to the signalR jobs hub
+ 661 endpoints.MapHub<JobsHub>(
+
+ 663 options =>
+ 664 {
+ 665 options.Transports = HttpTransportType.ServerSentEvents;
+ 666 options.CloseOnAuthenticationExpiration = true;
+ 667 })
+ 668 .RequireAuthorization()
+ 669 .RequireCors(corsBuilder);
+ 670
+ 671 // majority of handling is done in the controllers
+ 672 endpoints.MapControllers();
+ 673
+ 674 if (internalConfiguration.EnableGraphQL)
+ 675 {
+ 676 logger.LogWarning("Enabling GraphQL. This API is experimental and breaking changes may occur at any time!");
+ 677 var gqlOptions = new GraphQLServerOptions
+ 678 {
+ 679 EnableBatching = true,
+ 680 };
+ 681
+ 682 gqlOptions.Tool.Enable = generalConfiguration.HostApiDocumentation;
+ 683
+ 684 endpoints
+
+ 686 .WithOptions(gqlOptions);
+ 687 }
+ 688 });
+ 689
+ 690 // 404 anything that gets this far
+ 691 // End of request pipeline setup
+ 692 logger.LogTrace("Configuration version: {configVersion}", GeneralConfiguration.CurrentConfigVersion);
+
+ 694 if (controlPanelConfiguration.Enable)
+ 695 logger.LogTrace("Webpanel version: {webCPVersion}", MasterVersionsAttribute.Instance.RawWebpanelVersion);
+ 696
+ 697 logger.LogDebug("Starting hosting on port {httpApiPort}...", serverPortProvider.HttpApiPort);
+ 698 }
@@ -608,64 +608,64 @@ Additional Inherited Members
-Definition at line 707 of file Application.cs. - 708 {
- 709 services.AddHttpContextAccessor();
-
- 711 services.AddScoped<AuthenticationContextFactory>();
- 712 services.AddScoped<ITokenValidator>(provider => provider.GetRequiredService<AuthenticationContextFactory>());
- 713
- 714 // what if you
- 715 // wanted to just do this:
- 716 // return provider.GetRequiredService<AuthenticationContextFactory>().CurrentAuthenticationContext
- 717 // But M$ said
- 718 // https://stackoverflow.com/questions/56792917/scoped-services-in-asp-net-core-with-signalr-hubs
- 719 services.AddScoped(provider => (provider
- 720 .GetRequiredService<IHttpContextAccessor>()
- 721 .HttpContext ?? throw new InvalidOperationException($"Unable to resolve {nameof(IAuthenticationContext)} due to no HttpContext being available!"))
- 722 .RequestServices
- 723 .GetRequiredService<AuthenticationContextFactory>()
- 724 .CurrentAuthenticationContext);
-
- 726
- 727 services
- 728 .AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
- 729 .AddJwtBearer(jwtBearerOptions =>
- 730 {
- 731 // this line isn't actually run until the first request is made
- 732 // at that point tokenFactory will be populated
- 733 jwtBearerOptions.TokenValidationParameters = tokenFactory?.ValidationParameters ?? throw new InvalidOperationException("tokenFactory not initialized!");
- 734 jwtBearerOptions.MapInboundClaims = false;
- 735 jwtBearerOptions.Events = new JwtBearerEvents
- 736 {
- 737 OnMessageReceived = context =>
- 738 {
- 739 if (String.IsNullOrWhiteSpace(context.Token))
- 740 {
- 741 var accessToken = context.Request.Query["access_token"];
- 742 var path = context.HttpContext.Request.Path;
- 743
- 744 if (!String.IsNullOrWhiteSpace(accessToken) &&
-
- 746 {
- 747 context.Token = accessToken;
- 748 }
- 749 }
- 750
- 751 return Task.CompletedTask;
- 752 },
- 753 OnTokenValidated = context => context
- 754 .HttpContext
- 755 .RequestServices
- 756 .GetRequiredService<ITokenValidator>()
- 757 .ValidateToken(
- 758 context,
- 759 context
- 760 .HttpContext
- 761 .RequestAborted),
- 762 };
- 763 });
- 764 }
+Definition at line 708 of file Application.cs. + 709 {
+ 710 services.AddHttpContextAccessor();
+
+ 712 services.AddScoped<AuthenticationContextFactory>();
+ 713 services.AddScoped<ITokenValidator>(provider => provider.GetRequiredService<AuthenticationContextFactory>());
+ 714
+ 715 // what if you
+ 716 // wanted to just do this:
+ 717 // return provider.GetRequiredService<AuthenticationContextFactory>().CurrentAuthenticationContext
+ 718 // But M$ said
+ 719 // https://stackoverflow.com/questions/56792917/scoped-services-in-asp-net-core-with-signalr-hubs
+ 720 services.AddScoped(provider => (provider
+ 721 .GetRequiredService<IHttpContextAccessor>()
+ 722 .HttpContext ?? throw new InvalidOperationException($"Unable to resolve {nameof(IAuthenticationContext)} due to no HttpContext being available!"))
+ 723 .RequestServices
+ 724 .GetRequiredService<AuthenticationContextFactory>()
+ 725 .CurrentAuthenticationContext);
+
+ 727
+ 728 services
+ 729 .AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
+ 730 .AddJwtBearer(jwtBearerOptions =>
+ 731 {
+ 732 // this line isn't actually run until the first request is made
+ 733 // at that point tokenFactory will be populated
+ 734 jwtBearerOptions.TokenValidationParameters = tokenFactory?.ValidationParameters ?? throw new InvalidOperationException("tokenFactory not initialized!");
+ 735 jwtBearerOptions.MapInboundClaims = false;
+ 736 jwtBearerOptions.Events = new JwtBearerEvents
+ 737 {
+ 738 OnMessageReceived = context =>
+ 739 {
+ 740 if (String.IsNullOrWhiteSpace(context.Token))
+ 741 {
+ 742 var accessToken = context.Request.Query["access_token"];
+ 743 var path = context.HttpContext.Request.Path;
+ 744
+ 745 if (!String.IsNullOrWhiteSpace(accessToken) &&
+
+ 747 {
+ 748 context.Token = accessToken;
+ 749 }
+ 750 }
+ 751
+ 752 return Task.CompletedTask;
+ 753 },
+ 754 OnTokenValidated = context => context
+ 755 .HttpContext
+ 756 .RequestServices
+ 757 .GetRequiredService<ITokenValidator>()
+ 758 .ValidateToken(
+ 759 context,
+ 760 context
+ 761 .HttpContext
+ 762 .RequestAborted),
+ 763 };
+ 764 });
+ 765 }
A IClaimsTransformation that maps Claims using an IAuthenticationContext. 490
- 491 // configure misc services
-
-
- 494 services.AddSingleton<IServerPortProvider, ServerPortProivder>();
-
- 496 services.AddHostedService<CommandPipeManager>();
- 497 services.AddHostedService<VersionReportingService>();
- 498
- 499 services.AddFileDownloader();
- 500 services.AddGitHub();
- 501
- 502 // configure root services
- 503 services.AddSingleton<JobService>();
-
-
-
- 507 services.AddSingleton<JobsHubGroupMapper>();
- 508 services.AddSingleton<IPermissionsUpdateNotifyee>(provider => provider.GetRequiredService<JobsHubGroupMapper>());
- 509 services.AddSingleton<IHostedService>(x => x.GetRequiredService<JobsHubGroupMapper>()); // bit of a hack, but we need this to load immediated
- 510
- 511 services.AddSingleton<InstanceManager>();
-
-
- 514 }
+
+ 491
+ 492 // configure misc services
+
+
+ 495 services.AddSingleton<IServerPortProvider, ServerPortProivder>();
+
+ 497 services.AddHostedService<CommandPipeManager>();
+ 498 services.AddHostedService<VersionReportingService>();
+ 499
+ 500 services.AddFileDownloader();
+ 501 services.AddGitHub();
+ 502
+ 503 // configure root services
+ 504 services.AddSingleton<JobService>();
+
+
+
+ 508 services.AddSingleton<JobsHubGroupMapper>();
+ 509 services.AddSingleton<IPermissionsUpdateNotifyee>(provider => provider.GetRequiredService<JobsHubGroupMapper>());
+ 510 services.AddSingleton<IHostedService>(x => x.GetRequiredService<JobsHubGroupMapper>()); // bit of a hack, but we need this to load immediated
+ 511
+ 512 services.AddSingleton<InstanceManager>();
+
+
+ 515 }
Represents the header that must be present for every server request. Definition ApiHeaders.cs:25 Definition GraphQLAuthorityInvoker{TAuthority}.cs:11 Definition RestAuthorityInvoker{TAuthority}.cs:15 const ushort DefaultPageSize Default size of Paginated<TModel> results. Definition ApiController.cs:41 IActionResultExecutor<TResult> for LimitedStreamResults. Definition LimitedStreamResultExecutor.cs:16 void ConfigureServices(IServiceCollection services, IAssemblyInformationProvider assemblyInformationProvider, IIOManager ioManager, IPostSetupServices postSetupServices) Configure the Application's services . Definition Application.cs:142 void ConfigureAuthenticationPipeline(IServiceCollection services) Configure the services for the authentication pipeline. Definition Application.cs:707 void ConfigureAuthenticationPipeline(IServiceCollection services) Configure the services for the authentication pipeline. Definition Application.cs:708 Backend abstract implementation of IDatabaseContext. Definition DatabaseContext.cs:25 SignalR client methods for receiving JobResponses. Definition IJobsHub.cs:12 Creates IHttpClients. Definition IAbstractHttpClientFactory.cs:7 IAuthority for administrative server operations. Definition IAdministrationAuthority.cs:16 Invokes TAuthority s from GraphQL endpoints. Definition IGraphQLAuthorityInvoker{TAuthority}.cs:15 IAuthority for authenticating with the server. Definition ILoginAuthority.cs:13 IAuthority for managing PermissionSets. Definition IPermissionSetAuthority.cs:15 References Tgstation.Server.Host.IO.IIOManager.ConcatPath(), Tgstation.Server.Host.Setup.SetupApplication.Configuration, Tgstation.Server.Host.Utils.SwaggerConfiguration.Configure(), Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline(), Tgstation.Server.Host.Core.Application.ConfigureServices(), Tgstation.Server.Host.Setup.IPostSetupServices.DatabaseConfiguration, Tgstation.Server.Host.Configuration.DatabaseConfiguration.DatabaseType, Tgstation.Server.Host.Controllers.ApiController.DefaultPageSize, Tgstation.Server.Host.Configuration.FileLoggingConfiguration.Disable, Tgstation.Server.Host.Setup.IPostSetupServices.ElasticsearchConfiguration, Tgstation.Server.Host.Setup.IPostSetupServices.FileLoggingConfiguration, Tgstation.Server.Host.Setup.IPostSetupServices.GeneralConfiguration, Tgstation.Server.Host.IO.IIOManager.GetDirectoryName(), Tgstation.Server.Host.IO.IIOManager.GetFileNameWithoutExtension(), Tgstation.Server.Host.Configuration.FileLoggingConfiguration.GetFullLogDirectory(), Tgstation.Server.Host.Configuration.GeneralConfiguration.HostApiDocumentation, Tgstation.Server.Host.Core.Application.hostingEnvironment, Tgstation.Server.Host.Setup.IPostSetupServices.InternalConfiguration, Tgstation.Server.Host.System.IPlatformIdentifier.IsWindows, Tgstation.Server.Host.Configuration.FileLoggingConfiguration.LogLevel, Tgstation.Server.Host.Controllers.ApiController.MaximumPageSize, Tgstation.Server.Host.Configuration.FileLoggingConfiguration.MicrosoftLogLevel, Tgstation.Server.Host.Setup.IPostSetupServices.PlatformIdentifier, Tgstation.Server.Host.Configuration.GeneralConfiguration.RestartTimeoutMinutes, Tgstation.Server.Host.Utils.SerilogContextHelper.Template, and Tgstation.Server.Host.Configuration.InternalConfiguration.UsingSystemD. +References Tgstation.Server.Host.IO.IIOManager.ConcatPath(), Tgstation.Server.Host.Setup.SetupApplication.Configuration, Tgstation.Server.Host.Utils.SwaggerConfiguration.Configure(), Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline(), Tgstation.Server.Host.Core.Application.ConfigureServices(), Tgstation.Server.Host.Setup.IPostSetupServices.DatabaseConfiguration, Tgstation.Server.Host.Configuration.DatabaseConfiguration.DatabaseType, Tgstation.Server.Host.Controllers.ApiController.DefaultPageSize, Tgstation.Server.Host.Configuration.FileLoggingConfiguration.Disable, Tgstation.Server.Host.Setup.IPostSetupServices.ElasticsearchConfiguration, Tgstation.Server.Host.Setup.IPostSetupServices.FileLoggingConfiguration, Tgstation.Server.Host.Setup.IPostSetupServices.GeneralConfiguration, Tgstation.Server.Host.IO.IIOManager.GetDirectoryName(), Tgstation.Server.Host.IO.IIOManager.GetFileNameWithoutExtension(), Tgstation.Server.Host.Configuration.FileLoggingConfiguration.GetFullLogDirectory(), Tgstation.Server.Host.Configuration.GeneralConfiguration.HostApiDocumentation, Tgstation.Server.Host.Core.Application.hostingEnvironment, Tgstation.Server.Host.Setup.IPostSetupServices.InternalConfiguration, Tgstation.Server.Host.System.IPlatformIdentifier.IsWindows, Tgstation.Server.Host.Configuration.FileLoggingConfiguration.LogLevel, Tgstation.Server.Host.Controllers.ApiController.MaximumPageSize, Tgstation.Server.Host.Configuration.FileLoggingConfiguration.MicrosoftLogLevel, Tgstation.Server.Host.Setup.IPostSetupServices.PlatformIdentifier, Tgstation.Server.Host.Configuration.GeneralConfiguration.RestartTimeoutMinutes, Tgstation.Server.Host.Utils.SerilogContextHelper.Template, and Tgstation.Server.Host.Configuration.InternalConfiguration.UsingSystemD. Referenced by Tgstation.Server.Host.Core.Application.ConfigureServices().
@@ -1408,7 +1411,7 @@ Here is the caller graph for this function:
Definition at line 87 of file Application.cs. -Referenced by Tgstation.Server.Host.Core.Application.Application(), Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Host.Core.Application.ConfigureServices(). +Referenced by Tgstation.Server.Host.Core.Application.Application(), Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Host.Core.Application.ConfigureServices(). @@ -1436,7 +1439,7 @@ Here is the caller graph for this function:Definition at line 92 of file Application.cs. -Referenced by Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline(). +Referenced by Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline(). diff --git a/class_tgstation_1_1_server_1_1_host_1_1_graph_q_l_1_1_mutations_1_1_administration_mutations-members.html b/class_tgstation_1_1_server_1_1_host_1_1_graph_q_l_1_1_mutations_1_1_administration_mutations-members.html new file mode 100644 index 0000000000..3f2ebc73a9 --- /dev/null +++ b/class_tgstation_1_1_server_1_1_host_1_1_graph_q_l_1_1_mutations_1_1_administration_mutations-members.html @@ -0,0 +1,92 @@ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+Tgstation.Server.Host.GraphQL.Mutations.AdministrationMutations Member List
+
+
+
+This is the complete list of members for Tgstation.Server.Host.GraphQL.Mutations.AdministrationMutations, including all inherited members. +
+Generated by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+
+Tgstation.Server.Host.GraphQL.Mutations.AdministrationMutations Class Referencesealed
+
+
+
+IAdministrationAuthority related Mutations. + More... +
Detailed Description+IAdministrationAuthority related Mutations. + +Definition at line 21 of file AdministrationMutations.cs. +Member Function Documentation+ +◆ ChangeServerNodeVersionViaTrackedRepository()+ +
+
+
+
+
+
+
+Restarts the mutated Interfaces.IServerNode without terminating running game instances and changes its targetVersion . +
Definition at line 49 of file AdministrationMutations.cs. + 53 {
+
+ 55 ArgumentNullException.ThrowIfNull(administrationAuthority);
+
+
+ 58 return new Query();
+ 59 }
+A response to a Request.ServerUpdateRequest. Definition ServerUpdateResponse.cs:11 ValueTask Invoke(Func< TAuthority, ValueTask< AuthorityResponse > > authorityInvoker) Invoke a TAuthority method with no success result. @ List User may list files if the Models.Instance allows it. References Tgstation.Server.Api.Rights.List. + +◆ ChangeServerNodeVersionViaUpload()+ +
+
+
+
+
+
+
+Restarts the mutated Interfaces.IServerNode without terminating running game instances and changes its targetVersion . +
Definition at line 71 of file AdministrationMutations.cs. + 75 {
+
+ 77 ArgumentNullException.ThrowIfNull(administrationAuthority);
+
+
+ 80
+ 81 return response.FileTicket ?? throw new InvalidOperationException("Administration authority did not generate a FileUploadTicket!");
+ 82 }
+Response for when file transfers are necessary. Definition FileTicketResponse.cs:7 References Tgstation.Server.Api.Rights.List. + +◆ RestartServerNode()+ +
+
+
+
+
+
+Restarts the mutated Interfaces.IServerNode without terminating running game instances. +
Definition at line 30 of file AdministrationMutations.cs. + 32 {
+ 33 ArgumentNullException.ThrowIfNull(administrationAuthority);
+
+
+ 36
+ 37 return new Query();
+ 38 }
+References Tgstation.Server.Api.Rights.List. + +The documentation for this class was generated from the following file:
+Generated by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+Tgstation.Server.Host.GraphQL.Scalars.FileUploadTicketType Member List
+
+
+
+This is the complete list of members for Tgstation.Server.Host.GraphQL.Scalars.FileUploadTicketType, including all inherited members. +
+Generated by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+
+Tgstation.Server.Host.GraphQL.Scalars.FileUploadTicketType Class Referencesealed
+
+
+
+A StringScalarType for upload Api.Models.Response.FileTicketResponses. + More... +
+Inheritance diagram for Tgstation.Server.Host.GraphQL.Scalars.FileUploadTicketType:
+
+
+![]()
+Collaboration diagram for Tgstation.Server.Host.GraphQL.Scalars.FileUploadTicketType:
+
+
+![]()
Detailed Description+A StringScalarType for upload Api.Models.Response.FileTicketResponses. + +Definition at line 6 of file FileUploadTicketType.cs. +Constructor & Destructor Documentation+ +◆ FileUploadTicketType()+ +
+
+
+
+
+
+Initializes a new instance of the FileUploadTicketType class. + +Definition at line 11 of file FileUploadTicketType.cs. + 12 : base("FileUploadTicket")
+ 13 {
+ 14 Description = "Represents a ticket that can be used with the file transfer service to upload a file";
+ 15 }
+The documentation for this class was generated from the following file:
+Generated by This is the complete list of members for Tgstation.Server.Host.GraphQL.Scalars.JwtType, including all inherited members.
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_graph_q_l_1_1_scalars_1_1_jwt_type.html b/class_tgstation_1_1_server_1_1_host_1_1_graph_q_l_1_1_scalars_1_1_jwt_type.html index 79b63f853e..413402b38f 100644 --- a/class_tgstation_1_1_server_1_1_host_1_1_graph_q_l_1_1_scalars_1_1_jwt_type.html +++ b/class_tgstation_1_1_server_1_1_host_1_1_graph_q_l_1_1_scalars_1_1_jwt_type.html @@ -76,22 +76,23 @@ $(function() { Tgstation.Server.Host.GraphQL.Scalars.JwtType Class Referencesealed
-
-A ScalarType<TRuntimeType, TLiteral> for encoded JSON Web Tokens. + A StringScalarType for encoded JSON Web Tokens. More...
Inheritance diagram for Tgstation.Server.Host.GraphQL.Scalars.JwtType:
![]()
@@ -99,9 +100,11 @@ Collaboration diagram for Tgstation.Server.Host.GraphQL.Scalars.JwtType:
![]()
Detailed Description-A ScalarType<TRuntimeType, TLiteral> for encoded JSON Web Tokens. +A StringScalarType for encoded JSON Web Tokens. -Definition at line 11 of file JwtType.cs. +Definition at line 8 of file JwtType.cs. Constructor & Destructor Documentation◆ JwtType()@@ -142,96 +150,13 @@ Protected Member FunctionsInitializes a new instance of the JwtType class. -Definition at line 16 of file JwtType.cs. - 17 : base("Jwt")
- 18 {
- 19 Description = "Represents an encoded JSON Web Token";
- 20 SpecifiedBy = new Uri("https://datatracker.ietf.org/doc/html/rfc7519");
- 21 }
+Definition at line 13 of file JwtType.cs. + 14 : base("Jwt")
+ 15 {
+ 16 Description = "Represents an encoded JSON Web Token";
+ 17 SpecifiedBy = new Uri("https://datatracker.ietf.org/doc/html/rfc7519");
+ 18 }
Member Function Documentation- -◆ ParseLiteral()- -
-
-
-
-
-
-
-
-
-Definition at line 28 of file JwtType.cs. - 29 {
- 30 ArgumentNullException.ThrowIfNull(valueSyntax);
- 31 return valueSyntax.Value;
- 32 }
-◆ ParseResult()- -
-
-
-
-
-
-
-
-
-◆ ParseValue()- -
-
-
-
-
-
The documentation for this class was generated from the following file:
Definition at line 67 of file SemverType.cs. 68 {
69 ArgumentNullException.ThrowIfNull(valueSyntax);
-
- 71 }
+ 70 return Version.TryParse(valueSyntax.Value, out var parsedVersion)
+ 71 && IsInstanceOfType(parsedVersion);
+ 72 }
override bool IsInstanceOfType(StringValueNode valueSyntax) Definition SemverType.cs:67 References Tgstation.Server.Host.GraphQL.Scalars.SemverType.IsInstanceOfType(). @@ -243,11 +244,11 @@ Here is the caller graph for this function:Definition at line 74 of file SemverType.cs. - 75 {
- 76 ArgumentNullException.ThrowIfNull(runtimeValue);
- 77 return runtimeValue.Build != -1 && runtimeValue.Revision == -1;
- 78 }
+Definition at line 75 of file SemverType.cs. + 76 {
+ 77 ArgumentNullException.ThrowIfNull(runtimeValue);
+ 78 return runtimeValue.Build != -1 && runtimeValue.Revision == -1;
+ 79 }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+Tgstation.Server.Host.GraphQL.Scalars.StringScalarType Member List
+
+
+
+This is the complete list of members for Tgstation.Server.Host.GraphQL.Scalars.StringScalarType, including all inherited members. +
+Generated by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Loading...
+Searching...
+No Matches
+
+
+
+Tgstation.Server.Host.GraphQL.Scalars.StringScalarType Class Referenceabstract
+
+
+
+A ScalarType<TRuntimeType, TLiteral> for specialized string types. + More... +
+Inheritance diagram for Tgstation.Server.Host.GraphQL.Scalars.StringScalarType:
+
+
+![]()
+Collaboration diagram for Tgstation.Server.Host.GraphQL.Scalars.StringScalarType:
+
+
+![]()
Detailed Description+A ScalarType<TRuntimeType, TLiteral> for specialized string types. + +Definition at line 11 of file StringScalarType.cs. +Constructor & Destructor Documentation+ +◆ StringScalarType()+ +
+
+
+
+
+
+Initializes a new instance of the StringScalarType class. +
Definition at line 17 of file StringScalarType.cs. + 18 : base(name)
+ 19 {
+ 20 }
+Member Function Documentation+ +◆ ParseLiteral()+ +
+
+
+
+
+
+
+
+
+Definition at line 27 of file StringScalarType.cs. + 28 {
+ 29 ArgumentNullException.ThrowIfNull(valueSyntax);
+ 30 return valueSyntax.Value;
+ 31 }
+◆ ParseResult()+ +
+
+
+
+
+
+
+
+
+◆ ParseValue()+ +
+
+
+
+
+
+
+
+The documentation for this class was generated from the following file:
+Generated by CurrentNode([Service] IOptionsSnapshot< SwarmConfiguration > swarmConfigurationOptions, [Service] ISwarmService swarmService) | Tgstation.Server.Host.GraphQL.Types.ServerSwarm | Nodes([Service] ISwarmService swarmService) | Tgstation.Server.Host.GraphQL.Types.ServerSwarm | ProtocolMajorVersion | Tgstation.Server.Host.GraphQL.Types.ServerSwarm | UpdateInProgress([Service] IServerControl serverControl) | Tgstation.Server.Host.GraphQL.Types.ServerSwarm | UpdateInformation() | Tgstation.Server.Host.GraphQL.Types.ServerSwarm | Users() | Tgstation.Server.Host.GraphQL.Types.ServerSwarm |
| | TestMergeModelBase.cs | | | UpdateInformation.cs | | UpdateInformation.cs | | | UserApiBase.cs | | - l -
Here is a list of all class members with links to the classes they belong to:
- j -
Here is a list of all class members with links to the classes they belong to:
- o -
Here is a list of all variables with links to the classes they belong to:
- r -
Go to the graphical class hierarchy This inheritance list is sorted roughly, but not completely, alphabetically:[detail level 1234567]
@@ -1069,10 +1071,14 @@ $(function() {
@@ -1488,29 +1494,34 @@ $(function() {
@@ -1530,42 +1541,47 @@ $(function() {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Implemented in Tgstation.Server.Host.Authority.Core.GraphQLAuthorityInvoker< TAuthority >. +Referenced by Tgstation.Server.Host.GraphQL.Types.UpdateInformation.GetAdministrationResponseSafe(). +
+Here is the caller graph for this function:
+
+
+
diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_authority_1_1_i_graph_q_l_authority_invoker_a75bd84e49a618d48a6fc992647030675_icgraph.map b/interface_tgstation_1_1_server_1_1_host_1_1_authority_1_1_i_graph_q_l_authority_invoker_a75bd84e49a618d48a6fc992647030675_icgraph.map
new file mode 100644
index 0000000000..1003c6dde1
--- /dev/null
+++ b/interface_tgstation_1_1_server_1_1_host_1_1_authority_1_1_i_graph_q_l_authority_invoker_a75bd84e49a618d48a6fc992647030675_icgraph.map
@@ -0,0 +1,5 @@
+![]() Implemented in Tgstation.Server.Host.Authority.Core.RestAuthorityInvoker< TAuthority >. +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.Update(). +
+Here is the caller graph for this function:
+
+
+
diff --git a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.map b/interface_tgstation_1_1_server_1_1_host_1_1_authority_1_1_i_rest_authority_invoker_a76c96d5cbc32e5dbc7d43454a6900af6_icgraph.map
similarity index 55%
rename from class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.map
rename to interface_tgstation_1_1_server_1_1_host_1_1_authority_1_1_i_rest_authority_invoker_a76c96d5cbc32e5dbc7d43454a6900af6_icgraph.map
index c09d6899e6..b838558f23 100644
--- a/class_tgstation_1_1_server_1_1_host_1_1_controllers_1_1_administration_controller_adec6b42180102b20b513582ff608abc8_icgraph.map
+++ b/interface_tgstation_1_1_server_1_1_host_1_1_authority_1_1_i_rest_authority_invoker_a76c96d5cbc32e5dbc7d43454a6900af6_icgraph.map
@@ -1,5 +1,5 @@
-![]() Definition at line 15 of file IInstanceManager.cs. 15{ get; }
Referenced by Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Core.CommandPipeManager.ExecuteAsync(), and Tgstation.Server.Host.System.SystemDManager.ExecuteAsync(). +Referenced by Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Core.CommandPipeManager.ExecuteAsync(), and Tgstation.Server.Host.System.SystemDManager.ExecuteAsync(). diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_control.html b/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_control.html index 723f0fa734..54f23187a1 100644 --- a/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_control.html +++ b/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_control.html @@ -282,15 +282,15 @@ Here is the caller graph for this function:Implemented in Tgstation.Server.Host.Server. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.Delete(). +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerRestart().
Here is the caller graph for this function:
![]() Definition at line 14 of file IServerControl.cs. 14{ get; }
Referenced by Tgstation.Server.Host.Controllers.AdministrationController.Delete(), and Tgstation.Server.Host.Controllers.AdministrationController.Update(). +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerRestart(), and Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange(). diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_control_a8633e4eca43236776cb7f1c9d8ad6377_icgraph.map b/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_control_a8633e4eca43236776cb7f1c9d8ad6377_icgraph.map index d3e363f08d..1242e11459 100644 --- a/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_control_a8633e4eca43236776cb7f1c9d8ad6377_icgraph.map +++ b/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_control_a8633e4eca43236776cb7f1c9d8ad6377_icgraph.map @@ -1,5 +1,5 @@Definition at line 11 of file IServerPortProvider.cs. 11{ get; }
Referenced by Tgstation.Server.Host.Components.InstanceManager.CheckSystemCompatibility(), Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Components.Session.SessionControllerFactory.CreateGameServerProcess(), and Tgstation.Server.Host.Utils.PortAllocator.GetAvailablePort(). +Referenced by Tgstation.Server.Host.Components.InstanceManager.CheckSystemCompatibility(), Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Components.Session.SessionControllerFactory.CreateGameServerProcess(), and Tgstation.Server.Host.Utils.PortAllocator.GetAvailablePort(). diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_update_initiator.html b/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_update_initiator.html index 7685367cfd..077c85ea8c 100644 --- a/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_update_initiator.html +++ b/interface_tgstation_1_1_server_1_1_host_1_1_core_1_1_i_server_update_initiator.html @@ -150,17 +150,15 @@ Public Member FunctionsImplemented in Tgstation.Server.Host.Core.ServerUpdateInitiator. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AttemptInitiateUpdate(). +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange().
Here is the caller graph for this function:
![]() Implemented in Tgstation.Server.Host.IO.DefaultIOManager. -Referenced by Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.AddDreamDaemonToFirewall(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.AdditionalCacheCleanFilePaths(), Tgstation.Server.Host.Components.Engine.ByondInstallerBase.CleanCache(), Tgstation.Server.Host.Core.Application.ConfigureServices(), Tgstation.Server.Host.Components.StaticFiles.Configuration.CopyDMFilesTo(), Tgstation.Server.Host.Controllers.InstanceController.Create(), Tgstation.Server.Host.Controllers.InstanceController.Delete(), Tgstation.Server.Host.Components.Engine.EngineManager.DeleteVersion(), Tgstation.Server.Host.Core.VersionReportingService.ExecuteAsync(), Tgstation.Server.Host.Components.Deployment.DmbFactory.FromCompileJobInternal(), Tgstation.Server.Host.Components.Engine.OpenDreamInstaller.GetExecutablePaths(), Tgstation.Server.Host.Configuration.FileLoggingConfiguration.GetFullLogDirectory(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), Tgstation.Server.Host.Extensions.IOManagerExtensions.GetPathInLocalDirectory(), Tgstation.Server.Host.Components.Engine.OpenDreamInstaller.Install(), Tgstation.Server.Host.Components.Engine.PosixByondInstaller.Install(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.InstallDirectX(), Tgstation.Server.Host.Components.Engine.EngineManager.InstallVersionFiles(), Tgstation.Server.Host.Components.Session.SessionControllerFactory.LaunchNew(), Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(), Tgstation.Server.Host.Components.Deployment.HardLinkDmbProvider.MirrorDirectoryImpl(), Tgstation.Server.Host.Components.InstanceManager.MoveInstance(), Tgstation.Server.Host.Components.Engine.PosixByondInstaller.PosixByondInstaller(), Tgstation.Server.Host.Components.Deployment.DreamMaker.RunCompileJob(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.SetNoPromptTrusted(), Tgstation.Server.Host.Components.Engine.EngineManager.StartAsync(), Tgstation.Server.Host.Components.StaticFiles.Configuration.SymlinkStaticFilesTo(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.TrustDmbPath(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.UpgradeInstallation(), Tgstation.Server.Host.Setup.SetupWizard.ValidateNonExistantSqliteDBName(), and Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.WindowsByondInstaller(). +Referenced by Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.AddDreamDaemonToFirewall(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.AdditionalCacheCleanFilePaths(), Tgstation.Server.Host.Components.Engine.ByondInstallerBase.CleanCache(), Tgstation.Server.Host.Core.Application.ConfigureServices(), Tgstation.Server.Host.Components.StaticFiles.Configuration.CopyDMFilesTo(), Tgstation.Server.Host.Controllers.InstanceController.Create(), Tgstation.Server.Host.Controllers.InstanceController.Delete(), Tgstation.Server.Host.Components.Engine.EngineManager.DeleteVersion(), Tgstation.Server.Host.Core.VersionReportingService.ExecuteAsync(), Tgstation.Server.Host.Components.Deployment.DmbFactory.FromCompileJobInternal(), Tgstation.Server.Host.Components.Engine.OpenDreamInstaller.GetExecutablePaths(), Tgstation.Server.Host.Configuration.FileLoggingConfiguration.GetFullLogDirectory(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), Tgstation.Server.Host.Extensions.IOManagerExtensions.GetPathInLocalDirectory(), Tgstation.Server.Host.Components.Engine.OpenDreamInstaller.Install(), Tgstation.Server.Host.Components.Engine.PosixByondInstaller.Install(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.InstallDirectX(), Tgstation.Server.Host.Components.Engine.EngineManager.InstallVersionFiles(), Tgstation.Server.Host.Components.Session.SessionControllerFactory.LaunchNew(), Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(), Tgstation.Server.Host.Components.Deployment.HardLinkDmbProvider.MirrorDirectoryImpl(), Tgstation.Server.Host.Components.InstanceManager.MoveInstance(), Tgstation.Server.Host.Components.Engine.PosixByondInstaller.PosixByondInstaller(), Tgstation.Server.Host.Components.Deployment.DreamMaker.RunCompileJob(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.SetNoPromptTrusted(), Tgstation.Server.Host.Components.Engine.EngineManager.StartAsync(), Tgstation.Server.Host.Components.StaticFiles.Configuration.SymlinkStaticFilesTo(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.TrustDmbPath(), Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.UpgradeInstallation(), Tgstation.Server.Host.Setup.SetupWizard.ValidateNonExistantSqliteDBName(), and Tgstation.Server.Host.Components.Engine.WindowsByondInstaller.WindowsByondInstaller().
Here is the caller graph for this function:
@@ -1129,7 +1129,7 @@ Here is the caller graph for this function:
Implemented in Tgstation.Server.Host.IO.DefaultIOManager. -Referenced by Tgstation.Server.Host.Components.Deployment.DmbFactory.CleanUnusedCompileJobs(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), Tgstation.Server.Host.Components.Engine.OpenDreamInstaller.Install(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs(). +Referenced by Tgstation.Server.Host.Components.Deployment.DmbFactory.CleanUnusedCompileJobs(), Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), Tgstation.Server.Host.Components.Engine.OpenDreamInstaller.Install(), and Tgstation.Server.Host.Controllers.AdministrationController.ListLogs().
Here is the caller graph for this function:
@@ -1420,7 +1420,7 @@ Here is the caller graph for this function:
Implemented in Tgstation.Server.Host.IO.DefaultIOManager. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.GetLog(). +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.GetLog().
Here is the caller graph for this function:
diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_security_1_1_i_token_factory.html b/interface_tgstation_1_1_server_1_1_host_1_1_security_1_1_i_token_factory.html
index b01e5cae41..b17052d9ff 100644
--- a/interface_tgstation_1_1_server_1_1_host_1_1_security_1_1_i_token_factory.html
+++ b/interface_tgstation_1_1_server_1_1_host_1_1_security_1_1_i_token_factory.html
@@ -226,7 +226,7 @@ Here is the caller graph for this function:
Definition at line 22 of file ITokenFactory.cs. 22{ get; }
Referenced by Tgstation.Server.Host.Authority.LoginAuthority.CacheSystemIdentity(), and Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline(). +Referenced by Tgstation.Server.Host.Authority.LoginAuthority.CacheSystemIdentity(), and Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline(). diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_transfer_1_1_i_file_transfer_ticket_provider.html b/interface_tgstation_1_1_server_1_1_host_1_1_transfer_1_1_i_file_transfer_ticket_provider.html index 6b642fb8c8..177d9f7833 100644 --- a/interface_tgstation_1_1_server_1_1_host_1_1_transfer_1_1_i_file_transfer_ticket_provider.html +++ b/interface_tgstation_1_1_server_1_1_host_1_1_transfer_1_1_i_file_transfer_ticket_provider.html @@ -135,7 +135,7 @@ Public Member FunctionsImplemented in Tgstation.Server.Host.Transfer.FileTransferService. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Components.StaticFiles.Configuration.Read(). +Referenced by Tgstation.Server.Host.Controllers.AdministrationController.GetLog(), and Tgstation.Server.Host.Components.StaticFiles.Configuration.Read().
Here is the caller graph for this function:
@@ -178,19 +178,17 @@ Here is the caller graph for this function:
Implemented in Tgstation.Server.Host.Transfer.FileTransferService. -Referenced by Tgstation.Server.Host.Controllers.AdministrationController.AttemptInitiateUpdate(), and Tgstation.Server.Host.Controllers.EngineController.Update(). +Referenced by Tgstation.Server.Host.Authority.AdministrationAuthority.TriggerServerVersionChange(), and Tgstation.Server.Host.Controllers.EngineController.Update().
Here is the caller graph for this function:
![]() Implemented in Tgstation.Server.Host.Utils.GitHub.GitHubServiceFactory. -Referenced by Tgstation.Server.Host.Core.ServerUpdater.BeginUpdateImpl(), Tgstation.Server.Host.Components.Deployment.Remote.GitHubRemoteDeploymentManager.CommentOnTestMergeSource(), Tgstation.Server.Host.Components.Repository.GitHubRemoteFeatures.GetTestMergeImpl(), Tgstation.Server.Host.Controllers.AdministrationController.Read(), Tgstation.Server.Host.Components.Deployment.Remote.GitHubRemoteDeploymentManager.RemoveMergedTestMerges(), Tgstation.Server.Host.Components.Deployment.Remote.GitHubRemoteDeploymentManager.StartDeployment(), Tgstation.Server.Host.Components.Deployment.Remote.GitHubRemoteDeploymentManager.UpdateDeployment(), and Tgstation.Server.Host.Security.OAuth.GitHubOAuthValidator.ValidateResponseCode(). +Referenced by Tgstation.Server.Host.Core.ServerUpdater.BeginUpdateImpl(), Tgstation.Server.Host.Components.Deployment.Remote.GitHubRemoteDeploymentManager.CommentOnTestMergeSource(), Tgstation.Server.Host.Components.Repository.GitHubRemoteFeatures.GetTestMergeImpl(), Tgstation.Server.Host.Authority.AdministrationAuthority.GetUpdateInformation(), Tgstation.Server.Host.Components.Deployment.Remote.GitHubRemoteDeploymentManager.RemoveMergedTestMerges(), Tgstation.Server.Host.Components.Deployment.Remote.GitHubRemoteDeploymentManager.StartDeployment(), Tgstation.Server.Host.Components.Deployment.Remote.GitHubRemoteDeploymentManager.UpdateDeployment(), and Tgstation.Server.Host.Security.OAuth.GitHubOAuthValidator.ValidateResponseCode().
Here is the caller graph for this function:
@@ -151,8 +151,8 @@ Here is the caller graph for this function:
-
-
+
+
diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.map b/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.map
index 56e1535487..d6a7b84159 100644
--- a/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.map
+++ b/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.map
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.md5 b/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.md5
index d2b5db6172..48765b1969 100644
--- a/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.md5
+++ b/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.md5
@@ -1 +1 @@
-db9ef01cd7624e42575904445f3f8bf2
\ No newline at end of file
+fad25679bf81c0b4f60ec06b1c2370a3
\ No newline at end of file
diff --git a/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.png b/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.png
index 9d57a194ad..fb414e4f97 100644
Binary files a/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.png and b/interface_tgstation_1_1_server_1_1_host_1_1_utils_1_1_git_hub_1_1_i_git_hub_service_factory_a93de0a6eeb420eec2ecaa935ebabc7b9_icgraph.png differ
diff --git a/namespace_tgstation_1_1_server_1_1_host_1_1_authority.html b/namespace_tgstation_1_1_server_1_1_host_1_1_authority.html
index 782a01b451..aad108b4d9 100644
--- a/namespace_tgstation_1_1_server_1_1_host_1_1_authority.html
+++ b/namespace_tgstation_1_1_server_1_1_host_1_1_authority.html
@@ -89,6 +89,11 @@ Namespaces
Definition at line 6 of file HttpFailureResponse.cs. @@ -191,8 +194,11 @@ Enumerations 56 RateLimited,
57
61 NotImplemented,
- 62 }
+ 62
+
+ 67 }
+@ ServiceUnavailable HTTP 503. @ FailedDependency HTTP 424.
class | SwarmNode | | Represents a node server in a swarm. More... | | class | UpdateInformation | | Gets information about updates for the ServerSwarm. More... | | class | User | | A user registered in the server. More... | | ►NCommon | ►NComponents | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||