26 Commits

Author SHA1 Message Date
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 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 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
Dominion 4471391b96 ValueTask Tgstation.Server.Client 2023-06-14 12:30:00 -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 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
Jordan Brown 65ec6a0e98 Remove ConfigureAwait(false) in top level projects 2022-09-19 10:19:08 -04:00
Jordan Brown ec5ec847d3 Fix client [TGSDeploy][NugetDeploy] 2021-10-07 18:49:55 -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 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
Jordan Brown 5d00e23a97 Add auto refresh functionality to IServerClient 2020-05-24 17:57:28 -04:00
Jordan Brown ff552186a7 Add some general configuration options to ServerInformation
Ensure we use Semver everywhere
2020-04-24 20:52:41 -04:00
Jordan Brown 537805f86d Add TestUnrecognizedResponse Client test 2018-09-15 17:30:10 -04:00
Cyberboss 2948ad5748 Use VersionConverters on both sides of the pipeline 2018-09-14 09:48:00 -04:00
Cyberboss 123ab7a9a8 Adds a client test for byond deserialization 2018-09-13 17:07:49 -04:00