Skip to content

Instantly share code, notes, and snippets.

@Cyberboss
Last active December 7, 2020 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cyberboss/f5b614e2d8571117166f50c48e0a96d5 to your computer and use it in GitHub Desktop.
Save Cyberboss/f5b614e2d8571117166f50c48e0a96d5 to your computer and use it in GitHub Desktop.
Changes since 7.3.2

For @alexkar598#2712

  • Instances will now allocate and pre-check the DreamDaemon and DMAPI validation ports can be used before they are created. Added error code 93 for when none are available. (#1136)
  • You can no longer modify DreamDaemon or DMAPI validation ports so that they would conflict with other ports in use by TGS or the system. Added error code 94 for when a conflict occurs. (#1136)
  • Added header X-Powered-By: tgstation-server to all responses. (#1134)
  • Added DreamDaemon additionalParameters field for adding additional command line -params options. (#1145)
  • File transfers have been revamped. The RawData model has been replaced with the FileTicketResult model. This contains one string field, fileTicket. Transfers are now done as standard application/octet-stream GET/PUT requests to the new /Transfer endpoint. Requests should be made to /Transfer?ticket=<fileTicket> after receiving a FileTicketResult. Returns HTTP 200/204 on successful transfers, or standard 409/410 ErrorMessages otherwise. Because of this change, the size limit for file transfers has been increased to 2GB.
  • Added ErrorCode 97 for when a job fails due to waiting on an expired upload request.
  • POST /Configuration no longer updates lastReadHash field of the returned ConfigurationFile model.
  • Access-Control-Max-Age is now set to 24 hours.
  • Header names are now case-sensitive.
  • Fixed being unable to clear repository access strings.
  • Fixed GitHub API errors not being returned if a server update failed.
  • GET / no longer requires authentication.
  • The ServerInformation model now contains the oAuthProviderInfos field. This is a map of OAuth provider names to their clientIds -and redirectUris (OAuthProviderInfo model).
  • Added a new field to the User model, oAuthConnections. This is a list of OAuthConnection models that indicate externalUserIds the user may use to authentication along with the provider ID of the OAuth provider. A user may have many OAuthConnections with the same provider but the same provider/externalUserId pair can not be added to multiple users.
  • Added Administration right 64 which allows users to edit their own oAuthConnections. This is a subset of right 1.
  • Added OAuth authentication. POST / with headers Authorization: OAuth <Authorization response code from https://tools.ietf.org/html/rfc6749#section-4.1.2> and OAuthProvider: <Provider Name> to receive a bearer token with extended duration.
  • Added error code 95 for when one attempts to create OAuthConnections on the Admin account as this is not allowed.
  • Added error code 96 for when a login attempt is made with a disabled OAuth provider.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment