Commit Graph
295 Commits
Author SHA1 Message Date
Jordan Dominion 82c769177e Switch to central package management 2025-08-29 12:33:45 -04:00
Jordan Dominion 9e8bdde30c Remove HttpClient abstractions
Now implement mocked `HttpMessageHandler`s as recommended: https://stackoverflow.com/a/36427274/3976486
2025-07-27 15:34:33 -04:00
Jordan Dominion 1e0c888da2 Bring all nuget packages up to date and trim the fat 2025-07-26 19:16:30 -04:00
Jordan Dominion b42e2c2e7b Merge branch 'pr-2206' into PT25 2025-04-09 18:14:39 -04:00
dependabot[bot]andGitHub 2dba7cc27b Bump Microsoft.AspNetCore.SignalR.Client and Microsoft.Bcl.AsyncInterfaces
Bumps [Microsoft.AspNetCore.SignalR.Client](https://github.com/dotnet/aspnetcore) and [Microsoft.Bcl.AsyncInterfaces](https://github.com/dotnet/runtime). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.SignalR.Client` from 9.0.3 to 9.0.4
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v9.0.3...v9.0.4)

Updates `Microsoft.Bcl.AsyncInterfaces` from 9.0.3 to 9.0.4
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v9.0.3...v9.0.4)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.SignalR.Client
  dependency-version: 9.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Bcl.AsyncInterfaces
  dependency-version: 9.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 09:43:54 +00:00
dependabot[bot]andGitHub 697e255212 Bump Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson and Microsoft.Bcl.AsyncInterfaces
Bumps [Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson](https://github.com/dotnet/aspnetcore) and [Microsoft.Bcl.AsyncInterfaces](https://github.com/dotnet/runtime). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson` from 9.0.3 to 9.0.4
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v9.0.3...v9.0.4)

Updates `Microsoft.Bcl.AsyncInterfaces` from 9.0.3 to 9.0.4
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v9.0.3...v9.0.4)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson
  dependency-version: 9.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Bcl.AsyncInterfaces
  dependency-version: 9.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 09:31:31 +00:00
Jordan Dominion 7dc87d9e01 Merge branch 'pr-2151' into FixesAndPatchTuesday 2025-03-12 17:00:12 -04:00
dependabot[bot]andGitHub 3b3536a8c8 Bump Microsoft.AspNetCore.SignalR.Client and Microsoft.Bcl.AsyncInterfaces
Bumps [Microsoft.AspNetCore.SignalR.Client](https://github.com/dotnet/aspnetcore) and [Microsoft.Bcl.AsyncInterfaces](https://github.com/dotnet/runtime). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.SignalR.Client` from 9.0.2 to 9.0.3
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v9.0.2...v9.0.3)

Updates `Microsoft.Bcl.AsyncInterfaces` from 9.0.2 to 9.0.3
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.SignalR.Client
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Bcl.AsyncInterfaces
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-12 09:48:53 +00:00
dependabot[bot]andGitHub b5555d83d8 Bump Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson and Microsoft.Bcl.AsyncInterfaces
Bumps [Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson](https://github.com/dotnet/aspnetcore) and [Microsoft.Bcl.AsyncInterfaces](https://github.com/dotnet/runtime). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson` from 9.0.2 to 9.0.3
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v9.0.2...v9.0.3)

