Commit Graph
972 Commits
Author SHA1 Message Date
Jordan Dominion a31379739a Apply code suggestions 2024-09-17 20:15:39 -04:00
Jordan Dominion c9c24a5dbf Flesh out GraphQL client 2024-09-17 20:12:25 -04:00
Jordan Dominion 8e030eda38 Some code cleanup regarding port allocation 2024-09-15 17:49:59 -04:00
Jordan Dominion a131fea124 Changing port allocation tactics for the millionth time 2024-09-14 16:57:47 -04:00
Jordan Dominion ff262b2584 Improve LoginPayload 2024-09-14 14:54:54 -04:00
Jordan Dominion 0c34ff1dbc Apply code suggestions 2024-09-14 10:16:41 -04:00
Jordan Dominion 0f5841a2fb Fix RawRequestTests assertions 2024-09-14 09:13:24 -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 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 a5b4afbde6 Add a basic GQL errored login test 2024-09-10 23:59:57 -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 882bfd7b54 Fix MultiServerClient constructor 2024-09-08 20:53:09 -04:00
Jordan Dominion a7a43a4f5c Merge branch 'dev' into 1077-GraphQL 2024-09-08 20:51:32 -04:00
Jordan Dominion d89461d19d GraphQL API Initial Implementation
- Build API via annotations using HotChocolate.
  - Export to `artifacts` on build.
  - Repurpose REST API types where possible, but many have to be reimplemented.
  - Transfer controller and bridge controller will definitely have to stay forever.
- Added `Tgstation.Server.Client.GraphQL` built from schema using StrawberryShake.
  - Added equivalent server information query.
- Setup semver and u32 (de)serialization.
- Begin transitioning to multi-client type live tests.
- Add GraphQL route `/api/graphql`
- Rename ServerClient likes to RestServerClient equivalent.
- Major API/Client library version bumps.
2024-09-08 20:51:04 -04:00
Jordan Dominion 6c0f9fac86 Skip the failing test because I don't feel like reconciling whatever the watchdog is doing here with this change 2024-09-08 15:19:12 -04:00
Jordan Dominion 5696aa5263 Test assertion and logging to try and narrow down the cause of the Linux advanced watchdog failures 2024-09-08 01:25:10 -04:00
Jordan Dominion 4570a20a3a Allow DMAPI Validation to be fully skipped
Fuck you @AffectedArc07
2024-09-07 18:41:30 -04:00
Jordan Dominion 2df11b4bb8 Don't try and use a repo GitHub token if testing OD exclusively 2024-09-05 17:09:41 -04:00
Jordan Dominion 7415005d6e Client count is unsigned for the love of god 2024-09-03 23:22:31 -04:00
Jordan Dominion 3a7f344eea Fix test auth conditional 2024-09-03 23:17:15 -04:00
Jordan Dominion 157934730c Fix DummyGitHubServiceFactory 2024-09-03 06:57:57 -04:00
Jordan Dominion 442ad80017 Add client count to DreamDaemon responses
Closes #1909
2024-08-31 21:58:17 -04:00
Jordan Dominion 213d9e9ea4 Add launchTime field to DreamDaemonResponse 2024-08-31 21:08:12 -04:00
Jordan Dominion df43a072b2 Fix issues with JobProgressReporter 2024-08-18 00:00:02 -04:00
Jordan Dominion 12878f177f Adds version reporting telemetry 2024-08-13 22:14:57 -04:00
Jordan Dominion a42dafb3ab Add support for GitHub App installation authentication to IGitHubClientFactory 2024-08-13 21:51:59 -04:00
Jordan Dominion 7edf66440f Remove CPU tracking. It's a nothing stat on multi-core systems 2024-08-11 07:20:27 -04:00
Jordan Dominion 77a20cce75 Implement CPU/Memory sampling
Closes #611
2024-08-11 01:30:49 -04:00
Jordan Dominion 89d70be782 Implement repository recloning
Closes #1016
2024-08-11 01:30:49 -04:00
Jordan Dominion bd1deb0a9b Add 30 minute cache to GitHub releases requests
Closes #1831
2024-08-10 17:38:27 -04:00
Jordan Dominion d11dc01537 New error code for if you try to set a bad project name 2024-07-26 17:04:21 -04:00
Jordan Dominion c7e6412918 Adds OpenDream topic port as a DreamDaemon option
Closes #1826
2024-07-20 19:44:52 -04:00
Jordan Dominion 8401f3c3e1 Fix game directory leaks in HardLinkDmbProvider
- Adjust tests to account for expected directories correctly.
- Better logging of leftover directories.
- Fix reboot not being waited on in a test case.
2024-07-14 22:26:39 -04:00
Jordan Dominion d7ecfd0ed1 Fix a weird overflow error I've seen 2024-07-12 20:37:15 -04:00
Jordan Dominion bbbbe6caa6 Assert expected game directory counts after watchdog tests 2024-07-12 18:01:23 -04:00
Jordan Dominion caaded3d1b Fix live tests race condition 2024-07-12 14:49:26 -04:00
Jordan Dominion b7db2fc51e Improve test IGitHubClient naming 2024-07-12 14:49:26 -04:00
Jordan Dominion a0d3ae380a Set appropriate BYOND version for -D dm.exe usage 2024-07-12 14:49:26 -04:00
Jordan Dominion 95c26b52b1 Forgot to return the current cron in the API 2024-07-06 11:16:05 -04:00
Jordan Dominion 04a413512d Add cron schedules for auto updates
Closes #1822
2024-07-02 07:12:17 -04:00
Jordan Dominion 40d667f454 Dependency updates
Migration for 64-bit GitHub Deployment IDs
2024-07-01 19:49:43 -04:00
Jordan Dominion 3da68fe323 Add support for additional compiler arguments
Closes #1807
2024-04-20 12:21:12 -04:00
Jordan Dominion afb6192b3e Add repo reference to CompileStart event
Closes #1356
2024-04-20 11:19:11 -04:00
Jordan Dominion bfc2e64e66 Set oom_score_adj appropriately on Linux
Closes #1792
2024-03-03 13:33:56 -05:00
Jordan Dominion 786f98d286 Add a debug message 2024-02-26 20:46:04 -05:00
Jordan Dominion 575d811843 Increase timeout for dump tests 2024-02-26 09:50:03 -05:00
Jordan Dominion 77d8278ff2 Workaround for linux test race condition 2024-02-25 12:57:06 -05:00
Jordan Dominion 0bbf7cd46a Add DMAPI triggerable custom events
Closes #1746
2024-02-19 16:56:01 -05:00
Jordan Dominion 98801c4a90 Add Minidump watchdog option to allow for smaller dumps
Previously, on Windows, these were exclusively full dumps. On Linux, they were exclusively minidumps.

Added API/DB Migrations change. Versions updated

Closes #1741
2024-02-02 17:30:33 -05:00