Commit Graph

75 Commits

Author SHA1 Message Date
Jordan Dominion 82c769177e Switch to central package management 2025-08-29 12:33:45 -04:00
Jordan Dominion 5dd93e3015 Fix build warnings 2025-08-01 15:46:07 -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 34ae53a056 Update other missed packages 2025-04-09 18:20:56 -04:00
Jordan Dominion 16d56ca17a Fix Bcl.AsyncInterfaces 2025-03-12 17:51:20 -04: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] 78979a8c55 Bump Microsoft.Bcl.AsyncInterfaces from 9.0.0 to 9.0.1
Bumps [Microsoft.Bcl.AsyncInterfaces](https://github.com/dotnet/runtime) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v9.0.0...v9.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-18 23:29:47 +00:00
Jordan Dominion 22fb6c2e9e .NET 9 manual packages update 2024-11-16 11:39:20 -05: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 4788ceaa5f Merge branch 'V6' into OpenDream 2023-11-15 08:11:19 -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 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 5f6e3d340c Merge branch 'dev' into V6 2023-11-06 17:37:48 -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
Jordan Dominion 808f96b968 Clean up some using ordering 2023-10-31 23:16:15 -04:00
Jordan Dominion 30f57d28da Store TokenResponse in ApiHeaders
- Decode it from JWT if necessary.
2023-10-29 16:22:51 -04:00
Jordan Dominion 9a3d02a244 BYOND -> Engine nomenclature changes 2023-10-16 01:44:56 -04:00
Jordan Dominion 32873fa618 More API sanity for EngineVersions 2023-10-15 10:58:16 -04:00
Jordan Dominion a4a3b78645 Clean up ByondResponse 2023-10-15 01:50:39 -04:00
Jordan Dominion 1eeba3a4b2 Rename ByondVersion to EngineVersion 2023-10-15 01:49:39 -04:00
Jordan Dominion 84c0fcd903 Redo how ByondVersion is implemented to support custom OD builds
- `SourceCommittish` -> `SourceSHA`, now MUST be full length.
- Fix OpenDreamInstaller.DownloadVersion requiring a JobProgressReporter.
- Fix naming of BYOND firewall rules
2023-10-14 21:54:33 -04:00
Jordan Dominion a3e3733668 Get most of the BYOND integration test working 2023-10-14 03:39:57 -04:00
Jordan Dominion 6e015f86fa WIP OpenDream Support 2023-10-09 15:42:29 -04:00
Jordan Dominion 3b6f4e947a Merge branch 'dev' into ValueTasks 2023-08-13 23:36:21 -04:00
Jordan Dominion 77cdc19877 Add TestCommon.props for test projects 2023-07-03 22:43:48 -04:00
Jordan Dominion d0d9e7b2ba Switch from .vdproj to .wixprojs
Wix is just better, it drives the fucking Visual Studio installer for gods' sakes. Thankfully, v4 is a whole lot better than v3 in that it's native dotnet tooling.

- Added ability to set base path for loading configuration files.
- Added Service command descriptions for help text.
- New `.exe` installer also installs dotnet dependencies.
- New `.msi` properly invokes configure, sets up and controls service, sends detach stop signal on upgrades, and uses ProgramData for configs with appropriate permissions.
- Remove .deb symlinks in favor of explicitly setting config directory.
- Adjust CI pipeline with new installer changes.
- Appropriately bump TGS migrator version.
2023-07-02 04:08:14 -04:00
Dominion 4471391b96 ValueTask Tgstation.Server.Client 2023-06-14 12:30:00 -04:00
Dominion c5d9122f20 Nuget Package updates
- Contains workaround for breaking change in Microsoft.Data.SqlClient
2023-06-13 19:40:28 -04:00
Dominion e596110018 Clean up Tgstation.Server.Common
- Move classes to `Http` namespace.
- Give it a unique package version.
- Comment to make me not rage update Nuget libs to .NET 6.
2023-06-10 17:04:04 -04:00
Dominion 22c3f591fe Allow specifying HttpCompletionOption in IHttpClient 2023-06-10 11:18:21 -04:00
Dominion 9410795046 Nuget updates + project file cleanups 2023-05-20 16:25:40 -04:00
Dominion a1b5dbe6ac Abstract HttpClient and FileDownloader
- Set all requests to use assemblyInformationProvider UserAgent by default.
- Removed DefaultIOManager's dependency on IAssemblyInformationProvider.
- Fixed bad Dispose scope for requests under construction in SwarmService.
2023-04-21 03:15:39 -04:00
Dominion a719809c50 GitHub CI speedup attempt
- Switch off verbose console logger, should still run on errors.
- Add GitHubActionsTestLogger, use in CI.
- Pre-build integration tests to get better time metrics.
2023-04-16 23:47:37 -04:00
Dominion de39cd2a80 Update Nuget Packages. Fix Test projects. Etc... 2023-03-25 15:16:43 -04:00
Jordan Brown 65ec6a0e98 Remove ConfigureAwait(false) in top level projects 2022-09-19 10:19:08 -04:00
Jordan Brown b15bcd9fa0 More project standardization 2022-09-19 10:09:53 -04:00
Jordan Brown 6960525688 Update to .net-6.0. Fix errors and warnings
- Address various IDE messages
- Additional logging
- Do not access DB in Watchdog's actual Dispose
- Fix issue with legacy behaviour in PGSQL
- Remove obsolete dotnet workaround
- Update to v3 actions checkout/upload-artifact/download-artifact
2022-09-13 18:41:18 -04:00
Jordan Brown ec5ec847d3 Fix client [TGSDeploy][NugetDeploy] 2021-10-07 18:49:55 -04:00
Jordan Brown a18b095d7f Package updates 2021-08-10 19:57:53 -04:00
Jordan Brown b9586c7fee The great stylecop update
Beware those that read into this commit. Here there be style conformance...

Closes #1252
2021-05-09 19:27:09 -04:00
Jordan Brown 6c09d4f9e7 Dependency updates 2021-03-25 12:23:40 -04:00
Jordan Brown ac4a1c7f9b Add the Request/Response namespaces to Api.Models 2021-02-10 22:10:22 -05:00
Jordan Brown 47ea890040 WIP: Redoing request/response models 2021-02-10 11:07:08 -05:00
Cyberboss f5fcf331d3 Switch all DateTimeOffset.Now references to UtcNow 2020-12-27 20:21:30 -05:00
Jordan Brown 01d4a05c0d Mass Package Upgrade
- Bump all packages as high as possible
  - ASP .NET Core packages to 3.1.10
- Add a warning about the annoying LoggerFactory issue in host watchdog project
- Add missing exception constructors to client
- Switch to using the correct .NET analyzers
2020-12-16 18:46:40 -05:00
Jordan Brown e4255b0a7e Fix test suite 2020-07-18 10:29:36 -04:00
Jordan Brown 1e5f2fc2b6 Switch to GitHub actions for building 2020-07-15 13:22:15 -04:00