Skip to content

Commit

Permalink
Specify classic GitHub tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Aug 16, 2024
1 parent e286fd0 commit 68349dc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Create an `appsettings.Production.yml` file next to `appsettings.yml`. This will

- `General:InstanceLimit`: Maximum number of instances that may be created

- `General:GitHubAccessToken`: Specify a GitHub personal access token with no scopes here to highly mitigate the possiblity of 429 response codes from GitHub requests
- `General:GitHubAccessToken`: Specify a classic GitHub personal access token with no scopes here to highly mitigate the possiblity of 429 response codes from GitHub requests

- `General:SkipAddingByondFirewallException`: Set to `true` if you have Windows firewall disabled

Expand Down
2 changes: 1 addition & 1 deletion docs/Features.dox
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

@section features_list Comprehensive Feature List

tgstation-server is a BYOND server managment suite. It includes all the following features
tgstation-server is a DreamMaker server managment suite. It includes all the following features

- Standalone server with OpenAPI 3.0 defined HTTP REST API
- Web based client included
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public sealed class GeneralConfiguration : ServerInformationBase
public ushort ApiPort { get; set; }

/// <summary>
/// A GitHub personal access token to use for bypassing rate limits on requests. Requires no scopes.
/// A classic GitHub personal access token to use for bypassing rate limits on requests. Requires no scopes.
/// </summary>
public string? GitHubAccessToken { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Tgstation.Server.Host/Setup/SetupWizard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ async ValueTask<GeneralConfiguration> ConfigureGeneral(CancellationToken cancell
while (true);

await console.WriteAsync(null, true, cancellationToken);
await console.WriteAsync("Enter a GitHub personal access token to bypass some rate limits (this is optional and does not require any scopes)", true, cancellationToken);
await console.WriteAsync("Enter a classic GitHub personal access token to bypass some rate limits (this is optional and does not require any scopes)", true, cancellationToken);
await console.WriteAsync("GitHub personal access token: ", false, cancellationToken);
newGeneralConfiguration.GitHubAccessToken = await console.ReadLineAsync(true, cancellationToken);
if (String.IsNullOrWhiteSpace(newGeneralConfiguration.GitHubAccessToken))
Expand Down
2 changes: 1 addition & 1 deletion src/Tgstation.Server.Host/appsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
General:
# ConfigVersion: # Basic semver. Differs from TGS version to version. See changelog for current version
MinimumPasswordLength: 15 # Minimum TGS user password length
GitHubAccessToken: # GitHub personal access token with no scopes used to bypass rate-limits
GitHubAccessToken: # A classic GitHub personal access token with no scopes used to bypass rate-limits
SetupWizardMode: AutoDetect # If the interactive TGS setup wizard should run
ByondTopicTimeout: 5000 # Timeout for BYOND /world/Topic() calls in milliseconds
RestartTimeoutMinutes: 1 # Timeout for server restarts after requested by SIGTERM or the HTTP API
Expand Down

0 comments on commit 68349dc

Please sign in to comment.