Commit Graph
9876 Commits
Author SHA1 Message Date
Jordan Dominion 614a299820 Cleanup Program. Add bypass for update path/host watchdog args 2024-09-14 09:07:38 -04:00
Jordan Dominion 886a166e56 Give SwarmNode a specific NodeId field and unmangle Identifier 2024-09-14 08:55:49 -04:00
Jordan Dominion dcedf3a24a Implement OAuthConnections loading for GraphQL 2024-09-14 00:57:59 -04:00
Jordan Dominion 30f3bd58f2 API surface restructuring for GraphQL. Lockdown some API information that wasn't present previously. Validate nodes can be resolved 2024-09-13 23:57:36 -04:00
Jordan Dominion d1434112f6 Disable the cost analyzer 2024-09-13 23:06:03 -04:00
Jordan Dominion 69a107e7d8 .csproj cleanup 2024-09-13 18:15:32 -04:00
Jordan Dominion 68c6ba3109 Fix @authorize directives not showing up.
Upstream documentation PR: https://github.com/ChilliCream/graphql-platform/pull/7458
2024-09-13 18:15:23 -04:00
Jordan Dominion 876591657c Merge branch 'dev' into MoreGraphQL 2024-09-13 16:51:05 -04:00
Jordan Dominion 0744c88e0e Fix semver type specification 2024-09-13 16:50:19 -04:00
Jordan DominionandGitHub 04a72ad093 Merge pull request #1929 from tgstation/PrivateKeySharing
Some swarm mode improvements
2024-09-13 12:31:03 -04:00
Jordan Dominion 4bdc799950 Fix swarm protocol unit tests 2024-09-13 10:08:25 -04:00
Jordan Dominion 6494f35958 Simplify a new expression 2024-09-13 00:55:58 -04:00
Jordan Dominion d94892c9c4 AddQueryFieldToMutationPayloads 2024-09-13 00:16:46 -04:00
Jordan Dominion e2188539f8 Merge branch 'PrivateKeySharing' into MoreGraphQL 2024-09-13 00:02:44 -04:00
Jordan Dominion 7247086e43 Fix Swarm tests 2024-09-12 23:41:54 -04:00
Jordan Dominion b52938545c Fix dynamic signing key switching 2024-09-12 23:38:41 -04:00
Jordan Dominion 99baac333e Version Swarm API separately from core version. Allow slight differences. 2024-09-12 18:39:46 -04:00
Jordan Dominion a3454149dd Swarm servers sync their token signing key
This means tokens will be valid accross servers
2024-09-12 18:20:59 -04:00
Jordan Dominion c400e7af8d Expose ITokenFactory's signing key 2024-09-12 17:07:27 -04:00
Jordan Dominion 12ba7d4608 Cleanup where the RemoteGateway exception is thrown 2024-09-12 15:04:52 -04:00
Jordan Dominion 429ca72ac1 Merge branch 'dev' into MoreGraphQL 2024-09-11 23:37:31 -04:00
Jordan Dominion 194f53d9d5 Document a warning suppression 2024-09-11 23:37:13 -04:00
Jordan Dominion a96c6dc999 Split AuthorityInvoker into GraphQL and REST 2024-09-11 23:34:28 -04:00
Jordan Dominion e2abe415ea Fix a null referencing issue 2024-09-11 23:19:22 -04:00
Jordan Dominion 27e668d5f7 Move API specific IAuthorityInvokers out of Core namespace 2024-09-11 23:19:13 -04:00
Jordan Dominion d3168f9a2c NotFound/Gone don't throw for GraphQL AuthorityInvokers 2024-09-11 23:12:00 -04:00
Jordan Dominion ba5d5e4cd7 Fix build warnings 2024-09-11 23:10:16 -04:00
Jordan Dominion a2ed58086c Add missing dependency comment 2024-09-11 22:50:44 -04:00
Jordan Dominion 673bfcb31b Upgrade to HotChocolate 14 RC. Setup DataLoaders, Filtering, and Sorting.
CBT with new API transformer procedure
2024-09-11 22:50:36 -04:00
Jordan Dominion ede12a619b Enable @defer 2024-09-11 16:31:01 -04:00
Jordan Dominion 84f5ee7e7f Properly setup GraphQL IUserName for TGS user 2024-09-11 16:21:08 -04:00
Jordan Dominion edd41aab62 Apply code suggestion 2024-09-11 16:17:13 -04:00
Jordan DominionandGitHub 1b0a3197f1 Merge pull request #1928 from tgstation/dev [TGSDeploy]
v6.10.0
tgstation-server-v6.10.0
2024-09-11 14:40:28 -04:00
tgstation-server-ci[bot]andGitHub 614a815d02 Merge pull request #1927 from tgstation/dependabot/nuget/MSTest.TestAdapter-3.6.0
Bump MSTest.TestAdapter from 3.5.2 to 3.6.0
2024-09-11 15:42:08 +00:00
dependabot[bot]andGitHub e833b6055e Bump MSTest.TestAdapter from 3.5.2 to 3.6.0
Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from 3.5.2 to 3.6.0.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md)
- [Commits](https://github.com/microsoft/testfx/compare/v3.5.2...v3.6.0)

---
updated-dependencies:
- dependency-name: MSTest.TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 13:21:17 +00:00
tgstation-server-ci[bot]andGitHub 4298cabc14 Merge pull request #1926 from tgstation/dependabot/nuget/MSTest.TestFramework-3.6.0
Bump MSTest.TestFramework from 3.5.2 to 3.6.0
2024-09-11 13:17:39 +00:00
dependabot[bot]andGitHub 3fe53f2e2e Bump MSTest.TestFramework from 3.5.2 to 3.6.0
Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 3.5.2 to 3.6.0.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md)
- [Commits](https://github.com/microsoft/testfx/compare/v3.5.2...v3.6.0)

---
updated-dependencies:
- dependency-name: MSTest.TestFramework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 09:25:41 +00:00
Jordan Dominion a5b4afbde6 Add a basic GQL errored login test 2024-09-10 23:59:57 -04:00
Jordan Dominion 99e6220de6 Fix issues with Swagger generation 2024-09-10 23:59:56 -04:00
Jordan Dominion b2fa1c035f Fix VS complaining about a duplicate type name 2024-09-10 23:34:27 -04:00
Jordan Dominion 74fa26fe02 Implement baby's first pagination on Users 2024-09-10 23:34:10 -04:00
Jordan Dominion ed2de22f79 More GraphQL development
- Setup query structure for the potential for `RemoteGateway`s.
  - Add new `ErrorCode` indicating they are not implemented.
- Rename `ServerInformationBase` to `GatewayInformationBase`.
- Fix `TgsRestAuthorizeAttribute` lacking an `IAuthorizationFilter`.
2024-09-10 23:12:39 -04:00
Jordan Dominion 9ac92d1abc Further GraphQL API Implementation
- Introduce the concept of `IAuthority`s to handle business logic for both REST and GraphQL.
- Add new authorize attributes so roles can be defined on `IAuthority`s and inherited on REST/GraphQL API surface.
- Implement `ILoginAuthority`, converting REST methods to use it.
- Partially implement `IUserAuthority`, converting REST methods to use it.
- Setup `ErrorMessageResponse` filtering for GraphQL fields.
2024-09-10 21:52:18 -04:00
Jordan DominionandGitHub 6ab17dd3e7 Merge pull request #1924 from tgstation/1077-GraphQL [NugetDeploy]
GraphQL API Initial Implementation + Webpanel Update
2024-09-09 20:08:55 -04:00
Jordan Dominion a644223ccc Discconnect the Mutation until it has at least one method 2024-09-09 17:37:10 -04:00
tgstation-server-ci[bot]andGitHub 547ddb3f78 Merge pull request #1925 from tgstation/dependabot/nuget/Moq-4.20.72
Bump Moq from 4.20.71 to 4.20.72
2024-09-09 12:24:19 +00:00
Jordan Dominion 615cda54a9 Add empty Mutation type 2024-09-09 07:06:54 -04:00
Jordan Dominion e7cbd7978c Fix Query namespace 2024-09-09 07:06:41 -04:00
Jordan Dominion f5b3afe715 Fix SwarmServerResponse JSON deserialization 2024-09-09 06:43:54 -04:00
dependabot[bot]andGitHub 50c1d093ef Bump Moq from 4.20.71 to 4.20.72
Bumps [Moq](https://github.com/moq/moq) from 4.20.71 to 4.20.72.
- [Release notes](https://github.com/moq/moq/releases)
- [Changelog](https://github.com/devlooped/moq/blob/main/changelog.md)
- [Commits](https://github.com/moq/moq/compare/v4.20.71...v4.20.72)

---
updated-dependencies:
- dependency-name: Moq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 09:59:38 +00:00