Updates `Microsoft.Bcl.AsyncInterfaces` from 9.0.2 to 9.0.3
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Bcl.AsyncInterfaces
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-12 09:46:43 +00:00
Jordan Dominion e7d2a23450 Handle Nuget Updates
Remove `System.Text.Encodings.Web` from API because why did we have it?
2025-02-16 17:38:26 -05:00
dependabot[bot]andGitHub cb0fb87f42 Bump Microsoft.AspNetCore.SignalR.Client from 9.0.0 to 9.0.1
Bumps [Microsoft.AspNetCore.SignalR.Client](https://github.com/dotnet/aspnetcore) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.SignalR.Client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 13:17:30 +00:00
Jordan Dominion 22fb6c2e9e .NET 9 manual packages update 2024-11-16 11:39:20 -05:00
Jordan Dominion e95361ed1f Pre-empt the patch tuesday PRs 2024-10-08 19:18:31 -04:00
Jordan Dominion 07a317ed81 Apply some code suggestions 2024-09-21 16:39:17 -04:00
Jordan Dominion c6f30f7f7e Fix a CA1506 warning 2024-09-21 12:21:08 -04:00
Jordan Dominion f37883a438 Hopefully fix issues with auth pipeline for good 2024-09-21 10:58:17 -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
dependabot[bot]andGitHub daa00e775d Bump Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson
Bumps [Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson](https://github.com/dotnet/aspnetcore) from 8.0.7 to 8.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 11:49:25 +00:00
dependabot[bot]andGitHub dca0946cb6 Bump Microsoft.AspNetCore.SignalR.Client from 8.0.7 to 8.0.8
Bumps [Microsoft.AspNetCore.SignalR.Client](https://github.com/dotnet/aspnetcore) from 8.0.7 to 8.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.SignalR.Client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 09:38:01 +00: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 b66a6da538 Nuget package updates 2024-07-16 21:35:03 -04:00
Jordan Dominion 4bc6b2ec82 Reorganize projects so that building ReleaseNotes is quicker 2024-07-16 21:35:02 -04:00
Jordan Dominion 40d667f454 Dependency updates
Migration for 64-bit GitHub Deployment IDs
2024-07-01 19:49:43 -04:00
Jordan Dominion 69c83582cb Package updates 2024-04-20 10:09:51 -04:00
Jordan Dominion 431a886d97 Dependency updates 2024-03-13 18:52:16 -04:00
Jordan Dominion 07c7bd573c Nuget package updates. Primarily patch Tuesday 2024-02-15 18:44:20 -05:00
Jordan Dominion f4d94d0284 Update nuget packages
Closes #1767
Closes #1766
2024-01-09 17:25:38 -05:00
Jordan Dominion 6b37808ec5 Revert "Suppress the NU5104 while we're in preview"
This reverts commit 2f9fb5df0c.
2023-11-28 19:19:18 -05:00
Jordan Dominion 5c5b54e094 Update to beta Stylecop
Cleanup warnings
2023-11-23 16:50:52 -05:00
Jordan Dominion 4788ceaa5f Merge branch 'V6' into OpenDream 2023-11-15 08:11:19 -05:00
Jordan Dominion 75db9af33e Move EngineVersion to core models namespace 2023-11-14 19:51:08 -05:00
Jordan Dominion e2e0114770 Update .NET 8.0 release
- Update Microsoft packages.
- Update EF Core tooling.
- Update Docker base images.
- Update build scripts.
- Update actions.
2023-11-14 17:25:18 -05:00
Jordan Dominion d2acb3cb91 Merge branch 'V6' into OpenDream 2023-11-12 17:53:49 -05:00
Jordan Dominion dd3c2c5644 Merge branch 'V6' into Net8RC2 2023-11-12 08:48:00 -05:00
Jordan Dominion b2bce2cc28 Merge branch 'V6' into OpenDream 2023-11-12 08:39:33 -05:00
Jordan Dominion 0c744979ff Merge branch 'V6' into OpenDream 2023-11-10 23:26:31 -05:00
Jordan Dominion 9e1806a2b4 Move all API functionality to /api.
Move `BridgeController` route but BYOND forces us to support the legacy one as well.
Add a basic homepage if it's not obvious where to redirect the user.

Closes #1689
2023-11-10 23:18:20 -05:00
Jordan Dominion 3fce8620b4 Very naughty merge of 'V6' into OpenDream
Doing some very bad cleanups for a merge in here like renaming a few fields (like the old column names) + `ByondCommand` + Removing deprecated API fields.
2023-11-09 09:08:20 -05:00
Jordan Dominion 2f9fb5df0c Suppress the NU5104 while we're in preview
Added to #1589
2023-11-07 08:52:01 -05:00
Jordan Dominion 1e1c5fddf8 Merge branch 'V6' into 1693-Shrimple 2023-11-07 08:44:30 -05:00
Jordan Dominion 4b49e072db Merge branch 'dev' into V6 2023-11-07 08:26:38 -05:00
Jordan Dominion 90d41cc88d Replace HTTP 426 with 400
Notable exception is the swarm API, which still uses 426 for version mismatches and would be a pain in the ass to change correctly.

Closes #1693
2023-11-06 17:56:03 -05:00
Jordan Dominion e68dc5b307 An uncaught exception was never a good idea 2023-11-06 17:46:05 -05:00
Jordan Dominion 72388f8035 Add necessary ObjectDisposedException to client 2023-11-06 17:44:45 -05:00
Jordan Dominion 5f6e3d340c Merge branch 'dev' into V6 2023-11-06 17:37:48 -05:00
Jordan Dominion 9bea7686b2 Add automatic reconnect to client hubs 2023-11-06 16:39:23 -05:00
Jordan Dominion d85e2b8d36 Add SignalR
- Add one hub `/hubs/jobs`, strongly typed API included.
- Adjust request pipeline to support SignalR.
- Allow `Accept: text/event-stream` for SSE requests.
- Add client library support for hubs.
- Add integration tests.
- Add IPermissionSetNotifyee to support dynamic changes based on perms.
- Keep job state in `JobService` for pushing updates.
2023-11-04 19:22:48 -04:00